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 *);
124 /***********************************************************************
125 * pyrun.swg for wxPython
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 ************************************************************************/
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
147 /* Flags for pointer conversion */
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
155 /* Constant information structure */
156 typedef struct swig_const_info
{
162 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
193 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
196 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
201 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
205 /* Contract support */
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
216 /* -------- TYPES TABLE (BEGIN) -------- */
218 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
219 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
220 #define SWIGTYPE_p_wxSizer swig_types[2]
221 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
222 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
223 #define SWIGTYPE_p_wxCheckBox swig_types[5]
224 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
225 #define SWIGTYPE_p_wxEvent swig_types[7]
226 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
227 #define SWIGTYPE_p_bool swig_types[9]
228 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
229 #define SWIGTYPE_p_wxItemContainer swig_types[11]
230 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
231 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
232 #define SWIGTYPE_p_wxStaticLine swig_types[14]
233 #define SWIGTYPE_p_wxControl swig_types[15]
234 #define SWIGTYPE_p_wxPyControl swig_types[16]
235 #define SWIGTYPE_p_wxGauge swig_types[17]
236 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
237 #define SWIGTYPE_p_wxFont swig_types[19]
238 #define SWIGTYPE_p_wxToggleButton swig_types[20]
239 #define SWIGTYPE_p_wxRadioButton swig_types[21]
240 #define SWIGTYPE_p_wxChoice swig_types[22]
241 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
242 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
243 #define SWIGTYPE_p_int swig_types[25]
244 #define SWIGTYPE_p_wxSize swig_types[26]
245 #define SWIGTYPE_p_wxDC swig_types[27]
246 #define SWIGTYPE_p_wxListView swig_types[28]
247 #define SWIGTYPE_p_wxIcon swig_types[29]
248 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
249 #define SWIGTYPE_p_wxNotebook swig_types[31]
250 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
251 #define SWIGTYPE_p_wxArrayString swig_types[33]
252 #define SWIGTYPE_p_wxListbook swig_types[34]
253 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
254 #define SWIGTYPE_p_wxSlider swig_types[36]
255 #define SWIGTYPE_p_wxStaticBox swig_types[37]
256 #define SWIGTYPE_p_wxArrayInt swig_types[38]
257 #define SWIGTYPE_p_wxContextHelp swig_types[39]
258 #define SWIGTYPE_p_long swig_types[40]
259 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
260 #define SWIGTYPE_p_wxListEvent swig_types[42]
261 #define SWIGTYPE_p_wxListBox swig_types[43]
262 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
263 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
264 #define SWIGTYPE_p_wxSpinButton swig_types[46]
265 #define SWIGTYPE_p_wxButton swig_types[47]
266 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
267 #define SWIGTYPE_p_wxRect swig_types[49]
268 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
269 #define SWIGTYPE_p_wxRadioBox swig_types[51]
270 #define SWIGTYPE_p_wxScrollBar swig_types[52]
271 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
272 #define SWIGTYPE_p_wxComboBox swig_types[54]
273 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
274 #define SWIGTYPE_p_wxListItem swig_types[56]
275 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
276 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
277 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
278 #define SWIGTYPE_p_wxImageList swig_types[60]
279 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
280 #define SWIGTYPE_p_wxTextAttr swig_types[62]
281 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
282 #define SWIGTYPE_p_wxPoint swig_types[64]
283 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
284 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
285 #define SWIGTYPE_p_wxObject swig_types[67]
286 #define SWIGTYPE_p_wxCursor swig_types[68]
287 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
288 #define SWIGTYPE_p_wxWindow swig_types[70]
289 #define SWIGTYPE_p_wxString swig_types[71]
290 #define SWIGTYPE_p_wxBitmap swig_types[72]
291 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
292 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
293 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
294 #define SWIGTYPE_p_wxStaticText swig_types[76]
295 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
296 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
297 #define SWIGTYPE_p_wxColour swig_types[79]
298 #define SWIGTYPE_p_wxToolBar swig_types[80]
299 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
300 #define SWIGTYPE_p_wxValidator swig_types[82]
301 static swig_type_info
*swig_types
[84];
303 /* -------- TYPES TABLE (END) -------- */
306 /*-----------------------------------------------
307 @(target):= _controls.so
308 ------------------------------------------------*/
309 #define SWIG_init init_controls
311 #define SWIG_name "_controls"
313 #include "wx/wxPython/wxPython.h"
314 #include "wx/wxPython/pyclasses.h"
316 DECLARE_DEF_STRING(PanelNameStr
);
317 DECLARE_DEF_STRING(EmptyString
);
318 DECLARE_DEF_STRING(ControlNameStr
);
322 DECLARE_DEF_STRING(ButtonNameStr
);
325 DECLARE_DEF_STRING(CheckBoxNameStr
);
328 DECLARE_DEF_STRING(ChoiceNameStr
);
331 DECLARE_DEF_STRING(ComboBoxNameStr
);
334 DECLARE_DEF_STRING(GaugeNameStr
);
337 DECLARE_DEF_STRING(StaticBitmapNameStr
);
338 DECLARE_DEF_STRING(StaticBoxNameStr
);
339 DECLARE_DEF_STRING(StaticTextNameStr
);
342 #include <wx/checklst.h>
344 DECLARE_DEF_STRING(ListBoxNameStr
);
346 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
348 wxPyClientData
* data
= new wxPyClientData(clientData
);
349 self
->Insert(item
, pos
, data
);
351 self
->Insert(item
, pos
);
353 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
355 self
->GetSelections(lst
);
356 PyObject
*tup
= PyTuple_New(lst
.GetCount());
357 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
358 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
363 DECLARE_DEF_STRING(TextCtrlNameStr
);
366 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
372 } else if (target
== Py_None
) {
376 if (!PyTuple_Check(target
)) {
378 target
= PyTuple_New(1);
379 PyTuple_SetItem(target
, 0, o2
);
382 PyTuple_SetItem(o3
, 0, o
);
385 target
= PySequence_Concat(o2
, o3
);
392 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
393 self
->AppendText(text
);
395 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
396 return self
->GetValue().Mid(from
, to
- from
);
399 DECLARE_DEF_STRING(ScrollBarNameStr
);
402 DECLARE_DEF_STRING(SPIN_BUTTON_NAME
);
403 wxChar
* wxSpinCtrlNameStr
= _T("wxSpinCtrl");
404 DECLARE_DEF_STRING(SpinCtrlNameStr
);
406 void wxSpinCtrl_SetSelection(wxSpinCtrl
*self
,long from
,long to
){
409 DECLARE_DEF_STRING(RadioBoxNameStr
);
410 DECLARE_DEF_STRING(RadioButtonNameStr
);
412 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
413 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
414 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
416 #include <wx/slider.h>
418 DECLARE_DEF_STRING(SliderNameStr
);
421 wxChar
* wxToggleButtonNameStr
= _T("wxToggleButton");
422 DECLARE_DEF_STRING(ToggleButtonNameStr
);
426 // implement dummy classes and such for wxMac
428 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
430 class wxToggleButton
: public wxControl
433 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
434 const wxPoint
&, const wxSize
&, long,
435 const wxValidator
&, const wxString
&)
436 { PyErr_SetNone(PyExc_NotImplementedError
); }
439 { PyErr_SetNone(PyExc_NotImplementedError
); }
444 DECLARE_DEF_STRING(NOTEBOOK_NAME
);
447 DECLARE_DEF_STRING(ToolBarNameStr
);
449 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
450 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
452 Py_INCREF(udata
->m_obj
);
459 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
460 self
->SetClientData(new wxPyUserData(clientData
));
462 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
){
463 wxPyUserData
* udata
= NULL
;
464 if (clientData
&& clientData
!= Py_None
)
465 udata
= new wxPyUserData(clientData
);
466 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
467 shortHelp
, longHelp
, udata
);
469 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
){
470 wxPyUserData
* udata
= NULL
;
471 if (clientData
&& clientData
!= Py_None
)
472 udata
= new wxPyUserData(clientData
);
473 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
474 shortHelp
, longHelp
, udata
);
476 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
477 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
479 Py_INCREF(udata
->m_obj
);
486 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
487 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
490 #include <wx/listctrl.h>
492 const wxChar
* wxListCtrlNameStr
= _T("wxListCtrl");
493 DECLARE_DEF_STRING(ListCtrlNameStr
);
495 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
496 // Python aware sorting function for wxPyListCtrl
497 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
499 PyObject
* func
= (PyObject
*)funcPtr
;
500 wxPyBeginBlockThreads();
502 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
503 PyObject
* result
= PyEval_CallObject(func
, args
);
506 retval
= PyInt_AsLong(result
);
510 wxPyEndBlockThreads();
514 // C++ Version of a Python aware class
515 class wxPyListCtrl
: public wxListCtrl
{
516 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
518 wxPyListCtrl() : wxListCtrl() {}
519 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
523 const wxValidator
& validator
,
524 const wxString
& name
) :
525 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
527 bool Create(wxWindow
* parent
, wxWindowID id
,
531 const wxValidator
& validator
,
532 const wxString
& name
) {
533 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
536 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
537 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
538 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
543 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
545 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
546 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
547 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
549 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
551 item
.SetMask( wxLIST_MASK_STATE
|
559 if (self
->GetColumn(col
, item
))
560 return new wxListItem(item
);
564 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
565 wxListItem
* info
= new wxListItem
;
566 info
->m_itemId
= itemId
;
568 info
->m_mask
= 0xFFFF;
569 self
->GetItem(*info
);
572 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
574 self
->GetItemPosition(item
, pos
);
577 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
579 self
->GetItemRect(item
, rect
, code
);
582 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
583 if (!PyCallable_Check(func
))
585 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
587 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
591 return (wxWindow
*)self
->m_mainWin
;
595 #include <wx/treectrl.h>
596 #include "wx/wxPython/pytree.h"
598 const wxChar
* wx_TreeCtrlNameStr
= _T("wxTreeCtrl");
599 DECLARE_DEF_STRING(_TreeCtrlNameStr
);
601 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
602 if (!other
) return False
;
603 return *self
== *other
;
605 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
606 if (!other
) return True
;
607 return *self
!= *other
;
609 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
610 // C++ version of Python aware wxTreeCtrl
611 class wxPyTreeCtrl
: public wxTreeCtrl
{
612 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
614 wxPyTreeCtrl() : wxTreeCtrl() {}
615 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
619 const wxValidator
& validator
,
620 const wxString
& name
) :
621 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
623 bool Create(wxWindow
*parent
, wxWindowID id
,
627 const wxValidator
& validator
,
628 const wxString
& name
) {
629 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
633 int OnCompareItems(const wxTreeItemId
& item1
,
634 const wxTreeItemId
& item2
) {
637 wxPyBeginBlockThreads();
638 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
639 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
640 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
641 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
645 wxPyEndBlockThreads();
647 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
653 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
656 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
657 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
659 data
= new wxPyTreeItemData();
660 data
->SetId(item
); // set the id
661 self
->SetItemData(item
, data
);
665 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
666 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
668 data
= new wxPyTreeItemData();
669 data
->SetId(item
); // set the id
670 self
->SetItemData(item
, data
);
672 return data
->GetData();
674 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
675 data
->SetId(item
); // set the id
676 self
->SetItemData(item
, data
);
678 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
679 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
681 data
= new wxPyTreeItemData(obj
);
682 data
->SetId(item
); // set the id
683 self
->SetItemData(item
, data
);
687 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
688 wxPyBeginBlockThreads();
689 PyObject
* rval
= PyList_New(0);
690 wxArrayTreeItemIds array
;
692 num
= self
->GetSelections(array
);
693 for (x
=0; x
< num
; x
++) {
694 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
695 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
696 PyList_Append(rval
, item
);
698 wxPyEndBlockThreads();
701 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
702 wxTreeItemIdValue cookie
= 0;
703 wxTreeItemId ritem
= self
->GetFirstChild(item
, cookie
);
704 wxPyBeginBlockThreads();
705 PyObject
* tup
= PyTuple_New(2);
706 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
707 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
708 wxPyEndBlockThreads();
711 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxTreeItemIdValue
&cookie
){
712 wxTreeItemId ritem
= self
->GetNextChild(item
, cookie
);
713 wxPyBeginBlockThreads();
714 PyObject
* tup
= PyTuple_New(2);
715 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
716 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
717 wxPyEndBlockThreads();
720 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
722 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
723 wxPyBeginBlockThreads();
724 wxRect
* r
= new wxRect(rect
);
725 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
726 wxPyEndBlockThreads();
733 DECLARE_DEF_STRING(DirDialogDefaultFolderStr
);
735 // C++ version of Python aware wxControl
736 class wxPyControl
: public wxControl
738 DECLARE_DYNAMIC_CLASS(wxPyControl
)
740 wxPyControl() : wxControl() {}
741 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
742 const wxPoint
& pos
= wxDefaultPosition
,
743 const wxSize
& size
= wxDefaultSize
,
745 const wxValidator
& validator
=wxDefaultValidator
,
746 const wxString
& name
= wxPyControlNameStr
)
747 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
750 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
751 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
752 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
753 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
755 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
756 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
757 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
759 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
760 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
762 DEC_PYCALLBACK__(InitDialog
);
763 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
764 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
765 DEC_PYCALLBACK_BOOL_(Validate
);
767 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
768 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
769 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
771 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
772 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
777 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
779 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
780 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
781 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
782 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
784 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
785 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
786 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
788 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
789 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
791 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
792 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
793 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
794 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
796 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
797 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
798 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
800 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
801 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
806 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
808 #include <wx/generic/dragimgg.h>
813 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
815 wxWindow
*arg1
= (wxWindow
*) 0 ;
818 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
819 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
820 wxSize
const &arg5_defvalue
= wxDefaultSize
;
821 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
822 long arg6
= (long) 0 ;
823 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
824 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
825 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
826 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
832 PyObject
* obj0
= 0 ;
833 PyObject
* obj2
= 0 ;
834 PyObject
* obj3
= 0 ;
835 PyObject
* obj4
= 0 ;
836 PyObject
* obj6
= 0 ;
837 PyObject
* obj7
= 0 ;
839 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_Button",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
845 arg3
= wxString_in_helper(obj2
);
846 if (arg3
== NULL
) SWIG_fail
;
852 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
858 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
862 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
864 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
869 arg8
= wxString_in_helper(obj7
);
870 if (arg8
== NULL
) SWIG_fail
;
875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
876 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
878 wxPyEndAllowThreads(__tstate
);
879 if (PyErr_Occurred()) SWIG_fail
;
882 resultobj
= wxPyMake_wxObject(result
);
906 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
916 result
= (wxButton
*)new wxButton();
918 wxPyEndAllowThreads(__tstate
);
919 if (PyErr_Occurred()) SWIG_fail
;
922 resultobj
= wxPyMake_wxObject(result
);
930 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 wxButton
*arg1
= (wxButton
*) 0 ;
933 wxWindow
*arg2
= (wxWindow
*) 0 ;
936 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
937 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
938 wxSize
const &arg6_defvalue
= wxDefaultSize
;
939 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
940 long arg7
= (long) 0 ;
941 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
942 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
943 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
944 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
950 PyObject
* obj0
= 0 ;
951 PyObject
* obj1
= 0 ;
952 PyObject
* obj3
= 0 ;
953 PyObject
* obj4
= 0 ;
954 PyObject
* obj5
= 0 ;
955 PyObject
* obj7
= 0 ;
956 PyObject
* obj8
= 0 ;
958 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:Button_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
963 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
965 arg4
= wxString_in_helper(obj3
);
966 if (arg4
== NULL
) SWIG_fail
;
972 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
978 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
982 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
984 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
989 arg9
= wxString_in_helper(obj8
);
990 if (arg9
== NULL
) SWIG_fail
;
995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
996 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
998 wxPyEndAllowThreads(__tstate
);
999 if (PyErr_Occurred()) SWIG_fail
;
1001 resultobj
= PyInt_FromLong((long)result
);
1024 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1025 PyObject
*resultobj
;
1026 wxButton
*arg1
= (wxButton
*) 0 ;
1027 PyObject
* obj0
= 0 ;
1029 (char *) "self", NULL
1032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1036 (arg1
)->SetDefault();
1038 wxPyEndAllowThreads(__tstate
);
1039 if (PyErr_Occurred()) SWIG_fail
;
1041 Py_INCREF(Py_None
); resultobj
= Py_None
;
1048 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
*resultobj
;
1055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1058 result
= wxButton::GetDefaultSize();
1060 wxPyEndAllowThreads(__tstate
);
1061 if (PyErr_Occurred()) SWIG_fail
;
1065 resultptr
= new wxSize((wxSize
&) result
);
1066 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1074 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1077 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1079 return Py_BuildValue((char *)"");
1081 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
*resultobj
;
1083 wxWindow
*arg1
= (wxWindow
*) 0 ;
1085 wxBitmap
*arg3
= 0 ;
1086 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1087 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1088 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1089 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1090 long arg6
= (long) wxBU_AUTODRAW
;
1091 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1092 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1093 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1094 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1095 wxBitmapButton
*result
;
1098 bool temp8
= False
;
1099 PyObject
* obj0
= 0 ;
1100 PyObject
* obj2
= 0 ;
1101 PyObject
* obj3
= 0 ;
1102 PyObject
* obj4
= 0 ;
1103 PyObject
* obj6
= 0 ;
1104 PyObject
* obj7
= 0 ;
1106 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_BitmapButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1111 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1113 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1128 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1130 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1135 arg8
= wxString_in_helper(obj7
);
1136 if (arg8
== NULL
) SWIG_fail
;
1141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1142 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1144 wxPyEndAllowThreads(__tstate
);
1145 if (PyErr_Occurred()) SWIG_fail
;
1148 resultobj
= wxPyMake_wxObject(result
);
1164 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1165 PyObject
*resultobj
;
1166 wxBitmapButton
*result
;
1171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1174 result
= (wxBitmapButton
*)new wxBitmapButton();
1176 wxPyEndAllowThreads(__tstate
);
1177 if (PyErr_Occurred()) SWIG_fail
;
1180 resultobj
= wxPyMake_wxObject(result
);
1188 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1189 PyObject
*resultobj
;
1190 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1191 wxWindow
*arg2
= (wxWindow
*) 0 ;
1193 wxBitmap
*arg4
= 0 ;
1194 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1195 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1196 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1197 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1198 long arg7
= (long) wxBU_AUTODRAW
;
1199 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1200 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1201 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1202 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1206 bool temp9
= False
;
1207 PyObject
* obj0
= 0 ;
1208 PyObject
* obj1
= 0 ;
1209 PyObject
* obj3
= 0 ;
1210 PyObject
* obj4
= 0 ;
1211 PyObject
* obj5
= 0 ;
1212 PyObject
* obj7
= 0 ;
1213 PyObject
* obj8
= 0 ;
1215 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1220 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1221 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1223 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1228 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1234 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1238 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1240 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1245 arg9
= wxString_in_helper(obj8
);
1246 if (arg9
== NULL
) SWIG_fail
;
1251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1252 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1254 wxPyEndAllowThreads(__tstate
);
1255 if (PyErr_Occurred()) SWIG_fail
;
1257 resultobj
= PyInt_FromLong((long)result
);
1272 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
*resultobj
;
1274 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1276 PyObject
* obj0
= 0 ;
1278 (char *) "self", NULL
1281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1285 result
= (arg1
)->GetBitmapLabel();
1287 wxPyEndAllowThreads(__tstate
);
1288 if (PyErr_Occurred()) SWIG_fail
;
1291 wxBitmap
* resultptr
;
1292 resultptr
= new wxBitmap((wxBitmap
&) result
);
1293 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1301 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1302 PyObject
*resultobj
;
1303 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1305 PyObject
* obj0
= 0 ;
1307 (char *) "self", NULL
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1314 result
= (arg1
)->GetBitmapDisabled();
1316 wxPyEndAllowThreads(__tstate
);
1317 if (PyErr_Occurred()) SWIG_fail
;
1320 wxBitmap
* resultptr
;
1321 resultptr
= new wxBitmap((wxBitmap
&) result
);
1322 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1330 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1331 PyObject
*resultobj
;
1332 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1334 PyObject
* obj0
= 0 ;
1336 (char *) "self", NULL
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 result
= (arg1
)->GetBitmapFocus();
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) SWIG_fail
;
1349 wxBitmap
* resultptr
;
1350 resultptr
= new wxBitmap((wxBitmap
&) result
);
1351 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1359 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1360 PyObject
*resultobj
;
1361 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1363 PyObject
* obj0
= 0 ;
1365 (char *) "self", NULL
1368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1372 result
= (arg1
)->GetBitmapSelected();
1374 wxPyEndAllowThreads(__tstate
);
1375 if (PyErr_Occurred()) SWIG_fail
;
1378 wxBitmap
* resultptr
;
1379 resultptr
= new wxBitmap((wxBitmap
&) result
);
1380 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1388 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
*resultobj
;
1390 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1391 wxBitmap
*arg2
= 0 ;
1392 PyObject
* obj0
= 0 ;
1393 PyObject
* obj1
= 0 ;
1395 (char *) "self",(char *) "bitmap", NULL
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1400 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1402 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1406 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1408 wxPyEndAllowThreads(__tstate
);
1409 if (PyErr_Occurred()) SWIG_fail
;
1411 Py_INCREF(Py_None
); resultobj
= Py_None
;
1418 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
*resultobj
;
1420 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1421 wxBitmap
*arg2
= 0 ;
1422 PyObject
* obj0
= 0 ;
1423 PyObject
* obj1
= 0 ;
1425 (char *) "self",(char *) "bitmap", NULL
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1432 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) SWIG_fail
;
1441 Py_INCREF(Py_None
); resultobj
= Py_None
;
1448 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
*resultobj
;
1450 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1451 wxBitmap
*arg2
= 0 ;
1452 PyObject
* obj0
= 0 ;
1453 PyObject
* obj1
= 0 ;
1455 (char *) "self",(char *) "bitmap", NULL
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1460 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1462 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) SWIG_fail
;
1471 Py_INCREF(Py_None
); resultobj
= Py_None
;
1478 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
*resultobj
;
1480 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1481 wxBitmap
*arg2
= 0 ;
1482 PyObject
* obj0
= 0 ;
1483 PyObject
* obj1
= 0 ;
1485 (char *) "self",(char *) "bitmap", NULL
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1492 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) SWIG_fail
;
1501 Py_INCREF(Py_None
); resultobj
= Py_None
;
1508 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
*resultobj
;
1510 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1513 PyObject
* obj0
= 0 ;
1515 (char *) "self",(char *) "x",(char *) "y", NULL
1518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:BitmapButton_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1522 (arg1
)->SetMargins(arg2
,arg3
);
1524 wxPyEndAllowThreads(__tstate
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1527 Py_INCREF(Py_None
); resultobj
= Py_None
;
1534 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
*resultobj
;
1536 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1538 PyObject
* obj0
= 0 ;
1540 (char *) "self", NULL
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1547 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1549 wxPyEndAllowThreads(__tstate
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1552 resultobj
= PyInt_FromLong((long)result
);
1559 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
*resultobj
;
1561 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1563 PyObject
* obj0
= 0 ;
1565 (char *) "self", NULL
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1572 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1574 wxPyEndAllowThreads(__tstate
);
1575 if (PyErr_Occurred()) SWIG_fail
;
1577 resultobj
= PyInt_FromLong((long)result
);
1584 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1587 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1589 return Py_BuildValue((char *)"");
1591 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
*resultobj
;
1593 wxWindow
*arg1
= (wxWindow
*) 0 ;
1595 wxString
*arg3
= 0 ;
1596 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1597 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1598 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1599 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1600 long arg6
= (long) 0 ;
1601 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1602 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1603 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1604 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1606 bool temp3
= False
;
1609 bool temp8
= False
;
1610 PyObject
* obj0
= 0 ;
1611 PyObject
* obj2
= 0 ;
1612 PyObject
* obj3
= 0 ;
1613 PyObject
* obj4
= 0 ;
1614 PyObject
* obj6
= 0 ;
1615 PyObject
* obj7
= 0 ;
1617 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_CheckBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1623 arg3
= wxString_in_helper(obj2
);
1624 if (arg3
== NULL
) SWIG_fail
;
1630 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1636 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1640 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1642 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1647 arg8
= wxString_in_helper(obj7
);
1648 if (arg8
== NULL
) SWIG_fail
;
1653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1654 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1656 wxPyEndAllowThreads(__tstate
);
1657 if (PyErr_Occurred()) SWIG_fail
;
1659 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1682 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
*resultobj
;
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1692 result
= (wxCheckBox
*)new wxCheckBox();
1694 wxPyEndAllowThreads(__tstate
);
1695 if (PyErr_Occurred()) SWIG_fail
;
1697 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1704 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
*resultobj
;
1706 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1707 wxWindow
*arg2
= (wxWindow
*) 0 ;
1709 wxString
*arg4
= 0 ;
1710 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1711 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1712 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1713 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1714 long arg7
= (long) 0 ;
1715 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1716 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1717 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1718 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1720 bool temp4
= False
;
1723 bool temp9
= False
;
1724 PyObject
* obj0
= 0 ;
1725 PyObject
* obj1
= 0 ;
1726 PyObject
* obj3
= 0 ;
1727 PyObject
* obj4
= 0 ;
1728 PyObject
* obj5
= 0 ;
1729 PyObject
* obj7
= 0 ;
1730 PyObject
* obj8
= 0 ;
1732 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1737 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1739 arg4
= wxString_in_helper(obj3
);
1740 if (arg4
== NULL
) SWIG_fail
;
1746 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1752 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1756 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1758 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1763 arg9
= wxString_in_helper(obj8
);
1764 if (arg9
== NULL
) SWIG_fail
;
1769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1770 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1772 wxPyEndAllowThreads(__tstate
);
1773 if (PyErr_Occurred()) SWIG_fail
;
1775 resultobj
= PyInt_FromLong((long)result
);
1798 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
*resultobj
;
1800 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1802 PyObject
* obj0
= 0 ;
1804 (char *) "self", NULL
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
1808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1811 result
= (bool)(arg1
)->GetValue();
1813 wxPyEndAllowThreads(__tstate
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1816 resultobj
= PyInt_FromLong((long)result
);
1823 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
*resultobj
;
1825 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1827 PyObject
* obj0
= 0 ;
1829 (char *) "self", NULL
1832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
1833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 result
= (bool)(arg1
)->IsChecked();
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) SWIG_fail
;
1841 resultobj
= PyInt_FromLong((long)result
);
1848 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
*resultobj
;
1850 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1852 PyObject
* obj0
= 0 ;
1853 PyObject
* obj1
= 0 ;
1855 (char *) "self",(char *) "state", NULL
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
1859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1860 arg2
= PyInt_AsLong(obj1
) ? true : false;
1861 if (PyErr_Occurred()) SWIG_fail
;
1863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1864 (arg1
)->SetValue(arg2
);
1866 wxPyEndAllowThreads(__tstate
);
1867 if (PyErr_Occurred()) SWIG_fail
;
1869 Py_INCREF(Py_None
); resultobj
= Py_None
;
1876 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
*resultobj
;
1878 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1880 PyObject
* obj0
= 0 ;
1882 (char *) "self", NULL
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
1886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) SWIG_fail
;
1894 resultobj
= PyInt_FromLong((long)result
);
1901 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1903 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1905 PyObject
* obj0
= 0 ;
1907 (char *) "self",(char *) "state", NULL
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckBox_Set3StateValue",kwnames
,&obj0
,&arg2
)) goto fail
;
1911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1914 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
1916 wxPyEndAllowThreads(__tstate
);
1917 if (PyErr_Occurred()) SWIG_fail
;
1919 Py_INCREF(Py_None
); resultobj
= Py_None
;
1926 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
*resultobj
;
1928 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1930 PyObject
* obj0
= 0 ;
1932 (char *) "self", NULL
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
1936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1939 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
1941 wxPyEndAllowThreads(__tstate
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1944 resultobj
= PyInt_FromLong((long)result
);
1951 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
*resultobj
;
1953 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1955 PyObject
* obj0
= 0 ;
1957 (char *) "self", NULL
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
1961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1969 resultobj
= PyInt_FromLong((long)result
);
1976 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
1978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1979 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
1981 return Py_BuildValue((char *)"");
1983 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1984 PyObject
*resultobj
;
1985 wxWindow
*arg1
= (wxWindow
*) 0 ;
1987 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1988 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1989 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1990 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1991 int arg5
= (int) 0 ;
1992 wxString
*arg6
= (wxString
*) NULL
;
1993 long arg7
= (long) 0 ;
1994 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1995 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1996 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
1997 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2001 bool temp8
= False
;
2002 PyObject
* obj0
= 0 ;
2003 PyObject
* obj2
= 0 ;
2004 PyObject
* obj3
= 0 ;
2005 PyObject
* obj4
= 0 ;
2006 PyObject
* obj6
= 0 ;
2007 PyObject
* obj7
= 0 ;
2009 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_Choice",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
2013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2017 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2023 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2028 arg5
= PyList_Size(obj4
);
2029 arg6
= wxString_LIST_helper(obj4
);
2030 if (arg6
== NULL
) SWIG_fail
;
2034 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2036 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2041 arg9
= wxString_in_helper(obj7
);
2042 if (arg9
== NULL
) SWIG_fail
;
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2053 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2055 if (arg6
) delete [] arg6
;
2064 if (arg6
) delete [] arg6
;
2074 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
*resultobj
;
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2084 result
= (wxChoice
*)new wxChoice();
2086 wxPyEndAllowThreads(__tstate
);
2087 if (PyErr_Occurred()) SWIG_fail
;
2089 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2096 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
*resultobj
;
2098 wxChoice
*arg1
= (wxChoice
*) 0 ;
2099 wxWindow
*arg2
= (wxWindow
*) 0 ;
2101 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2102 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2103 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2104 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2105 int arg6
= (int) 0 ;
2106 wxString
*arg7
= (wxString
*) NULL
;
2107 long arg8
= (long) 0 ;
2108 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2109 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2110 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2111 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2115 bool temp9
= False
;
2116 PyObject
* obj0
= 0 ;
2117 PyObject
* obj1
= 0 ;
2118 PyObject
* obj3
= 0 ;
2119 PyObject
* obj4
= 0 ;
2120 PyObject
* obj5
= 0 ;
2121 PyObject
* obj7
= 0 ;
2122 PyObject
* obj8
= 0 ;
2124 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:Choice_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2129 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2133 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2139 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2144 arg6
= PyList_Size(obj5
);
2145 arg7
= wxString_LIST_helper(obj5
);
2146 if (arg7
== NULL
) SWIG_fail
;
2150 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2152 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2157 arg10
= wxString_in_helper(obj8
);
2158 if (arg10
== NULL
) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2169 resultobj
= PyInt_FromLong((long)result
);
2171 if (arg7
) delete [] arg7
;
2180 if (arg7
) delete [] arg7
;
2190 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxChoice
*arg1
= (wxChoice
*) 0 ;
2194 PyObject
* obj0
= 0 ;
2196 (char *) "self", NULL
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2203 result
= (int)(arg1
)->GetColumns();
2205 wxPyEndAllowThreads(__tstate
);
2206 if (PyErr_Occurred()) SWIG_fail
;
2208 resultobj
= PyInt_FromLong((long)result
);
2215 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
*resultobj
;
2217 wxChoice
*arg1
= (wxChoice
*) 0 ;
2218 int arg2
= (int) (int)1 ;
2219 PyObject
* obj0
= 0 ;
2221 (char *) "self",(char *) "n", NULL
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Choice_SetColumns",kwnames
,&obj0
,&arg2
)) goto fail
;
2225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2228 (arg1
)->SetColumns(arg2
);
2230 wxPyEndAllowThreads(__tstate
);
2231 if (PyErr_Occurred()) SWIG_fail
;
2233 Py_INCREF(Py_None
); resultobj
= Py_None
;
2240 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
*resultobj
;
2242 wxChoice
*arg1
= (wxChoice
*) 0 ;
2244 PyObject
* obj0
= 0 ;
2246 (char *) "self",(char *) "n", NULL
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Choice_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 (arg1
)->SetSelection(arg2
);
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) SWIG_fail
;
2258 Py_INCREF(Py_None
); resultobj
= Py_None
;
2265 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
*resultobj
;
2267 wxChoice
*arg1
= (wxChoice
*) 0 ;
2268 wxString
*arg2
= 0 ;
2269 bool temp2
= False
;
2270 PyObject
* obj0
= 0 ;
2271 PyObject
* obj1
= 0 ;
2273 (char *) "self",(char *) "string", NULL
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2279 arg2
= wxString_in_helper(obj1
);
2280 if (arg2
== NULL
) SWIG_fail
;
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) SWIG_fail
;
2290 Py_INCREF(Py_None
); resultobj
= Py_None
;
2305 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
*resultobj
;
2307 wxChoice
*arg1
= (wxChoice
*) 0 ;
2309 wxString
*arg3
= 0 ;
2310 bool temp3
= False
;
2311 PyObject
* obj0
= 0 ;
2312 PyObject
* obj2
= 0 ;
2314 (char *) "self",(char *) "n",(char *) "s", NULL
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Choice_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
2318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2320 arg3
= wxString_in_helper(obj2
);
2321 if (arg3
== NULL
) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2331 Py_INCREF(Py_None
); resultobj
= Py_None
;
2346 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2349 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2351 return Py_BuildValue((char *)"");
2353 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
*resultobj
;
2355 wxWindow
*arg1
= (wxWindow
*) 0 ;
2357 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2358 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2359 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2360 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2361 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2362 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2363 int arg6
= (int) 0 ;
2364 wxString
*arg7
= (wxString
*) NULL
;
2365 long arg8
= (long) 0 ;
2366 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2367 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2368 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2369 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2371 bool temp3
= False
;
2374 bool temp9
= False
;
2375 PyObject
* obj0
= 0 ;
2376 PyObject
* obj2
= 0 ;
2377 PyObject
* obj3
= 0 ;
2378 PyObject
* obj4
= 0 ;
2379 PyObject
* obj5
= 0 ;
2380 PyObject
* obj7
= 0 ;
2381 PyObject
* obj8
= 0 ;
2383 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2390 arg3
= wxString_in_helper(obj2
);
2391 if (arg3
== NULL
) SWIG_fail
;
2398 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2404 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2409 arg6
= PyList_Size(obj5
);
2410 arg7
= wxString_LIST_helper(obj5
);
2411 if (arg7
== NULL
) SWIG_fail
;
2415 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2417 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2422 arg10
= wxString_in_helper(obj8
);
2423 if (arg10
== NULL
) SWIG_fail
;
2428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2429 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2431 wxPyEndAllowThreads(__tstate
);
2432 if (PyErr_Occurred()) SWIG_fail
;
2434 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2440 if (arg7
) delete [] arg7
;
2453 if (arg7
) delete [] arg7
;
2463 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2473 result
= (wxComboBox
*)new wxComboBox();
2475 wxPyEndAllowThreads(__tstate
);
2476 if (PyErr_Occurred()) SWIG_fail
;
2478 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2485 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
*resultobj
;
2487 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2488 wxWindow
*arg2
= (wxWindow
*) 0 ;
2490 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2491 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2492 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2493 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2494 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2495 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2496 int arg7
= (int) 0 ;
2497 wxString
*arg8
= (wxString
*) NULL
;
2498 long arg9
= (long) 0 ;
2499 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
2500 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
2501 wxString
const &arg11_defvalue
= wxPyComboBoxNameStr
;
2502 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
2504 bool temp4
= False
;
2507 bool temp10
= False
;
2508 PyObject
* obj0
= 0 ;
2509 PyObject
* obj1
= 0 ;
2510 PyObject
* obj3
= 0 ;
2511 PyObject
* obj4
= 0 ;
2512 PyObject
* obj5
= 0 ;
2513 PyObject
* obj6
= 0 ;
2514 PyObject
* obj8
= 0 ;
2515 PyObject
* obj9
= 0 ;
2517 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&obj8
,&obj9
)) goto fail
;
2521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2525 arg4
= wxString_in_helper(obj3
);
2526 if (arg4
== NULL
) SWIG_fail
;
2533 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2539 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2544 arg7
= PyList_Size(obj6
);
2545 arg8
= wxString_LIST_helper(obj6
);
2546 if (arg8
== NULL
) SWIG_fail
;
2550 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2551 if (arg10
== NULL
) {
2552 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2557 arg11
= wxString_in_helper(obj9
);
2558 if (arg11
== NULL
) SWIG_fail
;
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2569 resultobj
= PyInt_FromLong((long)result
);
2575 if (arg8
) delete [] arg8
;
2588 if (arg8
) delete [] arg8
;
2598 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
*resultobj
;
2600 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2602 PyObject
* obj0
= 0 ;
2604 (char *) "self", NULL
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 result
= ((wxComboBox
const *)arg1
)->GetValue();
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2629 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
*resultobj
;
2631 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2632 wxString
*arg2
= 0 ;
2633 bool temp2
= False
;
2634 PyObject
* obj0
= 0 ;
2635 PyObject
* obj1
= 0 ;
2637 (char *) "self",(char *) "value", NULL
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2643 arg2
= wxString_in_helper(obj1
);
2644 if (arg2
== NULL
) SWIG_fail
;
2648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2649 (arg1
)->SetValue((wxString
const &)*arg2
);
2651 wxPyEndAllowThreads(__tstate
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2654 Py_INCREF(Py_None
); resultobj
= Py_None
;
2669 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
*resultobj
;
2671 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2672 PyObject
* obj0
= 0 ;
2674 (char *) "self", NULL
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2686 Py_INCREF(Py_None
); resultobj
= Py_None
;
2693 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
*resultobj
;
2695 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2696 PyObject
* obj0
= 0 ;
2698 (char *) "self", NULL
2701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
2702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2707 wxPyEndAllowThreads(__tstate
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2710 Py_INCREF(Py_None
); resultobj
= Py_None
;
2717 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
*resultobj
;
2719 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2720 PyObject
* obj0
= 0 ;
2722 (char *) "self", NULL
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
2726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2734 Py_INCREF(Py_None
); resultobj
= Py_None
;
2741 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
*resultobj
;
2743 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2745 PyObject
* obj0
= 0 ;
2747 (char *) "self",(char *) "pos", NULL
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
2751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 (arg1
)->SetInsertionPoint(arg2
);
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2759 Py_INCREF(Py_None
); resultobj
= Py_None
;
2766 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
*resultobj
;
2768 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2770 PyObject
* obj0
= 0 ;
2772 (char *) "self", NULL
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
2776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2779 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
2781 wxPyEndAllowThreads(__tstate
);
2782 if (PyErr_Occurred()) SWIG_fail
;
2784 resultobj
= PyInt_FromLong((long)result
);
2791 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
*resultobj
;
2793 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2795 PyObject
* obj0
= 0 ;
2797 (char *) "self", NULL
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
2801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2809 resultobj
= PyInt_FromLong((long)result
);
2816 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
*resultobj
;
2818 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2821 wxString
*arg4
= 0 ;
2822 bool temp4
= False
;
2823 PyObject
* obj0
= 0 ;
2824 PyObject
* obj3
= 0 ;
2826 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:ComboBox_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2832 arg4
= wxString_in_helper(obj3
);
2833 if (arg4
== NULL
) SWIG_fail
;
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2843 Py_INCREF(Py_None
); resultobj
= Py_None
;
2858 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
*resultobj
;
2860 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2862 PyObject
* obj0
= 0 ;
2864 (char *) "self",(char *) "n", NULL
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ComboBox_SetSelection",kwnames
,&obj0
,&arg2
)) 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
);
2873 wxPyEndAllowThreads(__tstate
);
2874 if (PyErr_Occurred()) SWIG_fail
;
2876 Py_INCREF(Py_None
); resultobj
= Py_None
;
2883 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
*resultobj
;
2885 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2888 PyObject
* obj0
= 0 ;
2890 (char *) "self",(char *) "from",(char *) "to", NULL
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_SetMark",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 (arg1
)->SetSelection(arg2
,arg3
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2902 Py_INCREF(Py_None
); resultobj
= Py_None
;
2909 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2913 PyObject
* obj0
= 0 ;
2914 PyObject
* obj1
= 0 ;
2916 (char *) "self",(char *) "editable", NULL
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
2920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2921 arg2
= PyInt_AsLong(obj1
) ? true : false;
2922 if (PyErr_Occurred()) SWIG_fail
;
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2925 (arg1
)->SetEditable(arg2
);
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2930 Py_INCREF(Py_None
); resultobj
= Py_None
;
2937 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
*resultobj
;
2939 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2940 PyObject
* obj0
= 0 ;
2942 (char *) "self", NULL
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) 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
)->SetInsertionPointEnd();
2951 wxPyEndAllowThreads(__tstate
);
2952 if (PyErr_Occurred()) SWIG_fail
;
2954 Py_INCREF(Py_None
); resultobj
= Py_None
;
2961 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
*resultobj
;
2963 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2966 PyObject
* obj0
= 0 ;
2968 (char *) "self",(char *) "from",(char *) "to", NULL
2971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2975 (arg1
)->Remove(arg2
,arg3
);
2977 wxPyEndAllowThreads(__tstate
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2980 Py_INCREF(Py_None
); resultobj
= Py_None
;
2987 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
2989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2990 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
2992 return Py_BuildValue((char *)"");
2994 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
*resultobj
;
2996 wxWindow
*arg1
= (wxWindow
*) 0 ;
2999 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3000 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3001 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3002 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3003 long arg6
= (long) wxGA_HORIZONTAL
;
3004 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3005 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3006 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3007 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3011 bool temp8
= False
;
3012 PyObject
* obj0
= 0 ;
3013 PyObject
* obj3
= 0 ;
3014 PyObject
* obj4
= 0 ;
3015 PyObject
* obj6
= 0 ;
3016 PyObject
* obj7
= 0 ;
3018 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|OOlOO:new_Gauge",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
3022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3026 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3032 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3036 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3038 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3043 arg8
= wxString_in_helper(obj7
);
3044 if (arg8
== NULL
) SWIG_fail
;
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3055 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3070 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
*resultobj
;
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 result
= (wxGauge
*)new wxGauge();
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3085 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3092 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3093 PyObject
*resultobj
;
3094 wxGauge
*arg1
= (wxGauge
*) 0 ;
3095 wxWindow
*arg2
= (wxWindow
*) 0 ;
3098 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3099 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3100 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3101 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3102 long arg7
= (long) wxGA_HORIZONTAL
;
3103 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3104 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3105 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3106 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3110 bool temp9
= False
;
3111 PyObject
* obj0
= 0 ;
3112 PyObject
* obj1
= 0 ;
3113 PyObject
* obj4
= 0 ;
3114 PyObject
* obj5
= 0 ;
3115 PyObject
* obj7
= 0 ;
3116 PyObject
* obj8
= 0 ;
3118 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|OOlOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
3122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3123 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3127 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3133 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3137 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3139 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3144 arg9
= wxString_in_helper(obj8
);
3145 if (arg9
== NULL
) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3156 resultobj
= PyInt_FromLong((long)result
);
3171 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
;
3173 wxGauge
*arg1
= (wxGauge
*) 0 ;
3175 PyObject
* obj0
= 0 ;
3177 (char *) "self",(char *) "range", NULL
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetRange",kwnames
,&obj0
,&arg2
)) goto fail
;
3181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3184 (arg1
)->SetRange(arg2
);
3186 wxPyEndAllowThreads(__tstate
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3189 Py_INCREF(Py_None
); resultobj
= Py_None
;
3196 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
*resultobj
;
3198 wxGauge
*arg1
= (wxGauge
*) 0 ;
3200 PyObject
* obj0
= 0 ;
3202 (char *) "self", NULL
3205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3209 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3211 wxPyEndAllowThreads(__tstate
);
3212 if (PyErr_Occurred()) SWIG_fail
;
3214 resultobj
= PyInt_FromLong((long)result
);
3221 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
*resultobj
;
3223 wxGauge
*arg1
= (wxGauge
*) 0 ;
3225 PyObject
* obj0
= 0 ;
3227 (char *) "self",(char *) "pos", NULL
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
3231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3234 (arg1
)->SetValue(arg2
);
3236 wxPyEndAllowThreads(__tstate
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3239 Py_INCREF(Py_None
); resultobj
= Py_None
;
3246 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
*resultobj
;
3248 wxGauge
*arg1
= (wxGauge
*) 0 ;
3250 PyObject
* obj0
= 0 ;
3252 (char *) "self", NULL
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3259 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3261 wxPyEndAllowThreads(__tstate
);
3262 if (PyErr_Occurred()) SWIG_fail
;
3264 resultobj
= PyInt_FromLong((long)result
);
3271 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
*resultobj
;
3273 wxGauge
*arg1
= (wxGauge
*) 0 ;
3275 PyObject
* obj0
= 0 ;
3277 (char *) "self", NULL
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 resultobj
= PyInt_FromLong((long)result
);
3296 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3298 wxGauge
*arg1
= (wxGauge
*) 0 ;
3300 PyObject
* obj0
= 0 ;
3302 (char *) "self",(char *) "w", NULL
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetShadowWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3309 (arg1
)->SetShadowWidth(arg2
);
3311 wxPyEndAllowThreads(__tstate
);
3312 if (PyErr_Occurred()) SWIG_fail
;
3314 Py_INCREF(Py_None
); resultobj
= Py_None
;
3321 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
*resultobj
;
3323 wxGauge
*arg1
= (wxGauge
*) 0 ;
3325 PyObject
* obj0
= 0 ;
3327 (char *) "self", NULL
3330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3336 wxPyEndAllowThreads(__tstate
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3339 resultobj
= PyInt_FromLong((long)result
);
3346 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
*resultobj
;
3348 wxGauge
*arg1
= (wxGauge
*) 0 ;
3350 PyObject
* obj0
= 0 ;
3352 (char *) "self",(char *) "w", NULL
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetBezelFace",kwnames
,&obj0
,&arg2
)) goto fail
;
3356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 (arg1
)->SetBezelFace(arg2
);
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) SWIG_fail
;
3364 Py_INCREF(Py_None
); resultobj
= Py_None
;
3371 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxGauge
*arg1
= (wxGauge
*) 0 ;
3375 PyObject
* obj0
= 0 ;
3377 (char *) "self", NULL
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3386 wxPyEndAllowThreads(__tstate
);
3387 if (PyErr_Occurred()) SWIG_fail
;
3389 resultobj
= PyInt_FromLong((long)result
);
3396 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3399 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3401 return Py_BuildValue((char *)"");
3403 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
*resultobj
;
3405 wxWindow
*arg1
= (wxWindow
*) 0 ;
3407 wxString
*arg3
= 0 ;
3408 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3409 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3410 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3411 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3412 long arg6
= (long) 0 ;
3413 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3414 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3415 wxStaticBox
*result
;
3416 bool temp3
= False
;
3419 bool temp7
= False
;
3420 PyObject
* obj0
= 0 ;
3421 PyObject
* obj2
= 0 ;
3422 PyObject
* obj3
= 0 ;
3423 PyObject
* obj4
= 0 ;
3424 PyObject
* obj6
= 0 ;
3426 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3432 arg3
= wxString_in_helper(obj2
);
3433 if (arg3
== NULL
) SWIG_fail
;
3439 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3445 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3450 arg7
= wxString_in_helper(obj6
);
3451 if (arg7
== NULL
) SWIG_fail
;
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3457 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3463 resultobj
= wxPyMake_wxObject(result
);
3487 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
*resultobj
;
3489 wxStaticBox
*result
;
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 result
= (wxStaticBox
*)new wxStaticBox();
3499 wxPyEndAllowThreads(__tstate
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3503 resultobj
= wxPyMake_wxObject(result
);
3511 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3512 PyObject
*resultobj
;
3513 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
3514 wxWindow
*arg2
= (wxWindow
*) 0 ;
3516 wxString
*arg4
= 0 ;
3517 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3518 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3519 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3520 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3521 long arg7
= (long) 0 ;
3522 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
3523 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3525 bool temp4
= False
;
3528 bool temp8
= False
;
3529 PyObject
* obj0
= 0 ;
3530 PyObject
* obj1
= 0 ;
3531 PyObject
* obj3
= 0 ;
3532 PyObject
* obj4
= 0 ;
3533 PyObject
* obj5
= 0 ;
3534 PyObject
* obj7
= 0 ;
3536 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3541 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3543 arg4
= wxString_in_helper(obj3
);
3544 if (arg4
== NULL
) SWIG_fail
;
3550 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3556 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3561 arg8
= wxString_in_helper(obj7
);
3562 if (arg8
== NULL
) SWIG_fail
;
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3573 resultobj
= PyInt_FromLong((long)result
);
3596 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
3598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3599 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
3601 return Py_BuildValue((char *)"");
3603 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
*resultobj
;
3605 wxWindow
*arg1
= (wxWindow
*) 0 ;
3607 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3608 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3609 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3610 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3611 long arg5
= (long) wxLI_HORIZONTAL
;
3612 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
3613 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3614 wxStaticLine
*result
;
3617 bool temp6
= False
;
3618 PyObject
* obj0
= 0 ;
3619 PyObject
* obj2
= 0 ;
3620 PyObject
* obj3
= 0 ;
3621 PyObject
* obj5
= 0 ;
3623 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_StaticLine",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
3627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3631 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3637 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3642 arg6
= wxString_in_helper(obj5
);
3643 if (arg6
== NULL
) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3654 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3669 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
*resultobj
;
3671 wxStaticLine
*result
;
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 result
= (wxStaticLine
*)new wxStaticLine();
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3691 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
*resultobj
;
3693 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3694 wxWindow
*arg2
= (wxWindow
*) 0 ;
3696 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3697 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3698 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3699 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3700 long arg6
= (long) wxLI_HORIZONTAL
;
3701 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3702 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3706 bool temp7
= False
;
3707 PyObject
* obj0
= 0 ;
3708 PyObject
* obj1
= 0 ;
3709 PyObject
* obj3
= 0 ;
3710 PyObject
* obj4
= 0 ;
3711 PyObject
* obj6
= 0 ;
3713 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3718 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3722 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3728 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3733 arg7
= wxString_in_helper(obj6
);
3734 if (arg7
== NULL
) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 resultobj
= PyInt_FromLong((long)result
);
3760 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
*resultobj
;
3762 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3764 PyObject
* obj0
= 0 ;
3766 (char *) "self", NULL
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
3770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3778 resultobj
= PyInt_FromLong((long)result
);
3785 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
*resultobj
;
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
3794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 result
= (int)wxStaticLine::GetDefaultSize();
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3800 resultobj
= PyInt_FromLong((long)result
);
3807 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
3809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3810 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
3812 return Py_BuildValue((char *)"");
3814 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
*resultobj
;
3816 wxWindow
*arg1
= (wxWindow
*) 0 ;
3818 wxString
*arg3
= 0 ;
3819 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3820 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3821 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3822 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3823 long arg6
= (long) 0 ;
3824 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3825 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3826 wxStaticText
*result
;
3827 bool temp3
= False
;
3830 bool temp7
= False
;
3831 PyObject
* obj0
= 0 ;
3832 PyObject
* obj2
= 0 ;
3833 PyObject
* obj3
= 0 ;
3834 PyObject
* obj4
= 0 ;
3835 PyObject
* obj6
= 0 ;
3837 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticText",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3843 arg3
= wxString_in_helper(obj2
);
3844 if (arg3
== NULL
) SWIG_fail
;
3850 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3856 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3861 arg7
= wxString_in_helper(obj6
);
3862 if (arg7
== NULL
) SWIG_fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3873 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
3896 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
*resultobj
;
3898 wxStaticText
*result
;
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 result
= (wxStaticText
*)new wxStaticText();
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3911 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
3918 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
;
3920 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
3921 wxWindow
*arg2
= (wxWindow
*) 0 ;
3923 wxString
*arg4
= 0 ;
3924 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3925 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3926 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3927 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3928 long arg7
= (long) 0 ;
3929 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
3930 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3932 bool temp4
= False
;
3935 bool temp8
= False
;
3936 PyObject
* obj0
= 0 ;
3937 PyObject
* obj1
= 0 ;
3938 PyObject
* obj3
= 0 ;
3939 PyObject
* obj4
= 0 ;
3940 PyObject
* obj5
= 0 ;
3941 PyObject
* obj7
= 0 ;
3943 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticText_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3948 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3950 arg4
= wxString_in_helper(obj3
);
3951 if (arg4
== NULL
) SWIG_fail
;
3957 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3963 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3968 arg8
= wxString_in_helper(obj7
);
3969 if (arg8
== NULL
) SWIG_fail
;
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3975 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3980 resultobj
= PyInt_FromLong((long)result
);
4003 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4006 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4008 return Py_BuildValue((char *)"");
4010 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
*resultobj
;
4012 wxWindow
*arg1
= (wxWindow
*) 0 ;
4014 wxBitmap
*arg3
= 0 ;
4015 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4016 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4017 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4018 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4019 long arg6
= (long) 0 ;
4020 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4021 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4022 wxStaticBitmap
*result
;
4025 bool temp7
= False
;
4026 PyObject
* obj0
= 0 ;
4027 PyObject
* obj2
= 0 ;
4028 PyObject
* obj3
= 0 ;
4029 PyObject
* obj4
= 0 ;
4030 PyObject
* obj6
= 0 ;
4032 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBitmap",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4037 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4039 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4044 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4050 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4055 arg7
= wxString_in_helper(obj6
);
4056 if (arg7
== NULL
) SWIG_fail
;
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4067 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4082 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
;
4084 wxStaticBitmap
*result
;
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4104 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4107 wxWindow
*arg2
= (wxWindow
*) 0 ;
4109 wxBitmap
*arg4
= 0 ;
4110 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4111 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4112 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4113 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4114 long arg7
= (long) 0 ;
4115 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4116 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4120 bool temp8
= False
;
4121 PyObject
* obj0
= 0 ;
4122 PyObject
* obj1
= 0 ;
4123 PyObject
* obj3
= 0 ;
4124 PyObject
* obj4
= 0 ;
4125 PyObject
* obj5
= 0 ;
4126 PyObject
* obj7
= 0 ;
4128 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4133 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4134 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4136 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4141 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4147 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4152 arg8
= wxString_in_helper(obj7
);
4153 if (arg8
== NULL
) SWIG_fail
;
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4164 resultobj
= PyInt_FromLong((long)result
);
4179 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
*resultobj
;
4181 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4183 PyObject
* obj0
= 0 ;
4185 (char *) "self", NULL
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 result
= (arg1
)->GetBitmap();
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4198 wxBitmap
* resultptr
;
4199 resultptr
= new wxBitmap((wxBitmap
&) result
);
4200 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4208 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4211 wxBitmap
*arg2
= 0 ;
4212 PyObject
* obj0
= 0 ;
4213 PyObject
* obj1
= 0 ;
4215 (char *) "self",(char *) "bitmap", NULL
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4220 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4222 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 Py_INCREF(Py_None
); resultobj
= Py_None
;
4238 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
;
4240 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4242 PyObject
* obj0
= 0 ;
4243 PyObject
* obj1
= 0 ;
4245 (char *) "self",(char *) "icon", NULL
4248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4250 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4252 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4261 Py_INCREF(Py_None
); resultobj
= Py_None
;
4268 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4271 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4273 return Py_BuildValue((char *)"");
4275 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
;
4277 wxWindow
*arg1
= (wxWindow
*) 0 ;
4279 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4280 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4281 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4282 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4283 int arg5
= (int) 0 ;
4284 wxString
*arg6
= (wxString
*) NULL
;
4285 long arg7
= (long) 0 ;
4286 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4287 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4288 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
4289 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4293 bool temp8
= False
;
4294 PyObject
* obj0
= 0 ;
4295 PyObject
* obj2
= 0 ;
4296 PyObject
* obj3
= 0 ;
4297 PyObject
* obj4
= 0 ;
4298 PyObject
* obj6
= 0 ;
4299 PyObject
* obj7
= 0 ;
4301 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_ListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
4305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4309 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4315 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4320 arg5
= PyList_Size(obj4
);
4321 arg6
= wxString_LIST_helper(obj4
);
4322 if (arg6
== NULL
) SWIG_fail
;
4326 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4328 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4333 arg9
= wxString_in_helper(obj7
);
4334 if (arg9
== NULL
) SWIG_fail
;
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4347 if (arg6
) delete [] arg6
;
4356 if (arg6
) delete [] arg6
;
4366 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
*resultobj
;
4373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 result
= (wxListBox
*)new wxListBox();
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4388 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
*resultobj
;
4390 wxListBox
*arg1
= (wxListBox
*) 0 ;
4391 wxWindow
*arg2
= (wxWindow
*) 0 ;
4393 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4394 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4395 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4396 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4397 int arg6
= (int) 0 ;
4398 wxString
*arg7
= (wxString
*) NULL
;
4399 long arg8
= (long) 0 ;
4400 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4401 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4402 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
4403 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4407 bool temp9
= False
;
4408 PyObject
* obj0
= 0 ;
4409 PyObject
* obj1
= 0 ;
4410 PyObject
* obj3
= 0 ;
4411 PyObject
* obj4
= 0 ;
4412 PyObject
* obj5
= 0 ;
4413 PyObject
* obj7
= 0 ;
4414 PyObject
* obj8
= 0 ;
4416 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
4420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4421 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4425 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4431 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4436 arg6
= PyList_Size(obj5
);
4437 arg7
= wxString_LIST_helper(obj5
);
4438 if (arg7
== NULL
) SWIG_fail
;
4442 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4444 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4449 arg10
= wxString_in_helper(obj8
);
4450 if (arg10
== NULL
) SWIG_fail
;
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 resultobj
= PyInt_FromLong((long)result
);
4463 if (arg7
) delete [] arg7
;
4472 if (arg7
) delete [] arg7
;
4482 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4483 PyObject
*resultobj
;
4484 wxListBox
*arg1
= (wxListBox
*) 0 ;
4485 wxString
*arg2
= 0 ;
4487 PyObject
*arg4
= (PyObject
*) NULL
;
4488 bool temp2
= False
;
4489 PyObject
* obj0
= 0 ;
4490 PyObject
* obj1
= 0 ;
4491 PyObject
* obj3
= 0 ;
4493 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4499 arg2
= wxString_in_helper(obj1
);
4500 if (arg2
== NULL
) SWIG_fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4513 Py_INCREF(Py_None
); resultobj
= Py_None
;
4528 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
;
4530 wxListBox
*arg1
= (wxListBox
*) 0 ;
4531 wxArrayString
*arg2
= 0 ;
4533 PyObject
* obj0
= 0 ;
4534 PyObject
* obj1
= 0 ;
4536 (char *) "self",(char *) "items",(char *) "pos", NULL
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4542 if (! PySequence_Check(obj1
)) {
4543 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4546 arg2
= new wxArrayString
;
4547 int i
, len
=PySequence_Length(obj1
);
4548 for (i
=0; i
<len
; i
++) {
4549 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4551 PyObject
* str
= PyObject_Unicode(item
);
4553 PyObject
* str
= PyObject_Str(item
);
4555 arg2
->Add(Py2wxString(str
));
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4567 Py_INCREF(Py_None
); resultobj
= Py_None
;
4569 if (arg2
) delete arg2
;
4574 if (arg2
) delete arg2
;
4580 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
;
4582 wxListBox
*arg1
= (wxListBox
*) 0 ;
4583 wxArrayString
*arg2
= 0 ;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4587 (char *) "self",(char *) "items", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
4591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4593 if (! PySequence_Check(obj1
)) {
4594 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4597 arg2
= new wxArrayString
;
4598 int i
, len
=PySequence_Length(obj1
);
4599 for (i
=0; i
<len
; i
++) {
4600 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4602 PyObject
* str
= PyObject_Unicode(item
);
4604 PyObject
* str
= PyObject_Str(item
);
4606 arg2
->Add(Py2wxString(str
));
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 (arg1
)->Set((wxArrayString
const &)*arg2
);
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4618 Py_INCREF(Py_None
); resultobj
= Py_None
;
4620 if (arg2
) delete arg2
;
4625 if (arg2
) delete arg2
;
4631 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxListBox
*arg1
= (wxListBox
*) 0 ;
4636 PyObject
* obj0
= 0 ;
4638 (char *) "self",(char *) "n", NULL
4641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
4642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4650 resultobj
= PyInt_FromLong((long)result
);
4657 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
;
4659 wxListBox
*arg1
= (wxListBox
*) 0 ;
4661 bool arg3
= (bool) True
;
4662 PyObject
* obj0
= 0 ;
4663 PyObject
* obj2
= 0 ;
4665 (char *) "self",(char *) "n",(char *) "select", NULL
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListBox_SetSelection",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4671 arg3
= PyInt_AsLong(obj2
) ? true : false;
4672 if (PyErr_Occurred()) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 (arg1
)->SetSelection(arg2
,arg3
);
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 Py_INCREF(Py_None
); resultobj
= Py_None
;
4688 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
;
4690 wxListBox
*arg1
= (wxListBox
*) 0 ;
4692 PyObject
* obj0
= 0 ;
4694 (char *) "self",(char *) "n", NULL
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
4698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 (arg1
)->Select(arg2
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 Py_INCREF(Py_None
); resultobj
= Py_None
;
4713 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
*resultobj
;
4715 wxListBox
*arg1
= (wxListBox
*) 0 ;
4717 PyObject
* obj0
= 0 ;
4719 (char *) "self",(char *) "n", NULL
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Deselect",kwnames
,&obj0
,&arg2
)) goto fail
;
4723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 (arg1
)->Deselect(arg2
);
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4731 Py_INCREF(Py_None
); resultobj
= Py_None
;
4738 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4740 wxListBox
*arg1
= (wxListBox
*) 0 ;
4741 int arg2
= (int) -1 ;
4742 PyObject
* obj0
= 0 ;
4744 (char *) "self",(char *) "itemToLeaveSelected", NULL
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListBox_DeselectAll",kwnames
,&obj0
,&arg2
)) goto fail
;
4748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 (arg1
)->DeselectAll(arg2
);
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4756 Py_INCREF(Py_None
); resultobj
= Py_None
;
4763 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
*resultobj
;
4765 wxListBox
*arg1
= (wxListBox
*) 0 ;
4766 wxString
*arg2
= 0 ;
4767 bool arg3
= (bool) True
;
4769 bool temp2
= False
;
4770 PyObject
* obj0
= 0 ;
4771 PyObject
* obj1
= 0 ;
4772 PyObject
* obj2
= 0 ;
4774 (char *) "self",(char *) "s",(char *) "select", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4780 arg2
= wxString_in_helper(obj1
);
4781 if (arg2
== NULL
) SWIG_fail
;
4785 arg3
= PyInt_AsLong(obj2
) ? true : false;
4786 if (PyErr_Occurred()) SWIG_fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= PyInt_FromLong((long)result
);
4810 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
*resultobj
;
4812 wxListBox
*arg1
= (wxListBox
*) 0 ;
4814 PyObject
* obj0
= 0 ;
4816 (char *) "self", NULL
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
4820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4835 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
;
4837 wxListBox
*arg1
= (wxListBox
*) 0 ;
4839 PyObject
* obj0
= 0 ;
4841 (char *) "self",(char *) "n", NULL
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_SetFirstItem",kwnames
,&obj0
,&arg2
)) goto fail
;
4845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 (arg1
)->SetFirstItem(arg2
);
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 Py_INCREF(Py_None
); resultobj
= Py_None
;
4860 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
*resultobj
;
4862 wxListBox
*arg1
= (wxListBox
*) 0 ;
4863 wxString
*arg2
= 0 ;
4864 bool temp2
= False
;
4865 PyObject
* obj0
= 0 ;
4866 PyObject
* obj1
= 0 ;
4868 (char *) "self",(char *) "s", NULL
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
4872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4874 arg2
= wxString_in_helper(obj1
);
4875 if (arg2
== NULL
) SWIG_fail
;
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4885 Py_INCREF(Py_None
); resultobj
= Py_None
;
4900 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4902 wxListBox
*arg1
= (wxListBox
*) 0 ;
4904 PyObject
* obj0
= 0 ;
4906 (char *) "self",(char *) "n", NULL
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
4910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 (arg1
)->EnsureVisible(arg2
);
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4918 Py_INCREF(Py_None
); resultobj
= Py_None
;
4925 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
*resultobj
;
4927 wxListBox
*arg1
= (wxListBox
*) 0 ;
4928 wxString
*arg2
= 0 ;
4929 bool temp2
= False
;
4930 PyObject
* obj0
= 0 ;
4931 PyObject
* obj1
= 0 ;
4933 (char *) "self",(char *) "s", NULL
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
4937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4939 arg2
= wxString_in_helper(obj1
);
4940 if (arg2
== NULL
) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 Py_INCREF(Py_None
); resultobj
= Py_None
;
4965 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4967 wxListBox
*arg1
= (wxListBox
*) 0 ;
4969 PyObject
* obj0
= 0 ;
4971 (char *) "self", NULL
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
4975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= PyInt_FromLong((long)result
);
4990 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
4992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4993 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
4995 return Py_BuildValue((char *)"");
4997 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
;
4999 wxWindow
*arg1
= (wxWindow
*) 0 ;
5001 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5002 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5003 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5004 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5005 int arg5
= (int) 0 ;
5006 wxString
*arg6
= (wxString
*) NULL
;
5007 long arg7
= (long) 0 ;
5008 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5009 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5010 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5011 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5012 wxCheckListBox
*result
;
5015 bool temp8
= False
;
5016 PyObject
* obj0
= 0 ;
5017 PyObject
* obj2
= 0 ;
5018 PyObject
* obj3
= 0 ;
5019 PyObject
* obj4
= 0 ;
5020 PyObject
* obj6
= 0 ;
5021 PyObject
* obj7
= 0 ;
5023 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
5027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5031 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5037 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5042 arg5
= PyList_Size(obj4
);
5043 arg6
= wxString_LIST_helper(obj4
);
5044 if (arg6
== NULL
) SWIG_fail
;
5048 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5050 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5055 arg9
= wxString_in_helper(obj7
);
5056 if (arg9
== NULL
) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5069 if (arg6
) delete [] arg6
;
5078 if (arg6
) delete [] arg6
;
5088 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
;
5090 wxCheckListBox
*result
;
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (wxCheckListBox
*)new wxCheckListBox();
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5110 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5113 wxWindow
*arg2
= (wxWindow
*) 0 ;
5115 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5116 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5117 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5118 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5119 int arg6
= (int) 0 ;
5120 wxString
*arg7
= (wxString
*) NULL
;
5121 long arg8
= (long) 0 ;
5122 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5123 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5124 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5125 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5129 bool temp9
= False
;
5130 PyObject
* obj0
= 0 ;
5131 PyObject
* obj1
= 0 ;
5132 PyObject
* obj3
= 0 ;
5133 PyObject
* obj4
= 0 ;
5134 PyObject
* obj5
= 0 ;
5135 PyObject
* obj7
= 0 ;
5136 PyObject
* obj8
= 0 ;
5138 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
5142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5143 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5147 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5153 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5158 arg6
= PyList_Size(obj5
);
5159 arg7
= wxString_LIST_helper(obj5
);
5160 if (arg7
== NULL
) SWIG_fail
;
5164 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5166 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5171 arg10
= wxString_in_helper(obj8
);
5172 if (arg10
== NULL
) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= PyInt_FromLong((long)result
);
5185 if (arg7
) delete [] arg7
;
5194 if (arg7
) delete [] arg7
;
5204 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5206 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5209 PyObject
* obj0
= 0 ;
5211 (char *) "self",(char *) "index", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckListBox_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
5215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 result
= (bool)(arg1
)->IsChecked(arg2
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 resultobj
= PyInt_FromLong((long)result
);
5230 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5234 int arg3
= (int) True
;
5235 PyObject
* obj0
= 0 ;
5237 (char *) "self",(char *) "index",(char *) "check", NULL
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:CheckListBox_Check",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 (arg1
)->Check(arg2
,arg3
);
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5249 Py_INCREF(Py_None
); resultobj
= Py_None
;
5256 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
;
5258 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5260 PyObject
* obj0
= 0 ;
5262 (char *) "self", NULL
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
5266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 result
= (int)(arg1
)->GetItemHeight();
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= PyInt_FromLong((long)result
);
5281 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
;
5283 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj1
= 0 ;
5290 (char *) "self",(char *) "pt", NULL
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
5294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5297 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= PyInt_FromLong((long)result
);
5313 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
;
5315 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5319 PyObject
* obj0
= 0 ;
5321 (char *) "self",(char *) "x",(char *) "y", NULL
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:CheckListBox_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= PyInt_FromLong((long)result
);
5340 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5343 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
5345 return Py_BuildValue((char *)"");
5347 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
5348 PyObject
*resultobj
;
5351 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 result
= (wxTextAttr
*)new wxTextAttr();
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5366 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
5367 PyObject
*resultobj
;
5368 wxColour
*arg1
= 0 ;
5369 wxColour
const &arg2_defvalue
= wxNullColour
;
5370 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5371 wxFont
const &arg3_defvalue
= wxNullFont
;
5372 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
5373 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5379 PyObject
* obj2
= 0 ;
5381 if(!PyArg_ParseTuple(args
,(char *)"O|OOi:new_TextAttr",&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5384 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5389 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5393 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5395 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5405 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5412 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
5417 argc
= PyObject_Length(args
);
5418 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
5419 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5422 return _wrap_new_TextAttr__SWIG_0(self
,args
);
5424 if ((argc
>= 1) && (argc
<= 4)) {
5427 _v
= wxColour_typecheck(argv
[0]);
5431 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5434 _v
= wxColour_typecheck(argv
[1]);
5438 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5442 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
5451 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5454 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
5457 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5464 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
5469 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
*resultobj
;
5471 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5472 PyObject
* obj0
= 0 ;
5474 (char *) "self", NULL
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
5478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5486 Py_INCREF(Py_None
); resultobj
= Py_None
;
5493 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
*resultobj
;
5495 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5496 wxColour
*arg2
= 0 ;
5498 PyObject
* obj0
= 0 ;
5499 PyObject
* obj1
= 0 ;
5501 (char *) "self",(char *) "colText", NULL
5504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5508 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5517 Py_INCREF(Py_None
); resultobj
= Py_None
;
5524 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
;
5526 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5527 wxColour
*arg2
= 0 ;
5529 PyObject
* obj0
= 0 ;
5530 PyObject
* obj1
= 0 ;
5532 (char *) "self",(char *) "colBack", NULL
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5539 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 Py_INCREF(Py_None
); resultobj
= Py_None
;
5555 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
*resultobj
;
5557 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5559 long arg3
= (long) wxTEXT_ATTR_FONT
;
5560 PyObject
* obj0
= 0 ;
5561 PyObject
* obj1
= 0 ;
5563 (char *) "self",(char *) "font",(char *) "flags", NULL
5566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5568 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5570 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 Py_INCREF(Py_None
); resultobj
= Py_None
;
5586 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
;
5588 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5590 PyObject
* obj0
= 0 ;
5592 (char *) "self",(char *) "alignment", NULL
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
5596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 Py_INCREF(Py_None
); resultobj
= Py_None
;
5611 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
;
5613 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5614 wxArrayInt
*arg2
= 0 ;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5618 (char *) "self",(char *) "tabs", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
5622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5624 if (! PySequence_Check(obj1
)) {
5625 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
5628 arg2
= new wxArrayInt
;
5629 int i
, len
=PySequence_Length(obj1
);
5630 for (i
=0; i
<len
; i
++) {
5631 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5632 PyObject
* number
= PyNumber_Int(item
);
5633 arg2
->Add(PyInt_AS_LONG(number
));
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 Py_INCREF(Py_None
); resultobj
= Py_None
;
5647 if (arg2
) delete arg2
;
5652 if (arg2
) delete arg2
;
5658 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5659 PyObject
*resultobj
;
5660 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5662 PyObject
* obj0
= 0 ;
5664 (char *) "self",(char *) "indent", NULL
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetLeftIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 (arg1
)->SetLeftIndent(arg2
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 Py_INCREF(Py_None
); resultobj
= Py_None
;
5683 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
;
5685 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5687 PyObject
* obj0
= 0 ;
5689 (char *) "self",(char *) "indent", NULL
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetRightIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 (arg1
)->SetRightIndent(arg2
);
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 Py_INCREF(Py_None
); resultobj
= Py_None
;
5708 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5712 PyObject
* obj0
= 0 ;
5714 (char *) "self",(char *) "flags", NULL
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
5718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 (arg1
)->SetFlags(arg2
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5726 Py_INCREF(Py_None
); resultobj
= Py_None
;
5733 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5735 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5737 PyObject
* obj0
= 0 ;
5739 (char *) "self", NULL
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
5743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 resultobj
= PyInt_FromLong((long)result
);
5758 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
;
5760 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5762 PyObject
* obj0
= 0 ;
5764 (char *) "self", NULL
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
5768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5771 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5776 resultobj
= PyInt_FromLong((long)result
);
5783 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
*resultobj
;
5785 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5787 PyObject
* obj0
= 0 ;
5789 (char *) "self", NULL
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
5793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5801 resultobj
= PyInt_FromLong((long)result
);
5808 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
*resultobj
;
5810 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5812 PyObject
* obj0
= 0 ;
5814 (char *) "self", NULL
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
5818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= PyInt_FromLong((long)result
);
5833 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5837 PyObject
* obj0
= 0 ;
5839 (char *) "self", NULL
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
5843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 resultobj
= PyInt_FromLong((long)result
);
5858 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5862 PyObject
* obj0
= 0 ;
5864 (char *) "self", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
5868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5871 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
5873 wxPyEndAllowThreads(__tstate
);
5874 if (PyErr_Occurred()) SWIG_fail
;
5876 resultobj
= PyInt_FromLong((long)result
);
5883 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5887 PyObject
* obj0
= 0 ;
5889 (char *) "self", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) 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
)->HasRightIndent();
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= PyInt_FromLong((long)result
);
5908 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
;
5910 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5913 PyObject
* obj0
= 0 ;
5915 (char *) "self",(char *) "flag", NULL
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
5919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= PyInt_FromLong((long)result
);
5934 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
;
5936 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5938 PyObject
* obj0
= 0 ;
5940 (char *) "self", NULL
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
5944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
5949 result
= (wxColour
*) &_result_ref
;
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
5962 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5966 PyObject
* obj0
= 0 ;
5968 (char *) "self", NULL
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
5972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
5977 result
= (wxColour
*) &_result_ref
;
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5983 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
5990 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5996 (char *) "self", NULL
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6005 result
= (wxFont
*) &_result_ref
;
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6018 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
*resultobj
;
6020 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6022 PyObject
* obj0
= 0 ;
6024 (char *) "self", NULL
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6036 resultobj
= PyInt_FromLong((long)result
);
6043 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
;
6045 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6047 PyObject
* obj0
= 0 ;
6049 (char *) "self", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6058 result
= (wxArrayInt
*) &_result_ref
;
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= PyList_New(0);
6067 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
6068 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
6069 PyList_Append(resultobj
, val
);
6079 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6080 PyObject
*resultobj
;
6081 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6083 PyObject
* obj0
= 0 ;
6085 (char *) "self", NULL
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
6089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= PyInt_FromLong((long)result
);
6104 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
;
6106 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6108 PyObject
* obj0
= 0 ;
6110 (char *) "self", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
6114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= PyInt_FromLong((long)result
);
6129 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
;
6131 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6133 PyObject
* obj0
= 0 ;
6135 (char *) "self", NULL
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
6139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= PyInt_FromLong((long)result
);
6154 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
*resultobj
;
6156 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6158 PyObject
* obj0
= 0 ;
6160 (char *) "self", NULL
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
6164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= PyInt_FromLong((long)result
);
6179 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
;
6181 wxTextAttr
*arg1
= 0 ;
6182 wxTextAttr
*arg2
= 0 ;
6183 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
6185 PyObject
* obj0
= 0 ;
6186 PyObject
* obj1
= 0 ;
6187 PyObject
* obj2
= 0 ;
6189 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6195 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6197 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6199 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6201 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6210 wxTextAttr
* resultptr
;
6211 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
6212 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
6220 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
6222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6223 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
6225 return Py_BuildValue((char *)"");
6227 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
;
6229 wxWindow
*arg1
= (wxWindow
*) 0 ;
6231 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6232 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6233 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6234 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6235 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6236 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6237 long arg6
= (long) 0 ;
6238 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6239 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6240 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
6241 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6243 bool temp3
= False
;
6246 bool temp8
= False
;
6247 PyObject
* obj0
= 0 ;
6248 PyObject
* obj2
= 0 ;
6249 PyObject
* obj3
= 0 ;
6250 PyObject
* obj4
= 0 ;
6251 PyObject
* obj6
= 0 ;
6252 PyObject
* obj7
= 0 ;
6254 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
6258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6261 arg3
= wxString_in_helper(obj2
);
6262 if (arg3
== NULL
) SWIG_fail
;
6269 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6275 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6279 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6281 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6286 arg8
= wxString_in_helper(obj7
);
6287 if (arg8
== NULL
) SWIG_fail
;
6292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6293 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6299 resultobj
= wxPyMake_wxObject(result
);
6323 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
;
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 result
= (wxTextCtrl
*)new wxTextCtrl();
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= wxPyMake_wxObject(result
);
6347 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
*resultobj
;
6349 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6350 wxWindow
*arg2
= (wxWindow
*) 0 ;
6352 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6353 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6354 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6355 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6356 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6357 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6358 long arg7
= (long) 0 ;
6359 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6360 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6361 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
6362 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6364 bool temp4
= False
;
6367 bool temp9
= False
;
6368 PyObject
* obj0
= 0 ;
6369 PyObject
* obj1
= 0 ;
6370 PyObject
* obj3
= 0 ;
6371 PyObject
* obj4
= 0 ;
6372 PyObject
* obj5
= 0 ;
6373 PyObject
* obj7
= 0 ;
6374 PyObject
* obj8
= 0 ;
6376 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
6380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6381 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6384 arg4
= wxString_in_helper(obj3
);
6385 if (arg4
== NULL
) SWIG_fail
;
6392 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6398 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6402 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6404 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6409 arg9
= wxString_in_helper(obj8
);
6410 if (arg9
== NULL
) SWIG_fail
;
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 resultobj
= PyInt_FromLong((long)result
);
6444 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
;
6446 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6448 PyObject
* obj0
= 0 ;
6450 (char *) "self", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
6454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6457 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6475 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
*resultobj
;
6477 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6478 wxString
*arg2
= 0 ;
6479 bool temp2
= False
;
6480 PyObject
* obj0
= 0 ;
6481 PyObject
* obj1
= 0 ;
6483 (char *) "self",(char *) "value", NULL
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6489 arg2
= wxString_in_helper(obj1
);
6490 if (arg2
== NULL
) SWIG_fail
;
6494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6495 (arg1
)->SetValue((wxString
const &)*arg2
);
6497 wxPyEndAllowThreads(__tstate
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6500 Py_INCREF(Py_None
); resultobj
= Py_None
;
6515 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
;
6517 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6521 PyObject
* obj0
= 0 ;
6523 (char *) "self",(char *) "from",(char *) "to", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6532 wxPyEndAllowThreads(__tstate
);
6533 if (PyErr_Occurred()) SWIG_fail
;
6537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6548 static PyObject
*_wrap_TextCtrl_GetLineLength(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_GetLineLength",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
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 resultobj
= PyInt_FromLong((long)result
);
6574 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
;
6576 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6579 PyObject
* obj0
= 0 ;
6581 (char *) "self",(char *) "lineNo", NULL
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineText",kwnames
,&obj0
,&arg2
)) goto fail
;
6585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6606 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6612 (char *) "self", NULL
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
6616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 resultobj
= PyInt_FromLong((long)result
);
6631 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
*resultobj
;
6633 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6635 PyObject
* obj0
= 0 ;
6637 (char *) "self", NULL
6640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
6641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= PyInt_FromLong((long)result
);
6656 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
;
6658 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6660 PyObject
* obj0
= 0 ;
6662 (char *) "self", NULL
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
6666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6669 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
6671 wxPyEndAllowThreads(__tstate
);
6672 if (PyErr_Occurred()) SWIG_fail
;
6674 resultobj
= PyInt_FromLong((long)result
);
6681 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
*resultobj
;
6683 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6685 PyObject
* obj0
= 0 ;
6687 (char *) "self", NULL
6690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
6691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= PyInt_FromLong((long)result
);
6706 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
;
6708 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6710 PyObject
* obj0
= 0 ;
6712 (char *) "self", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
6716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6724 resultobj
= PyInt_FromLong((long)result
);
6731 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
;
6733 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6734 long *arg2
= (long *) 0 ;
6735 long *arg3
= (long *) 0 ;
6738 PyObject
* obj0
= 0 ;
6740 (char *) "self", NULL
6745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
6746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6754 Py_INCREF(Py_None
); resultobj
= Py_None
;
6756 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
6757 resultobj
= t_output_helper(resultobj
,o
);
6760 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6761 resultobj
= t_output_helper(resultobj
,o
);
6769 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
*resultobj
;
6771 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6773 PyObject
* obj0
= 0 ;
6775 (char *) "self", NULL
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
6779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) SWIG_fail
;
6789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6800 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
;
6802 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6805 (char *) "self", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6817 Py_INCREF(Py_None
); resultobj
= Py_None
;
6824 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
;
6826 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6829 wxString
*arg4
= 0 ;
6830 bool temp4
= False
;
6831 PyObject
* obj0
= 0 ;
6832 PyObject
* obj3
= 0 ;
6834 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
6838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6840 arg4
= wxString_in_helper(obj3
);
6841 if (arg4
== NULL
) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 Py_INCREF(Py_None
); resultobj
= Py_None
;
6866 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
*resultobj
;
6868 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6871 PyObject
* obj0
= 0 ;
6873 (char *) "self",(char *) "from",(char *) "to", NULL
6876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 (arg1
)->Remove(arg2
,arg3
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 Py_INCREF(Py_None
); resultobj
= Py_None
;
6892 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6895 wxString
*arg2
= 0 ;
6897 bool temp2
= False
;
6898 PyObject
* obj0
= 0 ;
6899 PyObject
* obj1
= 0 ;
6901 (char *) "self",(char *) "file", NULL
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6907 arg2
= wxString_in_helper(obj1
);
6908 if (arg2
== NULL
) SWIG_fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6918 resultobj
= PyInt_FromLong((long)result
);
6933 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
;
6935 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6936 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6937 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6939 bool temp2
= False
;
6940 PyObject
* obj0
= 0 ;
6941 PyObject
* obj1
= 0 ;
6943 (char *) "self",(char *) "file", NULL
6946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6950 arg2
= wxString_in_helper(obj1
);
6951 if (arg2
== NULL
) SWIG_fail
;
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= PyInt_FromLong((long)result
);
6977 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
;
6979 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6980 PyObject
* obj0
= 0 ;
6982 (char *) "self", NULL
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
6986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 (arg1
)->MarkDirty();
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 Py_INCREF(Py_None
); resultobj
= Py_None
;
7001 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
;
7003 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7004 PyObject
* obj0
= 0 ;
7006 (char *) "self", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
7010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 (arg1
)->DiscardEdits();
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7018 Py_INCREF(Py_None
); resultobj
= Py_None
;
7025 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
;
7027 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7028 unsigned long arg2
;
7029 PyObject
* obj0
= 0 ;
7030 PyObject
* obj1
= 0 ;
7032 (char *) "self",(char *) "len", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7037 arg2
= (unsigned long) PyInt_AsLong(obj1
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 (arg1
)->SetMaxLength(arg2
);
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7046 Py_INCREF(Py_None
); resultobj
= Py_None
;
7053 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
;
7055 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7056 wxString
*arg2
= 0 ;
7057 bool temp2
= False
;
7058 PyObject
* obj0
= 0 ;
7059 PyObject
* obj1
= 0 ;
7061 (char *) "self",(char *) "text", NULL
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
7065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7067 arg2
= wxString_in_helper(obj1
);
7068 if (arg2
== NULL
) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 (arg1
)->WriteText((wxString
const &)*arg2
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 Py_INCREF(Py_None
); resultobj
= Py_None
;
7093 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
*resultobj
;
7095 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7096 wxString
*arg2
= 0 ;
7097 bool temp2
= False
;
7098 PyObject
* obj0
= 0 ;
7099 PyObject
* obj1
= 0 ;
7101 (char *) "self",(char *) "text", NULL
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
7105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7107 arg2
= wxString_in_helper(obj1
);
7108 if (arg2
== NULL
) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 (arg1
)->AppendText((wxString
const &)*arg2
);
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7118 Py_INCREF(Py_None
); resultobj
= Py_None
;
7133 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7136 wxKeyEvent
*arg2
= 0 ;
7138 PyObject
* obj0
= 0 ;
7139 PyObject
* obj1
= 0 ;
7141 (char *) "self",(char *) "event", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
7145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7146 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7148 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= PyInt_FromLong((long)result
);
7164 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
*resultobj
;
7166 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7169 wxTextAttr
*arg4
= 0 ;
7171 PyObject
* obj0
= 0 ;
7172 PyObject
* obj3
= 0 ;
7174 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_SetStyle",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7179 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7181 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7190 resultobj
= PyInt_FromLong((long)result
);
7197 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7199 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7201 wxTextAttr
*arg3
= 0 ;
7203 PyObject
* obj0
= 0 ;
7204 PyObject
* obj2
= 0 ;
7206 (char *) "self",(char *) "position",(char *) "style", NULL
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:TextCtrl_GetStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7211 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7213 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 resultobj
= PyInt_FromLong((long)result
);
7229 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
;
7231 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7232 wxTextAttr
*arg2
= 0 ;
7234 PyObject
* obj0
= 0 ;
7235 PyObject
* obj1
= 0 ;
7237 (char *) "self",(char *) "style", NULL
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7242 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7244 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= PyInt_FromLong((long)result
);
7260 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
*resultobj
;
7262 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7264 PyObject
* obj0
= 0 ;
7266 (char *) "self", NULL
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
7270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
7275 result
= (wxTextAttr
*) &_result_ref
;
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
7288 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
;
7290 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7294 PyObject
* obj0
= 0 ;
7296 (char *) "self",(char *) "x",(char *) "y", NULL
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_XYToPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 resultobj
= PyInt_FromLong((long)result
);
7315 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7319 long *arg3
= (long *) 0 ;
7320 long *arg4
= (long *) 0 ;
7323 PyObject
* obj0
= 0 ;
7325 (char *) "self",(char *) "pos", NULL
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_PositionToXY",kwnames
,&obj0
,&arg2
)) goto fail
;
7331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 Py_INCREF(Py_None
); resultobj
= Py_None
;
7341 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7342 resultobj
= t_output_helper(resultobj
,o
);
7345 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7346 resultobj
= t_output_helper(resultobj
,o
);
7354 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7356 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7358 PyObject
* obj0
= 0 ;
7360 (char *) "self",(char *) "pos", NULL
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_ShowPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
7364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 (arg1
)->ShowPosition(arg2
);
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 Py_INCREF(Py_None
); resultobj
= Py_None
;
7379 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7381 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7382 PyObject
* obj0
= 0 ;
7384 (char *) "self", NULL
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
7388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7396 Py_INCREF(Py_None
); resultobj
= Py_None
;
7403 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
*resultobj
;
7405 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7406 PyObject
* obj0
= 0 ;
7408 (char *) "self", NULL
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
7412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7420 Py_INCREF(Py_None
); resultobj
= Py_None
;
7427 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
*resultobj
;
7429 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7430 PyObject
* obj0
= 0 ;
7432 (char *) "self", NULL
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
7436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7444 Py_INCREF(Py_None
); resultobj
= Py_None
;
7451 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7452 PyObject
*resultobj
;
7453 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7455 PyObject
* obj0
= 0 ;
7457 (char *) "self", NULL
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
7461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 resultobj
= PyInt_FromLong((long)result
);
7476 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
*resultobj
;
7478 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7480 PyObject
* obj0
= 0 ;
7482 (char *) "self", NULL
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
7486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7494 resultobj
= PyInt_FromLong((long)result
);
7501 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
;
7503 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7505 PyObject
* obj0
= 0 ;
7507 (char *) "self", NULL
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
7511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 resultobj
= PyInt_FromLong((long)result
);
7526 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7528 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7529 PyObject
* obj0
= 0 ;
7531 (char *) "self", NULL
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
7535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7543 Py_INCREF(Py_None
); resultobj
= Py_None
;
7550 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
;
7552 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7553 PyObject
* obj0
= 0 ;
7555 (char *) "self", NULL
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
7559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 Py_INCREF(Py_None
); resultobj
= Py_None
;
7574 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
;
7576 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7578 PyObject
* obj0
= 0 ;
7580 (char *) "self", NULL
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
7584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7587 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7592 resultobj
= PyInt_FromLong((long)result
);
7599 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
*resultobj
;
7601 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7603 PyObject
* obj0
= 0 ;
7605 (char *) "self", NULL
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
7609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= PyInt_FromLong((long)result
);
7624 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7626 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7628 PyObject
* obj0
= 0 ;
7630 (char *) "self",(char *) "pos", NULL
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
7634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 (arg1
)->SetInsertionPoint(arg2
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 Py_INCREF(Py_None
); resultobj
= Py_None
;
7649 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7652 PyObject
* obj0
= 0 ;
7654 (char *) "self", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
7658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 (arg1
)->SetInsertionPointEnd();
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 Py_INCREF(Py_None
); resultobj
= Py_None
;
7673 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7674 PyObject
*resultobj
;
7675 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7677 PyObject
* obj0
= 0 ;
7679 (char *) "self", NULL
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
7683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= PyInt_FromLong((long)result
);
7698 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
;
7700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7702 PyObject
* obj0
= 0 ;
7704 (char *) "self", NULL
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
7708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= PyInt_FromLong((long)result
);
7723 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7728 PyObject
* obj0
= 0 ;
7730 (char *) "self",(char *) "from",(char *) "to", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 (arg1
)->SetSelection(arg2
,arg3
);
7739 wxPyEndAllowThreads(__tstate
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7742 Py_INCREF(Py_None
); resultobj
= Py_None
;
7749 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
;
7751 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7752 PyObject
* obj0
= 0 ;
7754 (char *) "self", NULL
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
7758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 (arg1
)->SelectAll();
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 Py_INCREF(Py_None
); resultobj
= Py_None
;
7773 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
*resultobj
;
7775 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7777 PyObject
* obj0
= 0 ;
7778 PyObject
* obj1
= 0 ;
7780 (char *) "self",(char *) "editable", NULL
7783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
7784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7785 arg2
= PyInt_AsLong(obj1
) ? true : false;
7786 if (PyErr_Occurred()) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 (arg1
)->SetEditable(arg2
);
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 Py_INCREF(Py_None
); resultobj
= Py_None
;
7801 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7804 wxString
*arg2
= 0 ;
7805 bool temp2
= False
;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7809 (char *) "self",(char *) "text", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7815 arg2
= wxString_in_helper(obj1
);
7816 if (arg2
== NULL
) SWIG_fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 Py_INCREF(Py_None
); resultobj
= Py_None
;
7841 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7843 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7847 PyObject
* obj0
= 0 ;
7849 (char *) "self",(char *) "from",(char *) "to", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetString",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7874 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7877 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
7879 return Py_BuildValue((char *)"");
7881 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7882 PyObject
*resultobj
;
7884 wxMouseEvent
*arg2
= 0 ;
7887 wxTextUrlEvent
*result
;
7888 PyObject
* obj1
= 0 ;
7890 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOll:new_TextUrlEvent",kwnames
,&arg1
,&obj1
,&arg3
,&arg4
)) goto fail
;
7894 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7896 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7905 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
7912 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
7915 wxMouseEvent
*result
;
7916 PyObject
* obj0
= 0 ;
7918 (char *) "self", NULL
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
7922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
7927 result
= (wxMouseEvent
*) &_result_ref
;
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7933 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
7940 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
*resultobj
;
7942 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
7944 PyObject
* obj0
= 0 ;
7946 (char *) "self", NULL
7949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
7950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7958 resultobj
= PyInt_FromLong((long)result
);
7965 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
;
7967 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
7969 PyObject
* obj0
= 0 ;
7971 (char *) "self", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
7975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= PyInt_FromLong((long)result
);
7990 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7993 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
7995 return Py_BuildValue((char *)"");
7997 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
;
7999 wxWindow
*arg1
= (wxWindow
*) 0 ;
8000 int arg2
= (int) -1 ;
8001 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8002 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8003 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8004 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8005 long arg5
= (long) wxSB_HORIZONTAL
;
8006 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
8007 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
8008 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
8009 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8010 wxScrollBar
*result
;
8013 bool temp7
= False
;
8014 PyObject
* obj0
= 0 ;
8015 PyObject
* obj2
= 0 ;
8016 PyObject
* obj3
= 0 ;
8017 PyObject
* obj5
= 0 ;
8018 PyObject
* obj6
= 0 ;
8020 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ScrollBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
8024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8028 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8034 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8038 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8040 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8045 arg7
= wxString_in_helper(obj6
);
8046 if (arg7
== NULL
) SWIG_fail
;
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8072 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxScrollBar
*result
;
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
8081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8082 result
= (wxScrollBar
*)new wxScrollBar();
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8087 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8094 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
*resultobj
;
8096 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8097 wxWindow
*arg2
= (wxWindow
*) 0 ;
8098 int arg3
= (int) -1 ;
8099 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8100 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8101 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8102 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8103 long arg6
= (long) wxSB_HORIZONTAL
;
8104 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8105 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8106 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
8107 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8111 bool temp8
= False
;
8112 PyObject
* obj0
= 0 ;
8113 PyObject
* obj1
= 0 ;
8114 PyObject
* obj3
= 0 ;
8115 PyObject
* obj4
= 0 ;
8116 PyObject
* obj6
= 0 ;
8117 PyObject
* obj7
= 0 ;
8119 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
8123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8124 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8128 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8134 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8138 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8140 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8145 arg8
= wxString_in_helper(obj7
);
8146 if (arg8
== NULL
) SWIG_fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= PyInt_FromLong((long)result
);
8172 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8174 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8176 PyObject
* obj0
= 0 ;
8178 (char *) "self", NULL
8181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
8182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8190 resultobj
= PyInt_FromLong((long)result
);
8197 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
*resultobj
;
8199 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8201 PyObject
* obj0
= 0 ;
8203 (char *) "self", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
8207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8210 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
8212 wxPyEndAllowThreads(__tstate
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= PyInt_FromLong((long)result
);
8222 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
;
8224 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8226 PyObject
* obj0
= 0 ;
8228 (char *) "self", NULL
8231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
8232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8235 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
8237 wxPyEndAllowThreads(__tstate
);
8238 if (PyErr_Occurred()) SWIG_fail
;
8240 resultobj
= PyInt_FromLong((long)result
);
8247 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
*resultobj
;
8249 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8251 PyObject
* obj0
= 0 ;
8253 (char *) "self", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
8257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 resultobj
= PyInt_FromLong((long)result
);
8272 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
;
8274 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8276 PyObject
* obj0
= 0 ;
8278 (char *) "self", NULL
8281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
8282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= PyInt_FromLong((long)result
);
8297 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
*resultobj
;
8299 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8301 PyObject
* obj0
= 0 ;
8303 (char *) "self",(char *) "viewStart", NULL
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
8307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8310 (arg1
)->SetThumbPosition(arg2
);
8312 wxPyEndAllowThreads(__tstate
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8315 Py_INCREF(Py_None
); resultobj
= Py_None
;
8322 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8323 PyObject
*resultobj
;
8324 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8329 bool arg6
= (bool) True
;
8330 PyObject
* obj0
= 0 ;
8331 PyObject
* obj5
= 0 ;
8333 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
8337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8339 arg6
= PyInt_AsLong(obj5
) ? true : false;
8340 if (PyErr_Occurred()) SWIG_fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8349 Py_INCREF(Py_None
); resultobj
= Py_None
;
8356 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
8358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8359 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
8361 return Py_BuildValue((char *)"");
8363 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8364 PyObject
*resultobj
;
8365 wxWindow
*arg1
= (wxWindow
*) 0 ;
8366 int arg2
= (int) -1 ;
8367 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8368 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8369 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8370 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8371 long arg5
= (long) wxSP_HORIZONTAL
;
8372 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
8373 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8374 wxSpinButton
*result
;
8377 bool temp6
= False
;
8378 PyObject
* obj0
= 0 ;
8379 PyObject
* obj2
= 0 ;
8380 PyObject
* obj3
= 0 ;
8381 PyObject
* obj5
= 0 ;
8383 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_SpinButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8391 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8397 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8402 arg6
= wxString_in_helper(obj5
);
8403 if (arg6
== NULL
) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8429 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
*resultobj
;
8431 wxSpinButton
*result
;
8436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= (wxSpinButton
*)new wxSpinButton();
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8444 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8451 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
;
8453 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8454 wxWindow
*arg2
= (wxWindow
*) 0 ;
8455 int arg3
= (int) -1 ;
8456 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8457 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8458 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8459 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8460 long arg6
= (long) wxSP_HORIZONTAL
;
8461 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
8462 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8466 bool temp7
= False
;
8467 PyObject
* obj0
= 0 ;
8468 PyObject
* obj1
= 0 ;
8469 PyObject
* obj3
= 0 ;
8470 PyObject
* obj4
= 0 ;
8471 PyObject
* obj6
= 0 ;
8473 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8478 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8482 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8488 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8493 arg7
= wxString_in_helper(obj6
);
8494 if (arg7
== NULL
) SWIG_fail
;
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 resultobj
= PyInt_FromLong((long)result
);
8520 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8524 PyObject
* obj0
= 0 ;
8526 (char *) "self", NULL
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
8530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= PyInt_FromLong((long)result
);
8545 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8549 PyObject
* obj0
= 0 ;
8551 (char *) "self", NULL
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
8555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= PyInt_FromLong((long)result
);
8570 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
*resultobj
;
8572 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8574 PyObject
* obj0
= 0 ;
8576 (char *) "self", NULL
8579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
8580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= PyInt_FromLong((long)result
);
8595 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
;
8597 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8599 PyObject
* obj0
= 0 ;
8601 (char *) "self",(char *) "val", NULL
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
8605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 (arg1
)->SetValue(arg2
);
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8613 Py_INCREF(Py_None
); resultobj
= Py_None
;
8620 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8621 PyObject
*resultobj
;
8622 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8624 PyObject
* obj0
= 0 ;
8626 (char *) "self",(char *) "minVal", NULL
8629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
8630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 (arg1
)->SetMin(arg2
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 Py_INCREF(Py_None
); resultobj
= Py_None
;
8645 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
;
8647 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8649 PyObject
* obj0
= 0 ;
8651 (char *) "self",(char *) "maxVal", NULL
8654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMax",kwnames
,&obj0
,&arg2
)) 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
)->SetMax(arg2
);
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8663 Py_INCREF(Py_None
); resultobj
= Py_None
;
8670 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
;
8672 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8675 PyObject
* obj0
= 0 ;
8677 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinButton_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 (arg1
)->SetRange(arg2
,arg3
);
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 Py_INCREF(Py_None
); resultobj
= Py_None
;
8696 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
;
8698 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8700 PyObject
* obj0
= 0 ;
8702 (char *) "self", NULL
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
8706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 resultobj
= PyInt_FromLong((long)result
);
8721 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
8723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8724 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
8726 return Py_BuildValue((char *)"");
8728 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxWindow
*arg1
= (wxWindow
*) 0 ;
8731 int arg2
= (int) -1 ;
8732 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8733 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8734 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8735 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8736 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8737 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8738 long arg6
= (long) wxSP_ARROW_KEYS
;
8739 int arg7
= (int) 0 ;
8740 int arg8
= (int) 100 ;
8741 int arg9
= (int) 0 ;
8742 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
8743 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
8745 bool temp3
= False
;
8748 bool temp10
= False
;
8749 PyObject
* obj0
= 0 ;
8750 PyObject
* obj2
= 0 ;
8751 PyObject
* obj3
= 0 ;
8752 PyObject
* obj4
= 0 ;
8753 PyObject
* obj9
= 0 ;
8755 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
)) goto fail
;
8759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8762 arg3
= wxString_in_helper(obj2
);
8763 if (arg3
== NULL
) SWIG_fail
;
8770 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8776 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8781 arg10
= wxString_in_helper(obj9
);
8782 if (arg10
== NULL
) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
8816 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8817 PyObject
*resultobj
;
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 result
= (wxSpinCtrl
*)new wxSpinCtrl();
8828 wxPyEndAllowThreads(__tstate
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8831 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
8838 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
;
8840 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8841 wxWindow
*arg2
= (wxWindow
*) 0 ;
8842 int arg3
= (int) -1 ;
8843 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8844 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8845 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8846 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8847 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8848 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8849 long arg7
= (long) wxSP_ARROW_KEYS
;
8850 int arg8
= (int) 0 ;
8851 int arg9
= (int) 100 ;
8852 int arg10
= (int) 0 ;
8853 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
8854 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
8856 bool temp4
= False
;
8859 bool temp11
= False
;
8860 PyObject
* obj0
= 0 ;
8861 PyObject
* obj1
= 0 ;
8862 PyObject
* obj3
= 0 ;
8863 PyObject
* obj4
= 0 ;
8864 PyObject
* obj5
= 0 ;
8865 PyObject
* obj10
= 0 ;
8867 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&arg8
,&arg9
,&arg10
,&obj10
)) goto fail
;
8871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8872 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8875 arg4
= wxString_in_helper(obj3
);
8876 if (arg4
== NULL
) SWIG_fail
;
8883 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8889 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8894 arg11
= wxString_in_helper(obj10
);
8895 if (arg11
== NULL
) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 resultobj
= PyInt_FromLong((long)result
);
8929 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
*resultobj
;
8931 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8933 PyObject
* obj0
= 0 ;
8935 (char *) "self", NULL
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8942 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
8944 wxPyEndAllowThreads(__tstate
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8947 resultobj
= PyInt_FromLong((long)result
);
8954 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8955 PyObject
*resultobj
;
8956 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8958 PyObject
* obj0
= 0 ;
8960 (char *) "self",(char *) "value", NULL
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinCtrl_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
8964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 (arg1
)->SetValue(arg2
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8972 Py_INCREF(Py_None
); resultobj
= Py_None
;
8979 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
*resultobj
;
8981 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8982 wxString
*arg2
= 0 ;
8983 bool temp2
= False
;
8984 PyObject
* obj0
= 0 ;
8985 PyObject
* obj1
= 0 ;
8987 (char *) "self",(char *) "text", NULL
8990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
8991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8993 arg2
= wxString_in_helper(obj1
);
8994 if (arg2
== NULL
) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 (arg1
)->SetValue((wxString
const &)*arg2
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 Py_INCREF(Py_None
); resultobj
= Py_None
;
9019 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9024 PyObject
* obj0
= 0 ;
9026 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinCtrl_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 (arg1
)->SetRange(arg2
,arg3
);
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 Py_INCREF(Py_None
); resultobj
= Py_None
;
9045 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9049 PyObject
* obj0
= 0 ;
9051 (char *) "self", NULL
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
9055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 resultobj
= PyInt_FromLong((long)result
);
9070 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
;
9072 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9076 (char *) "self", NULL
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
9080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9088 resultobj
= PyInt_FromLong((long)result
);
9095 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9096 PyObject
*resultobj
;
9097 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9100 PyObject
* obj0
= 0 ;
9102 (char *) "self",(char *) "from",(char *) "to", NULL
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:SpinCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 wxSpinCtrl_SetSelection(arg1
,arg2
,arg3
);
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 Py_INCREF(Py_None
); resultobj
= Py_None
;
9121 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9124 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
9126 return Py_BuildValue((char *)"");
9128 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxWindow
*arg1
= (wxWindow
*) 0 ;
9132 wxString
*arg3
= 0 ;
9133 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9134 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9135 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9136 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9137 int arg6
= (int) 0 ;
9138 wxString
*arg7
= (wxString
*) NULL
;
9139 int arg8
= (int) 0 ;
9140 long arg9
= (long) wxRA_HORIZONTAL
;
9141 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
9142 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
9143 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
9144 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9146 bool temp3
= False
;
9149 bool temp10
= False
;
9150 PyObject
* obj0
= 0 ;
9151 PyObject
* obj2
= 0 ;
9152 PyObject
* obj3
= 0 ;
9153 PyObject
* obj4
= 0 ;
9154 PyObject
* obj5
= 0 ;
9155 PyObject
* obj8
= 0 ;
9156 PyObject
* obj9
= 0 ;
9158 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOOilOO:new_RadioBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&arg9
,&obj8
,&obj9
)) goto fail
;
9162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9164 arg3
= wxString_in_helper(obj2
);
9165 if (arg3
== NULL
) SWIG_fail
;
9171 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9177 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9182 arg6
= PyList_Size(obj5
);
9183 arg7
= wxString_LIST_helper(obj5
);
9184 if (arg7
== NULL
) SWIG_fail
;
9188 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9189 if (arg10
== NULL
) {
9190 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9195 arg11
= wxString_in_helper(obj9
);
9196 if (arg11
== NULL
) SWIG_fail
;
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 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
);
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9207 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9213 if (arg7
) delete [] arg7
;
9226 if (arg7
) delete [] arg7
;
9236 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
;
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 result
= (wxRadioBox
*)new wxRadioBox();
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9258 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
;
9260 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9261 wxWindow
*arg2
= (wxWindow
*) 0 ;
9263 wxString
*arg4
= 0 ;
9264 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9265 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9266 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9267 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9268 int arg7
= (int) 0 ;
9269 wxString
*arg8
= (wxString
*) NULL
;
9270 int arg9
= (int) 0 ;
9271 long arg10
= (long) wxRA_HORIZONTAL
;
9272 wxValidator
const &arg11_defvalue
= wxDefaultValidator
;
9273 wxValidator
*arg11
= (wxValidator
*) &arg11_defvalue
;
9274 wxString
const &arg12_defvalue
= wxPyRadioBoxNameStr
;
9275 wxString
*arg12
= (wxString
*) &arg12_defvalue
;
9277 bool temp4
= False
;
9280 bool temp11
= False
;
9281 PyObject
* obj0
= 0 ;
9282 PyObject
* obj1
= 0 ;
9283 PyObject
* obj3
= 0 ;
9284 PyObject
* obj4
= 0 ;
9285 PyObject
* obj5
= 0 ;
9286 PyObject
* obj6
= 0 ;
9287 PyObject
* obj9
= 0 ;
9288 PyObject
* obj10
= 0 ;
9290 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&arg10
,&obj9
,&obj10
)) goto fail
;
9294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9295 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9297 arg4
= wxString_in_helper(obj3
);
9298 if (arg4
== NULL
) SWIG_fail
;
9304 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9310 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9315 arg7
= PyList_Size(obj6
);
9316 arg8
= wxString_LIST_helper(obj6
);
9317 if (arg8
== NULL
) SWIG_fail
;
9321 if ((SWIG_ConvertPtr(obj9
,(void **) &arg11
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9322 if (arg11
== NULL
) {
9323 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9328 arg12
= wxString_in_helper(obj10
);
9329 if (arg12
== NULL
) SWIG_fail
;
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 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
);
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9340 resultobj
= PyInt_FromLong((long)result
);
9346 if (arg8
) delete [] arg8
;
9359 if (arg8
) delete [] arg8
;
9369 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
;
9371 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9373 PyObject
* obj0
= 0 ;
9375 (char *) "self",(char *) "n", NULL
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
9379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 (arg1
)->SetSelection(arg2
);
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 Py_INCREF(Py_None
); resultobj
= Py_None
;
9394 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
*resultobj
;
9396 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9398 PyObject
* obj0
= 0 ;
9400 (char *) "self", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= PyInt_FromLong((long)result
);
9419 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
;
9421 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9423 PyObject
* obj0
= 0 ;
9425 (char *) "self", NULL
9428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
9429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9432 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
9434 wxPyEndAllowThreads(__tstate
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9450 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
;
9452 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9453 wxString
*arg2
= 0 ;
9455 bool temp2
= False
;
9456 PyObject
* obj0
= 0 ;
9457 PyObject
* obj1
= 0 ;
9459 (char *) "self",(char *) "s", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9465 arg2
= wxString_in_helper(obj1
);
9466 if (arg2
== NULL
) SWIG_fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= PyInt_FromLong((long)result
);
9491 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9493 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9495 PyObject
* obj0
= 0 ;
9497 (char *) "self", NULL
9500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
9501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 resultobj
= PyInt_FromLong((long)result
);
9516 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9519 wxString
*arg2
= 0 ;
9521 bool temp2
= False
;
9522 PyObject
* obj0
= 0 ;
9523 PyObject
* obj1
= 0 ;
9525 (char *) "self",(char *) "s", NULL
9528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
9529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9531 arg2
= wxString_in_helper(obj1
);
9532 if (arg2
== NULL
) SWIG_fail
;
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9542 resultobj
= PyInt_FromLong((long)result
);
9557 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9559 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9562 PyObject
* obj0
= 0 ;
9564 (char *) "self",(char *) "n", NULL
9567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
9568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9589 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9593 wxString
*arg3
= 0 ;
9594 bool temp3
= False
;
9595 PyObject
* obj0
= 0 ;
9596 PyObject
* obj2
= 0 ;
9598 (char *) "self",(char *) "n",(char *) "label", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:RadioBox_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9604 arg3
= wxString_in_helper(obj2
);
9605 if (arg3
== NULL
) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 Py_INCREF(Py_None
); resultobj
= Py_None
;
9630 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9634 bool arg3
= (bool) True
;
9635 PyObject
* obj0
= 0 ;
9636 PyObject
* obj2
= 0 ;
9638 (char *) "self",(char *) "n",(char *) "enable", NULL
9641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_EnableItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9644 arg3
= PyInt_AsLong(obj2
) ? true : false;
9645 if (PyErr_Occurred()) SWIG_fail
;
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 (arg1
)->Enable(arg2
,arg3
);
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 Py_INCREF(Py_None
); resultobj
= Py_None
;
9661 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
*resultobj
;
9663 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9665 bool arg3
= (bool) True
;
9666 PyObject
* obj0
= 0 ;
9667 PyObject
* obj2
= 0 ;
9669 (char *) "self",(char *) "n",(char *) "show", NULL
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_ShowItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9675 arg3
= PyInt_AsLong(obj2
) ? true : false;
9676 if (PyErr_Occurred()) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 (arg1
)->Show(arg2
,arg3
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 Py_INCREF(Py_None
); resultobj
= Py_None
;
9692 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
;
9694 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9696 PyObject
* obj0
= 0 ;
9698 (char *) "self", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
9702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 resultobj
= PyInt_FromLong((long)result
);
9717 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9721 PyObject
* obj0
= 0 ;
9723 (char *) "self", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
9727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= PyInt_FromLong((long)result
);
9742 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
*resultobj
;
9744 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9749 PyObject
* obj0
= 0 ;
9751 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:RadioBox_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
9755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9763 resultobj
= PyInt_FromLong((long)result
);
9770 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
9772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9773 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
9775 return Py_BuildValue((char *)"");
9777 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
;
9779 wxWindow
*arg1
= (wxWindow
*) 0 ;
9781 wxString
*arg3
= 0 ;
9782 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9783 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9784 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9785 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9786 long arg6
= (long) 0 ;
9787 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9788 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9789 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
9790 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9791 wxRadioButton
*result
;
9792 bool temp3
= False
;
9795 bool temp8
= False
;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj2
= 0 ;
9798 PyObject
* obj3
= 0 ;
9799 PyObject
* obj4
= 0 ;
9800 PyObject
* obj6
= 0 ;
9801 PyObject
* obj7
= 0 ;
9803 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_RadioButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
9807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9809 arg3
= wxString_in_helper(obj2
);
9810 if (arg3
== NULL
) SWIG_fail
;
9816 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9822 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9826 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9828 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9833 arg8
= wxString_in_helper(obj7
);
9834 if (arg8
== NULL
) SWIG_fail
;
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9845 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
9868 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9870 wxRadioButton
*result
;
9875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 result
= (wxRadioButton
*)new wxRadioButton();
9880 wxPyEndAllowThreads(__tstate
);
9881 if (PyErr_Occurred()) SWIG_fail
;
9883 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
9890 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
9893 wxWindow
*arg2
= (wxWindow
*) 0 ;
9895 wxString
*arg4
= 0 ;
9896 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9897 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9898 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9899 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9900 long arg7
= (long) 0 ;
9901 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9902 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9903 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
9904 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9906 bool temp4
= False
;
9909 bool temp9
= False
;
9910 PyObject
* obj0
= 0 ;
9911 PyObject
* obj1
= 0 ;
9912 PyObject
* obj3
= 0 ;
9913 PyObject
* obj4
= 0 ;
9914 PyObject
* obj5
= 0 ;
9915 PyObject
* obj7
= 0 ;
9916 PyObject
* obj8
= 0 ;
9918 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
9922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9923 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9925 arg4
= wxString_in_helper(obj3
);
9926 if (arg4
== NULL
) SWIG_fail
;
9932 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9938 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9942 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9944 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9949 arg9
= wxString_in_helper(obj8
);
9950 if (arg9
== NULL
) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= PyInt_FromLong((long)result
);
9984 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
;
9986 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
9988 PyObject
* obj0
= 0 ;
9990 (char *) "self", NULL
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
9994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (bool)(arg1
)->GetValue();
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= PyInt_FromLong((long)result
);
10009 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
;
10011 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10013 PyObject
* obj0
= 0 ;
10014 PyObject
* obj1
= 0 ;
10015 char *kwnames
[] = {
10016 (char *) "self",(char *) "value", NULL
10019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10021 arg2
= PyInt_AsLong(obj1
) ? true : false;
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 (arg1
)->SetValue(arg2
);
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 Py_INCREF(Py_None
); resultobj
= Py_None
;
10037 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
10039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10040 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
10042 return Py_BuildValue((char *)"");
10044 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
*resultobj
;
10046 wxWindow
*arg1
= (wxWindow
*) 0 ;
10051 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
10052 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
10053 wxSize
const &arg7_defvalue
= wxDefaultSize
;
10054 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
10055 long arg8
= (long) wxSL_HORIZONTAL
;
10056 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10057 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10058 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
10059 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10063 bool temp10
= False
;
10064 PyObject
* obj0
= 0 ;
10065 PyObject
* obj5
= 0 ;
10066 PyObject
* obj6
= 0 ;
10067 PyObject
* obj8
= 0 ;
10068 PyObject
* obj9
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOlOO:new_Slider",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
,&obj8
,&obj9
)) goto fail
;
10074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10078 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
10084 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
10088 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10089 if (arg9
== NULL
) {
10090 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10095 arg10
= wxString_in_helper(obj9
);
10096 if (arg10
== NULL
) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10122 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
;
10125 char *kwnames
[] = {
10129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (wxSlider
*)new wxSlider();
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10144 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
;
10146 wxSlider
*arg1
= (wxSlider
*) 0 ;
10147 wxWindow
*arg2
= (wxWindow
*) 0 ;
10152 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10153 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10154 wxSize
const &arg8_defvalue
= wxDefaultSize
;
10155 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
10156 long arg9
= (long) wxSL_HORIZONTAL
;
10157 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10158 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10159 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
10160 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10164 bool temp11
= False
;
10165 PyObject
* obj0
= 0 ;
10166 PyObject
* obj1
= 0 ;
10167 PyObject
* obj6
= 0 ;
10168 PyObject
* obj7
= 0 ;
10169 PyObject
* obj9
= 0 ;
10170 PyObject
* obj10
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiiii|OOlOO:Slider_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&arg9
,&obj9
,&obj10
)) goto fail
;
10176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10177 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10181 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10187 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
10191 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10192 if (arg10
== NULL
) {
10193 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10198 arg11
= wxString_in_helper(obj10
);
10199 if (arg11
== NULL
) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10210 resultobj
= PyInt_FromLong((long)result
);
10225 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
*resultobj
;
10227 wxSlider
*arg1
= (wxSlider
*) 0 ;
10229 PyObject
* obj0
= 0 ;
10230 char *kwnames
[] = {
10231 (char *) "self", NULL
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
10235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 result
= (int)((wxSlider
const *)arg1
)->GetValue();
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 resultobj
= PyInt_FromLong((long)result
);
10250 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10252 wxSlider
*arg1
= (wxSlider
*) 0 ;
10254 PyObject
* obj0
= 0 ;
10255 char *kwnames
[] = {
10256 (char *) "self",(char *) "value", NULL
10259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetValue",kwnames
,&obj0
,&arg2
)) 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
)->SetValue(arg2
);
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 Py_INCREF(Py_None
); resultobj
= Py_None
;
10275 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
;
10277 wxSlider
*arg1
= (wxSlider
*) 0 ;
10280 PyObject
* obj0
= 0 ;
10281 char *kwnames
[] = {
10282 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10289 (arg1
)->SetRange(arg2
,arg3
);
10291 wxPyEndAllowThreads(__tstate
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10294 Py_INCREF(Py_None
); resultobj
= Py_None
;
10301 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
*resultobj
;
10303 wxSlider
*arg1
= (wxSlider
*) 0 ;
10305 PyObject
* obj0
= 0 ;
10306 char *kwnames
[] = {
10307 (char *) "self", NULL
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
10311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 result
= (int)((wxSlider
const *)arg1
)->GetMin();
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10319 resultobj
= PyInt_FromLong((long)result
);
10326 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
;
10328 wxSlider
*arg1
= (wxSlider
*) 0 ;
10330 PyObject
* obj0
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "self", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
10336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (int)((wxSlider
const *)arg1
)->GetMax();
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= PyInt_FromLong((long)result
);
10351 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10352 PyObject
*resultobj
;
10353 wxSlider
*arg1
= (wxSlider
*) 0 ;
10355 PyObject
* obj0
= 0 ;
10356 char *kwnames
[] = {
10357 (char *) "self",(char *) "minValue", NULL
10360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
10361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 (arg1
)->SetMin(arg2
);
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 Py_INCREF(Py_None
); resultobj
= Py_None
;
10376 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxSlider
*arg1
= (wxSlider
*) 0 ;
10380 PyObject
* obj0
= 0 ;
10381 char *kwnames
[] = {
10382 (char *) "self",(char *) "maxValue", NULL
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
10386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 (arg1
)->SetMax(arg2
);
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10394 Py_INCREF(Py_None
); resultobj
= Py_None
;
10401 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
;
10403 wxSlider
*arg1
= (wxSlider
*) 0 ;
10405 PyObject
* obj0
= 0 ;
10406 char *kwnames
[] = {
10407 (char *) "self",(char *) "lineSize", NULL
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetLineSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 (arg1
)->SetLineSize(arg2
);
10416 wxPyEndAllowThreads(__tstate
);
10417 if (PyErr_Occurred()) SWIG_fail
;
10419 Py_INCREF(Py_None
); resultobj
= Py_None
;
10426 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
*resultobj
;
10428 wxSlider
*arg1
= (wxSlider
*) 0 ;
10430 PyObject
* obj0
= 0 ;
10431 char *kwnames
[] = {
10432 (char *) "self",(char *) "pageSize", NULL
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 (arg1
)->SetPageSize(arg2
);
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 Py_INCREF(Py_None
); resultobj
= Py_None
;
10451 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
;
10453 wxSlider
*arg1
= (wxSlider
*) 0 ;
10455 PyObject
* obj0
= 0 ;
10456 char *kwnames
[] = {
10457 (char *) "self", NULL
10460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
10461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= PyInt_FromLong((long)result
);
10476 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10477 PyObject
*resultobj
;
10478 wxSlider
*arg1
= (wxSlider
*) 0 ;
10480 PyObject
* obj0
= 0 ;
10481 char *kwnames
[] = {
10482 (char *) "self", NULL
10485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
10486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
10491 wxPyEndAllowThreads(__tstate
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10494 resultobj
= PyInt_FromLong((long)result
);
10501 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10502 PyObject
*resultobj
;
10503 wxSlider
*arg1
= (wxSlider
*) 0 ;
10505 PyObject
* obj0
= 0 ;
10506 char *kwnames
[] = {
10507 (char *) "self",(char *) "lenPixels", NULL
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetThumbLength",kwnames
,&obj0
,&arg2
)) goto fail
;
10511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 (arg1
)->SetThumbLength(arg2
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 Py_INCREF(Py_None
); resultobj
= Py_None
;
10526 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
*resultobj
;
10528 wxSlider
*arg1
= (wxSlider
*) 0 ;
10530 PyObject
* obj0
= 0 ;
10531 char *kwnames
[] = {
10532 (char *) "self", NULL
10535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
10536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 resultobj
= PyInt_FromLong((long)result
);
10551 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
;
10553 wxSlider
*arg1
= (wxSlider
*) 0 ;
10556 PyObject
* obj0
= 0 ;
10557 char *kwnames
[] = {
10558 (char *) "self",(char *) "n",(char *) "pos", NULL
10561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetTickFreq",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 (arg1
)->SetTickFreq(arg2
,arg3
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 Py_INCREF(Py_None
); resultobj
= Py_None
;
10577 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
;
10579 wxSlider
*arg1
= (wxSlider
*) 0 ;
10581 PyObject
* obj0
= 0 ;
10582 char *kwnames
[] = {
10583 (char *) "self", NULL
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
10587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= PyInt_FromLong((long)result
);
10602 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxSlider
*arg1
= (wxSlider
*) 0 ;
10605 PyObject
* obj0
= 0 ;
10606 char *kwnames
[] = {
10607 (char *) "self", NULL
10610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
10611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 (arg1
)->ClearTicks();
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10619 Py_INCREF(Py_None
); resultobj
= Py_None
;
10626 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10627 PyObject
*resultobj
;
10628 wxSlider
*arg1
= (wxSlider
*) 0 ;
10630 PyObject
* obj0
= 0 ;
10631 char *kwnames
[] = {
10632 (char *) "self",(char *) "tickPos", NULL
10635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetTick",kwnames
,&obj0
,&arg2
)) goto fail
;
10636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 (arg1
)->SetTick(arg2
);
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 Py_INCREF(Py_None
); resultobj
= Py_None
;
10651 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxSlider
*arg1
= (wxSlider
*) 0 ;
10654 PyObject
* obj0
= 0 ;
10655 char *kwnames
[] = {
10656 (char *) "self", NULL
10659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
10660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 (arg1
)->ClearSel();
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 Py_INCREF(Py_None
); resultobj
= Py_None
;
10675 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
;
10677 wxSlider
*arg1
= (wxSlider
*) 0 ;
10679 PyObject
* obj0
= 0 ;
10680 char *kwnames
[] = {
10681 (char *) "self", NULL
10684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
10685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= PyInt_FromLong((long)result
);
10700 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
;
10702 wxSlider
*arg1
= (wxSlider
*) 0 ;
10704 PyObject
* obj0
= 0 ;
10705 char *kwnames
[] = {
10706 (char *) "self", NULL
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
10710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= PyInt_FromLong((long)result
);
10725 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxSlider
*arg1
= (wxSlider
*) 0 ;
10730 PyObject
* obj0
= 0 ;
10731 char *kwnames
[] = {
10732 (char *) "self",(char *) "min",(char *) "max", NULL
10735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 (arg1
)->SetSelection(arg2
,arg3
);
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10744 Py_INCREF(Py_None
); resultobj
= Py_None
;
10751 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
10753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10754 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
10756 return Py_BuildValue((char *)"");
10758 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
;
10760 wxWindow
*arg1
= (wxWindow
*) 0 ;
10762 wxString
*arg3
= 0 ;
10763 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10764 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10765 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10766 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10767 long arg6
= (long) 0 ;
10768 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10769 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10770 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
10771 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10772 wxToggleButton
*result
;
10773 bool temp3
= False
;
10776 bool temp8
= False
;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj2
= 0 ;
10779 PyObject
* obj3
= 0 ;
10780 PyObject
* obj4
= 0 ;
10781 PyObject
* obj6
= 0 ;
10782 PyObject
* obj7
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_ToggleButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10790 arg3
= wxString_in_helper(obj2
);
10791 if (arg3
== NULL
) SWIG_fail
;
10797 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10803 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10807 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10808 if (arg7
== NULL
) {
10809 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10814 arg8
= wxString_in_helper(obj7
);
10815 if (arg8
== NULL
) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
10849 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxToggleButton
*result
;
10852 char *kwnames
[] = {
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 result
= (wxToggleButton
*)new wxToggleButton();
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10864 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
10871 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
*resultobj
;
10873 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
10874 wxWindow
*arg2
= (wxWindow
*) 0 ;
10876 wxString
*arg4
= 0 ;
10877 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10878 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10879 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10880 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10881 long arg7
= (long) 0 ;
10882 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10883 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10884 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
10885 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10887 bool temp4
= False
;
10890 bool temp9
= False
;
10891 PyObject
* obj0
= 0 ;
10892 PyObject
* obj1
= 0 ;
10893 PyObject
* obj3
= 0 ;
10894 PyObject
* obj4
= 0 ;
10895 PyObject
* obj5
= 0 ;
10896 PyObject
* obj7
= 0 ;
10897 PyObject
* obj8
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
10903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10904 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10906 arg4
= wxString_in_helper(obj3
);
10907 if (arg4
== NULL
) SWIG_fail
;
10913 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10919 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10923 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10924 if (arg8
== NULL
) {
10925 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10930 arg9
= wxString_in_helper(obj8
);
10931 if (arg9
== NULL
) SWIG_fail
;
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 resultobj
= PyInt_FromLong((long)result
);
10965 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10966 PyObject
*resultobj
;
10967 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
10969 PyObject
* obj0
= 0 ;
10970 PyObject
* obj1
= 0 ;
10971 char *kwnames
[] = {
10972 (char *) "self",(char *) "value", NULL
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10977 arg2
= PyInt_AsLong(obj1
) ? true : false;
10978 if (PyErr_Occurred()) SWIG_fail
;
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 (arg1
)->SetValue(arg2
);
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 Py_INCREF(Py_None
); resultobj
= Py_None
;
10993 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
;
10995 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
10997 PyObject
* obj0
= 0 ;
10998 char *kwnames
[] = {
10999 (char *) "self", NULL
11002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
11003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= PyInt_FromLong((long)result
);
11018 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
;
11020 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11021 wxString
*arg2
= 0 ;
11022 bool temp2
= False
;
11023 PyObject
* obj0
= 0 ;
11024 PyObject
* obj1
= 0 ;
11025 char *kwnames
[] = {
11026 (char *) "self",(char *) "label", NULL
11029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
11030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11032 arg2
= wxString_in_helper(obj1
);
11033 if (arg2
== NULL
) SWIG_fail
;
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 (arg1
)->SetLabel((wxString
const &)*arg2
);
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11043 Py_INCREF(Py_None
); resultobj
= Py_None
;
11058 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
11060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11061 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
11063 return Py_BuildValue((char *)"");
11065 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11069 PyObject
* obj0
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "self", NULL
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
11075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= PyInt_FromLong((long)result
);
11090 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
;
11092 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11095 PyObject
* obj0
= 0 ;
11096 PyObject
* obj1
= 0 ;
11097 char *kwnames
[] = {
11098 (char *) "self",(char *) "n", NULL
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11103 arg2
= (size_t) PyInt_AsLong(obj1
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= wxPyMake_wxObject(result
);
11121 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
;
11123 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11125 PyObject
* obj0
= 0 ;
11126 char *kwnames
[] = {
11127 (char *) "self", NULL
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
11131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= PyInt_FromLong((long)result
);
11146 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
;
11148 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11150 wxString
*arg3
= 0 ;
11152 bool temp3
= False
;
11153 PyObject
* obj0
= 0 ;
11154 PyObject
* obj1
= 0 ;
11155 PyObject
* obj2
= 0 ;
11156 char *kwnames
[] = {
11157 (char *) "self",(char *) "n",(char *) "strText", NULL
11160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11162 arg2
= (size_t) PyInt_AsLong(obj1
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 arg3
= wxString_in_helper(obj2
);
11166 if (arg3
== NULL
) SWIG_fail
;
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= PyInt_FromLong((long)result
);
11191 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11196 PyObject
* obj0
= 0 ;
11197 PyObject
* obj1
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "self",(char *) "n", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
11203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11204 arg2
= (size_t) PyInt_AsLong(obj1
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11226 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
;
11228 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11229 wxImageList
*arg2
= (wxImageList
*) 0 ;
11230 PyObject
* obj0
= 0 ;
11231 PyObject
* obj1
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self",(char *) "imageList", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11238 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 (arg1
)->SetImageList(arg2
);
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11246 Py_INCREF(Py_None
); resultobj
= Py_None
;
11253 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11256 wxImageList
*arg2
= (wxImageList
*) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "self",(char *) "imageList", NULL
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11265 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 (arg1
)->AssignImageList(arg2
);
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 Py_INCREF(Py_None
); resultobj
= Py_None
;
11280 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
;
11282 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11283 wxImageList
*result
;
11284 PyObject
* obj0
= 0 ;
11285 char *kwnames
[] = {
11286 (char *) "self", NULL
11289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
11290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11299 resultobj
= wxPyMake_wxObject(result
);
11307 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11308 PyObject
*resultobj
;
11309 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11312 PyObject
* obj0
= 0 ;
11313 PyObject
* obj1
= 0 ;
11314 char *kwnames
[] = {
11315 (char *) "self",(char *) "n", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
11319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11320 arg2
= (size_t) PyInt_AsLong(obj1
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= PyInt_FromLong((long)result
);
11336 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11342 PyObject
* obj0
= 0 ;
11343 PyObject
* obj1
= 0 ;
11344 char *kwnames
[] = {
11345 (char *) "self",(char *) "n",(char *) "imageId", NULL
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11350 arg2
= (size_t) PyInt_AsLong(obj1
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11359 resultobj
= PyInt_FromLong((long)result
);
11366 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
;
11368 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11371 PyObject
* obj0
= 0 ;
11372 PyObject
* obj1
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "self",(char *) "size", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11381 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 Py_INCREF(Py_None
); resultobj
= Py_None
;
11397 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
;
11399 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11403 PyObject
* obj0
= 0 ;
11404 PyObject
* obj1
= 0 ;
11405 char *kwnames
[] = {
11406 (char *) "self",(char *) "sizePage", NULL
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11413 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11423 wxSize
* resultptr
;
11424 resultptr
= new wxSize((wxSize
&) result
);
11425 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11433 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11438 PyObject
* obj0
= 0 ;
11439 PyObject
* obj1
= 0 ;
11440 char *kwnames
[] = {
11441 (char *) "self",(char *) "n", NULL
11444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11446 arg2
= (size_t) PyInt_AsLong(obj1
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 result
= (bool)(arg1
)->DeletePage(arg2
);
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= PyInt_FromLong((long)result
);
11462 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11467 PyObject
* obj0
= 0 ;
11468 PyObject
* obj1
= 0 ;
11469 char *kwnames
[] = {
11470 (char *) "self",(char *) "n", NULL
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11475 arg2
= (size_t) PyInt_AsLong(obj1
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (bool)(arg1
)->RemovePage(arg2
);
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= PyInt_FromLong((long)result
);
11491 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11495 PyObject
* obj0
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
11501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 result
= (bool)(arg1
)->DeleteAllPages();
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11509 resultobj
= PyInt_FromLong((long)result
);
11516 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
;
11518 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11519 wxWindow
*arg2
= (wxWindow
*) 0 ;
11520 wxString
*arg3
= 0 ;
11521 bool arg4
= (bool) False
;
11522 int arg5
= (int) -1 ;
11524 bool temp3
= False
;
11525 PyObject
* obj0
= 0 ;
11526 PyObject
* obj1
= 0 ;
11527 PyObject
* obj2
= 0 ;
11528 PyObject
* obj3
= 0 ;
11529 char *kwnames
[] = {
11530 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
11534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11535 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11537 arg3
= wxString_in_helper(obj2
);
11538 if (arg3
== NULL
) SWIG_fail
;
11542 arg4
= PyInt_AsLong(obj3
) ? true : false;
11543 if (PyErr_Occurred()) SWIG_fail
;
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= PyInt_FromLong((long)result
);
11567 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11568 PyObject
*resultobj
;
11569 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11571 wxWindow
*arg3
= (wxWindow
*) 0 ;
11572 wxString
*arg4
= 0 ;
11573 bool arg5
= (bool) False
;
11574 int arg6
= (int) -1 ;
11576 bool temp4
= False
;
11577 PyObject
* obj0
= 0 ;
11578 PyObject
* obj1
= 0 ;
11579 PyObject
* obj2
= 0 ;
11580 PyObject
* obj3
= 0 ;
11581 PyObject
* obj4
= 0 ;
11582 char *kwnames
[] = {
11583 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
)) goto fail
;
11587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11588 arg2
= (size_t) PyInt_AsLong(obj1
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11590 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11592 arg4
= wxString_in_helper(obj3
);
11593 if (arg4
== NULL
) SWIG_fail
;
11597 arg5
= PyInt_AsLong(obj4
) ? true : false;
11598 if (PyErr_Occurred()) SWIG_fail
;
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= PyInt_FromLong((long)result
);
11622 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11627 PyObject
* obj0
= 0 ;
11628 PyObject
* obj1
= 0 ;
11629 char *kwnames
[] = {
11630 (char *) "self",(char *) "n", NULL
11633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11635 arg2
= (size_t) PyInt_AsLong(obj1
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (int)(arg1
)->SetSelection(arg2
);
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11644 resultobj
= PyInt_FromLong((long)result
);
11651 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11654 bool arg2
= (bool) True
;
11655 PyObject
* obj0
= 0 ;
11656 PyObject
* obj1
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self",(char *) "forward", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11664 arg2
= PyInt_AsLong(obj1
) ? true : false;
11665 if (PyErr_Occurred()) SWIG_fail
;
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 (arg1
)->AdvanceSelection(arg2
);
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 Py_INCREF(Py_None
); resultobj
= Py_None
;
11681 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11684 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
11686 return Py_BuildValue((char *)"");
11688 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11689 PyObject
*resultobj
;
11690 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11691 int arg2
= (int) 0 ;
11692 int arg3
= (int) -1 ;
11693 int arg4
= (int) -1 ;
11694 wxBookCtrlEvent
*result
;
11695 char *kwnames
[] = {
11696 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_BookCtrlEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
11714 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11715 PyObject
*resultobj
;
11716 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11718 PyObject
* obj0
= 0 ;
11719 char *kwnames
[] = {
11720 (char *) "self", NULL
11723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
11724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= PyInt_FromLong((long)result
);
11739 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
*resultobj
;
11741 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11743 PyObject
* obj0
= 0 ;
11744 char *kwnames
[] = {
11745 (char *) "self",(char *) "nSel", NULL
11748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11752 (arg1
)->SetSelection(arg2
);
11754 wxPyEndAllowThreads(__tstate
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11757 Py_INCREF(Py_None
); resultobj
= Py_None
;
11764 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11765 PyObject
*resultobj
;
11766 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11768 PyObject
* obj0
= 0 ;
11769 char *kwnames
[] = {
11770 (char *) "self", NULL
11773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
11774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11782 resultobj
= PyInt_FromLong((long)result
);
11789 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11793 PyObject
* obj0
= 0 ;
11794 char *kwnames
[] = {
11795 (char *) "self",(char *) "nOldSel", NULL
11798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 (arg1
)->SetOldSelection(arg2
);
11804 wxPyEndAllowThreads(__tstate
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11807 Py_INCREF(Py_None
); resultobj
= Py_None
;
11814 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11817 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
11819 return Py_BuildValue((char *)"");
11821 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxWindow
*arg1
= (wxWindow
*) 0 ;
11825 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11826 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11827 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11828 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11829 long arg5
= (long) 0 ;
11830 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
11831 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11832 wxNotebook
*result
;
11835 bool temp6
= False
;
11836 PyObject
* obj0
= 0 ;
11837 PyObject
* obj2
= 0 ;
11838 PyObject
* obj3
= 0 ;
11839 PyObject
* obj5
= 0 ;
11840 char *kwnames
[] = {
11841 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Notebook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11849 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11855 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11860 arg6
= wxString_in_helper(obj5
);
11861 if (arg6
== NULL
) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= wxPyMake_wxObject(result
);
11889 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
;
11891 wxNotebook
*result
;
11892 char *kwnames
[] = {
11896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 result
= (wxNotebook
*)new wxNotebook();
11901 wxPyEndAllowThreads(__tstate
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= wxPyMake_wxObject(result
);
11913 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11914 PyObject
*resultobj
;
11915 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
11916 wxWindow
*arg2
= (wxWindow
*) 0 ;
11918 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11919 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11920 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11921 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11922 long arg6
= (long) 0 ;
11923 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
11924 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11928 bool temp7
= False
;
11929 PyObject
* obj0
= 0 ;
11930 PyObject
* obj1
= 0 ;
11931 PyObject
* obj3
= 0 ;
11932 PyObject
* obj4
= 0 ;
11933 PyObject
* obj6
= 0 ;
11934 char *kwnames
[] = {
11935 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Notebook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
11939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11940 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11944 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11950 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11955 arg7
= wxString_in_helper(obj6
);
11956 if (arg7
== NULL
) SWIG_fail
;
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11967 resultobj
= PyInt_FromLong((long)result
);
11982 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
;
11984 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
11986 PyObject
* obj0
= 0 ;
11987 char *kwnames
[] = {
11988 (char *) "self", NULL
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
11992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= PyInt_FromLong((long)result
);
12007 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
;
12009 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12012 PyObject
* obj0
= 0 ;
12013 PyObject
* obj1
= 0 ;
12014 char *kwnames
[] = {
12015 (char *) "self",(char *) "padding", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
12019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12022 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 (arg1
)->SetPadding((wxSize
const &)*arg2
);
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12031 Py_INCREF(Py_None
); resultobj
= Py_None
;
12038 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
;
12040 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12043 PyObject
* obj0
= 0 ;
12044 PyObject
* obj1
= 0 ;
12045 char *kwnames
[] = {
12046 (char *) "self",(char *) "sz", NULL
12049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12053 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12062 Py_INCREF(Py_None
); resultobj
= Py_None
;
12069 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12070 PyObject
*resultobj
;
12071 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12072 wxPoint
*arg2
= 0 ;
12073 long *arg3
= (long *) 0 ;
12077 PyObject
* obj0
= 0 ;
12078 PyObject
* obj1
= 0 ;
12079 char *kwnames
[] = {
12080 (char *) "self",(char *) "pt", NULL
12084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
12085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12088 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12097 resultobj
= PyInt_FromLong((long)result
);
12099 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12100 resultobj
= t_output_helper(resultobj
,o
);
12108 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12114 PyObject
* obj0
= 0 ;
12115 PyObject
* obj1
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "self",(char *) "sizePage", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12124 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12134 wxSize
* resultptr
;
12135 resultptr
= new wxSize((wxSize
&) result
);
12136 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12144 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
12146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12147 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
12149 return Py_BuildValue((char *)"");
12151 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12152 PyObject
*resultobj
;
12153 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12154 int arg2
= (int) 0 ;
12155 int arg3
= (int) -1 ;
12156 int arg4
= (int) -1 ;
12157 wxNotebookEvent
*result
;
12158 char *kwnames
[] = {
12159 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_NotebookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12170 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
12177 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12180 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
12182 return Py_BuildValue((char *)"");
12184 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12185 PyObject
*resultobj
;
12186 wxWindow
*arg1
= (wxWindow
*) 0 ;
12188 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12189 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12190 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12191 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12192 long arg5
= (long) 0 ;
12193 wxString
const &arg6_defvalue
= wxPyEmptyString
;
12194 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12195 wxListbook
*result
;
12198 bool temp6
= False
;
12199 PyObject
* obj0
= 0 ;
12200 PyObject
* obj2
= 0 ;
12201 PyObject
* obj3
= 0 ;
12202 PyObject
* obj5
= 0 ;
12203 char *kwnames
[] = {
12204 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Listbook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12212 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12218 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12223 arg6
= wxString_in_helper(obj5
);
12224 if (arg6
== NULL
) SWIG_fail
;
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12250 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12251 PyObject
*resultobj
;
12252 wxListbook
*result
;
12253 char *kwnames
[] = {
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (wxListbook
*)new wxListbook();
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12272 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
;
12274 wxListbook
*arg1
= (wxListbook
*) 0 ;
12275 wxWindow
*arg2
= (wxWindow
*) 0 ;
12277 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12278 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12279 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12280 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12281 long arg6
= (long) 0 ;
12282 wxString
const &arg7_defvalue
= wxPyEmptyString
;
12283 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12287 bool temp7
= False
;
12288 PyObject
* obj0
= 0 ;
12289 PyObject
* obj1
= 0 ;
12290 PyObject
* obj3
= 0 ;
12291 PyObject
* obj4
= 0 ;
12292 PyObject
* obj6
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Listbook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12299 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12303 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12309 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12314 arg7
= wxString_in_helper(obj6
);
12315 if (arg7
== NULL
) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= PyInt_FromLong((long)result
);
12341 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
;
12343 wxListbook
*arg1
= (wxListbook
*) 0 ;
12345 PyObject
* obj0
= 0 ;
12346 char *kwnames
[] = {
12347 (char *) "self", NULL
12350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
12351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12354 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= PyInt_FromLong((long)result
);
12366 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
12368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12369 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
12371 return Py_BuildValue((char *)"");
12373 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
*resultobj
;
12375 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12376 int arg2
= (int) 0 ;
12377 int arg3
= (int) -1 ;
12378 int arg4
= (int) -1 ;
12379 wxListbookEvent
*result
;
12380 char *kwnames
[] = {
12381 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ListbookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12392 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
12399 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12402 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
12404 return Py_BuildValue((char *)"");
12406 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12407 PyObject
*resultobj
;
12408 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12409 wxBookCtrlSizer
*result
;
12410 PyObject
* obj0
= 0 ;
12411 char *kwnames
[] = {
12412 (char *) "nb", NULL
12415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
12416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12424 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
12431 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12432 PyObject
*resultobj
;
12433 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12434 PyObject
* obj0
= 0 ;
12435 char *kwnames
[] = {
12436 (char *) "self", NULL
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 (arg1
)->RecalcSizes();
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 Py_INCREF(Py_None
); resultobj
= Py_None
;
12455 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12459 PyObject
* obj0
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "self", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 result
= (arg1
)->CalcMin();
12470 wxPyEndAllowThreads(__tstate
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12474 wxSize
* resultptr
;
12475 resultptr
= new wxSize((wxSize
&) result
);
12476 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12484 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12486 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12487 wxBookCtrl
*result
;
12488 PyObject
* obj0
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 result
= (wxBookCtrl
*)(arg1
)->GetControl();
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12502 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
12509 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12512 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
12514 return Py_BuildValue((char *)"");
12516 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
;
12518 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12519 wxNotebookSizer
*result
;
12520 PyObject
* obj0
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "nb", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
12526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
12531 wxPyEndAllowThreads(__tstate
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12534 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
12541 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12544 PyObject
* obj0
= 0 ;
12545 char *kwnames
[] = {
12546 (char *) "self", NULL
12549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 (arg1
)->RecalcSizes();
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12558 Py_INCREF(Py_None
); resultobj
= Py_None
;
12565 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
;
12567 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12569 PyObject
* obj0
= 0 ;
12570 char *kwnames
[] = {
12571 (char *) "self", NULL
12574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 result
= (arg1
)->CalcMin();
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12584 wxSize
* resultptr
;
12585 resultptr
= new wxSize((wxSize
&) result
);
12586 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12594 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
*resultobj
;
12596 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12597 wxNotebook
*result
;
12598 PyObject
* obj0
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
12604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= (wxNotebook
*)(arg1
)->GetNotebook();
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12613 resultobj
= wxPyMake_wxObject(result
);
12621 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12624 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
12626 return Py_BuildValue((char *)"");
12628 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12629 PyObject
*resultobj
;
12630 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12632 PyObject
* obj0
= 0 ;
12633 char *kwnames
[] = {
12634 (char *) "self", NULL
12637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
12638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 result
= (int)(arg1
)->GetId();
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12646 resultobj
= PyInt_FromLong((long)result
);
12653 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12657 PyObject
* obj0
= 0 ;
12658 char *kwnames
[] = {
12659 (char *) "self", NULL
12662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
12663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 result
= (wxControl
*)(arg1
)->GetControl();
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= wxPyMake_wxObject(result
);
12680 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
;
12682 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12683 wxToolBarBase
*result
;
12684 PyObject
* obj0
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
12690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12693 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
12695 wxPyEndAllowThreads(__tstate
);
12696 if (PyErr_Occurred()) SWIG_fail
;
12699 resultobj
= wxPyMake_wxObject(result
);
12707 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
;
12709 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12711 PyObject
* obj0
= 0 ;
12712 char *kwnames
[] = {
12713 (char *) "self", NULL
12716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
12717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 result
= (int)(arg1
)->IsButton();
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12725 resultobj
= PyInt_FromLong((long)result
);
12732 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12733 PyObject
*resultobj
;
12734 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12736 PyObject
* obj0
= 0 ;
12737 char *kwnames
[] = {
12738 (char *) "self", NULL
12741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
12742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 result
= (int)(arg1
)->IsControl();
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= PyInt_FromLong((long)result
);
12757 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
;
12759 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12761 PyObject
* obj0
= 0 ;
12762 char *kwnames
[] = {
12763 (char *) "self", NULL
12766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
12767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 result
= (int)(arg1
)->IsSeparator();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= PyInt_FromLong((long)result
);
12782 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
;
12784 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12786 PyObject
* obj0
= 0 ;
12787 char *kwnames
[] = {
12788 (char *) "self", NULL
12791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
12792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= (int)(arg1
)->GetStyle();
12797 wxPyEndAllowThreads(__tstate
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12800 resultobj
= PyInt_FromLong((long)result
);
12807 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12811 PyObject
* obj0
= 0 ;
12812 char *kwnames
[] = {
12813 (char *) "self", NULL
12816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
12817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 result
= (int)(arg1
)->GetKind();
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 resultobj
= PyInt_FromLong((long)result
);
12832 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
;
12834 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12836 PyObject
* obj0
= 0 ;
12837 char *kwnames
[] = {
12838 (char *) "self", NULL
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
12842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 result
= (bool)(arg1
)->IsEnabled();
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= PyInt_FromLong((long)result
);
12857 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12858 PyObject
*resultobj
;
12859 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12861 PyObject
* obj0
= 0 ;
12862 char *kwnames
[] = {
12863 (char *) "self", NULL
12866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
12867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 result
= (bool)(arg1
)->IsToggled();
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= PyInt_FromLong((long)result
);
12882 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
;
12884 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12886 PyObject
* obj0
= 0 ;
12887 char *kwnames
[] = {
12888 (char *) "self", NULL
12891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
12892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 result
= (bool)(arg1
)->CanBeToggled();
12897 wxPyEndAllowThreads(__tstate
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12900 resultobj
= PyInt_FromLong((long)result
);
12907 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12908 PyObject
*resultobj
;
12909 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12911 PyObject
* obj0
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "self", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
12917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
12922 result
= (wxBitmap
*) &_result_ref
;
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
12935 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
;
12937 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12939 PyObject
* obj0
= 0 ;
12940 char *kwnames
[] = {
12941 (char *) "self", NULL
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
12945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
12950 result
= (wxBitmap
*) &_result_ref
;
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
12963 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12964 PyObject
*resultobj
;
12965 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12967 PyObject
* obj0
= 0 ;
12968 char *kwnames
[] = {
12969 (char *) "self", NULL
12972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
12973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (arg1
)->GetBitmap();
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12982 wxBitmap
* resultptr
;
12983 resultptr
= new wxBitmap((wxBitmap
&) result
);
12984 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
12992 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12996 PyObject
* obj0
= 0 ;
12997 char *kwnames
[] = {
12998 (char *) "self", NULL
13001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
13002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 result
= (arg1
)->GetLabel();
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13023 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
;
13025 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13027 PyObject
* obj0
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
13033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13036 result
= (arg1
)->GetShortHelp();
13038 wxPyEndAllowThreads(__tstate
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13054 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
;
13056 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13058 PyObject
* obj0
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
13064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 result
= (arg1
)->GetLongHelp();
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13085 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13090 PyObject
* obj0
= 0 ;
13091 PyObject
* obj1
= 0 ;
13092 char *kwnames
[] = {
13093 (char *) "self",(char *) "enable", NULL
13096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
13097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13098 arg2
= PyInt_AsLong(obj1
) ? true : false;
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 result
= (bool)(arg1
)->Enable(arg2
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 resultobj
= PyInt_FromLong((long)result
);
13114 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13117 PyObject
* obj0
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "self", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
13123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13128 wxPyEndAllowThreads(__tstate
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13131 Py_INCREF(Py_None
); resultobj
= Py_None
;
13138 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
;
13140 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "self",(char *) "toggle", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
13150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13151 arg2
= PyInt_AsLong(obj1
) ? true : false;
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (bool)(arg1
)->SetToggle(arg2
);
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= PyInt_FromLong((long)result
);
13167 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
;
13169 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13170 wxString
*arg2
= 0 ;
13172 bool temp2
= False
;
13173 PyObject
* obj0
= 0 ;
13174 PyObject
* obj1
= 0 ;
13175 char *kwnames
[] = {
13176 (char *) "self",(char *) "help", NULL
13179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13182 arg2
= wxString_in_helper(obj1
);
13183 if (arg2
== NULL
) SWIG_fail
;
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= PyInt_FromLong((long)result
);
13208 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13209 PyObject
*resultobj
;
13210 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13211 wxString
*arg2
= 0 ;
13213 bool temp2
= False
;
13214 PyObject
* obj0
= 0 ;
13215 PyObject
* obj1
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "self",(char *) "help", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13223 arg2
= wxString_in_helper(obj1
);
13224 if (arg2
== NULL
) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= PyInt_FromLong((long)result
);
13249 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
;
13251 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13252 wxBitmap
*arg2
= 0 ;
13253 PyObject
* obj0
= 0 ;
13254 PyObject
* obj1
= 0 ;
13255 char *kwnames
[] = {
13256 (char *) "self",(char *) "bmp", NULL
13259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13261 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13262 if (arg2
== NULL
) {
13263 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 Py_INCREF(Py_None
); resultobj
= Py_None
;
13279 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13282 wxBitmap
*arg2
= 0 ;
13283 PyObject
* obj0
= 0 ;
13284 PyObject
* obj1
= 0 ;
13285 char *kwnames
[] = {
13286 (char *) "self",(char *) "bmp", NULL
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13291 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13292 if (arg2
== NULL
) {
13293 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 Py_INCREF(Py_None
); resultobj
= Py_None
;
13309 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13312 wxString
*arg2
= 0 ;
13313 bool temp2
= False
;
13314 PyObject
* obj0
= 0 ;
13315 PyObject
* obj1
= 0 ;
13316 char *kwnames
[] = {
13317 (char *) "self",(char *) "label", NULL
13320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13323 arg2
= wxString_in_helper(obj1
);
13324 if (arg2
== NULL
) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 (arg1
)->SetLabel((wxString
const &)*arg2
);
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 Py_INCREF(Py_None
); resultobj
= Py_None
;
13349 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
;
13351 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13352 PyObject
* obj0
= 0 ;
13353 char *kwnames
[] = {
13354 (char *) "self", NULL
13357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
13358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 Py_INCREF(Py_None
); resultobj
= Py_None
;
13373 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
;
13375 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13376 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
13377 PyObject
* obj0
= 0 ;
13378 PyObject
* obj1
= 0 ;
13379 char *kwnames
[] = {
13380 (char *) "self",(char *) "tbar", NULL
13383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
13384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 (arg1
)->Attach(arg2
);
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13393 Py_INCREF(Py_None
); resultobj
= Py_None
;
13400 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
;
13402 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13404 PyObject
* obj0
= 0 ;
13405 char *kwnames
[] = {
13406 (char *) "self", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
13410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= result
;
13425 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13428 PyObject
*arg2
= (PyObject
*) 0 ;
13429 PyObject
* obj0
= 0 ;
13430 PyObject
* obj1
= 0 ;
13431 char *kwnames
[] = {
13432 (char *) "self",(char *) "clientData", NULL
13435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
13436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 wxToolBarToolBase_SetClientData(arg1
,arg2
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 Py_INCREF(Py_None
); resultobj
= Py_None
;
13452 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
13454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13455 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
13457 return Py_BuildValue((char *)"");
13459 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
;
13461 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13463 wxString
*arg3
= 0 ;
13464 wxBitmap
*arg4
= 0 ;
13465 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
13466 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
13467 int arg6
= (int) wxITEM_NORMAL
;
13468 wxString
const &arg7_defvalue
= wxPyEmptyString
;
13469 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13470 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13471 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13472 PyObject
*arg9
= (PyObject
*) NULL
;
13473 wxToolBarToolBase
*result
;
13474 bool temp3
= False
;
13475 bool temp7
= False
;
13476 bool temp8
= False
;
13477 PyObject
* obj0
= 0 ;
13478 PyObject
* obj2
= 0 ;
13479 PyObject
* obj3
= 0 ;
13480 PyObject
* obj4
= 0 ;
13481 PyObject
* obj6
= 0 ;
13482 PyObject
* obj7
= 0 ;
13483 PyObject
* obj8
= 0 ;
13484 char *kwnames
[] = {
13485 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
,&obj8
)) goto fail
;
13489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13491 arg3
= wxString_in_helper(obj2
);
13492 if (arg3
== NULL
) SWIG_fail
;
13495 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13496 if (arg4
== NULL
) {
13497 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13500 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13501 if (arg5
== NULL
) {
13502 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13507 arg7
= wxString_in_helper(obj6
);
13508 if (arg7
== NULL
) SWIG_fail
;
13514 arg8
= wxString_in_helper(obj7
);
13515 if (arg8
== NULL
) SWIG_fail
;
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= wxPyMake_wxObject(result
);
13562 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13563 PyObject
*resultobj
;
13564 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13567 wxString
*arg4
= 0 ;
13568 wxBitmap
*arg5
= 0 ;
13569 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
13570 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
13571 int arg7
= (int) wxITEM_NORMAL
;
13572 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13573 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13574 wxString
const &arg9_defvalue
= wxPyEmptyString
;
13575 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13576 PyObject
*arg10
= (PyObject
*) NULL
;
13577 wxToolBarToolBase
*result
;
13578 bool temp4
= False
;
13579 bool temp8
= False
;
13580 bool temp9
= False
;
13581 PyObject
* obj0
= 0 ;
13582 PyObject
* obj1
= 0 ;
13583 PyObject
* obj3
= 0 ;
13584 PyObject
* obj4
= 0 ;
13585 PyObject
* obj5
= 0 ;
13586 PyObject
* obj7
= 0 ;
13587 PyObject
* obj8
= 0 ;
13588 PyObject
* obj9
= 0 ;
13589 char *kwnames
[] = {
13590 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
13594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13595 arg2
= (size_t) PyInt_AsLong(obj1
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13598 arg4
= wxString_in_helper(obj3
);
13599 if (arg4
== NULL
) SWIG_fail
;
13602 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13603 if (arg5
== NULL
) {
13604 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13607 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13608 if (arg6
== NULL
) {
13609 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13614 arg8
= wxString_in_helper(obj7
);
13615 if (arg8
== NULL
) SWIG_fail
;
13621 arg9
= wxString_in_helper(obj8
);
13622 if (arg9
== NULL
) SWIG_fail
;
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 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
);
13633 wxPyEndAllowThreads(__tstate
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13637 resultobj
= wxPyMake_wxObject(result
);
13669 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13670 PyObject
*resultobj
;
13671 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13672 wxControl
*arg2
= (wxControl
*) 0 ;
13673 wxToolBarToolBase
*result
;
13674 PyObject
* obj0
= 0 ;
13675 PyObject
* obj1
= 0 ;
13676 char *kwnames
[] = {
13677 (char *) "self",(char *) "control", NULL
13680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
13681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13682 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13685 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= wxPyMake_wxObject(result
);
13699 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
;
13701 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13703 wxControl
*arg3
= (wxControl
*) 0 ;
13704 wxToolBarToolBase
*result
;
13705 PyObject
* obj0
= 0 ;
13706 PyObject
* obj1
= 0 ;
13707 PyObject
* obj2
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self",(char *) "pos",(char *) "control", NULL
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13714 arg2
= (size_t) PyInt_AsLong(obj1
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13716 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13725 resultobj
= wxPyMake_wxObject(result
);
13733 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13738 PyObject
* obj0
= 0 ;
13739 char *kwnames
[] = {
13740 (char *) "self",(char *) "id", NULL
13743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindControl",kwnames
,&obj0
,&arg2
)) goto fail
;
13744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= wxPyMake_wxObject(result
);
13761 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
;
13763 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13764 wxToolBarToolBase
*result
;
13765 PyObject
* obj0
= 0 ;
13766 char *kwnames
[] = {
13767 (char *) "self", NULL
13770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
13771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13774 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
13776 wxPyEndAllowThreads(__tstate
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13780 resultobj
= wxPyMake_wxObject(result
);
13788 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13789 PyObject
*resultobj
;
13790 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13792 wxToolBarToolBase
*result
;
13793 PyObject
* obj0
= 0 ;
13794 PyObject
* obj1
= 0 ;
13795 char *kwnames
[] = {
13796 (char *) "self",(char *) "pos", NULL
13799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
13800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13801 arg2
= (size_t) PyInt_AsLong(obj1
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= wxPyMake_wxObject(result
);
13819 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
;
13821 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13823 wxToolBarToolBase
*result
;
13824 PyObject
* obj0
= 0 ;
13825 char *kwnames
[] = {
13826 (char *) "self",(char *) "id", NULL
13829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_RemoveTool",kwnames
,&obj0
,&arg2
)) goto fail
;
13830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13839 resultobj
= wxPyMake_wxObject(result
);
13847 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13852 PyObject
* obj0
= 0 ;
13853 PyObject
* obj1
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "self",(char *) "pos", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
13859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13860 arg2
= (size_t) PyInt_AsLong(obj1
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
13866 wxPyEndAllowThreads(__tstate
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= PyInt_FromLong((long)result
);
13876 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
;
13878 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13881 PyObject
* obj0
= 0 ;
13882 char *kwnames
[] = {
13883 (char *) "self",(char *) "id", NULL
13886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_DeleteTool",kwnames
,&obj0
,&arg2
)) goto fail
;
13887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 result
= (bool)(arg1
)->DeleteTool(arg2
);
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13895 resultobj
= PyInt_FromLong((long)result
);
13902 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
;
13904 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13905 PyObject
* obj0
= 0 ;
13906 char *kwnames
[] = {
13907 (char *) "self", NULL
13910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
13911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 (arg1
)->ClearTools();
13916 wxPyEndAllowThreads(__tstate
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13919 Py_INCREF(Py_None
); resultobj
= Py_None
;
13926 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13927 PyObject
*resultobj
;
13928 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13930 PyObject
* obj0
= 0 ;
13931 char *kwnames
[] = {
13932 (char *) "self", NULL
13935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
13936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 result
= (bool)(arg1
)->Realize();
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13944 resultobj
= PyInt_FromLong((long)result
);
13951 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13952 PyObject
*resultobj
;
13953 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13956 PyObject
* obj0
= 0 ;
13957 PyObject
* obj2
= 0 ;
13958 char *kwnames
[] = {
13959 (char *) "self",(char *) "id",(char *) "enable", NULL
13962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_EnableTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
13963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13964 arg3
= PyInt_AsLong(obj2
) ? true : false;
13965 if (PyErr_Occurred()) SWIG_fail
;
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 (arg1
)->EnableTool(arg2
,arg3
);
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 Py_INCREF(Py_None
); resultobj
= Py_None
;
13980 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13981 PyObject
*resultobj
;
13982 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13985 PyObject
* obj0
= 0 ;
13986 PyObject
* obj2
= 0 ;
13987 char *kwnames
[] = {
13988 (char *) "self",(char *) "id",(char *) "toggle", NULL
13991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
13992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13993 arg3
= PyInt_AsLong(obj2
) ? true : false;
13994 if (PyErr_Occurred()) SWIG_fail
;
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 (arg1
)->ToggleTool(arg2
,arg3
);
13999 wxPyEndAllowThreads(__tstate
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14002 Py_INCREF(Py_None
); resultobj
= Py_None
;
14009 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
;
14011 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14014 PyObject
* obj0
= 0 ;
14015 PyObject
* obj2
= 0 ;
14016 char *kwnames
[] = {
14017 (char *) "self",(char *) "id",(char *) "toggle", NULL
14020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToggle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14022 arg3
= PyInt_AsLong(obj2
) ? true : false;
14023 if (PyErr_Occurred()) SWIG_fail
;
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 (arg1
)->SetToggle(arg2
,arg3
);
14028 wxPyEndAllowThreads(__tstate
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14031 Py_INCREF(Py_None
); resultobj
= Py_None
;
14038 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14039 PyObject
*resultobj
;
14040 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14043 PyObject
* obj0
= 0 ;
14044 char *kwnames
[] = {
14045 (char *) "self",(char *) "id", NULL
14048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
14049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= result
;
14064 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
*resultobj
;
14066 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14068 PyObject
*arg3
= (PyObject
*) 0 ;
14069 PyObject
* obj0
= 0 ;
14070 PyObject
* obj2
= 0 ;
14071 char *kwnames
[] = {
14072 (char *) "self",(char *) "id",(char *) "clientData", NULL
14075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 Py_INCREF(Py_None
); resultobj
= Py_None
;
14092 static PyObject
*_wrap_ToolBarBase_GetToolPos(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_GetToolPos",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
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 resultobj
= PyInt_FromLong((long)result
);
14118 static PyObject
*_wrap_ToolBarBase_GetToolState(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_GetToolState",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
)->GetToolState(arg2
);
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14137 resultobj
= PyInt_FromLong((long)result
);
14144 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14149 PyObject
* obj0
= 0 ;
14150 char *kwnames
[] = {
14151 (char *) "self",(char *) "id", NULL
14154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
14155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 resultobj
= PyInt_FromLong((long)result
);
14170 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
;
14172 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14174 wxString
*arg3
= 0 ;
14175 bool temp3
= False
;
14176 PyObject
* obj0
= 0 ;
14177 PyObject
* obj2
= 0 ;
14178 char *kwnames
[] = {
14179 (char *) "self",(char *) "id",(char *) "helpString", NULL
14182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14185 arg3
= wxString_in_helper(obj2
);
14186 if (arg3
== NULL
) SWIG_fail
;
14190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14191 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14196 Py_INCREF(Py_None
); resultobj
= Py_None
;
14211 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
;
14213 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14216 PyObject
* obj0
= 0 ;
14217 char *kwnames
[] = {
14218 (char *) "self",(char *) "id", NULL
14221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 result
= (arg1
)->GetToolShortHelp(arg2
);
14227 wxPyEndAllowThreads(__tstate
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14243 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
;
14245 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14247 wxString
*arg3
= 0 ;
14248 bool temp3
= False
;
14249 PyObject
* obj0
= 0 ;
14250 PyObject
* obj2
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self",(char *) "id",(char *) "helpString", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14258 arg3
= wxString_in_helper(obj2
);
14259 if (arg3
== NULL
) SWIG_fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14269 Py_INCREF(Py_None
); resultobj
= Py_None
;
14284 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
;
14286 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14289 PyObject
* obj0
= 0 ;
14290 char *kwnames
[] = {
14291 (char *) "self",(char *) "id", NULL
14294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 result
= (arg1
)->GetToolLongHelp(arg2
);
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14316 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14321 PyObject
* obj0
= 0 ;
14322 char *kwnames
[] = {
14323 (char *) "self",(char *) "x",(char *) "y", NULL
14326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 (arg1
)->SetMargins(arg2
,arg3
);
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 Py_INCREF(Py_None
); resultobj
= Py_None
;
14342 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
;
14344 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14347 PyObject
* obj0
= 0 ;
14348 PyObject
* obj1
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "self",(char *) "size", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
14354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14357 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 (arg1
)->SetMargins((wxSize
const &)*arg2
);
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14366 Py_INCREF(Py_None
); resultobj
= Py_None
;
14373 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
;
14375 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14377 PyObject
* obj0
= 0 ;
14378 char *kwnames
[] = {
14379 (char *) "self",(char *) "packing", NULL
14382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&arg2
)) goto fail
;
14383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14386 (arg1
)->SetToolPacking(arg2
);
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 Py_INCREF(Py_None
); resultobj
= Py_None
;
14398 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
;
14400 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 char *kwnames
[] = {
14404 (char *) "self",(char *) "separation", NULL
14407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&arg2
)) goto fail
;
14408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14411 (arg1
)->SetToolSeparation(arg2
);
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14416 Py_INCREF(Py_None
); resultobj
= Py_None
;
14423 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14424 PyObject
*resultobj
;
14425 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14427 PyObject
* obj0
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "self", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
14433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (arg1
)->GetToolMargins();
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14442 wxSize
* resultptr
;
14443 resultptr
= new wxSize((wxSize
&) result
);
14444 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14452 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14453 PyObject
*resultobj
;
14454 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14456 PyObject
* obj0
= 0 ;
14457 char *kwnames
[] = {
14458 (char *) "self", NULL
14461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
14462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 result
= (arg1
)->GetMargins();
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14471 wxSize
* resultptr
;
14472 resultptr
= new wxSize((wxSize
&) result
);
14473 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14481 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
;
14483 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14485 PyObject
* obj0
= 0 ;
14486 char *kwnames
[] = {
14487 (char *) "self", NULL
14490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
14491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 result
= (int)(arg1
)->GetToolPacking();
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14499 resultobj
= PyInt_FromLong((long)result
);
14506 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14510 PyObject
* obj0
= 0 ;
14511 char *kwnames
[] = {
14512 (char *) "self", NULL
14515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
14516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 result
= (int)(arg1
)->GetToolSeparation();
14521 wxPyEndAllowThreads(__tstate
);
14522 if (PyErr_Occurred()) SWIG_fail
;
14524 resultobj
= PyInt_FromLong((long)result
);
14531 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14532 PyObject
*resultobj
;
14533 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14535 PyObject
* obj0
= 0 ;
14536 char *kwnames
[] = {
14537 (char *) "self",(char *) "nRows", NULL
14540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetRows",kwnames
,&obj0
,&arg2
)) 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
)->SetRows(arg2
);
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14549 Py_INCREF(Py_None
); resultobj
= Py_None
;
14556 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14557 PyObject
*resultobj
;
14558 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14561 PyObject
* obj0
= 0 ;
14562 char *kwnames
[] = {
14563 (char *) "self",(char *) "rows",(char *) "cols", NULL
14566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14575 Py_INCREF(Py_None
); resultobj
= Py_None
;
14582 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 result
= (int)(arg1
)->GetMaxRows();
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14600 resultobj
= PyInt_FromLong((long)result
);
14607 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
;
14609 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14611 PyObject
* obj0
= 0 ;
14612 char *kwnames
[] = {
14613 (char *) "self", NULL
14616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
14617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 result
= (int)(arg1
)->GetMaxCols();
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14625 resultobj
= PyInt_FromLong((long)result
);
14632 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14633 PyObject
*resultobj
;
14634 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14637 PyObject
* obj0
= 0 ;
14638 PyObject
* obj1
= 0 ;
14639 char *kwnames
[] = {
14640 (char *) "self",(char *) "size", NULL
14643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14647 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14656 Py_INCREF(Py_None
); resultobj
= Py_None
;
14663 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14664 PyObject
*resultobj
;
14665 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14667 PyObject
* obj0
= 0 ;
14668 char *kwnames
[] = {
14669 (char *) "self", NULL
14672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
14673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 result
= (arg1
)->GetToolBitmapSize();
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14682 wxSize
* resultptr
;
14683 resultptr
= new wxSize((wxSize
&) result
);
14684 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14692 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14696 PyObject
* obj0
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 result
= (arg1
)->GetToolSize();
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14711 wxSize
* resultptr
;
14712 resultptr
= new wxSize((wxSize
&) result
);
14713 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14721 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
;
14723 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14726 wxToolBarToolBase
*result
;
14727 PyObject
* obj0
= 0 ;
14728 char *kwnames
[] = {
14729 (char *) "self",(char *) "x",(char *) "y", NULL
14732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= wxPyMake_wxObject(result
);
14750 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
14760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (bool)(arg1
)->IsVertical();
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= PyInt_FromLong((long)result
);
14775 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
14777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14778 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
14780 return Py_BuildValue((char *)"");
14782 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxWindow
*arg1
= (wxWindow
*) 0 ;
14786 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14787 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14788 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14789 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14790 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
14791 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
14792 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14796 bool temp6
= False
;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj2
= 0 ;
14799 PyObject
* obj3
= 0 ;
14800 PyObject
* obj5
= 0 ;
14801 char *kwnames
[] = {
14802 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_ToolBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14810 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14816 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14821 arg6
= wxString_in_helper(obj5
);
14822 if (arg6
== NULL
) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= wxPyMake_wxObject(result
);
14850 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
;
14853 char *kwnames
[] = {
14857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 result
= (wxToolBar
*)new wxToolBar();
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= wxPyMake_wxObject(result
);
14874 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
;
14876 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
14877 wxWindow
*arg2
= (wxWindow
*) 0 ;
14879 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14880 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14881 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14882 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14883 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
14884 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
14885 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14889 bool temp7
= False
;
14890 PyObject
* obj0
= 0 ;
14891 PyObject
* obj1
= 0 ;
14892 PyObject
* obj3
= 0 ;
14893 PyObject
* obj4
= 0 ;
14894 PyObject
* obj6
= 0 ;
14895 char *kwnames
[] = {
14896 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
14900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14905 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14911 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14916 arg7
= wxString_in_helper(obj6
);
14917 if (arg7
== NULL
) SWIG_fail
;
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= PyInt_FromLong((long)result
);
14943 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
14948 wxToolBarToolBase
*result
;
14949 PyObject
* obj0
= 0 ;
14950 char *kwnames
[] = {
14951 (char *) "self",(char *) "x",(char *) "y", NULL
14954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBar_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14964 resultobj
= wxPyMake_wxObject(result
);
14972 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
14974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14975 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
14977 return Py_BuildValue((char *)"");
14979 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14980 PyObject
*resultobj
;
14981 wxColour
const &arg1_defvalue
= wxNullColour
;
14982 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
14983 wxColour
const &arg2_defvalue
= wxNullColour
;
14984 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
14985 wxFont
const &arg3_defvalue
= wxNullFont
;
14986 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
14987 wxListItemAttr
*result
;
14990 PyObject
* obj0
= 0 ;
14991 PyObject
* obj1
= 0 ;
14992 PyObject
* obj2
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "colText",(char *) "colBack",(char *) "font", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15001 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
15007 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15011 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15012 if (arg3
== NULL
) {
15013 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
15030 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
;
15032 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15033 wxColour
*arg2
= 0 ;
15035 PyObject
* obj0
= 0 ;
15036 PyObject
* obj1
= 0 ;
15037 char *kwnames
[] = {
15038 (char *) "self",(char *) "colText", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15045 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15049 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 Py_INCREF(Py_None
); resultobj
= Py_None
;
15061 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15064 wxColour
*arg2
= 0 ;
15066 PyObject
* obj0
= 0 ;
15067 PyObject
* obj1
= 0 ;
15068 char *kwnames
[] = {
15069 (char *) "self",(char *) "colBack", NULL
15072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15076 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 Py_INCREF(Py_None
); resultobj
= Py_None
;
15092 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
;
15094 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15096 PyObject
* obj0
= 0 ;
15097 PyObject
* obj1
= 0 ;
15098 char *kwnames
[] = {
15099 (char *) "self",(char *) "font", NULL
15102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15104 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15105 if (arg2
== NULL
) {
15106 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 (arg1
)->SetFont((wxFont
const &)*arg2
);
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15115 Py_INCREF(Py_None
); resultobj
= Py_None
;
15122 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15126 PyObject
* obj0
= 0 ;
15127 char *kwnames
[] = {
15128 (char *) "self", NULL
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
15132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 result
= (bool)(arg1
)->HasTextColour();
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= PyInt_FromLong((long)result
);
15147 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15151 PyObject
* obj0
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
15157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 result
= (bool)(arg1
)->HasBackgroundColour();
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= PyInt_FromLong((long)result
);
15172 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
;
15174 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15176 PyObject
* obj0
= 0 ;
15177 char *kwnames
[] = {
15178 (char *) "self", NULL
15181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
15182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 result
= (bool)(arg1
)->HasFont();
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15190 resultobj
= PyInt_FromLong((long)result
);
15197 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
;
15199 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15201 PyObject
* obj0
= 0 ;
15202 char *kwnames
[] = {
15203 (char *) "self", NULL
15206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
15207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15210 result
= (arg1
)->GetTextColour();
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15216 wxColour
* resultptr
;
15217 resultptr
= new wxColour((wxColour
&) result
);
15218 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15226 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
15236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 result
= (arg1
)->GetBackgroundColour();
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15245 wxColour
* resultptr
;
15246 resultptr
= new wxColour((wxColour
&) result
);
15247 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15255 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15256 PyObject
*resultobj
;
15257 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15259 PyObject
* obj0
= 0 ;
15260 char *kwnames
[] = {
15261 (char *) "self", NULL
15264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
15265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 result
= (arg1
)->GetFont();
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15274 wxFont
* resultptr
;
15275 resultptr
= new wxFont((wxFont
&) result
);
15276 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
15284 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
;
15286 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15287 PyObject
* obj0
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "self", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
15293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 wxListItemAttr_Destroy(arg1
);
15298 wxPyEndAllowThreads(__tstate
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15301 Py_INCREF(Py_None
); resultobj
= Py_None
;
15308 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
15310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15311 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
15313 return Py_BuildValue((char *)"");
15315 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15316 PyObject
*resultobj
;
15317 wxListItem
*result
;
15318 char *kwnames
[] = {
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 result
= (wxListItem
*)new wxListItem();
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= wxPyMake_wxObject(result
);
15339 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
;
15341 wxListItem
*arg1
= (wxListItem
*) 0 ;
15342 PyObject
* obj0
= 0 ;
15343 char *kwnames
[] = {
15344 (char *) "self", NULL
15347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
15348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 Py_INCREF(Py_None
); resultobj
= Py_None
;
15363 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
;
15365 wxListItem
*arg1
= (wxListItem
*) 0 ;
15366 PyObject
* obj0
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
15372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15380 Py_INCREF(Py_None
); resultobj
= Py_None
;
15387 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15388 PyObject
*resultobj
;
15389 wxListItem
*arg1
= (wxListItem
*) 0 ;
15390 PyObject
* obj0
= 0 ;
15391 char *kwnames
[] = {
15392 (char *) "self", NULL
15395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
15396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 (arg1
)->ClearAttributes();
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 Py_INCREF(Py_None
); resultobj
= Py_None
;
15411 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
;
15413 wxListItem
*arg1
= (wxListItem
*) 0 ;
15415 PyObject
* obj0
= 0 ;
15416 char *kwnames
[] = {
15417 (char *) "self",(char *) "mask", NULL
15420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetMask",kwnames
,&obj0
,&arg2
)) goto fail
;
15421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 (arg1
)->SetMask(arg2
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 Py_INCREF(Py_None
); resultobj
= Py_None
;
15436 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15437 PyObject
*resultobj
;
15438 wxListItem
*arg1
= (wxListItem
*) 0 ;
15440 PyObject
* obj0
= 0 ;
15441 char *kwnames
[] = {
15442 (char *) "self",(char *) "id", NULL
15445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
15446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 (arg1
)->SetId(arg2
);
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 Py_INCREF(Py_None
); resultobj
= Py_None
;
15461 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15462 PyObject
*resultobj
;
15463 wxListItem
*arg1
= (wxListItem
*) 0 ;
15465 PyObject
* obj0
= 0 ;
15466 char *kwnames
[] = {
15467 (char *) "self",(char *) "col", NULL
15470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
15471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 (arg1
)->SetColumn(arg2
);
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15479 Py_INCREF(Py_None
); resultobj
= Py_None
;
15486 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
;
15488 wxListItem
*arg1
= (wxListItem
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self",(char *) "state", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetState",kwnames
,&obj0
,&arg2
)) goto fail
;
15496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 (arg1
)->SetState(arg2
);
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15504 Py_INCREF(Py_None
); resultobj
= Py_None
;
15511 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15512 PyObject
*resultobj
;
15513 wxListItem
*arg1
= (wxListItem
*) 0 ;
15515 PyObject
* obj0
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "self",(char *) "stateMask", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetStateMask",kwnames
,&obj0
,&arg2
)) goto fail
;
15521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 (arg1
)->SetStateMask(arg2
);
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 Py_INCREF(Py_None
); resultobj
= Py_None
;
15536 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxListItem
*arg1
= (wxListItem
*) 0 ;
15539 wxString
*arg2
= 0 ;
15540 bool temp2
= False
;
15541 PyObject
* obj0
= 0 ;
15542 PyObject
* obj1
= 0 ;
15543 char *kwnames
[] = {
15544 (char *) "self",(char *) "text", NULL
15547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
15548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15550 arg2
= wxString_in_helper(obj1
);
15551 if (arg2
== NULL
) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 (arg1
)->SetText((wxString
const &)*arg2
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 Py_INCREF(Py_None
); resultobj
= Py_None
;
15576 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 wxListItem
*arg1
= (wxListItem
*) 0 ;
15580 PyObject
* obj0
= 0 ;
15581 char *kwnames
[] = {
15582 (char *) "self",(char *) "image", NULL
15585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetImage",kwnames
,&obj0
,&arg2
)) goto fail
;
15586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 (arg1
)->SetImage(arg2
);
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15594 Py_INCREF(Py_None
); resultobj
= Py_None
;
15601 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15602 PyObject
*resultobj
;
15603 wxListItem
*arg1
= (wxListItem
*) 0 ;
15605 PyObject
* obj0
= 0 ;
15606 char *kwnames
[] = {
15607 (char *) "self",(char *) "data", NULL
15610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetData",kwnames
,&obj0
,&arg2
)) goto fail
;
15611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 (arg1
)->SetData(arg2
);
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 Py_INCREF(Py_None
); resultobj
= Py_None
;
15626 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
;
15628 wxListItem
*arg1
= (wxListItem
*) 0 ;
15630 PyObject
* obj0
= 0 ;
15631 char *kwnames
[] = {
15632 (char *) "self",(char *) "width", NULL
15635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
15636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 (arg1
)->SetWidth(arg2
);
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 Py_INCREF(Py_None
); resultobj
= Py_None
;
15651 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxListItem
*arg1
= (wxListItem
*) 0 ;
15655 PyObject
* obj0
= 0 ;
15656 char *kwnames
[] = {
15657 (char *) "self",(char *) "align", NULL
15660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetAlign",kwnames
,&obj0
,&arg2
)) goto fail
;
15661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 Py_INCREF(Py_None
); resultobj
= Py_None
;
15676 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15677 PyObject
*resultobj
;
15678 wxListItem
*arg1
= (wxListItem
*) 0 ;
15679 wxColour
*arg2
= 0 ;
15681 PyObject
* obj0
= 0 ;
15682 PyObject
* obj1
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self",(char *) "colText", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15691 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15697 wxPyEndAllowThreads(__tstate
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15700 Py_INCREF(Py_None
); resultobj
= Py_None
;
15707 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15708 PyObject
*resultobj
;
15709 wxListItem
*arg1
= (wxListItem
*) 0 ;
15710 wxColour
*arg2
= 0 ;
15712 PyObject
* obj0
= 0 ;
15713 PyObject
* obj1
= 0 ;
15714 char *kwnames
[] = {
15715 (char *) "self",(char *) "colBack", NULL
15718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15722 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15731 Py_INCREF(Py_None
); resultobj
= Py_None
;
15738 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15739 PyObject
*resultobj
;
15740 wxListItem
*arg1
= (wxListItem
*) 0 ;
15742 PyObject
* obj0
= 0 ;
15743 PyObject
* obj1
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "self",(char *) "font", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15750 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15751 if (arg2
== NULL
) {
15752 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 (arg1
)->SetFont((wxFont
const &)*arg2
);
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 Py_INCREF(Py_None
); resultobj
= Py_None
;
15768 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
;
15770 wxListItem
*arg1
= (wxListItem
*) 0 ;
15772 PyObject
* obj0
= 0 ;
15773 char *kwnames
[] = {
15774 (char *) "self", NULL
15777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
15778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 result
= (long)(arg1
)->GetMask();
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15786 resultobj
= PyInt_FromLong((long)result
);
15793 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
;
15795 wxListItem
*arg1
= (wxListItem
*) 0 ;
15797 PyObject
* obj0
= 0 ;
15798 char *kwnames
[] = {
15799 (char *) "self", NULL
15802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
15803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 result
= (long)(arg1
)->GetId();
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15811 resultobj
= PyInt_FromLong((long)result
);
15818 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15820 wxListItem
*arg1
= (wxListItem
*) 0 ;
15822 PyObject
* obj0
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15831 result
= (int)(arg1
)->GetColumn();
15833 wxPyEndAllowThreads(__tstate
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15836 resultobj
= PyInt_FromLong((long)result
);
15843 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15844 PyObject
*resultobj
;
15845 wxListItem
*arg1
= (wxListItem
*) 0 ;
15847 PyObject
* obj0
= 0 ;
15848 char *kwnames
[] = {
15849 (char *) "self", NULL
15852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
15853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 result
= (long)(arg1
)->GetState();
15858 wxPyEndAllowThreads(__tstate
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= PyInt_FromLong((long)result
);
15868 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
;
15870 wxListItem
*arg1
= (wxListItem
*) 0 ;
15872 PyObject
* obj0
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "self", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
15878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15882 wxString
const &_result_ref
= (arg1
)->GetText();
15883 result
= (wxString
*) &_result_ref
;
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
15896 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
;
15898 wxListItem
*arg1
= (wxListItem
*) 0 ;
15900 PyObject
* obj0
= 0 ;
15901 char *kwnames
[] = {
15902 (char *) "self", NULL
15905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
15906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 result
= (int)(arg1
)->GetImage();
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15914 resultobj
= PyInt_FromLong((long)result
);
15921 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15922 PyObject
*resultobj
;
15923 wxListItem
*arg1
= (wxListItem
*) 0 ;
15925 PyObject
* obj0
= 0 ;
15926 char *kwnames
[] = {
15927 (char *) "self", NULL
15930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
15931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15934 result
= (long)(arg1
)->GetData();
15936 wxPyEndAllowThreads(__tstate
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15939 resultobj
= PyInt_FromLong((long)result
);
15946 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15947 PyObject
*resultobj
;
15948 wxListItem
*arg1
= (wxListItem
*) 0 ;
15950 PyObject
* obj0
= 0 ;
15951 char *kwnames
[] = {
15952 (char *) "self", NULL
15955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
15956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 result
= (int)(arg1
)->GetWidth();
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 resultobj
= PyInt_FromLong((long)result
);
15971 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
;
15973 wxListItem
*arg1
= (wxListItem
*) 0 ;
15975 PyObject
* obj0
= 0 ;
15976 char *kwnames
[] = {
15977 (char *) "self", NULL
15980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
15981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 result
= (int)(arg1
)->GetAlign();
15986 wxPyEndAllowThreads(__tstate
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15989 resultobj
= PyInt_FromLong((long)result
);
15996 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
;
15998 wxListItem
*arg1
= (wxListItem
*) 0 ;
15999 wxListItemAttr
*result
;
16000 PyObject
* obj0
= 0 ;
16001 char *kwnames
[] = {
16002 (char *) "self", NULL
16005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
16006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16014 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
16021 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16022 PyObject
*resultobj
;
16023 wxListItem
*arg1
= (wxListItem
*) 0 ;
16025 PyObject
* obj0
= 0 ;
16026 char *kwnames
[] = {
16027 (char *) "self", NULL
16030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
16031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 result
= (bool)(arg1
)->HasAttributes();
16036 wxPyEndAllowThreads(__tstate
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16039 resultobj
= PyInt_FromLong((long)result
);
16046 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
;
16048 wxListItem
*arg1
= (wxListItem
*) 0 ;
16050 PyObject
* obj0
= 0 ;
16051 char *kwnames
[] = {
16052 (char *) "self", NULL
16055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
16056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16059 result
= ((wxListItem
const *)arg1
)->GetTextColour();
16061 wxPyEndAllowThreads(__tstate
);
16062 if (PyErr_Occurred()) SWIG_fail
;
16065 wxColour
* resultptr
;
16066 resultptr
= new wxColour((wxColour
&) result
);
16067 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16075 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16077 wxListItem
*arg1
= (wxListItem
*) 0 ;
16079 PyObject
* obj0
= 0 ;
16080 char *kwnames
[] = {
16081 (char *) "self", NULL
16084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
16085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16094 wxColour
* resultptr
;
16095 resultptr
= new wxColour((wxColour
&) result
);
16096 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16104 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16105 PyObject
*resultobj
;
16106 wxListItem
*arg1
= (wxListItem
*) 0 ;
16108 PyObject
* obj0
= 0 ;
16109 char *kwnames
[] = {
16110 (char *) "self", NULL
16113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
16114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16117 result
= ((wxListItem
const *)arg1
)->GetFont();
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16123 wxFont
* resultptr
;
16124 resultptr
= new wxFont((wxFont
&) result
);
16125 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
16133 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16134 PyObject
*resultobj
;
16135 wxListItem
*arg1
= (wxListItem
*) 0 ;
16137 PyObject
* obj0
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "self",(char *) "m_mask", NULL
16142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_mask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16144 if (arg1
) (arg1
)->m_mask
= arg2
;
16146 Py_INCREF(Py_None
); resultobj
= Py_None
;
16153 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16154 PyObject
*resultobj
;
16155 wxListItem
*arg1
= (wxListItem
*) 0 ;
16157 PyObject
* obj0
= 0 ;
16158 char *kwnames
[] = {
16159 (char *) "self", NULL
16162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
16163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16164 result
= (long) ((arg1
)->m_mask
);
16166 resultobj
= PyInt_FromLong((long)result
);
16173 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16174 PyObject
*resultobj
;
16175 wxListItem
*arg1
= (wxListItem
*) 0 ;
16177 PyObject
* obj0
= 0 ;
16178 char *kwnames
[] = {
16179 (char *) "self",(char *) "m_itemId", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_itemId_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16184 if (arg1
) (arg1
)->m_itemId
= arg2
;
16186 Py_INCREF(Py_None
); resultobj
= Py_None
;
16193 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16194 PyObject
*resultobj
;
16195 wxListItem
*arg1
= (wxListItem
*) 0 ;
16197 PyObject
* obj0
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
16203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16204 result
= (long) ((arg1
)->m_itemId
);
16206 resultobj
= PyInt_FromLong((long)result
);
16213 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16214 PyObject
*resultobj
;
16215 wxListItem
*arg1
= (wxListItem
*) 0 ;
16217 PyObject
* obj0
= 0 ;
16218 char *kwnames
[] = {
16219 (char *) "self",(char *) "m_col", NULL
16222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16224 if (arg1
) (arg1
)->m_col
= arg2
;
16226 Py_INCREF(Py_None
); resultobj
= Py_None
;
16233 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16234 PyObject
*resultobj
;
16235 wxListItem
*arg1
= (wxListItem
*) 0 ;
16237 PyObject
* obj0
= 0 ;
16238 char *kwnames
[] = {
16239 (char *) "self", NULL
16242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
16243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16244 result
= (int) ((arg1
)->m_col
);
16246 resultobj
= PyInt_FromLong((long)result
);
16253 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
;
16255 wxListItem
*arg1
= (wxListItem
*) 0 ;
16257 PyObject
* obj0
= 0 ;
16258 char *kwnames
[] = {
16259 (char *) "self",(char *) "m_state", NULL
16262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_state_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16264 if (arg1
) (arg1
)->m_state
= arg2
;
16266 Py_INCREF(Py_None
); resultobj
= Py_None
;
16273 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16274 PyObject
*resultobj
;
16275 wxListItem
*arg1
= (wxListItem
*) 0 ;
16277 PyObject
* obj0
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "self", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
16283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16284 result
= (long) ((arg1
)->m_state
);
16286 resultobj
= PyInt_FromLong((long)result
);
16293 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16294 PyObject
*resultobj
;
16295 wxListItem
*arg1
= (wxListItem
*) 0 ;
16297 PyObject
* obj0
= 0 ;
16298 char *kwnames
[] = {
16299 (char *) "self",(char *) "m_stateMask", NULL
16302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_stateMask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16304 if (arg1
) (arg1
)->m_stateMask
= arg2
;
16306 Py_INCREF(Py_None
); resultobj
= Py_None
;
16313 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxListItem
*arg1
= (wxListItem
*) 0 ;
16317 PyObject
* obj0
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self", NULL
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
16323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16324 result
= (long) ((arg1
)->m_stateMask
);
16326 resultobj
= PyInt_FromLong((long)result
);
16333 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxListItem
*arg1
= (wxListItem
*) 0 ;
16337 PyObject
* obj0
= 0 ;
16338 PyObject
* obj1
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self",(char *) "m_text", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16346 wxString
* sptr
= wxString_in_helper(obj1
);
16347 if (sptr
== NULL
) SWIG_fail
;
16351 if (arg1
) (arg1
)->m_text
= arg2
;
16353 Py_INCREF(Py_None
); resultobj
= Py_None
;
16360 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
;
16362 wxListItem
*arg1
= (wxListItem
*) 0 ;
16364 PyObject
* obj0
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
16370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16371 result
= ((arg1
)->m_text
);
16375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16386 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
;
16388 wxListItem
*arg1
= (wxListItem
*) 0 ;
16390 PyObject
* obj0
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "self",(char *) "m_image", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_image_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16397 if (arg1
) (arg1
)->m_image
= arg2
;
16399 Py_INCREF(Py_None
); resultobj
= Py_None
;
16406 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16407 PyObject
*resultobj
;
16408 wxListItem
*arg1
= (wxListItem
*) 0 ;
16410 PyObject
* obj0
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "self", NULL
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
16416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16417 result
= (int) ((arg1
)->m_image
);
16419 resultobj
= PyInt_FromLong((long)result
);
16426 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxListItem
*arg1
= (wxListItem
*) 0 ;
16430 PyObject
* obj0
= 0 ;
16431 char *kwnames
[] = {
16432 (char *) "self",(char *) "m_data", NULL
16435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_data_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16437 if (arg1
) (arg1
)->m_data
= arg2
;
16439 Py_INCREF(Py_None
); resultobj
= Py_None
;
16446 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxListItem
*arg1
= (wxListItem
*) 0 ;
16450 PyObject
* obj0
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "self", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
16456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16457 result
= (long) ((arg1
)->m_data
);
16459 resultobj
= PyInt_FromLong((long)result
);
16466 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16467 PyObject
*resultobj
;
16468 wxListItem
*arg1
= (wxListItem
*) 0 ;
16470 PyObject
* obj0
= 0 ;
16471 char *kwnames
[] = {
16472 (char *) "self",(char *) "m_format", NULL
16475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_format_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16477 if (arg1
) (arg1
)->m_format
= arg2
;
16479 Py_INCREF(Py_None
); resultobj
= Py_None
;
16486 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16487 PyObject
*resultobj
;
16488 wxListItem
*arg1
= (wxListItem
*) 0 ;
16490 PyObject
* obj0
= 0 ;
16491 char *kwnames
[] = {
16492 (char *) "self", NULL
16495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
16496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16497 result
= (int) ((arg1
)->m_format
);
16499 resultobj
= PyInt_FromLong((long)result
);
16506 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16507 PyObject
*resultobj
;
16508 wxListItem
*arg1
= (wxListItem
*) 0 ;
16510 PyObject
* obj0
= 0 ;
16511 char *kwnames
[] = {
16512 (char *) "self",(char *) "m_width", NULL
16515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16517 if (arg1
) (arg1
)->m_width
= arg2
;
16519 Py_INCREF(Py_None
); resultobj
= Py_None
;
16526 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16527 PyObject
*resultobj
;
16528 wxListItem
*arg1
= (wxListItem
*) 0 ;
16530 PyObject
* obj0
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "self", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
16536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16537 result
= (int) ((arg1
)->m_width
);
16539 resultobj
= PyInt_FromLong((long)result
);
16546 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
16548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16549 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
16551 return Py_BuildValue((char *)"");
16553 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16556 int arg2
= (int) 0 ;
16557 wxListEvent
*result
;
16558 char *kwnames
[] = {
16559 (char *) "commandType",(char *) "id", NULL
16562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_ListEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
16564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16565 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
16567 wxPyEndAllowThreads(__tstate
);
16568 if (PyErr_Occurred()) SWIG_fail
;
16570 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
16577 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
;
16579 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16581 PyObject
* obj0
= 0 ;
16582 char *kwnames
[] = {
16583 (char *) "self",(char *) "m_code", NULL
16586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_code_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16588 if (arg1
) (arg1
)->m_code
= arg2
;
16590 Py_INCREF(Py_None
); resultobj
= Py_None
;
16597 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
;
16599 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16601 PyObject
* obj0
= 0 ;
16602 char *kwnames
[] = {
16603 (char *) "self", NULL
16606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
16607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16608 result
= (int) ((arg1
)->m_code
);
16610 resultobj
= PyInt_FromLong((long)result
);
16617 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16621 PyObject
* obj0
= 0 ;
16622 char *kwnames
[] = {
16623 (char *) "self",(char *) "m_oldItemIndex", NULL
16626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16628 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
16630 Py_INCREF(Py_None
); resultobj
= Py_None
;
16637 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16641 PyObject
* obj0
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "self", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
16647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16648 result
= (long) ((arg1
)->m_oldItemIndex
);
16650 resultobj
= PyInt_FromLong((long)result
);
16657 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
;
16659 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16661 PyObject
* obj0
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "self",(char *) "m_itemIndex", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16668 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
16670 Py_INCREF(Py_None
); resultobj
= Py_None
;
16677 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16678 PyObject
*resultobj
;
16679 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16681 PyObject
* obj0
= 0 ;
16682 char *kwnames
[] = {
16683 (char *) "self", NULL
16686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
16687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16688 result
= (long) ((arg1
)->m_itemIndex
);
16690 resultobj
= PyInt_FromLong((long)result
);
16697 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16698 PyObject
*resultobj
;
16699 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16701 PyObject
* obj0
= 0 ;
16702 char *kwnames
[] = {
16703 (char *) "self",(char *) "m_col", NULL
16706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16708 if (arg1
) (arg1
)->m_col
= arg2
;
16710 Py_INCREF(Py_None
); resultobj
= Py_None
;
16717 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16718 PyObject
*resultobj
;
16719 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16721 PyObject
* obj0
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
16727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16728 result
= (int) ((arg1
)->m_col
);
16730 resultobj
= PyInt_FromLong((long)result
);
16737 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16738 PyObject
*resultobj
;
16739 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16740 wxPoint
*arg2
= (wxPoint
*) 0 ;
16741 PyObject
* obj0
= 0 ;
16742 PyObject
* obj1
= 0 ;
16743 char *kwnames
[] = {
16744 (char *) "self",(char *) "m_pointDrag", NULL
16747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16749 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16750 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
16752 Py_INCREF(Py_None
); resultobj
= Py_None
;
16759 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16760 PyObject
*resultobj
;
16761 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16763 PyObject
* obj0
= 0 ;
16764 char *kwnames
[] = {
16765 (char *) "self", NULL
16768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
16769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16770 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
16772 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16779 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
;
16781 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16782 wxListItem
*result
;
16783 PyObject
* obj0
= 0 ;
16784 char *kwnames
[] = {
16785 (char *) "self", NULL
16788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
16789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16790 result
= (wxListItem
*)& ((arg1
)->m_item
);
16793 resultobj
= wxPyMake_wxObject(result
);
16801 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16805 PyObject
* obj0
= 0 ;
16806 char *kwnames
[] = {
16807 (char *) "self", NULL
16810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
16811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 result
= (int)(arg1
)->GetKeyCode();
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16819 resultobj
= PyInt_FromLong((long)result
);
16826 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16827 PyObject
*resultobj
;
16828 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16830 PyObject
* obj0
= 0 ;
16831 char *kwnames
[] = {
16832 (char *) "self", NULL
16835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
16836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16839 result
= (long)(arg1
)->GetIndex();
16841 wxPyEndAllowThreads(__tstate
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16844 resultobj
= PyInt_FromLong((long)result
);
16851 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16852 PyObject
*resultobj
;
16853 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16855 PyObject
* obj0
= 0 ;
16856 char *kwnames
[] = {
16857 (char *) "self", NULL
16860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
16861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 result
= (int)(arg1
)->GetColumn();
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 resultobj
= PyInt_FromLong((long)result
);
16876 static PyObject
*_wrap_ListEvent_GetPoint(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_GetPoint",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();
16889 result
= (arg1
)->GetPoint();
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16895 wxPoint
* resultptr
;
16896 resultptr
= new wxPoint((wxPoint
&) result
);
16897 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16905 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16906 PyObject
*resultobj
;
16907 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16909 PyObject
* obj0
= 0 ;
16910 char *kwnames
[] = {
16911 (char *) "self", NULL
16914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
16915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 wxString
const &_result_ref
= (arg1
)->GetLabel();
16920 result
= (wxString
*) &_result_ref
;
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16926 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
16933 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16934 PyObject
*resultobj
;
16935 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16937 PyObject
* obj0
= 0 ;
16938 char *kwnames
[] = {
16939 (char *) "self", NULL
16942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
16943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 wxString
const &_result_ref
= (arg1
)->GetText();
16948 result
= (wxString
*) &_result_ref
;
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16954 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
16961 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16962 PyObject
*resultobj
;
16963 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16965 PyObject
* obj0
= 0 ;
16966 char *kwnames
[] = {
16967 (char *) "self", NULL
16970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
16971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 result
= (int)(arg1
)->GetImage();
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= PyInt_FromLong((long)result
);
16986 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
16996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 result
= (long)(arg1
)->GetData();
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17004 resultobj
= PyInt_FromLong((long)result
);
17011 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
;
17013 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17015 PyObject
* obj0
= 0 ;
17016 char *kwnames
[] = {
17017 (char *) "self", NULL
17020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
17021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 result
= (long)(arg1
)->GetMask();
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17029 resultobj
= PyInt_FromLong((long)result
);
17036 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
;
17038 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17039 wxListItem
*result
;
17040 PyObject
* obj0
= 0 ;
17041 char *kwnames
[] = {
17042 (char *) "self", NULL
17045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
17046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 wxListItem
const &_result_ref
= (arg1
)->GetItem();
17051 result
= (wxListItem
*) &_result_ref
;
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17057 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
17064 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17068 PyObject
* obj0
= 0 ;
17069 char *kwnames
[] = {
17070 (char *) "self", NULL
17073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
17074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17077 result
= (long)(arg1
)->GetCacheFrom();
17079 wxPyEndAllowThreads(__tstate
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17082 resultobj
= PyInt_FromLong((long)result
);
17089 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17090 PyObject
*resultobj
;
17091 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17093 PyObject
* obj0
= 0 ;
17094 char *kwnames
[] = {
17095 (char *) "self", NULL
17098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
17099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 result
= (long)(arg1
)->GetCacheTo();
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17107 resultobj
= PyInt_FromLong((long)result
);
17114 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
;
17116 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17118 PyObject
* obj0
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "self", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
17124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
17129 wxPyEndAllowThreads(__tstate
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17132 resultobj
= PyInt_FromLong((long)result
);
17139 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17143 PyObject
* obj0
= 0 ;
17144 PyObject
* obj1
= 0 ;
17145 char *kwnames
[] = {
17146 (char *) "self",(char *) "editCancelled", NULL
17149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
17150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17151 arg2
= PyInt_AsLong(obj1
) ? true : false;
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 (arg1
)->SetEditCanceled(arg2
);
17157 wxPyEndAllowThreads(__tstate
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17160 Py_INCREF(Py_None
); resultobj
= Py_None
;
17167 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17170 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
17172 return Py_BuildValue((char *)"");
17174 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxWindow
*arg1
= (wxWindow
*) 0 ;
17177 int arg2
= (int) -1 ;
17178 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17179 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17180 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17181 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17182 long arg5
= (long) wxLC_ICON
;
17183 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
17184 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
17185 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
17186 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17187 wxPyListCtrl
*result
;
17190 bool temp7
= False
;
17191 PyObject
* obj0
= 0 ;
17192 PyObject
* obj2
= 0 ;
17193 PyObject
* obj3
= 0 ;
17194 PyObject
* obj5
= 0 ;
17195 PyObject
* obj6
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
17201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17205 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17211 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17215 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17216 if (arg6
== NULL
) {
17217 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17222 arg7
= wxString_in_helper(obj6
);
17223 if (arg7
== NULL
) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17249 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17250 PyObject
*resultobj
;
17251 wxPyListCtrl
*result
;
17252 char *kwnames
[] = {
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
17258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17259 result
= (wxPyListCtrl
*)new wxPyListCtrl();
17261 wxPyEndAllowThreads(__tstate
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17264 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17271 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
;
17273 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17274 wxWindow
*arg2
= (wxWindow
*) 0 ;
17275 int arg3
= (int) -1 ;
17276 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17277 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17278 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17279 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17280 long arg6
= (long) wxLC_ICON
;
17281 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17282 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17283 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
17284 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17288 bool temp8
= False
;
17289 PyObject
* obj0
= 0 ;
17290 PyObject
* obj1
= 0 ;
17291 PyObject
* obj3
= 0 ;
17292 PyObject
* obj4
= 0 ;
17293 PyObject
* obj6
= 0 ;
17294 PyObject
* obj7
= 0 ;
17295 char *kwnames
[] = {
17296 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
17300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17301 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17305 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17311 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17315 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17316 if (arg7
== NULL
) {
17317 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17322 arg8
= wxString_in_helper(obj7
);
17323 if (arg8
== NULL
) SWIG_fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17331 wxPyEndAllowThreads(__tstate
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= PyInt_FromLong((long)result
);
17349 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
;
17351 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17352 PyObject
*arg2
= (PyObject
*) 0 ;
17353 PyObject
*arg3
= (PyObject
*) 0 ;
17354 PyObject
* obj0
= 0 ;
17355 PyObject
* obj1
= 0 ;
17356 PyObject
* obj2
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "self",(char *) "self",(char *) "_class", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17372 Py_INCREF(Py_None
); resultobj
= Py_None
;
17379 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
;
17381 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17382 wxColour
*arg2
= 0 ;
17385 PyObject
* obj0
= 0 ;
17386 PyObject
* obj1
= 0 ;
17387 char *kwnames
[] = {
17388 (char *) "self",(char *) "col", NULL
17391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17395 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17404 resultobj
= PyInt_FromLong((long)result
);
17411 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
;
17413 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17414 wxColour
*arg2
= 0 ;
17417 PyObject
* obj0
= 0 ;
17418 PyObject
* obj1
= 0 ;
17419 char *kwnames
[] = {
17420 (char *) "self",(char *) "col", NULL
17423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17427 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17431 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17433 wxPyEndAllowThreads(__tstate
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17436 resultobj
= PyInt_FromLong((long)result
);
17443 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17444 PyObject
*resultobj
;
17445 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17447 wxListItem
*result
;
17448 PyObject
* obj0
= 0 ;
17449 char *kwnames
[] = {
17450 (char *) "self",(char *) "col", NULL
17453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
17454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17463 resultobj
= wxPyMake_wxObject(result
);
17471 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
;
17473 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17475 wxListItem
*arg3
= 0 ;
17477 PyObject
* obj0
= 0 ;
17478 PyObject
* obj2
= 0 ;
17479 char *kwnames
[] = {
17480 (char *) "self",(char *) "col",(char *) "item", NULL
17483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ListCtrl_SetColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17485 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17486 if (arg3
== NULL
) {
17487 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
17493 wxPyEndAllowThreads(__tstate
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17496 resultobj
= PyInt_FromLong((long)result
);
17503 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17504 PyObject
*resultobj
;
17505 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17508 PyObject
* obj0
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "self",(char *) "col", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
17514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17517 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
17519 wxPyEndAllowThreads(__tstate
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17522 resultobj
= PyInt_FromLong((long)result
);
17529 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17530 PyObject
*resultobj
;
17531 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17535 PyObject
* obj0
= 0 ;
17536 char *kwnames
[] = {
17537 (char *) "self",(char *) "col",(char *) "width", NULL
17540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17544 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
17546 wxPyEndAllowThreads(__tstate
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17549 resultobj
= PyInt_FromLong((long)result
);
17556 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17560 PyObject
* obj0
= 0 ;
17561 char *kwnames
[] = {
17562 (char *) "self", NULL
17565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
17566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17574 resultobj
= PyInt_FromLong((long)result
);
17581 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17582 PyObject
*resultobj
;
17583 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17585 PyObject
* obj0
= 0 ;
17586 char *kwnames
[] = {
17587 (char *) "self", NULL
17590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
17591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17594 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
17596 wxPyEndAllowThreads(__tstate
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17600 wxRect
* resultptr
;
17601 resultptr
= new wxRect((wxRect
&) result
);
17602 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
17610 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17611 PyObject
*resultobj
;
17612 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17614 int arg3
= (int) 0 ;
17615 wxListItem
*result
;
17616 PyObject
* obj0
= 0 ;
17617 char *kwnames
[] = {
17618 (char *) "self",(char *) "itemId",(char *) "col", NULL
17621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17631 resultobj
= wxPyMake_wxObject(result
);
17639 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17640 PyObject
*resultobj
;
17641 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17642 wxListItem
*arg2
= 0 ;
17644 PyObject
* obj0
= 0 ;
17645 PyObject
* obj1
= 0 ;
17646 char *kwnames
[] = {
17647 (char *) "self",(char *) "info", NULL
17650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17652 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17653 if (arg2
== NULL
) {
17654 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 result
= (bool)(arg1
)->SetItem(*arg2
);
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17663 resultobj
= PyInt_FromLong((long)result
);
17670 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
;
17672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17675 wxString
*arg4
= 0 ;
17676 int arg5
= (int) -1 ;
17678 bool temp4
= False
;
17679 PyObject
* obj0
= 0 ;
17680 PyObject
* obj3
= 0 ;
17681 char *kwnames
[] = {
17682 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
17686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17688 arg4
= wxString_in_helper(obj3
);
17689 if (arg4
== NULL
) SWIG_fail
;
17693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17694 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17699 resultobj
= PyInt_FromLong((long)result
);
17714 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
;
17716 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17720 PyObject
* obj0
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_GetItemState",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
17731 wxPyEndAllowThreads(__tstate
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17734 resultobj
= PyInt_FromLong((long)result
);
17741 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17742 PyObject
*resultobj
;
17743 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17748 PyObject
* obj0
= 0 ;
17749 char *kwnames
[] = {
17750 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olll:ListCtrl_SetItemState",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
17754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
17759 wxPyEndAllowThreads(__tstate
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17762 resultobj
= PyInt_FromLong((long)result
);
17769 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
;
17771 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17776 PyObject
* obj0
= 0 ;
17777 char *kwnames
[] = {
17778 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olii:ListCtrl_SetItemImage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
17782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17790 resultobj
= PyInt_FromLong((long)result
);
17797 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
;
17799 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17802 PyObject
* obj0
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self",(char *) "item", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemText",kwnames
,&obj0
,&arg2
)) goto fail
;
17808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17829 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
;
17831 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17833 wxString
*arg3
= 0 ;
17834 bool temp3
= False
;
17835 PyObject
* obj0
= 0 ;
17836 PyObject
* obj2
= 0 ;
17837 char *kwnames
[] = {
17838 (char *) "self",(char *) "item",(char *) "str", NULL
17841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemText",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17844 arg3
= wxString_in_helper(obj2
);
17845 if (arg3
== NULL
) SWIG_fail
;
17849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17850 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 Py_INCREF(Py_None
); resultobj
= Py_None
;
17870 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17871 PyObject
*resultobj
;
17872 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17875 PyObject
* obj0
= 0 ;
17876 char *kwnames
[] = {
17877 (char *) "self",(char *) "item", NULL
17880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemData",kwnames
,&obj0
,&arg2
)) goto fail
;
17881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
17886 wxPyEndAllowThreads(__tstate
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17889 resultobj
= PyInt_FromLong((long)result
);
17896 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17897 PyObject
*resultobj
;
17898 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17902 PyObject
* obj0
= 0 ;
17903 char *kwnames
[] = {
17904 (char *) "self",(char *) "item",(char *) "data", NULL
17907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_SetItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 resultobj
= PyInt_FromLong((long)result
);
17923 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
;
17925 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17928 PyObject
* obj0
= 0 ;
17929 char *kwnames
[] = {
17930 (char *) "self",(char *) "item", NULL
17933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
17934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17943 wxPoint
* resultptr
;
17944 resultptr
= new wxPoint((wxPoint
&) result
);
17945 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17953 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17954 PyObject
*resultobj
;
17955 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17957 int arg3
= (int) wxLIST_RECT_BOUNDS
;
17959 PyObject
* obj0
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "self",(char *) "item",(char *) "code", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17974 wxRect
* resultptr
;
17975 resultptr
= new wxRect((wxRect
&) result
);
17976 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
17984 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17988 wxPoint
*arg3
= 0 ;
17991 PyObject
* obj0
= 0 ;
17992 PyObject
* obj2
= 0 ;
17993 char *kwnames
[] = {
17994 (char *) "self",(char *) "item",(char *) "pos", NULL
17997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18001 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18010 resultobj
= PyInt_FromLong((long)result
);
18017 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
;
18019 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18021 PyObject
* obj0
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
18027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18030 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
18032 wxPyEndAllowThreads(__tstate
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18035 resultobj
= PyInt_FromLong((long)result
);
18042 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18043 PyObject
*resultobj
;
18044 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18046 PyObject
* obj0
= 0 ;
18047 char *kwnames
[] = {
18048 (char *) "self", NULL
18051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
18052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
18057 wxPyEndAllowThreads(__tstate
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18060 resultobj
= PyInt_FromLong((long)result
);
18067 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18069 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18071 PyObject
* obj0
= 0 ;
18072 char *kwnames
[] = {
18073 (char *) "self", NULL
18076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
18077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
18082 wxPyEndAllowThreads(__tstate
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18086 wxSize
* resultptr
;
18087 resultptr
= new wxSize((wxSize
&) result
);
18088 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
18096 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18097 PyObject
*resultobj
;
18098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18100 bool arg3
= (bool) False
;
18101 PyObject
* obj0
= 0 ;
18102 PyObject
* obj2
= 0 ;
18103 char *kwnames
[] = {
18104 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18110 arg3
= PyInt_AsLong(obj2
) ? true : false;
18111 if (PyErr_Occurred()) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 (arg1
)->SetItemSpacing(arg2
,arg3
);
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 Py_INCREF(Py_None
); resultobj
= Py_None
;
18127 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18131 PyObject
* obj0
= 0 ;
18132 char *kwnames
[] = {
18133 (char *) "self", NULL
18136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
18137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18140 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 resultobj
= PyInt_FromLong((long)result
);
18152 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18153 PyObject
*resultobj
;
18154 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18156 PyObject
* obj0
= 0 ;
18157 char *kwnames
[] = {
18158 (char *) "self", NULL
18161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
18162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18171 wxColour
* resultptr
;
18172 resultptr
= new wxColour((wxColour
&) result
);
18173 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18181 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18182 PyObject
*resultobj
;
18183 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18184 wxColour
*arg2
= 0 ;
18186 PyObject
* obj0
= 0 ;
18187 PyObject
* obj1
= 0 ;
18188 char *kwnames
[] = {
18189 (char *) "self",(char *) "col", NULL
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18196 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18205 Py_INCREF(Py_None
); resultobj
= Py_None
;
18212 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18213 PyObject
*resultobj
;
18214 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18216 PyObject
* obj0
= 0 ;
18217 char *kwnames
[] = {
18218 (char *) "self", NULL
18221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
18222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18225 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
18227 wxPyEndAllowThreads(__tstate
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 resultobj
= PyInt_FromLong((long)result
);
18237 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
;
18239 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18241 bool arg3
= (bool) True
;
18242 PyObject
* obj0
= 0 ;
18243 PyObject
* obj2
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self",(char *) "style",(char *) "add", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18251 arg3
= PyInt_AsLong(obj2
) ? true : false;
18252 if (PyErr_Occurred()) SWIG_fail
;
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 (arg1
)->SetSingleStyle(arg2
,arg3
);
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18261 Py_INCREF(Py_None
); resultobj
= Py_None
;
18268 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18272 PyObject
* obj0
= 0 ;
18273 char *kwnames
[] = {
18274 (char *) "self",(char *) "style", NULL
18277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
18278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18281 (arg1
)->SetWindowStyleFlag(arg2
);
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18286 Py_INCREF(Py_None
); resultobj
= Py_None
;
18293 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
;
18295 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18297 int arg3
= (int) wxLIST_NEXT_ALL
;
18298 int arg4
= (int) wxLIST_STATE_DONTCARE
;
18300 PyObject
* obj0
= 0 ;
18301 char *kwnames
[] = {
18302 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18314 resultobj
= PyInt_FromLong((long)result
);
18321 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
;
18323 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18325 wxImageList
*result
;
18326 PyObject
* obj0
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "self",(char *) "which", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetImageList",kwnames
,&obj0
,&arg2
)) goto fail
;
18332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= wxPyMake_wxObject(result
);
18349 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18352 wxImageList
*arg2
= (wxImageList
*) 0 ;
18354 PyObject
* obj0
= 0 ;
18355 PyObject
* obj1
= 0 ;
18356 char *kwnames
[] = {
18357 (char *) "self",(char *) "imageList",(char *) "which", NULL
18360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18362 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 (arg1
)->SetImageList(arg2
,arg3
);
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18370 Py_INCREF(Py_None
); resultobj
= Py_None
;
18377 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
;
18379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18380 wxImageList
*arg2
= (wxImageList
*) 0 ;
18382 PyObject
* obj0
= 0 ;
18383 PyObject
* obj1
= 0 ;
18384 char *kwnames
[] = {
18385 (char *) "self",(char *) "imageList",(char *) "which", NULL
18388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18390 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 (arg1
)->AssignImageList(arg2
,arg3
);
18395 wxPyEndAllowThreads(__tstate
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18398 Py_INCREF(Py_None
); resultobj
= Py_None
;
18405 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
;
18407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18409 PyObject
* obj0
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
18415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= PyInt_FromLong((long)result
);
18430 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18432 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18434 PyObject
* obj0
= 0 ;
18435 char *kwnames
[] = {
18436 (char *) "self",(char *) "item", NULL
18439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_RefreshItem",kwnames
,&obj0
,&arg2
)) goto fail
;
18440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 (arg1
)->RefreshItem(arg2
);
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18448 Py_INCREF(Py_None
); resultobj
= Py_None
;
18455 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
;
18457 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18460 PyObject
* obj0
= 0 ;
18461 char *kwnames
[] = {
18462 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_RefreshItems",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 (arg1
)->RefreshItems(arg2
,arg3
);
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 Py_INCREF(Py_None
); resultobj
= Py_None
;
18481 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
;
18483 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18484 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self",(char *) "flag", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListCtrl_Arrange",kwnames
,&obj0
,&arg2
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18495 result
= (bool)(arg1
)->Arrange(arg2
);
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18500 resultobj
= PyInt_FromLong((long)result
);
18507 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18508 PyObject
*resultobj
;
18509 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18512 PyObject
* obj0
= 0 ;
18513 char *kwnames
[] = {
18514 (char *) "self",(char *) "item", NULL
18517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_DeleteItem",kwnames
,&obj0
,&arg2
)) goto fail
;
18518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 result
= (bool)(arg1
)->DeleteItem(arg2
);
18523 wxPyEndAllowThreads(__tstate
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18526 resultobj
= PyInt_FromLong((long)result
);
18533 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
;
18535 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18537 PyObject
* obj0
= 0 ;
18538 char *kwnames
[] = {
18539 (char *) "self", NULL
18542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
18543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18546 result
= (bool)(arg1
)->DeleteAllItems();
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18551 resultobj
= PyInt_FromLong((long)result
);
18558 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18559 PyObject
*resultobj
;
18560 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18563 PyObject
* obj0
= 0 ;
18564 char *kwnames
[] = {
18565 (char *) "self",(char *) "col", NULL
18568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_DeleteColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
18569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 result
= (bool)(arg1
)->DeleteColumn(arg2
);
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18577 resultobj
= PyInt_FromLong((long)result
);
18584 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18585 PyObject
*resultobj
;
18586 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18588 PyObject
* obj0
= 0 ;
18589 char *kwnames
[] = {
18590 (char *) "self", NULL
18593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
18594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 result
= (bool)(arg1
)->DeleteAllColumns();
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 resultobj
= PyInt_FromLong((long)result
);
18609 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18612 PyObject
* obj0
= 0 ;
18613 char *kwnames
[] = {
18614 (char *) "self", NULL
18617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
18618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 (arg1
)->ClearAll();
18623 wxPyEndAllowThreads(__tstate
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18626 Py_INCREF(Py_None
); resultobj
= Py_None
;
18633 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18634 PyObject
*resultobj
;
18635 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18637 PyObject
* obj0
= 0 ;
18638 char *kwnames
[] = {
18639 (char *) "self",(char *) "item", NULL
18642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EditLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
18643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 (arg1
)->EditLabel(arg2
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 Py_INCREF(Py_None
); resultobj
= Py_None
;
18658 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
;
18660 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18663 PyObject
* obj0
= 0 ;
18664 char *kwnames
[] = {
18665 (char *) "self",(char *) "item", NULL
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
18669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 result
= (bool)(arg1
)->EnsureVisible(arg2
);
18674 wxPyEndAllowThreads(__tstate
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18677 resultobj
= PyInt_FromLong((long)result
);
18684 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18685 PyObject
*resultobj
;
18686 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18688 wxString
*arg3
= 0 ;
18689 bool arg4
= (bool) False
;
18691 bool temp3
= False
;
18692 PyObject
* obj0
= 0 ;
18693 PyObject
* obj2
= 0 ;
18694 PyObject
* obj3
= 0 ;
18695 char *kwnames
[] = {
18696 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|O:ListCtrl_FindItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
18700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18702 arg3
= wxString_in_helper(obj2
);
18703 if (arg3
== NULL
) SWIG_fail
;
18707 arg4
= PyInt_AsLong(obj3
) ? true : false;
18708 if (PyErr_Occurred()) SWIG_fail
;
18711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18712 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
18714 wxPyEndAllowThreads(__tstate
);
18715 if (PyErr_Occurred()) SWIG_fail
;
18717 resultobj
= PyInt_FromLong((long)result
);
18732 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18738 PyObject
* obj0
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self",(char *) "start",(char *) "data", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_FindItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18747 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 resultobj
= PyInt_FromLong((long)result
);
18759 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18763 wxPoint
*arg3
= 0 ;
18767 PyObject
* obj0
= 0 ;
18768 PyObject
* obj2
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18777 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= PyInt_FromLong((long)result
);
18793 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
;
18795 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18796 wxPoint
*arg2
= 0 ;
18801 PyObject
* obj0
= 0 ;
18802 PyObject
* obj1
= 0 ;
18803 char *kwnames
[] = {
18804 (char *) "self",(char *) "point", NULL
18808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
18809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18812 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18821 resultobj
= PyInt_FromLong((long)result
);
18823 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18824 resultobj
= t_output_helper(resultobj
,o
);
18832 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18833 PyObject
*resultobj
;
18834 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18835 wxListItem
*arg2
= 0 ;
18837 PyObject
* obj0
= 0 ;
18838 PyObject
* obj1
= 0 ;
18839 char *kwnames
[] = {
18840 (char *) "self",(char *) "info", NULL
18843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18845 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18846 if (arg2
== NULL
) {
18847 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18851 result
= (long)(arg1
)->InsertItem(*arg2
);
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= PyInt_FromLong((long)result
);
18863 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
;
18865 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18867 wxString
*arg3
= 0 ;
18869 bool temp3
= False
;
18870 PyObject
* obj0
= 0 ;
18871 PyObject
* obj2
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "self",(char *) "index",(char *) "label", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18879 arg3
= wxString_in_helper(obj2
);
18880 if (arg3
== NULL
) SWIG_fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18890 resultobj
= PyInt_FromLong((long)result
);
18905 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
;
18907 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18911 PyObject
* obj0
= 0 ;
18912 char *kwnames
[] = {
18913 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
18916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oli:ListCtrl_InsertImageItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
18922 wxPyEndAllowThreads(__tstate
);
18923 if (PyErr_Occurred()) SWIG_fail
;
18925 resultobj
= PyInt_FromLong((long)result
);
18932 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18934 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18936 wxString
*arg3
= 0 ;
18939 bool temp3
= False
;
18940 PyObject
* obj0
= 0 ;
18941 PyObject
* obj2
= 0 ;
18942 char *kwnames
[] = {
18943 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
18946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
18947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18949 arg3
= wxString_in_helper(obj2
);
18950 if (arg3
== NULL
) SWIG_fail
;
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
18957 wxPyEndAllowThreads(__tstate
);
18958 if (PyErr_Occurred()) SWIG_fail
;
18960 resultobj
= PyInt_FromLong((long)result
);
18975 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18979 wxListItem
*arg3
= 0 ;
18981 PyObject
* obj0
= 0 ;
18982 PyObject
* obj2
= 0 ;
18983 char *kwnames
[] = {
18984 (char *) "self",(char *) "col",(char *) "info", NULL
18987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18989 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18990 if (arg3
== NULL
) {
18991 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18995 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= PyInt_FromLong((long)result
);
19007 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19008 PyObject
*resultobj
;
19009 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19011 wxString
*arg3
= 0 ;
19012 int arg4
= (int) wxLIST_FORMAT_LEFT
;
19013 int arg5
= (int) -1 ;
19015 bool temp3
= False
;
19016 PyObject
* obj0
= 0 ;
19017 PyObject
* obj2
= 0 ;
19018 char *kwnames
[] = {
19019 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
)) goto fail
;
19023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19025 arg3
= wxString_in_helper(obj2
);
19026 if (arg3
== NULL
) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 resultobj
= PyInt_FromLong((long)result
);
19051 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
;
19053 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19055 PyObject
* obj0
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "self",(char *) "count", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetItemCount",kwnames
,&obj0
,&arg2
)) goto fail
;
19061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 (arg1
)->SetItemCount(arg2
);
19066 wxPyEndAllowThreads(__tstate
);
19067 if (PyErr_Occurred()) SWIG_fail
;
19069 Py_INCREF(Py_None
); resultobj
= Py_None
;
19076 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
;
19078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19082 PyObject
* obj0
= 0 ;
19083 char *kwnames
[] = {
19084 (char *) "self",(char *) "dx",(char *) "dy", NULL
19087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_ScrollList",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19096 resultobj
= PyInt_FromLong((long)result
);
19103 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19104 PyObject
*resultobj
;
19105 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19107 wxColour
*arg3
= 0 ;
19109 PyObject
* obj0
= 0 ;
19110 PyObject
* obj2
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self",(char *) "item",(char *) "col", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19119 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 Py_INCREF(Py_None
); resultobj
= Py_None
;
19135 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
;
19137 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19140 PyObject
* obj0
= 0 ;
19141 char *kwnames
[] = {
19142 (char *) "self",(char *) "item", NULL
19145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19149 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
19151 wxPyEndAllowThreads(__tstate
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19155 wxColour
* resultptr
;
19156 resultptr
= new wxColour((wxColour
&) result
);
19157 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19165 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19169 wxColour
*arg3
= 0 ;
19171 PyObject
* obj0
= 0 ;
19172 PyObject
* obj2
= 0 ;
19173 char *kwnames
[] = {
19174 (char *) "self",(char *) "item",(char *) "col", NULL
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19181 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19185 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
19187 wxPyEndAllowThreads(__tstate
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19190 Py_INCREF(Py_None
); resultobj
= Py_None
;
19197 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
;
19199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19202 PyObject
* obj0
= 0 ;
19203 char *kwnames
[] = {
19204 (char *) "self",(char *) "item", NULL
19207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19217 wxColour
* resultptr
;
19218 resultptr
= new wxColour((wxColour
&) result
);
19219 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19227 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19228 PyObject
*resultobj
;
19229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19230 PyObject
*arg2
= (PyObject
*) 0 ;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 char *kwnames
[] = {
19235 (char *) "self",(char *) "func", NULL
19238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
19239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19243 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19248 resultobj
= PyInt_FromLong((long)result
);
19255 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
;
19257 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19259 PyObject
* obj0
= 0 ;
19260 char *kwnames
[] = {
19261 (char *) "self", NULL
19264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
19265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19274 resultobj
= wxPyMake_wxObject(result
);
19282 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
19284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19285 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
19287 return Py_BuildValue((char *)"");
19289 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
;
19291 wxWindow
*arg1
= (wxWindow
*) 0 ;
19292 int arg2
= (int) -1 ;
19293 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19294 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19295 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19296 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19297 long arg5
= (long) wxLC_REPORT
;
19298 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19299 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19300 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19301 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19302 wxListView
*result
;
19305 bool temp7
= False
;
19306 PyObject
* obj0
= 0 ;
19307 PyObject
* obj2
= 0 ;
19308 PyObject
* obj3
= 0 ;
19309 PyObject
* obj5
= 0 ;
19310 PyObject
* obj6
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListView",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
19316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19320 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19326 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19330 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19331 if (arg6
== NULL
) {
19332 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19337 arg7
= wxString_in_helper(obj6
);
19338 if (arg7
== NULL
) SWIG_fail
;
19343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19344 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19346 wxPyEndAllowThreads(__tstate
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19349 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19364 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
;
19366 wxListView
*result
;
19367 char *kwnames
[] = {
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 result
= (wxListView
*)new wxListView();
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19379 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19386 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19387 PyObject
*resultobj
;
19388 wxListView
*arg1
= (wxListView
*) 0 ;
19389 wxWindow
*arg2
= (wxWindow
*) 0 ;
19390 int arg3
= (int) -1 ;
19391 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19392 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19393 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19394 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19395 long arg6
= (long) wxLC_REPORT
;
19396 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19397 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19398 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19399 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19403 bool temp8
= False
;
19404 PyObject
* obj0
= 0 ;
19405 PyObject
* obj1
= 0 ;
19406 PyObject
* obj3
= 0 ;
19407 PyObject
* obj4
= 0 ;
19408 PyObject
* obj6
= 0 ;
19409 PyObject
* obj7
= 0 ;
19410 char *kwnames
[] = {
19411 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListView_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
19415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19416 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19420 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19426 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19430 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19431 if (arg7
== NULL
) {
19432 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19437 arg8
= wxString_in_helper(obj7
);
19438 if (arg8
== NULL
) SWIG_fail
;
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19449 resultobj
= PyInt_FromLong((long)result
);
19464 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
;
19466 wxListView
*arg1
= (wxListView
*) 0 ;
19468 bool arg3
= (bool) True
;
19469 PyObject
* obj0
= 0 ;
19470 PyObject
* obj2
= 0 ;
19471 char *kwnames
[] = {
19472 (char *) "self",(char *) "n",(char *) "on", NULL
19475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListView_Select",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19478 arg3
= PyInt_AsLong(obj2
) ? true : false;
19479 if (PyErr_Occurred()) SWIG_fail
;
19482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19483 (arg1
)->Select(arg2
,arg3
);
19485 wxPyEndAllowThreads(__tstate
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19488 Py_INCREF(Py_None
); resultobj
= Py_None
;
19495 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
;
19497 wxListView
*arg1
= (wxListView
*) 0 ;
19499 PyObject
* obj0
= 0 ;
19500 char *kwnames
[] = {
19501 (char *) "self",(char *) "index", NULL
19504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_Focus",kwnames
,&obj0
,&arg2
)) goto fail
;
19505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 (arg1
)->Focus(arg2
);
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19513 Py_INCREF(Py_None
); resultobj
= Py_None
;
19520 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxListView
*arg1
= (wxListView
*) 0 ;
19524 PyObject
* obj0
= 0 ;
19525 char *kwnames
[] = {
19526 (char *) "self", NULL
19529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
19530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19533 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19538 resultobj
= PyInt_FromLong((long)result
);
19545 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
;
19547 wxListView
*arg1
= (wxListView
*) 0 ;
19550 PyObject
* obj0
= 0 ;
19551 char *kwnames
[] = {
19552 (char *) "self",(char *) "item", NULL
19555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_GetNextSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
19556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19564 resultobj
= PyInt_FromLong((long)result
);
19571 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
;
19573 wxListView
*arg1
= (wxListView
*) 0 ;
19575 PyObject
* obj0
= 0 ;
19576 char *kwnames
[] = {
19577 (char *) "self", NULL
19580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
19581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= PyInt_FromLong((long)result
);
19596 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
;
19598 wxListView
*arg1
= (wxListView
*) 0 ;
19601 PyObject
* obj0
= 0 ;
19602 char *kwnames
[] = {
19603 (char *) "self",(char *) "index", NULL
19606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
19607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 result
= (bool)(arg1
)->IsSelected(arg2
);
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 resultobj
= PyInt_FromLong((long)result
);
19622 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
;
19624 wxListView
*arg1
= (wxListView
*) 0 ;
19627 PyObject
* obj0
= 0 ;
19628 char *kwnames
[] = {
19629 (char *) "self",(char *) "col",(char *) "image", NULL
19632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListView_SetColumnImage",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19636 (arg1
)->SetColumnImage(arg2
,arg3
);
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 Py_INCREF(Py_None
); resultobj
= Py_None
;
19648 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxListView
*arg1
= (wxListView
*) 0 ;
19652 PyObject
* obj0
= 0 ;
19653 char *kwnames
[] = {
19654 (char *) "self",(char *) "col", NULL
19657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListView_ClearColumnImage",kwnames
,&obj0
,&arg2
)) goto fail
;
19658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 (arg1
)->ClearColumnImage(arg2
);
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 Py_INCREF(Py_None
); resultobj
= Py_None
;
19673 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
19675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19676 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
19678 return Py_BuildValue((char *)"");
19680 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19681 PyObject
*resultobj
;
19682 wxTreeItemId
*result
;
19683 char *kwnames
[] = {
19687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 result
= (wxTreeItemId
*)new wxTreeItemId();
19692 wxPyEndAllowThreads(__tstate
);
19693 if (PyErr_Occurred()) SWIG_fail
;
19695 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
19702 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19703 PyObject
*resultobj
;
19704 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 Py_INCREF(Py_None
); resultobj
= Py_None
;
19726 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
;
19728 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19730 PyObject
* obj0
= 0 ;
19731 char *kwnames
[] = {
19732 (char *) "self", NULL
19735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
19736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 resultobj
= PyInt_FromLong((long)result
);
19751 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
;
19753 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19754 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
19756 PyObject
* obj0
= 0 ;
19757 PyObject
* obj1
= 0 ;
19758 char *kwnames
[] = {
19759 (char *) "self",(char *) "other", NULL
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
19763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 resultobj
= PyInt_FromLong((long)result
);
19779 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
;
19781 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19782 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
19784 PyObject
* obj0
= 0 ;
19785 PyObject
* obj1
= 0 ;
19786 char *kwnames
[] = {
19787 (char *) "self",(char *) "other", NULL
19790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
19791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19792 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19800 resultobj
= PyInt_FromLong((long)result
);
19807 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
;
19809 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19810 wxTreeItemIdValue arg2
= (wxTreeItemIdValue
) 0 ;
19811 PyObject
* obj0
= 0 ;
19812 PyObject
* obj1
= 0 ;
19813 char *kwnames
[] = {
19814 (char *) "self",(char *) "m_pItem", NULL
19817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19819 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
19820 if (arg1
) (arg1
)->m_pItem
= arg2
;
19822 Py_INCREF(Py_None
); resultobj
= Py_None
;
19829 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19832 wxTreeItemIdValue result
;
19833 PyObject
* obj0
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
19839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19840 result
= (wxTreeItemIdValue
) ((arg1
)->m_pItem
);
19842 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_wxTreeItemIdValue
, 0);
19849 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
19851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19852 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
19854 return Py_BuildValue((char *)"");
19856 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19857 PyObject
*resultobj
;
19858 PyObject
*arg1
= (PyObject
*) NULL
;
19859 wxPyTreeItemData
*result
;
19860 PyObject
* obj0
= 0 ;
19861 char *kwnames
[] = {
19862 (char *) "obj", NULL
19865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
19883 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
19887 PyObject
* obj0
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
19893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 result
= (PyObject
*)(arg1
)->GetData();
19898 wxPyEndAllowThreads(__tstate
);
19899 if (PyErr_Occurred()) SWIG_fail
;
19901 resultobj
= result
;
19908 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19909 PyObject
*resultobj
;
19910 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
19911 PyObject
*arg2
= (PyObject
*) 0 ;
19912 PyObject
* obj0
= 0 ;
19913 PyObject
* obj1
= 0 ;
19914 char *kwnames
[] = {
19915 (char *) "self",(char *) "obj", NULL
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 (arg1
)->SetData(arg2
);
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19928 Py_INCREF(Py_None
); resultobj
= Py_None
;
19935 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
;
19937 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
19938 wxTreeItemId
*result
;
19939 PyObject
* obj0
= 0 ;
19940 char *kwnames
[] = {
19941 (char *) "self", NULL
19944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
19945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
19950 result
= (wxTreeItemId
*) &_result_ref
;
19953 wxPyEndAllowThreads(__tstate
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
19963 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
;
19965 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
19966 wxTreeItemId
*arg2
= 0 ;
19967 PyObject
* obj0
= 0 ;
19968 PyObject
* obj1
= 0 ;
19969 char *kwnames
[] = {
19970 (char *) "self",(char *) "id", NULL
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19975 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19976 if (arg2
== NULL
) {
19977 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19981 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
19983 wxPyEndAllowThreads(__tstate
);
19984 if (PyErr_Occurred()) SWIG_fail
;
19986 Py_INCREF(Py_None
); resultobj
= Py_None
;
19993 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19994 PyObject
*resultobj
;
19995 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
19996 PyObject
* obj0
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
20002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 wxPyTreeItemData_Destroy(arg1
);
20007 wxPyEndAllowThreads(__tstate
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20010 Py_INCREF(Py_None
); resultobj
= Py_None
;
20017 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
20019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20020 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
20022 return Py_BuildValue((char *)"");
20024 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20025 PyObject
*resultobj
;
20026 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20027 int arg2
= (int) 0 ;
20028 wxTreeEvent
*result
;
20029 char *kwnames
[] = {
20030 (char *) "commandType",(char *) "id", NULL
20033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TreeEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20036 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
20038 wxPyEndAllowThreads(__tstate
);
20039 if (PyErr_Occurred()) SWIG_fail
;
20041 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
20048 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20049 PyObject
*resultobj
;
20050 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20051 wxTreeItemId result
;
20052 PyObject
* obj0
= 0 ;
20053 char *kwnames
[] = {
20054 (char *) "self", NULL
20057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20061 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20067 wxTreeItemId
* resultptr
;
20068 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20069 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20077 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
;
20079 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20080 wxTreeItemId
*arg2
= 0 ;
20081 PyObject
* obj0
= 0 ;
20082 PyObject
* obj1
= 0 ;
20083 char *kwnames
[] = {
20084 (char *) "self",(char *) "item", NULL
20087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20089 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20090 if (arg2
== NULL
) {
20091 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20100 Py_INCREF(Py_None
); resultobj
= Py_None
;
20107 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
;
20109 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20110 wxTreeItemId result
;
20111 PyObject
* obj0
= 0 ;
20112 char *kwnames
[] = {
20113 (char *) "self", NULL
20116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
20117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20126 wxTreeItemId
* resultptr
;
20127 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20128 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20136 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20137 PyObject
*resultobj
;
20138 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20139 wxTreeItemId
*arg2
= 0 ;
20140 PyObject
* obj0
= 0 ;
20141 PyObject
* obj1
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self",(char *) "item", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20148 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20149 if (arg2
== NULL
) {
20150 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 Py_INCREF(Py_None
); resultobj
= Py_None
;
20166 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20170 PyObject
* obj0
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "self", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20185 wxPoint
* resultptr
;
20186 resultptr
= new wxPoint((wxPoint
&) result
);
20187 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20195 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20197 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20198 wxPoint
*arg2
= 0 ;
20200 PyObject
* obj0
= 0 ;
20201 PyObject
* obj1
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self",(char *) "pt", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
20207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20210 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20214 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20219 Py_INCREF(Py_None
); resultobj
= Py_None
;
20226 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20227 PyObject
*resultobj
;
20228 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20229 wxKeyEvent
*result
;
20230 PyObject
* obj0
= 0 ;
20231 char *kwnames
[] = {
20232 (char *) "self", NULL
20235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
20236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
20241 result
= (wxKeyEvent
*) &_result_ref
;
20244 wxPyEndAllowThreads(__tstate
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20247 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
20254 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
;
20256 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20267 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
20269 wxPyEndAllowThreads(__tstate
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20272 resultobj
= PyInt_FromLong((long)result
);
20279 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20282 wxKeyEvent
*arg2
= 0 ;
20283 PyObject
* obj0
= 0 ;
20284 PyObject
* obj1
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self",(char *) "evt", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20291 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20292 if (arg2
== NULL
) {
20293 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20297 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20302 Py_INCREF(Py_None
); resultobj
= Py_None
;
20309 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20310 PyObject
*resultobj
;
20311 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20313 PyObject
* obj0
= 0 ;
20314 char *kwnames
[] = {
20315 (char *) "self", NULL
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20323 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
20324 result
= (wxString
*) &_result_ref
;
20327 wxPyEndAllowThreads(__tstate
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20330 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
20337 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20338 PyObject
*resultobj
;
20339 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20340 wxString
*arg2
= 0 ;
20341 bool temp2
= False
;
20342 PyObject
* obj0
= 0 ;
20343 PyObject
* obj1
= 0 ;
20344 char *kwnames
[] = {
20345 (char *) "self",(char *) "label", NULL
20348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20351 arg2
= wxString_in_helper(obj1
);
20352 if (arg2
== NULL
) SWIG_fail
;
20356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20357 (arg1
)->SetLabel((wxString
const &)*arg2
);
20359 wxPyEndAllowThreads(__tstate
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20362 Py_INCREF(Py_None
); resultobj
= Py_None
;
20377 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
;
20379 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20381 PyObject
* obj0
= 0 ;
20382 char *kwnames
[] = {
20383 (char *) "self", NULL
20386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20390 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 resultobj
= PyInt_FromLong((long)result
);
20402 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
;
20404 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20406 PyObject
* obj0
= 0 ;
20407 PyObject
* obj1
= 0 ;
20408 char *kwnames
[] = {
20409 (char *) "self",(char *) "editCancelled", NULL
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20414 arg2
= PyInt_AsLong(obj1
) ? true : false;
20415 if (PyErr_Occurred()) SWIG_fail
;
20417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20418 (arg1
)->SetEditCanceled(arg2
);
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20423 Py_INCREF(Py_None
); resultobj
= Py_None
;
20430 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20433 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
20435 return Py_BuildValue((char *)"");
20437 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
;
20439 wxWindow
*arg1
= (wxWindow
*) 0 ;
20440 int arg2
= (int) -1 ;
20441 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20442 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20443 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20444 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20445 long arg5
= (long) wxTR_DEFAULT_STYLE
;
20446 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20447 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20448 wxString
const &arg7_defvalue
= wxPy_TreeCtrlNameStr
;
20449 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20450 wxPyTreeCtrl
*result
;
20453 bool temp7
= False
;
20454 PyObject
* obj0
= 0 ;
20455 PyObject
* obj2
= 0 ;
20456 PyObject
* obj3
= 0 ;
20457 PyObject
* obj5
= 0 ;
20458 PyObject
* obj6
= 0 ;
20459 char *kwnames
[] = {
20460 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_TreeCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
20464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20468 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20474 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20478 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20479 if (arg6
== NULL
) {
20480 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20485 arg7
= wxString_in_helper(obj6
);
20486 if (arg7
== NULL
) SWIG_fail
;
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeCtrl
, 1);
20512 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
;
20514 wxPyTreeCtrl
*result
;
20515 char *kwnames
[] = {
20519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
20521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20522 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
20524 wxPyEndAllowThreads(__tstate
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20527 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeCtrl
, 1);
20534 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20535 PyObject
*resultobj
;
20536 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20537 wxWindow
*arg2
= (wxWindow
*) 0 ;
20538 int arg3
= (int) -1 ;
20539 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20540 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20541 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20542 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20543 long arg6
= (long) wxTR_DEFAULT_STYLE
;
20544 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20545 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20546 wxString
const &arg8_defvalue
= wxPy_TreeCtrlNameStr
;
20547 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20551 bool temp8
= False
;
20552 PyObject
* obj0
= 0 ;
20553 PyObject
* obj1
= 0 ;
20554 PyObject
* obj3
= 0 ;
20555 PyObject
* obj4
= 0 ;
20556 PyObject
* obj6
= 0 ;
20557 PyObject
* obj7
= 0 ;
20558 char *kwnames
[] = {
20559 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
20563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20564 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20568 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20574 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20578 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20579 if (arg7
== NULL
) {
20580 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20585 arg8
= wxString_in_helper(obj7
);
20586 if (arg8
== NULL
) SWIG_fail
;
20591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20592 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20594 wxPyEndAllowThreads(__tstate
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20597 resultobj
= PyInt_FromLong((long)result
);
20612 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
;
20614 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20615 PyObject
*arg2
= (PyObject
*) 0 ;
20616 PyObject
*arg3
= (PyObject
*) 0 ;
20617 PyObject
* obj0
= 0 ;
20618 PyObject
* obj1
= 0 ;
20619 PyObject
* obj2
= 0 ;
20620 char *kwnames
[] = {
20621 (char *) "self",(char *) "self",(char *) "_class", NULL
20624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 Py_INCREF(Py_None
); resultobj
= Py_None
;
20642 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
;
20644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20646 PyObject
* obj0
= 0 ;
20647 char *kwnames
[] = {
20648 (char *) "self", NULL
20651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
20652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20660 resultobj
= PyInt_FromLong((long)result
);
20667 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
;
20669 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20670 unsigned int result
;
20671 PyObject
* obj0
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
20677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20685 resultobj
= PyInt_FromLong((long)result
);
20692 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
;
20694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20695 unsigned int arg2
;
20696 PyObject
* obj0
= 0 ;
20697 PyObject
* obj1
= 0 ;
20698 char *kwnames
[] = {
20699 (char *) "self",(char *) "indent", NULL
20702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
20703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20704 arg2
= (unsigned int) PyInt_AsLong(obj1
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20708 (arg1
)->SetIndent(arg2
);
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 Py_INCREF(Py_None
); resultobj
= Py_None
;
20720 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
;
20722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20723 unsigned int result
;
20724 PyObject
* obj0
= 0 ;
20725 char *kwnames
[] = {
20726 (char *) "self", NULL
20729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
20730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20738 resultobj
= PyInt_FromLong((long)result
);
20745 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20746 PyObject
*resultobj
;
20747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20748 unsigned int arg2
;
20749 PyObject
* obj0
= 0 ;
20750 PyObject
* obj1
= 0 ;
20751 char *kwnames
[] = {
20752 (char *) "self",(char *) "spacing", NULL
20755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
20756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20757 arg2
= (unsigned int) PyInt_AsLong(obj1
);
20758 if (PyErr_Occurred()) SWIG_fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 (arg1
)->SetSpacing(arg2
);
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 Py_INCREF(Py_None
); resultobj
= Py_None
;
20773 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20774 PyObject
*resultobj
;
20775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20776 wxImageList
*result
;
20777 PyObject
* obj0
= 0 ;
20778 char *kwnames
[] = {
20779 (char *) "self", NULL
20782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
20783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= wxPyMake_wxObject(result
);
20800 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
;
20802 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20803 wxImageList
*result
;
20804 PyObject
* obj0
= 0 ;
20805 char *kwnames
[] = {
20806 (char *) "self", NULL
20809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
20810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20813 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
20815 wxPyEndAllowThreads(__tstate
);
20816 if (PyErr_Occurred()) SWIG_fail
;
20819 resultobj
= wxPyMake_wxObject(result
);
20827 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20828 PyObject
*resultobj
;
20829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20830 wxImageList
*arg2
= (wxImageList
*) 0 ;
20831 PyObject
* obj0
= 0 ;
20832 PyObject
* obj1
= 0 ;
20833 char *kwnames
[] = {
20834 (char *) "self",(char *) "imageList", NULL
20837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20839 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 (arg1
)->SetImageList(arg2
);
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 Py_INCREF(Py_None
); resultobj
= Py_None
;
20854 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
;
20856 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20857 wxImageList
*arg2
= (wxImageList
*) 0 ;
20858 PyObject
* obj0
= 0 ;
20859 PyObject
* obj1
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "self",(char *) "imageList", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20866 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 (arg1
)->SetStateImageList(arg2
);
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 Py_INCREF(Py_None
); resultobj
= Py_None
;
20881 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
;
20883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20884 wxImageList
*arg2
= (wxImageList
*) 0 ;
20885 PyObject
* obj0
= 0 ;
20886 PyObject
* obj1
= 0 ;
20887 char *kwnames
[] = {
20888 (char *) "self",(char *) "imageList", NULL
20891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20893 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 (arg1
)->AssignImageList(arg2
);
20898 wxPyEndAllowThreads(__tstate
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20901 Py_INCREF(Py_None
); resultobj
= Py_None
;
20908 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
;
20910 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20911 wxImageList
*arg2
= (wxImageList
*) 0 ;
20912 PyObject
* obj0
= 0 ;
20913 PyObject
* obj1
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "self",(char *) "imageList", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20920 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 (arg1
)->AssignStateImageList(arg2
);
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20928 Py_INCREF(Py_None
); resultobj
= Py_None
;
20935 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20936 PyObject
*resultobj
;
20937 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20938 wxTreeItemId
*arg2
= 0 ;
20940 PyObject
* obj0
= 0 ;
20941 PyObject
* obj1
= 0 ;
20942 char *kwnames
[] = {
20943 (char *) "self",(char *) "item", NULL
20946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20948 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20949 if (arg2
== NULL
) {
20950 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
20956 wxPyEndAllowThreads(__tstate
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20972 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
;
20974 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20975 wxTreeItemId
*arg2
= 0 ;
20976 int arg3
= (int) wxTreeItemIcon_Normal
;
20978 PyObject
* obj0
= 0 ;
20979 PyObject
* obj1
= 0 ;
20980 char *kwnames
[] = {
20981 (char *) "self",(char *) "item",(char *) "which", NULL
20984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
20985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20986 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20987 if (arg2
== NULL
) {
20988 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20992 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20997 resultobj
= PyInt_FromLong((long)result
);
21004 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
;
21006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21007 wxTreeItemId
*arg2
= 0 ;
21008 wxPyTreeItemData
*result
;
21009 PyObject
* obj0
= 0 ;
21010 PyObject
* obj1
= 0 ;
21011 char *kwnames
[] = {
21012 (char *) "self",(char *) "item", NULL
21015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21017 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21018 if (arg2
== NULL
) {
21019 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21023 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21028 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
21035 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21036 PyObject
*resultobj
;
21037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21038 wxTreeItemId
*arg2
= 0 ;
21040 PyObject
* obj0
= 0 ;
21041 PyObject
* obj1
= 0 ;
21042 char *kwnames
[] = {
21043 (char *) "self",(char *) "item", NULL
21046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
21047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21048 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21049 if (arg2
== NULL
) {
21050 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21059 resultobj
= result
;
21066 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21067 PyObject
*resultobj
;
21068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21069 wxTreeItemId
*arg2
= 0 ;
21071 PyObject
* obj0
= 0 ;
21072 PyObject
* obj1
= 0 ;
21073 char *kwnames
[] = {
21074 (char *) "self",(char *) "item", NULL
21077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21079 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21080 if (arg2
== NULL
) {
21081 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21091 wxColour
* resultptr
;
21092 resultptr
= new wxColour((wxColour
&) result
);
21093 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21101 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
;
21103 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21104 wxTreeItemId
*arg2
= 0 ;
21106 PyObject
* obj0
= 0 ;
21107 PyObject
* obj1
= 0 ;
21108 char *kwnames
[] = {
21109 (char *) "self",(char *) "item", NULL
21112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21114 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21115 if (arg2
== NULL
) {
21116 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
21122 wxPyEndAllowThreads(__tstate
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21126 wxColour
* resultptr
;
21127 resultptr
= new wxColour((wxColour
&) result
);
21128 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21136 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21138 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21139 wxTreeItemId
*arg2
= 0 ;
21141 PyObject
* obj0
= 0 ;
21142 PyObject
* obj1
= 0 ;
21143 char *kwnames
[] = {
21144 (char *) "self",(char *) "item", NULL
21147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21149 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21150 if (arg2
== NULL
) {
21151 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21161 wxFont
* resultptr
;
21162 resultptr
= new wxFont((wxFont
&) result
);
21163 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
21171 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21172 PyObject
*resultobj
;
21173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21174 wxTreeItemId
*arg2
= 0 ;
21175 wxString
*arg3
= 0 ;
21176 bool temp3
= False
;
21177 PyObject
* obj0
= 0 ;
21178 PyObject
* obj1
= 0 ;
21179 PyObject
* obj2
= 0 ;
21180 char *kwnames
[] = {
21181 (char *) "self",(char *) "item",(char *) "text", NULL
21184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21186 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21187 if (arg2
== NULL
) {
21188 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21191 arg3
= wxString_in_helper(obj2
);
21192 if (arg3
== NULL
) SWIG_fail
;
21196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21197 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
21199 wxPyEndAllowThreads(__tstate
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21202 Py_INCREF(Py_None
); resultobj
= Py_None
;
21217 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21218 PyObject
*resultobj
;
21219 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21220 wxTreeItemId
*arg2
= 0 ;
21222 int arg4
= (int) wxTreeItemIcon_Normal
;
21223 PyObject
* obj0
= 0 ;
21224 PyObject
* obj1
= 0 ;
21225 char *kwnames
[] = {
21226 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
21230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21231 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21232 if (arg2
== NULL
) {
21233 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21242 Py_INCREF(Py_None
); resultobj
= Py_None
;
21249 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21250 PyObject
*resultobj
;
21251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21252 wxTreeItemId
*arg2
= 0 ;
21253 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
21254 PyObject
* obj0
= 0 ;
21255 PyObject
* obj1
= 0 ;
21256 PyObject
* obj2
= 0 ;
21257 char *kwnames
[] = {
21258 (char *) "self",(char *) "item",(char *) "data", NULL
21261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21263 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21264 if (arg2
== NULL
) {
21265 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21267 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 Py_INCREF(Py_None
); resultobj
= Py_None
;
21282 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21285 wxTreeItemId
*arg2
= 0 ;
21286 PyObject
*arg3
= (PyObject
*) 0 ;
21287 PyObject
* obj0
= 0 ;
21288 PyObject
* obj1
= 0 ;
21289 PyObject
* obj2
= 0 ;
21290 char *kwnames
[] = {
21291 (char *) "self",(char *) "item",(char *) "obj", NULL
21294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21296 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21297 if (arg2
== NULL
) {
21298 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21303 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21308 Py_INCREF(Py_None
); resultobj
= Py_None
;
21315 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
;
21317 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21318 wxTreeItemId
*arg2
= 0 ;
21319 bool arg3
= (bool) True
;
21320 PyObject
* obj0
= 0 ;
21321 PyObject
* obj1
= 0 ;
21322 PyObject
* obj2
= 0 ;
21323 char *kwnames
[] = {
21324 (char *) "self",(char *) "item",(char *) "has", NULL
21327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21329 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21330 if (arg2
== NULL
) {
21331 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21334 arg3
= PyInt_AsLong(obj2
) ? true : false;
21335 if (PyErr_Occurred()) SWIG_fail
;
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21344 Py_INCREF(Py_None
); resultobj
= Py_None
;
21351 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21352 PyObject
*resultobj
;
21353 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21354 wxTreeItemId
*arg2
= 0 ;
21355 bool arg3
= (bool) True
;
21356 PyObject
* obj0
= 0 ;
21357 PyObject
* obj1
= 0 ;
21358 PyObject
* obj2
= 0 ;
21359 char *kwnames
[] = {
21360 (char *) "self",(char *) "item",(char *) "bold", NULL
21363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21365 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21366 if (arg2
== NULL
) {
21367 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21370 arg3
= PyInt_AsLong(obj2
) ? true : false;
21371 if (PyErr_Occurred()) SWIG_fail
;
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 Py_INCREF(Py_None
); resultobj
= Py_None
;
21387 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
;
21389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21390 wxTreeItemId
*arg2
= 0 ;
21391 wxColour
*arg3
= 0 ;
21393 PyObject
* obj0
= 0 ;
21394 PyObject
* obj1
= 0 ;
21395 PyObject
* obj2
= 0 ;
21396 char *kwnames
[] = {
21397 (char *) "self",(char *) "item",(char *) "col", NULL
21400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21403 if (arg2
== NULL
) {
21404 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21408 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 Py_INCREF(Py_None
); resultobj
= Py_None
;
21424 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
;
21426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21427 wxTreeItemId
*arg2
= 0 ;
21428 wxColour
*arg3
= 0 ;
21430 PyObject
* obj0
= 0 ;
21431 PyObject
* obj1
= 0 ;
21432 PyObject
* obj2
= 0 ;
21433 char *kwnames
[] = {
21434 (char *) "self",(char *) "item",(char *) "col", NULL
21437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21439 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21440 if (arg2
== NULL
) {
21441 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21445 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 Py_INCREF(Py_None
); resultobj
= Py_None
;
21461 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
;
21463 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21464 wxTreeItemId
*arg2
= 0 ;
21466 PyObject
* obj0
= 0 ;
21467 PyObject
* obj1
= 0 ;
21468 PyObject
* obj2
= 0 ;
21469 char *kwnames
[] = {
21470 (char *) "self",(char *) "item",(char *) "font", NULL
21473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21475 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21476 if (arg2
== NULL
) {
21477 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21479 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21480 if (arg3
== NULL
) {
21481 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 Py_INCREF(Py_None
); resultobj
= Py_None
;
21497 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21499 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21500 wxTreeItemId
*arg2
= 0 ;
21502 PyObject
* obj0
= 0 ;
21503 PyObject
* obj1
= 0 ;
21504 char *kwnames
[] = {
21505 (char *) "self",(char *) "item", NULL
21508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21510 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21511 if (arg2
== NULL
) {
21512 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21516 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21521 resultobj
= PyInt_FromLong((long)result
);
21528 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21529 PyObject
*resultobj
;
21530 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21531 wxTreeItemId
*arg2
= 0 ;
21533 PyObject
* obj0
= 0 ;
21534 PyObject
* obj1
= 0 ;
21535 char *kwnames
[] = {
21536 (char *) "self",(char *) "item", NULL
21539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
21540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21541 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21542 if (arg2
== NULL
) {
21543 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21552 resultobj
= PyInt_FromLong((long)result
);
21559 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
;
21561 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21562 wxTreeItemId
*arg2
= 0 ;
21564 PyObject
* obj0
= 0 ;
21565 PyObject
* obj1
= 0 ;
21566 char *kwnames
[] = {
21567 (char *) "self",(char *) "item", NULL
21570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
21571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21572 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21573 if (arg2
== NULL
) {
21574 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21583 resultobj
= PyInt_FromLong((long)result
);
21590 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21591 PyObject
*resultobj
;
21592 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21593 wxTreeItemId
*arg2
= 0 ;
21595 PyObject
* obj0
= 0 ;
21596 PyObject
* obj1
= 0 ;
21597 char *kwnames
[] = {
21598 (char *) "self",(char *) "item", NULL
21601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
21602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21603 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21604 if (arg2
== NULL
) {
21605 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
21611 wxPyEndAllowThreads(__tstate
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21614 resultobj
= PyInt_FromLong((long)result
);
21621 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21622 PyObject
*resultobj
;
21623 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21624 wxTreeItemId
*arg2
= 0 ;
21626 PyObject
* obj0
= 0 ;
21627 PyObject
* obj1
= 0 ;
21628 char *kwnames
[] = {
21629 (char *) "self",(char *) "item", NULL
21632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
21633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21635 if (arg2
== NULL
) {
21636 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 resultobj
= PyInt_FromLong((long)result
);
21652 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21653 PyObject
*resultobj
;
21654 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21655 wxTreeItemId
*arg2
= 0 ;
21656 bool arg3
= (bool) True
;
21658 PyObject
* obj0
= 0 ;
21659 PyObject
* obj1
= 0 ;
21660 PyObject
* obj2
= 0 ;
21661 char *kwnames
[] = {
21662 (char *) "self",(char *) "item",(char *) "recursively", NULL
21665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21668 if (arg2
== NULL
) {
21669 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21672 arg3
= PyInt_AsLong(obj2
) ? true : false;
21673 if (PyErr_Occurred()) SWIG_fail
;
21676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21677 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
21679 wxPyEndAllowThreads(__tstate
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21682 resultobj
= PyInt_FromLong((long)result
);
21689 static PyObject
*_wrap_TreeCtrl_GetRootItem(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_GetRootItem",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
)->GetRootItem();
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_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21719 PyObject
*resultobj
;
21720 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21721 wxTreeItemId result
;
21722 PyObject
* obj0
= 0 ;
21723 char *kwnames
[] = {
21724 (char *) "self", NULL
21727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",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
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21737 wxTreeItemId
* resultptr
;
21738 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21739 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21747 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
;
21749 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21751 PyObject
* obj0
= 0 ;
21752 char *kwnames
[] = {
21753 (char *) "self", NULL
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
21757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21760 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
21762 wxPyEndAllowThreads(__tstate
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21765 resultobj
= result
;
21772 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
;
21774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21775 wxTreeItemId
*arg2
= 0 ;
21776 wxTreeItemId result
;
21777 PyObject
* obj0
= 0 ;
21778 PyObject
* obj1
= 0 ;
21779 char *kwnames
[] = {
21780 (char *) "self",(char *) "item", NULL
21783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
21784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21785 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21786 if (arg2
== NULL
) {
21787 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21797 wxTreeItemId
* resultptr
;
21798 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21799 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21807 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
;
21809 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21810 wxTreeItemId
*arg2
= 0 ;
21812 PyObject
* obj0
= 0 ;
21813 PyObject
* obj1
= 0 ;
21814 char *kwnames
[] = {
21815 (char *) "self",(char *) "item", NULL
21818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21820 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21821 if (arg2
== NULL
) {
21822 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21826 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21831 resultobj
= result
;
21838 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
;
21840 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21841 wxTreeItemId
*arg2
= 0 ;
21842 wxTreeItemIdValue
*arg3
= 0 ;
21844 PyObject
* obj0
= 0 ;
21845 PyObject
* obj1
= 0 ;
21846 PyObject
* obj2
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "self",(char *) "item",(char *) "cookie", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21853 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21854 if (arg2
== NULL
) {
21855 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21857 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemIdValue
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21858 if (arg3
== NULL
) {
21859 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,*arg3
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= result
;
21875 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21878 wxTreeItemId
*arg2
= 0 ;
21879 wxTreeItemId result
;
21880 PyObject
* obj0
= 0 ;
21881 PyObject
* obj1
= 0 ;
21882 char *kwnames
[] = {
21883 (char *) "self",(char *) "item", NULL
21886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21888 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21889 if (arg2
== NULL
) {
21890 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21894 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
21896 wxPyEndAllowThreads(__tstate
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21900 wxTreeItemId
* resultptr
;
21901 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21902 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21910 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21913 wxTreeItemId
*arg2
= 0 ;
21914 wxTreeItemId result
;
21915 PyObject
* obj0
= 0 ;
21916 PyObject
* obj1
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "self",(char *) "item", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
21922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21923 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21924 if (arg2
== NULL
) {
21925 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21935 wxTreeItemId
* resultptr
;
21936 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21937 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21945 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21946 PyObject
*resultobj
;
21947 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21948 wxTreeItemId
*arg2
= 0 ;
21949 wxTreeItemId result
;
21950 PyObject
* obj0
= 0 ;
21951 PyObject
* obj1
= 0 ;
21952 char *kwnames
[] = {
21953 (char *) "self",(char *) "item", NULL
21956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
21957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21958 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21959 if (arg2
== NULL
) {
21960 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
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_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21981 PyObject
*resultobj
;
21982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21983 wxTreeItemId result
;
21984 PyObject
* obj0
= 0 ;
21985 char *kwnames
[] = {
21986 (char *) "self", NULL
21989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
21990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21999 wxTreeItemId
* resultptr
;
22000 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22001 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22009 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22011 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22012 wxTreeItemId
*arg2
= 0 ;
22013 wxTreeItemId result
;
22014 PyObject
* obj0
= 0 ;
22015 PyObject
* obj1
= 0 ;
22016 char *kwnames
[] = {
22017 (char *) "self",(char *) "item", NULL
22020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22022 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22023 if (arg2
== NULL
) {
22024 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 wxTreeItemId
* resultptr
;
22035 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22036 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22044 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22047 wxTreeItemId
*arg2
= 0 ;
22048 wxTreeItemId result
;
22049 PyObject
* obj0
= 0 ;
22050 PyObject
* obj1
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self",(char *) "item", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22057 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22058 if (arg2
== NULL
) {
22059 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22069 wxTreeItemId
* resultptr
;
22070 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22071 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22079 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
;
22081 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22082 wxString
*arg2
= 0 ;
22083 int arg3
= (int) -1 ;
22084 int arg4
= (int) -1 ;
22085 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
22086 wxTreeItemId result
;
22087 bool temp2
= False
;
22088 PyObject
* obj0
= 0 ;
22089 PyObject
* obj1
= 0 ;
22090 PyObject
* obj4
= 0 ;
22091 char *kwnames
[] = {
22092 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
22096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22098 arg2
= wxString_in_helper(obj1
);
22099 if (arg2
== NULL
) SWIG_fail
;
22103 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22107 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22113 wxTreeItemId
* resultptr
;
22114 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22115 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22131 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
;
22133 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22134 wxTreeItemId
*arg2
= 0 ;
22135 wxString
*arg3
= 0 ;
22136 int arg4
= (int) -1 ;
22137 int arg5
= (int) -1 ;
22138 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22139 wxTreeItemId result
;
22140 bool temp3
= False
;
22141 PyObject
* obj0
= 0 ;
22142 PyObject
* obj1
= 0 ;
22143 PyObject
* obj2
= 0 ;
22144 PyObject
* obj5
= 0 ;
22145 char *kwnames
[] = {
22146 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22151 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22152 if (arg2
== NULL
) {
22153 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22156 arg3
= wxString_in_helper(obj2
);
22157 if (arg3
== NULL
) SWIG_fail
;
22161 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22171 wxTreeItemId
* resultptr
;
22172 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22173 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22189 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22190 PyObject
*resultobj
;
22191 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22192 wxTreeItemId
*arg2
= 0 ;
22193 wxTreeItemId
*arg3
= 0 ;
22194 wxString
*arg4
= 0 ;
22195 int arg5
= (int) -1 ;
22196 int arg6
= (int) -1 ;
22197 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22198 wxTreeItemId result
;
22199 bool temp4
= False
;
22200 PyObject
* obj0
= 0 ;
22201 PyObject
* obj1
= 0 ;
22202 PyObject
* obj2
= 0 ;
22203 PyObject
* obj3
= 0 ;
22204 PyObject
* obj6
= 0 ;
22205 char *kwnames
[] = {
22206 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22211 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22212 if (arg2
== NULL
) {
22213 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22215 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22216 if (arg3
== NULL
) {
22217 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22220 arg4
= wxString_in_helper(obj3
);
22221 if (arg4
== NULL
) SWIG_fail
;
22225 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22229 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22231 wxPyEndAllowThreads(__tstate
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22235 wxTreeItemId
* resultptr
;
22236 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22237 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22253 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22254 PyObject
*resultobj
;
22255 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22256 wxTreeItemId
*arg2
= 0 ;
22258 wxString
*arg4
= 0 ;
22259 int arg5
= (int) -1 ;
22260 int arg6
= (int) -1 ;
22261 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22262 wxTreeItemId result
;
22263 bool temp4
= False
;
22264 PyObject
* obj0
= 0 ;
22265 PyObject
* obj1
= 0 ;
22266 PyObject
* obj2
= 0 ;
22267 PyObject
* obj3
= 0 ;
22268 PyObject
* obj6
= 0 ;
22269 char *kwnames
[] = {
22270 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22275 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22276 if (arg2
== NULL
) {
22277 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22279 arg3
= (size_t) PyInt_AsLong(obj2
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22282 arg4
= wxString_in_helper(obj3
);
22283 if (arg4
== NULL
) SWIG_fail
;
22287 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22297 wxTreeItemId
* resultptr
;
22298 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22299 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22315 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
;
22317 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22318 wxTreeItemId
*arg2
= 0 ;
22319 wxString
*arg3
= 0 ;
22320 int arg4
= (int) -1 ;
22321 int arg5
= (int) -1 ;
22322 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22323 wxTreeItemId result
;
22324 bool temp3
= False
;
22325 PyObject
* obj0
= 0 ;
22326 PyObject
* obj1
= 0 ;
22327 PyObject
* obj2
= 0 ;
22328 PyObject
* obj5
= 0 ;
22329 char *kwnames
[] = {
22330 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22335 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22336 if (arg2
== NULL
) {
22337 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22340 arg3
= wxString_in_helper(obj2
);
22341 if (arg3
== NULL
) SWIG_fail
;
22345 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22355 wxTreeItemId
* resultptr
;
22356 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22357 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22373 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22374 PyObject
*resultobj
;
22375 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22376 wxTreeItemId
*arg2
= 0 ;
22377 PyObject
* obj0
= 0 ;
22378 PyObject
* obj1
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self",(char *) "item", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
22384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22386 if (arg2
== NULL
) {
22387 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22391 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
22393 wxPyEndAllowThreads(__tstate
);
22394 if (PyErr_Occurred()) SWIG_fail
;
22396 Py_INCREF(Py_None
); resultobj
= Py_None
;
22403 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22404 PyObject
*resultobj
;
22405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22406 wxTreeItemId
*arg2
= 0 ;
22407 PyObject
* obj0
= 0 ;
22408 PyObject
* obj1
= 0 ;
22409 char *kwnames
[] = {
22410 (char *) "self",(char *) "item", NULL
22413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22415 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22416 if (arg2
== NULL
) {
22417 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
22423 wxPyEndAllowThreads(__tstate
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22426 Py_INCREF(Py_None
); resultobj
= Py_None
;
22433 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22434 PyObject
*resultobj
;
22435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22436 PyObject
* obj0
= 0 ;
22437 char *kwnames
[] = {
22438 (char *) "self", NULL
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 (arg1
)->DeleteAllItems();
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 Py_INCREF(Py_None
); resultobj
= Py_None
;
22457 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
;
22459 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22460 wxTreeItemId
*arg2
= 0 ;
22461 PyObject
* obj0
= 0 ;
22462 PyObject
* obj1
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self",(char *) "item", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
22468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22470 if (arg2
== NULL
) {
22471 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 Py_INCREF(Py_None
); resultobj
= Py_None
;
22487 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22490 wxTreeItemId
*arg2
= 0 ;
22491 PyObject
* obj0
= 0 ;
22492 PyObject
* obj1
= 0 ;
22493 char *kwnames
[] = {
22494 (char *) "self",(char *) "item", NULL
22497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
22498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22499 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22500 if (arg2
== NULL
) {
22501 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 Py_INCREF(Py_None
); resultobj
= Py_None
;
22517 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22518 PyObject
*resultobj
;
22519 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22520 wxTreeItemId
*arg2
= 0 ;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "self",(char *) "item", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
22528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22529 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22530 if (arg2
== NULL
) {
22531 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22540 Py_INCREF(Py_None
); resultobj
= Py_None
;
22547 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
;
22549 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22550 wxTreeItemId
*arg2
= 0 ;
22551 PyObject
* obj0
= 0 ;
22552 PyObject
* obj1
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "self",(char *) "item", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
22558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22559 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22560 if (arg2
== NULL
) {
22561 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22565 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22570 Py_INCREF(Py_None
); resultobj
= Py_None
;
22577 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22578 PyObject
*resultobj
;
22579 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22580 PyObject
* obj0
= 0 ;
22581 char *kwnames
[] = {
22582 (char *) "self", NULL
22585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
22586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22589 (arg1
)->Unselect();
22591 wxPyEndAllowThreads(__tstate
);
22592 if (PyErr_Occurred()) SWIG_fail
;
22594 Py_INCREF(Py_None
); resultobj
= Py_None
;
22601 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
;
22603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22604 PyObject
* obj0
= 0 ;
22605 char *kwnames
[] = {
22606 (char *) "self", NULL
22609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
22610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22613 (arg1
)->UnselectAll();
22615 wxPyEndAllowThreads(__tstate
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22618 Py_INCREF(Py_None
); resultobj
= Py_None
;
22625 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22626 PyObject
*resultobj
;
22627 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22628 wxTreeItemId
*arg2
= 0 ;
22629 PyObject
* obj0
= 0 ;
22630 PyObject
* obj1
= 0 ;
22631 char *kwnames
[] = {
22632 (char *) "self",(char *) "item", NULL
22635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22637 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22638 if (arg2
== NULL
) {
22639 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22643 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
22645 wxPyEndAllowThreads(__tstate
);
22646 if (PyErr_Occurred()) SWIG_fail
;
22648 Py_INCREF(Py_None
); resultobj
= Py_None
;
22655 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22656 PyObject
*resultobj
;
22657 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22658 wxTreeItemId
*arg2
= 0 ;
22659 PyObject
* obj0
= 0 ;
22660 PyObject
* obj1
= 0 ;
22661 char *kwnames
[] = {
22662 (char *) "self",(char *) "item", NULL
22665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22668 if (arg2
== NULL
) {
22669 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22673 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
22675 wxPyEndAllowThreads(__tstate
);
22676 if (PyErr_Occurred()) SWIG_fail
;
22678 Py_INCREF(Py_None
); resultobj
= Py_None
;
22685 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22686 PyObject
*resultobj
;
22687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22688 wxTreeItemId
*arg2
= 0 ;
22689 PyObject
* obj0
= 0 ;
22690 PyObject
* obj1
= 0 ;
22691 char *kwnames
[] = {
22692 (char *) "self",(char *) "item", NULL
22695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22697 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22698 if (arg2
== NULL
) {
22699 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
22705 wxPyEndAllowThreads(__tstate
);
22706 if (PyErr_Occurred()) SWIG_fail
;
22708 Py_INCREF(Py_None
); resultobj
= Py_None
;
22715 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22716 PyObject
*resultobj
;
22717 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22718 wxTreeItemId
*arg2
= 0 ;
22719 PyObject
* obj0
= 0 ;
22720 PyObject
* obj1
= 0 ;
22721 char *kwnames
[] = {
22722 (char *) "self",(char *) "item", NULL
22725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22727 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22728 if (arg2
== NULL
) {
22729 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22733 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
22735 wxPyEndAllowThreads(__tstate
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22738 Py_INCREF(Py_None
); resultobj
= Py_None
;
22745 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22746 PyObject
*resultobj
;
22747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22748 wxTextCtrl
*result
;
22749 PyObject
* obj0
= 0 ;
22750 char *kwnames
[] = {
22751 (char *) "self", NULL
22754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
22755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22758 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22764 resultobj
= wxPyMake_wxObject(result
);
22772 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22773 PyObject
*resultobj
;
22774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22775 wxTreeItemId
*arg2
= 0 ;
22776 PyObject
* obj0
= 0 ;
22777 PyObject
* obj1
= 0 ;
22778 char *kwnames
[] = {
22779 (char *) "self",(char *) "item", NULL
22782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22784 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22785 if (arg2
== NULL
) {
22786 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22790 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
22792 wxPyEndAllowThreads(__tstate
);
22793 if (PyErr_Occurred()) SWIG_fail
;
22795 Py_INCREF(Py_None
); resultobj
= Py_None
;
22802 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22803 PyObject
*resultobj
;
22804 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22805 wxPoint
*arg2
= 0 ;
22807 wxTreeItemId result
;
22810 PyObject
* obj0
= 0 ;
22811 PyObject
* obj1
= 0 ;
22812 char *kwnames
[] = {
22813 (char *) "self",(char *) "point", NULL
22817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22821 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22831 wxTreeItemId
* resultptr
;
22832 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22833 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22836 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22837 resultobj
= t_output_helper(resultobj
,o
);
22845 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22848 wxTreeItemId
*arg2
= 0 ;
22849 bool arg3
= (bool) False
;
22851 PyObject
* obj0
= 0 ;
22852 PyObject
* obj1
= 0 ;
22853 PyObject
* obj2
= 0 ;
22854 char *kwnames
[] = {
22855 (char *) "self",(char *) "item",(char *) "textOnly", NULL
22858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22860 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22861 if (arg2
== NULL
) {
22862 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22865 arg3
= PyInt_AsLong(obj2
) ? true : false;
22866 if (PyErr_Occurred()) SWIG_fail
;
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= result
;
22882 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22885 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
22887 return Py_BuildValue((char *)"");
22889 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22890 PyObject
*resultobj
;
22891 wxWindow
*arg1
= (wxWindow
*) 0 ;
22892 int arg2
= (int) (int)-1 ;
22893 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
22894 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22895 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22896 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22897 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22898 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22899 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
22900 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22901 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22902 int arg8
= (int) 0 ;
22903 wxString
const &arg9_defvalue
= wxPy_TreeCtrlNameStr
;
22904 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
22905 wxGenericDirCtrl
*result
;
22906 bool temp3
= False
;
22909 bool temp7
= False
;
22910 bool temp9
= False
;
22911 PyObject
* obj0
= 0 ;
22912 PyObject
* obj2
= 0 ;
22913 PyObject
* obj3
= 0 ;
22914 PyObject
* obj4
= 0 ;
22915 PyObject
* obj6
= 0 ;
22916 PyObject
* obj8
= 0 ;
22917 char *kwnames
[] = {
22918 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&obj8
)) goto fail
;
22922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22925 arg3
= wxString_in_helper(obj2
);
22926 if (arg3
== NULL
) SWIG_fail
;
22933 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22939 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22944 arg7
= wxString_in_helper(obj6
);
22945 if (arg7
== NULL
) SWIG_fail
;
22951 arg9
= wxString_in_helper(obj8
);
22952 if (arg9
== NULL
) SWIG_fail
;
22957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22958 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
22960 wxPyEndAllowThreads(__tstate
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22963 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
22994 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22995 PyObject
*resultobj
;
22996 wxGenericDirCtrl
*result
;
22997 char *kwnames
[] = {
23001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
23003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23016 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23017 PyObject
*resultobj
;
23018 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23019 wxWindow
*arg2
= (wxWindow
*) 0 ;
23020 int arg3
= (int) (int)-1 ;
23021 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
23022 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23023 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23024 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23025 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23026 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23027 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23028 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23029 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23030 int arg9
= (int) 0 ;
23031 wxString
const &arg10_defvalue
= wxPy_TreeCtrlNameStr
;
23032 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
23034 bool temp4
= False
;
23037 bool temp8
= False
;
23038 bool temp10
= False
;
23039 PyObject
* obj0
= 0 ;
23040 PyObject
* obj1
= 0 ;
23041 PyObject
* obj3
= 0 ;
23042 PyObject
* obj4
= 0 ;
23043 PyObject
* obj5
= 0 ;
23044 PyObject
* obj7
= 0 ;
23045 PyObject
* obj9
= 0 ;
23046 char *kwnames
[] = {
23047 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&arg9
,&obj9
)) goto fail
;
23051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23052 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23055 arg4
= wxString_in_helper(obj3
);
23056 if (arg4
== NULL
) SWIG_fail
;
23063 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23069 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23074 arg8
= wxString_in_helper(obj7
);
23075 if (arg8
== NULL
) SWIG_fail
;
23081 arg10
= wxString_in_helper(obj9
);
23082 if (arg10
== NULL
) SWIG_fail
;
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23093 resultobj
= PyInt_FromLong((long)result
);
23124 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23125 PyObject
*resultobj
;
23126 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23127 wxString
*arg2
= 0 ;
23129 bool temp2
= False
;
23130 PyObject
* obj0
= 0 ;
23131 PyObject
* obj1
= 0 ;
23132 char *kwnames
[] = {
23133 (char *) "self",(char *) "path", NULL
23136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23139 arg2
= wxString_in_helper(obj1
);
23140 if (arg2
== NULL
) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23150 resultobj
= PyInt_FromLong((long)result
);
23165 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
;
23167 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23169 PyObject
* obj0
= 0 ;
23170 char *kwnames
[] = {
23171 (char *) "self", NULL
23174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
23175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23196 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23197 PyObject
*resultobj
;
23198 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23199 wxString
*arg2
= 0 ;
23200 bool temp2
= False
;
23201 PyObject
* obj0
= 0 ;
23202 PyObject
* obj1
= 0 ;
23203 char *kwnames
[] = {
23204 (char *) "self",(char *) "path", NULL
23207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23210 arg2
= wxString_in_helper(obj1
);
23211 if (arg2
== NULL
) SWIG_fail
;
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23221 Py_INCREF(Py_None
); resultobj
= Py_None
;
23236 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23237 PyObject
*resultobj
;
23238 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23240 PyObject
* obj0
= 0 ;
23241 char *kwnames
[] = {
23242 (char *) "self", NULL
23245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
23246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23249 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
23251 wxPyEndAllowThreads(__tstate
);
23252 if (PyErr_Occurred()) SWIG_fail
;
23256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23267 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23269 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23271 PyObject
* obj0
= 0 ;
23272 char *kwnames
[] = {
23273 (char *) "self", NULL
23276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
23277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23287 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23289 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23298 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23301 wxString
*arg2
= 0 ;
23302 bool temp2
= False
;
23303 PyObject
* obj0
= 0 ;
23304 PyObject
* obj1
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self",(char *) "path", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23312 arg2
= wxString_in_helper(obj1
);
23313 if (arg2
== NULL
) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 (arg1
)->SetPath((wxString
const &)*arg2
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 Py_INCREF(Py_None
); resultobj
= Py_None
;
23338 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23342 PyObject
* obj0
= 0 ;
23343 PyObject
* obj1
= 0 ;
23344 char *kwnames
[] = {
23345 (char *) "self",(char *) "show", NULL
23348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
23349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23350 arg2
= PyInt_AsLong(obj1
) ? true : false;
23351 if (PyErr_Occurred()) SWIG_fail
;
23353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 (arg1
)->ShowHidden(arg2
);
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23359 Py_INCREF(Py_None
); resultobj
= Py_None
;
23366 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23367 PyObject
*resultobj
;
23368 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23370 PyObject
* obj0
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "self", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
23376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 result
= (bool)(arg1
)->GetShowHidden();
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 resultobj
= PyInt_FromLong((long)result
);
23391 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23393 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23395 PyObject
* obj0
= 0 ;
23396 char *kwnames
[] = {
23397 (char *) "self", NULL
23400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
23401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23422 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
;
23424 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23425 wxString
*arg2
= 0 ;
23426 bool temp2
= False
;
23427 PyObject
* obj0
= 0 ;
23428 PyObject
* obj1
= 0 ;
23429 char *kwnames
[] = {
23430 (char *) "self",(char *) "filter", NULL
23433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
23434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23436 arg2
= wxString_in_helper(obj1
);
23437 if (arg2
== NULL
) SWIG_fail
;
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 (arg1
)->SetFilter((wxString
const &)*arg2
);
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 Py_INCREF(Py_None
); resultobj
= Py_None
;
23462 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23463 PyObject
*resultobj
;
23464 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23466 PyObject
* obj0
= 0 ;
23467 char *kwnames
[] = {
23468 (char *) "self", NULL
23471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
23472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 resultobj
= PyInt_FromLong((long)result
);
23487 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23488 PyObject
*resultobj
;
23489 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23491 PyObject
* obj0
= 0 ;
23492 char *kwnames
[] = {
23493 (char *) "self",(char *) "n", NULL
23496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
23497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23500 (arg1
)->SetFilterIndex(arg2
);
23502 wxPyEndAllowThreads(__tstate
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23505 Py_INCREF(Py_None
); resultobj
= Py_None
;
23512 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
;
23514 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23515 wxTreeItemId result
;
23516 PyObject
* obj0
= 0 ;
23517 char *kwnames
[] = {
23518 (char *) "self", NULL
23521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",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
= (arg1
)->GetRootId();
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23531 wxTreeItemId
* resultptr
;
23532 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23533 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23541 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
;
23543 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23544 wxTreeCtrl
*result
;
23545 PyObject
* obj0
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "self", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
23551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= (wxTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23560 resultobj
= wxPyMake_wxObject(result
);
23568 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
;
23570 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23571 wxDirFilterListCtrl
*result
;
23572 PyObject
* obj0
= 0 ;
23573 char *kwnames
[] = {
23574 (char *) "self", NULL
23577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
23578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23581 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
23583 wxPyEndAllowThreads(__tstate
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23586 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
23593 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23594 PyObject
*resultobj
;
23595 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23596 wxTreeItemId arg2
;
23597 wxString
*arg3
= 0 ;
23599 wxTreeItemId result
;
23600 wxTreeItemId
*argp2
;
23601 bool temp3
= False
;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23605 PyObject
* obj2
= 0 ;
23606 char *kwnames
[] = {
23607 (char *) "self",(char *) "parentId",(char *) "path", NULL
23611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23613 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
23616 arg3
= wxString_in_helper(obj2
);
23617 if (arg3
== NULL
) SWIG_fail
;
23621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23622 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
23624 wxPyEndAllowThreads(__tstate
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23628 wxTreeItemId
* resultptr
;
23629 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23630 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23633 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
23634 resultobj
= t_output_helper(resultobj
,o
);
23650 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23651 PyObject
*resultobj
;
23652 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23653 PyObject
* obj0
= 0 ;
23654 char *kwnames
[] = {
23655 (char *) "self", NULL
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
23659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 (arg1
)->DoResize();
23664 wxPyEndAllowThreads(__tstate
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23667 Py_INCREF(Py_None
); resultobj
= Py_None
;
23674 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23675 PyObject
*resultobj
;
23676 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23677 PyObject
* obj0
= 0 ;
23678 char *kwnames
[] = {
23679 (char *) "self", NULL
23682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
23683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 (arg1
)->ReCreateTree();
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23691 Py_INCREF(Py_None
); resultobj
= Py_None
;
23698 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23701 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
23703 return Py_BuildValue((char *)"");
23705 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23707 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23708 int arg2
= (int) (int)-1 ;
23709 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23710 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23711 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23712 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23713 long arg5
= (long) 0 ;
23714 wxDirFilterListCtrl
*result
;
23717 PyObject
* obj0
= 0 ;
23718 PyObject
* obj2
= 0 ;
23719 PyObject
* obj3
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
23725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23729 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23735 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23740 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
23742 wxPyEndAllowThreads(__tstate
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23745 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
23752 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23753 PyObject
*resultobj
;
23754 wxDirFilterListCtrl
*result
;
23755 char *kwnames
[] = {
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
23774 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
;
23776 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
23777 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
23778 int arg3
= (int) (int)-1 ;
23779 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23780 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23781 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23782 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23783 long arg6
= (long) 0 ;
23787 PyObject
* obj0
= 0 ;
23788 PyObject
* obj1
= 0 ;
23789 PyObject
* obj3
= 0 ;
23790 PyObject
* obj4
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
23796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23797 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23807 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23817 resultobj
= PyInt_FromLong((long)result
);
23824 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23825 PyObject
*resultobj
;
23826 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
23827 wxString
*arg2
= 0 ;
23829 bool temp2
= False
;
23830 PyObject
* obj0
= 0 ;
23831 PyObject
* obj1
= 0 ;
23832 char *kwnames
[] = {
23833 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
23836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
23837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23839 arg2
= wxString_in_helper(obj1
);
23840 if (arg2
== NULL
) SWIG_fail
;
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 Py_INCREF(Py_None
); resultobj
= Py_None
;
23865 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23868 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
23870 return Py_BuildValue((char *)"");
23872 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxWindow
*arg1
= (wxWindow
*) 0 ;
23876 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23877 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23878 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23879 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23880 long arg5
= (long) 0 ;
23881 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23882 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23883 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
23884 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23885 wxPyControl
*result
;
23888 bool temp7
= False
;
23889 PyObject
* obj0
= 0 ;
23890 PyObject
* obj2
= 0 ;
23891 PyObject
* obj3
= 0 ;
23892 PyObject
* obj5
= 0 ;
23893 PyObject
* obj6
= 0 ;
23894 char *kwnames
[] = {
23895 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_PyControl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
23899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23903 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23909 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23913 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23914 if (arg6
== NULL
) {
23915 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23920 arg7
= wxString_in_helper(obj6
);
23921 if (arg7
== NULL
) SWIG_fail
;
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23927 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23929 wxPyEndAllowThreads(__tstate
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23932 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
23947 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
;
23949 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
23950 PyObject
*arg2
= (PyObject
*) 0 ;
23951 PyObject
*arg3
= (PyObject
*) 0 ;
23952 PyObject
* obj0
= 0 ;
23953 PyObject
* obj1
= 0 ;
23954 PyObject
* obj2
= 0 ;
23955 char *kwnames
[] = {
23956 (char *) "self",(char *) "self",(char *) "_class", NULL
23959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23967 wxPyEndAllowThreads(__tstate
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23970 Py_INCREF(Py_None
); resultobj
= Py_None
;
23977 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23978 PyObject
*resultobj
;
23979 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
23984 PyObject
* obj0
= 0 ;
23985 char *kwnames
[] = {
23986 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) 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_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23995 wxPyEndAllowThreads(__tstate
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23998 Py_INCREF(Py_None
); resultobj
= Py_None
;
24005 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24006 PyObject
*resultobj
;
24007 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24012 int arg6
= (int) wxSIZE_AUTO
;
24013 PyObject
* obj0
= 0 ;
24014 char *kwnames
[] = {
24015 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24024 wxPyEndAllowThreads(__tstate
);
24025 if (PyErr_Occurred()) SWIG_fail
;
24027 Py_INCREF(Py_None
); resultobj
= Py_None
;
24034 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24035 PyObject
*resultobj
;
24036 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24039 PyObject
* obj0
= 0 ;
24040 char *kwnames
[] = {
24041 (char *) "self",(char *) "width",(char *) "height", NULL
24044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 Py_INCREF(Py_None
); resultobj
= Py_None
;
24060 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
;
24062 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24065 PyObject
* obj0
= 0 ;
24066 char *kwnames
[] = {
24067 (char *) "self",(char *) "x",(char *) "y", NULL
24070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24074 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
24076 wxPyEndAllowThreads(__tstate
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24079 Py_INCREF(Py_None
); resultobj
= Py_None
;
24086 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24087 PyObject
*resultobj
;
24088 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24089 int *arg2
= (int *) 0 ;
24090 int *arg3
= (int *) 0 ;
24093 PyObject
* obj0
= 0 ;
24094 char *kwnames
[] = {
24095 (char *) "self", NULL
24100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
24101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
24106 wxPyEndAllowThreads(__tstate
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24109 Py_INCREF(Py_None
); resultobj
= Py_None
;
24111 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24112 resultobj
= t_output_helper(resultobj
,o
);
24115 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24116 resultobj
= t_output_helper(resultobj
,o
);
24124 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24125 PyObject
*resultobj
;
24126 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24127 int *arg2
= (int *) 0 ;
24128 int *arg3
= (int *) 0 ;
24131 PyObject
* obj0
= 0 ;
24132 char *kwnames
[] = {
24133 (char *) "self", NULL
24138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
24139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24147 Py_INCREF(Py_None
); resultobj
= Py_None
;
24149 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24150 resultobj
= t_output_helper(resultobj
,o
);
24153 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24154 resultobj
= t_output_helper(resultobj
,o
);
24162 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24163 PyObject
*resultobj
;
24164 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24165 int *arg2
= (int *) 0 ;
24166 int *arg3
= (int *) 0 ;
24169 PyObject
* obj0
= 0 ;
24170 char *kwnames
[] = {
24171 (char *) "self", NULL
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
24177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24185 Py_INCREF(Py_None
); resultobj
= Py_None
;
24187 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24188 resultobj
= t_output_helper(resultobj
,o
);
24191 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24192 resultobj
= t_output_helper(resultobj
,o
);
24200 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(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_DoGetVirtualSize",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_DoGetVirtualSize();
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_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
;
24231 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24233 PyObject
* obj0
= 0 ;
24234 char *kwnames
[] = {
24235 (char *) "self", NULL
24238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
24239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24248 wxSize
* resultptr
;
24249 resultptr
= new wxSize((wxSize
&) result
);
24250 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24258 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24259 PyObject
*resultobj
;
24260 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24261 PyObject
* obj0
= 0 ;
24262 char *kwnames
[] = {
24263 (char *) "self", NULL
24266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
24267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24270 (arg1
)->base_InitDialog();
24272 wxPyEndAllowThreads(__tstate
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24275 Py_INCREF(Py_None
); resultobj
= Py_None
;
24282 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24283 PyObject
*resultobj
;
24284 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24286 PyObject
* obj0
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24295 result
= (bool)(arg1
)->base_TransferDataToWindow();
24297 wxPyEndAllowThreads(__tstate
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24300 resultobj
= PyInt_FromLong((long)result
);
24307 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24308 PyObject
*resultobj
;
24309 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24311 PyObject
* obj0
= 0 ;
24312 char *kwnames
[] = {
24313 (char *) "self", NULL
24316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24320 result
= (bool)(arg1
)->base_TransferDataFromWindow();
24322 wxPyEndAllowThreads(__tstate
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24325 resultobj
= PyInt_FromLong((long)result
);
24332 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24333 PyObject
*resultobj
;
24334 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24336 PyObject
* obj0
= 0 ;
24337 char *kwnames
[] = {
24338 (char *) "self", NULL
24341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
24342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 result
= (bool)(arg1
)->base_Validate();
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24350 resultobj
= PyInt_FromLong((long)result
);
24357 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
;
24359 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 char *kwnames
[] = {
24363 (char *) "self", NULL
24366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24370 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
24372 wxPyEndAllowThreads(__tstate
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24375 resultobj
= PyInt_FromLong((long)result
);
24382 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24383 PyObject
*resultobj
;
24384 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24386 PyObject
* obj0
= 0 ;
24387 char *kwnames
[] = {
24388 (char *) "self", NULL
24391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24395 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24400 resultobj
= PyInt_FromLong((long)result
);
24407 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
;
24409 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24411 PyObject
* obj0
= 0 ;
24412 char *kwnames
[] = {
24413 (char *) "self", NULL
24416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
24422 wxPyEndAllowThreads(__tstate
);
24423 if (PyErr_Occurred()) SWIG_fail
;
24426 wxSize
* resultptr
;
24427 resultptr
= new wxSize((wxSize
&) result
);
24428 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24436 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24437 PyObject
*resultobj
;
24438 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24439 wxWindow
*arg2
= (wxWindow
*) 0 ;
24440 PyObject
* obj0
= 0 ;
24441 PyObject
* obj1
= 0 ;
24442 char *kwnames
[] = {
24443 (char *) "self",(char *) "child", NULL
24446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24448 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24451 (arg1
)->base_AddChild(arg2
);
24453 wxPyEndAllowThreads(__tstate
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24456 Py_INCREF(Py_None
); resultobj
= Py_None
;
24463 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24464 PyObject
*resultobj
;
24465 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24466 wxWindow
*arg2
= (wxWindow
*) 0 ;
24467 PyObject
* obj0
= 0 ;
24468 PyObject
* obj1
= 0 ;
24469 char *kwnames
[] = {
24470 (char *) "self",(char *) "child", NULL
24473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24475 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 (arg1
)->base_RemoveChild(arg2
);
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24483 Py_INCREF(Py_None
); resultobj
= Py_None
;
24490 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
24492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24493 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
24495 return Py_BuildValue((char *)"");
24497 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24498 PyObject
*resultobj
;
24499 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24500 int arg2
= (int) 0 ;
24501 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24502 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24503 wxHelpEvent
*result
;
24505 PyObject
* obj2
= 0 ;
24506 char *kwnames
[] = {
24507 (char *) "type",(char *) "winid",(char *) "pt", NULL
24510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_HelpEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
24514 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
24521 wxPyEndAllowThreads(__tstate
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24524 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
24531 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24532 PyObject
*resultobj
;
24533 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24535 PyObject
* obj0
= 0 ;
24536 char *kwnames
[] = {
24537 (char *) "self", NULL
24540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
24541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
24546 result
= (wxPoint
*) &_result_ref
;
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24552 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
24559 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24560 PyObject
*resultobj
;
24561 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24562 wxPoint
*arg2
= 0 ;
24564 PyObject
* obj0
= 0 ;
24565 PyObject
* obj1
= 0 ;
24566 char *kwnames
[] = {
24567 (char *) "self",(char *) "pos", NULL
24570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24574 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24583 Py_INCREF(Py_None
); resultobj
= Py_None
;
24590 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24591 PyObject
*resultobj
;
24592 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24594 PyObject
* obj0
= 0 ;
24595 char *kwnames
[] = {
24596 (char *) "self", NULL
24599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
24600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
24605 result
= (wxString
*) &_result_ref
;
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
24618 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24619 PyObject
*resultobj
;
24620 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24621 wxString
*arg2
= 0 ;
24622 bool temp2
= False
;
24623 PyObject
* obj0
= 0 ;
24624 PyObject
* obj1
= 0 ;
24625 char *kwnames
[] = {
24626 (char *) "self",(char *) "link", NULL
24629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
24630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24632 arg2
= wxString_in_helper(obj1
);
24633 if (arg2
== NULL
) SWIG_fail
;
24637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24638 (arg1
)->SetLink((wxString
const &)*arg2
);
24640 wxPyEndAllowThreads(__tstate
);
24641 if (PyErr_Occurred()) SWIG_fail
;
24643 Py_INCREF(Py_None
); resultobj
= Py_None
;
24658 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24659 PyObject
*resultobj
;
24660 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24662 PyObject
* obj0
= 0 ;
24663 char *kwnames
[] = {
24664 (char *) "self", NULL
24667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
24668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
24673 result
= (wxString
*) &_result_ref
;
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
24686 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24688 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24689 wxString
*arg2
= 0 ;
24690 bool temp2
= False
;
24691 PyObject
* obj0
= 0 ;
24692 PyObject
* obj1
= 0 ;
24693 char *kwnames
[] = {
24694 (char *) "self",(char *) "target", NULL
24697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
24698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24700 arg2
= wxString_in_helper(obj1
);
24701 if (arg2
== NULL
) SWIG_fail
;
24705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24706 (arg1
)->SetTarget((wxString
const &)*arg2
);
24708 wxPyEndAllowThreads(__tstate
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24711 Py_INCREF(Py_None
); resultobj
= Py_None
;
24726 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24729 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
24731 return Py_BuildValue((char *)"");
24733 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
;
24735 wxWindow
*arg1
= (wxWindow
*) NULL
;
24736 bool arg2
= (bool) True
;
24737 wxContextHelp
*result
;
24738 PyObject
* obj0
= 0 ;
24739 PyObject
* obj1
= 0 ;
24740 char *kwnames
[] = {
24741 (char *) "window",(char *) "doNow", NULL
24744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24749 arg2
= PyInt_AsLong(obj1
) ? true : false;
24750 if (PyErr_Occurred()) SWIG_fail
;
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24754 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24759 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
24766 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24767 PyObject
*resultobj
;
24768 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
24769 PyObject
* obj0
= 0 ;
24770 char *kwnames
[] = {
24771 (char *) "self", NULL
24774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
24775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24783 Py_INCREF(Py_None
); resultobj
= Py_None
;
24790 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
;
24792 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
24793 wxWindow
*arg2
= (wxWindow
*) NULL
;
24795 PyObject
* obj0
= 0 ;
24796 PyObject
* obj1
= 0 ;
24797 char *kwnames
[] = {
24798 (char *) "self",(char *) "window", NULL
24801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24808 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
24810 wxPyEndAllowThreads(__tstate
);
24811 if (PyErr_Occurred()) SWIG_fail
;
24813 resultobj
= PyInt_FromLong((long)result
);
24820 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24821 PyObject
*resultobj
;
24822 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
24824 PyObject
* obj0
= 0 ;
24825 char *kwnames
[] = {
24826 (char *) "self", NULL
24829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
24830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24833 result
= (bool)(arg1
)->EndContextHelp();
24835 wxPyEndAllowThreads(__tstate
);
24836 if (PyErr_Occurred()) SWIG_fail
;
24838 resultobj
= PyInt_FromLong((long)result
);
24845 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
24847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24848 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
24850 return Py_BuildValue((char *)"");
24852 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
;
24854 wxWindow
*arg1
= (wxWindow
*) 0 ;
24855 int arg2
= (int) wxID_CONTEXT_HELP
;
24856 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24857 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24858 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24859 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24860 long arg5
= (long) wxBU_AUTODRAW
;
24861 wxContextHelpButton
*result
;
24864 PyObject
* obj0
= 0 ;
24865 PyObject
* obj2
= 0 ;
24866 PyObject
* obj3
= 0 ;
24867 char *kwnames
[] = {
24868 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_ContextHelpButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24876 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24882 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24887 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
24889 wxPyEndAllowThreads(__tstate
);
24890 if (PyErr_Occurred()) SWIG_fail
;
24892 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
24899 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
24901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24902 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
24904 return Py_BuildValue((char *)"");
24906 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24907 PyObject
*resultobj
;
24908 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
24909 wxHelpProvider
*result
;
24910 PyObject
* obj0
= 0 ;
24911 char *kwnames
[] = {
24912 (char *) "helpProvider", NULL
24915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
24916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24919 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
24921 wxPyEndAllowThreads(__tstate
);
24922 if (PyErr_Occurred()) SWIG_fail
;
24924 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
24931 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
;
24933 wxHelpProvider
*result
;
24934 char *kwnames
[] = {
24938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
24940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24941 result
= (wxHelpProvider
*)wxHelpProvider::Get();
24943 wxPyEndAllowThreads(__tstate
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
24953 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
;
24955 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
24956 wxWindow
*arg2
= (wxWindow
*) 0 ;
24958 PyObject
* obj0
= 0 ;
24959 PyObject
* obj1
= 0 ;
24960 char *kwnames
[] = {
24961 (char *) "self",(char *) "window", NULL
24964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24966 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24969 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
24971 wxPyEndAllowThreads(__tstate
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24987 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24988 PyObject
*resultobj
;
24989 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
24990 wxWindow
*arg2
= (wxWindow
*) 0 ;
24992 PyObject
* obj0
= 0 ;
24993 PyObject
* obj1
= 0 ;
24994 char *kwnames
[] = {
24995 (char *) "self",(char *) "window", NULL
24998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 result
= (bool)(arg1
)->ShowHelp(arg2
);
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25008 resultobj
= PyInt_FromLong((long)result
);
25015 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
;
25017 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25018 wxWindow
*arg2
= (wxWindow
*) 0 ;
25019 wxString
*arg3
= 0 ;
25020 bool temp3
= False
;
25021 PyObject
* obj0
= 0 ;
25022 PyObject
* obj1
= 0 ;
25023 PyObject
* obj2
= 0 ;
25024 char *kwnames
[] = {
25025 (char *) "self",(char *) "window",(char *) "text", NULL
25028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25030 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25032 arg3
= wxString_in_helper(obj2
);
25033 if (arg3
== NULL
) SWIG_fail
;
25037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25038 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25043 Py_INCREF(Py_None
); resultobj
= Py_None
;
25058 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25059 PyObject
*resultobj
;
25060 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25062 wxString
*arg3
= 0 ;
25063 bool temp3
= False
;
25064 PyObject
* obj0
= 0 ;
25065 PyObject
* obj2
= 0 ;
25066 char *kwnames
[] = {
25067 (char *) "self",(char *) "id",(char *) "text", NULL
25070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:HelpProvider_AddHelpById",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25073 arg3
= wxString_in_helper(obj2
);
25074 if (arg3
== NULL
) SWIG_fail
;
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25084 Py_INCREF(Py_None
); resultobj
= Py_None
;
25099 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25100 PyObject
*resultobj
;
25101 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25102 PyObject
* obj0
= 0 ;
25103 char *kwnames
[] = {
25104 (char *) "self", NULL
25107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
25108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 wxHelpProvider_Destroy(arg1
);
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 Py_INCREF(Py_None
); resultobj
= Py_None
;
25123 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25126 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
25128 return Py_BuildValue((char *)"");
25130 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25131 PyObject
*resultobj
;
25132 wxSimpleHelpProvider
*result
;
25133 char *kwnames
[] = {
25137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
25139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25140 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25145 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
25152 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25155 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
25157 return Py_BuildValue((char *)"");
25159 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25160 PyObject
*resultobj
;
25161 wxBitmap
*arg1
= 0 ;
25162 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25163 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25164 wxGenericDragImage
*result
;
25165 PyObject
* obj0
= 0 ;
25166 PyObject
* obj1
= 0 ;
25167 char *kwnames
[] = {
25168 (char *) "image",(char *) "cursor", NULL
25171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
25172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25173 if (arg1
== NULL
) {
25174 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25177 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25178 if (arg2
== NULL
) {
25179 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25189 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25196 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
;
25199 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25200 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25201 wxGenericDragImage
*result
;
25202 PyObject
* obj0
= 0 ;
25203 PyObject
* obj1
= 0 ;
25204 char *kwnames
[] = {
25205 (char *) "image",(char *) "cursor", NULL
25208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
25209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25210 if (arg1
== NULL
) {
25211 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25214 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25215 if (arg2
== NULL
) {
25216 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25233 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
;
25235 wxString
*arg1
= 0 ;
25236 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25237 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25238 wxGenericDragImage
*result
;
25239 bool temp1
= False
;
25240 PyObject
* obj0
= 0 ;
25241 PyObject
* obj1
= 0 ;
25242 char *kwnames
[] = {
25243 (char *) "str",(char *) "cursor", NULL
25246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
25248 arg1
= wxString_in_helper(obj0
);
25249 if (arg1
== NULL
) SWIG_fail
;
25253 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25254 if (arg2
== NULL
) {
25255 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25265 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25280 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25281 PyObject
*resultobj
;
25282 wxPyTreeCtrl
*arg1
= 0 ;
25283 wxTreeItemId
*arg2
= 0 ;
25284 wxGenericDragImage
*result
;
25285 PyObject
* obj0
= 0 ;
25286 PyObject
* obj1
= 0 ;
25287 char *kwnames
[] = {
25288 (char *) "treeCtrl",(char *) "id", NULL
25291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25293 if (arg1
== NULL
) {
25294 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25296 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25297 if (arg2
== NULL
) {
25298 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25307 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25314 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
;
25316 wxPyListCtrl
*arg1
= 0 ;
25318 wxGenericDragImage
*result
;
25319 PyObject
* obj0
= 0 ;
25320 char *kwnames
[] = {
25321 (char *) "listCtrl",(char *) "id", NULL
25324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_DragListItem",kwnames
,&obj0
,&arg2
)) goto fail
;
25325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25326 if (arg1
== NULL
) {
25327 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25343 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25344 PyObject
*resultobj
;
25345 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25346 PyObject
* obj0
= 0 ;
25347 char *kwnames
[] = {
25348 (char *) "self", NULL
25351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
25352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25357 wxPyEndAllowThreads(__tstate
);
25358 if (PyErr_Occurred()) SWIG_fail
;
25360 Py_INCREF(Py_None
); resultobj
= Py_None
;
25367 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25368 PyObject
*resultobj
;
25369 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25370 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
25371 PyObject
* obj0
= 0 ;
25372 PyObject
* obj1
= 0 ;
25373 char *kwnames
[] = {
25374 (char *) "self",(char *) "bitmap", NULL
25377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25379 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 (arg1
)->SetBackingBitmap(arg2
);
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 Py_INCREF(Py_None
); resultobj
= Py_None
;
25394 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
;
25396 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25397 wxPoint
*arg2
= 0 ;
25398 wxWindow
*arg3
= (wxWindow
*) 0 ;
25399 bool arg4
= (bool) False
;
25400 wxRect
*arg5
= (wxRect
*) NULL
;
25403 PyObject
* obj0
= 0 ;
25404 PyObject
* obj1
= 0 ;
25405 PyObject
* obj2
= 0 ;
25406 PyObject
* obj3
= 0 ;
25407 PyObject
* obj4
= 0 ;
25408 char *kwnames
[] = {
25409 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25416 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25418 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25420 arg4
= PyInt_AsLong(obj3
) ? true : false;
25421 if (PyErr_Occurred()) SWIG_fail
;
25424 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
25430 wxPyEndAllowThreads(__tstate
);
25431 if (PyErr_Occurred()) SWIG_fail
;
25433 resultobj
= PyInt_FromLong((long)result
);
25440 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25441 PyObject
*resultobj
;
25442 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25443 wxPoint
*arg2
= 0 ;
25444 wxWindow
*arg3
= (wxWindow
*) 0 ;
25445 wxWindow
*arg4
= (wxWindow
*) 0 ;
25448 PyObject
* obj0
= 0 ;
25449 PyObject
* obj1
= 0 ;
25450 PyObject
* obj2
= 0 ;
25451 PyObject
* obj3
= 0 ;
25452 char *kwnames
[] = {
25453 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25462 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25463 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25466 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
25468 wxPyEndAllowThreads(__tstate
);
25469 if (PyErr_Occurred()) SWIG_fail
;
25471 resultobj
= PyInt_FromLong((long)result
);
25478 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25479 PyObject
*resultobj
;
25480 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25482 PyObject
* obj0
= 0 ;
25483 char *kwnames
[] = {
25484 (char *) "self", NULL
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
25488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25491 result
= (bool)(arg1
)->EndDrag();
25493 wxPyEndAllowThreads(__tstate
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25496 resultobj
= PyInt_FromLong((long)result
);
25503 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25504 PyObject
*resultobj
;
25505 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25506 wxPoint
*arg2
= 0 ;
25509 PyObject
* obj0
= 0 ;
25510 PyObject
* obj1
= 0 ;
25511 char *kwnames
[] = {
25512 (char *) "self",(char *) "pt", NULL
25515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
25516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25519 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25528 resultobj
= PyInt_FromLong((long)result
);
25535 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25536 PyObject
*resultobj
;
25537 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25539 PyObject
* obj0
= 0 ;
25540 char *kwnames
[] = {
25541 (char *) "self", NULL
25544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
25545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 result
= (bool)(arg1
)->Show();
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25553 resultobj
= PyInt_FromLong((long)result
);
25560 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25561 PyObject
*resultobj
;
25562 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25564 PyObject
* obj0
= 0 ;
25565 char *kwnames
[] = {
25566 (char *) "self", NULL
25569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
25570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25573 result
= (bool)(arg1
)->Hide();
25575 wxPyEndAllowThreads(__tstate
);
25576 if (PyErr_Occurred()) SWIG_fail
;
25578 resultobj
= PyInt_FromLong((long)result
);
25585 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25586 PyObject
*resultobj
;
25587 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25588 wxPoint
*arg2
= 0 ;
25591 PyObject
* obj0
= 0 ;
25592 PyObject
* obj1
= 0 ;
25593 char *kwnames
[] = {
25594 (char *) "self",(char *) "pos", NULL
25597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25601 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25611 wxRect
* resultptr
;
25612 resultptr
= new wxRect((wxRect
&) result
);
25613 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
25621 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
;
25623 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25625 wxPoint
*arg3
= 0 ;
25628 PyObject
* obj0
= 0 ;
25629 PyObject
* obj1
= 0 ;
25630 PyObject
* obj2
= 0 ;
25631 char *kwnames
[] = {
25632 (char *) "self",(char *) "dc",(char *) "pos", NULL
25635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25637 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25638 if (arg2
== NULL
) {
25639 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25643 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
25649 wxPyEndAllowThreads(__tstate
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25652 resultobj
= PyInt_FromLong((long)result
);
25659 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25660 PyObject
*resultobj
;
25661 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25663 wxMemoryDC
*arg3
= 0 ;
25669 PyObject
* obj0
= 0 ;
25670 PyObject
* obj1
= 0 ;
25671 PyObject
* obj2
= 0 ;
25672 PyObject
* obj3
= 0 ;
25673 PyObject
* obj4
= 0 ;
25674 char *kwnames
[] = {
25675 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25680 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25681 if (arg2
== NULL
) {
25682 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25684 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25685 if (arg3
== NULL
) {
25686 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25690 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25694 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
25697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
25700 wxPyEndAllowThreads(__tstate
);
25701 if (PyErr_Occurred()) SWIG_fail
;
25703 resultobj
= PyInt_FromLong((long)result
);
25710 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25711 PyObject
*resultobj
;
25712 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25713 wxPoint
*arg2
= 0 ;
25714 wxPoint
*arg3
= 0 ;
25720 PyObject
* obj0
= 0 ;
25721 PyObject
* obj1
= 0 ;
25722 PyObject
* obj2
= 0 ;
25723 PyObject
* obj3
= 0 ;
25724 PyObject
* obj4
= 0 ;
25725 char *kwnames
[] = {
25726 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
25729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25733 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25737 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25739 arg4
= PyInt_AsLong(obj3
) ? true : false;
25740 if (PyErr_Occurred()) SWIG_fail
;
25741 arg5
= PyInt_AsLong(obj4
) ? true : false;
25742 if (PyErr_Occurred()) SWIG_fail
;
25744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25745 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
25747 wxPyEndAllowThreads(__tstate
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25750 resultobj
= PyInt_FromLong((long)result
);
25757 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
25759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25760 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
25762 return Py_BuildValue((char *)"");
25764 static PyMethodDef SwigMethods
[] = {
25765 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
25766 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
25767 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
25768 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
25769 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
25770 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
25771 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
25772 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
25773 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
25774 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
25775 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
25776 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
25777 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
25778 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
25779 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
25780 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
25781 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
25782 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25783 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
25784 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
25785 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
25786 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
25787 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
25788 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25789 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25790 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
25791 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25792 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
25793 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
25794 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
25795 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
25796 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
25797 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
25798 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
25799 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
25800 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
25801 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
25802 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25803 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25804 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
25805 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
25806 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
25807 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
25808 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25809 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25810 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25811 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
25812 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
25813 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
25814 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
25815 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
25816 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
25817 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
25818 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25819 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
25820 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
25821 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
25822 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
25823 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
25824 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
25825 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
25826 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
25827 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25828 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
25829 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25830 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25831 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
25832 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
25833 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
25834 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
25835 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
25836 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
25837 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
25838 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
25839 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25840 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
25841 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
25842 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
25843 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
25844 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
25845 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
25846 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
25847 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
25848 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
25849 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
25850 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
25851 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25852 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25853 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
25854 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25855 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25856 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25857 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
25858 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
25859 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
25860 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25861 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
25862 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
25863 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
25864 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
25865 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25866 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
25867 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
25868 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25869 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25870 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25871 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
25872 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
25873 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
25874 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
25875 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
25876 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
25877 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
25878 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
25879 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25880 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
25881 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
25882 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
25883 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25884 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
25885 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
25886 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
25887 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
25888 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25889 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25890 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
25891 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25892 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
25893 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
25894 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
25895 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25896 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25897 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25898 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
25899 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25900 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
25901 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
25902 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
25903 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
25904 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25905 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25906 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
25907 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25908 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
25909 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
25910 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
25911 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25912 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
25913 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
25914 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
25915 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25916 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25917 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
25918 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25919 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25920 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
25921 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
25922 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
25923 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
25924 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
25925 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
25926 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
25927 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
25928 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25929 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25930 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25931 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
25932 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
25933 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
25934 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
25935 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
25936 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
25937 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
25938 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
25939 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
25940 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
25941 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25942 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25943 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
25944 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
25945 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
25946 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
25947 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
25948 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
25949 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
25950 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
25951 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
25952 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
25953 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
25954 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
25955 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
25956 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
25957 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
25958 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
25959 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
25960 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
25961 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
25962 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25963 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
25964 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
25965 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
25966 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
25967 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
25968 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
25969 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
25970 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
25971 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
25972 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
25973 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
25974 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
25975 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
25976 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
25977 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
25978 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
25979 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
25980 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
25981 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
25982 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
25983 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
25984 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
25985 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
25986 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
25987 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25988 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
25989 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
25990 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25991 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
25992 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
25993 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25994 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
25995 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
25996 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25997 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25998 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
25999 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26000 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26001 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
26002 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26003 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26004 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26005 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26006 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
26007 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26008 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26009 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26010 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26011 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26012 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26013 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26014 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26015 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
26016 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26017 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26018 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
26019 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
26020 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26021 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26022 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26023 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
26024 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26025 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26026 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26027 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26028 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26029 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
26030 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
26031 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
26032 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
26033 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26034 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26035 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26036 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26037 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26038 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26039 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26040 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26041 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26042 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26043 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26044 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26045 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26046 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26047 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26048 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
26049 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
26050 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
26051 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
26052 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
26053 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26054 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
26055 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26056 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26057 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26058 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26059 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26060 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26061 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
26062 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
26063 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
26064 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26065 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26066 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26067 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26068 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26069 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26070 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26071 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26072 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26073 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26074 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
26075 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
26076 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
26077 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
26078 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
26079 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26080 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
26081 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
26082 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26083 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26084 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26085 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26086 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26087 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
26088 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
26089 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26090 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26091 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26092 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
26093 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
26094 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26095 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26096 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
26097 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26098 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
26099 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
26100 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
26101 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26102 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26103 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
26104 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26105 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
26106 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
26107 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26108 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26109 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26110 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
26111 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
26112 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26113 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26114 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26115 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
26116 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26117 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26118 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26119 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
26120 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
26121 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26122 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26123 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
26124 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26125 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
26126 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
26127 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26128 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26129 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26130 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26131 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26132 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26133 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
26134 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
26135 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26136 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26137 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26138 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26139 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26140 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26141 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
26142 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
26143 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26144 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26145 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
26146 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
26147 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
26148 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
26149 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
26150 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
26151 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26152 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26153 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
26154 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
26155 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
26156 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
26157 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
26158 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
26159 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
26160 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26161 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26162 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26163 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
26164 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
26165 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26166 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26167 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26168 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26169 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26170 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
26171 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26172 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26173 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26174 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
26175 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26176 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26177 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26178 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
26179 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
26180 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
26181 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
26182 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26183 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26184 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
26185 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26186 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26187 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
26188 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26189 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26190 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26191 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26192 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
26193 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
26194 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26195 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26196 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26197 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26198 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26199 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26200 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26201 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26202 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26203 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26204 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
26205 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
26206 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
26207 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26208 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26209 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
26210 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26211 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26212 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
26213 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
26214 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
26215 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
26216 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
26217 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26218 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
26219 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26220 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26221 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26222 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
26223 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26224 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26225 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
26226 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26227 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
26228 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26229 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26230 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
26231 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26232 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26233 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26234 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26235 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26236 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
26237 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
26238 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
26239 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
26240 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
26241 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
26242 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
26243 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
26244 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
26245 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
26246 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
26247 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
26248 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
26249 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
26250 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
26251 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
26252 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
26253 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
26254 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
26255 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
26256 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
26257 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
26258 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
26259 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
26260 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
26261 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
26262 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
26263 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
26264 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
26265 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
26266 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
26267 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
26268 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
26269 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
26270 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
26271 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26272 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26273 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26274 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26275 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
26276 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26277 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
26278 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26279 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
26280 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
26281 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
26282 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
26283 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
26284 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26285 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26286 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26287 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26288 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26289 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26290 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26291 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26292 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
26293 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
26294 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
26295 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
26296 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26297 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
26298 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26299 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
26300 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
26301 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26302 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26303 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26304 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26305 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26306 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
26307 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
26308 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
26309 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26310 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26311 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26312 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26313 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26314 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26315 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26316 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
26317 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
26318 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
26319 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26320 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26321 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26322 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26323 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
26324 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
26325 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
26326 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
26327 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
26328 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
26329 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
26330 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
26331 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
26332 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26333 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26334 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
26335 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
26336 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
26337 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26338 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
26339 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26340 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
26341 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26342 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
26343 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
26344 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26345 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
26346 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26347 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26348 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26349 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26350 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
26351 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
26352 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
26353 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
26354 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
26355 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
26356 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
26357 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
26358 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
26359 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
26360 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
26361 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26362 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
26363 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
26364 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
26365 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
26366 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
26367 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26368 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
26369 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
26370 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
26371 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
26372 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
26373 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
26374 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26375 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
26376 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26377 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26378 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26379 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
26380 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
26381 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26382 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
26383 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
26384 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
26385 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26386 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26387 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
26388 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
26389 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
26390 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26391 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26392 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
26393 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
26394 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
26395 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26396 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26397 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26398 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26399 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26400 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
26401 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
26402 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26403 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26404 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26405 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26406 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26407 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26408 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26409 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26410 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26411 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26412 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26413 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
26414 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26415 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26416 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
26417 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26418 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26419 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26420 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
26421 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
26422 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
26423 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26424 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26425 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
26426 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
26427 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
26428 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
26429 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26430 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
26431 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
26432 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
26433 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26434 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
26435 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
26436 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
26437 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
26438 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
26439 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
26440 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
26441 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
26442 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
26443 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
26444 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
26445 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
26446 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
26447 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
26448 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
26449 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
26450 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
26451 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
26452 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
26453 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
26454 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
26455 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
26456 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
26457 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
26458 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
26459 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26460 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
26461 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26462 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
26463 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
26464 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26465 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
26466 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
26467 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26468 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26469 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26470 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
26471 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
26472 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
26473 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
26474 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
26475 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
26476 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
26477 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
26478 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
26479 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
26480 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
26481 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
26482 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
26483 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26484 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26485 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
26486 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
26487 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
26488 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
26489 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26490 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26491 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26492 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
26493 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
26494 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
26495 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26496 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
26497 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
26498 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
26499 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
26500 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
26501 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
26502 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26503 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
26504 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
26505 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
26506 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
26507 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
26508 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
26509 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
26510 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
26511 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
26512 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
26513 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
26514 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
26515 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
26516 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26517 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26518 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
26519 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
26520 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
26521 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
26522 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
26523 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26524 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26525 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26526 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26527 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
26528 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
26529 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
26530 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
26531 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
26532 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
26533 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
26534 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
26535 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
26536 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26537 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
26538 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
26539 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
26540 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
26541 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
26542 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
26543 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
26544 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
26545 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
26546 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26547 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
26548 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
26549 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
26550 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
26551 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
26552 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
26553 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
26554 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
26555 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
26556 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
26557 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
26562 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26564 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
26565 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
26567 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
26568 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
26570 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
26571 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
26573 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
26574 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26576 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
26577 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26579 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
26580 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
26582 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
26583 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26585 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
26586 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
26588 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
26589 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
26591 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
26592 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
26594 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
26595 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26597 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
26598 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
26600 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
26601 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
26603 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
26604 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
26606 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
26607 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
26609 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
26610 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
26612 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
26613 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
26615 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
26616 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
26618 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
26619 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
26621 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
26622 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
26624 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
26625 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
26627 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
26628 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
26630 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
26631 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26633 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
26634 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
26636 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
26637 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
26639 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
26640 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
26642 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
26643 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
26645 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
26646 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
26648 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
26649 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26651 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
26652 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26654 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26655 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26657 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26658 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26660 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26661 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26663 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26664 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26666 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26667 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26669 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26670 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26672 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26673 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26675 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26676 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26678 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26679 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26681 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26682 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26684 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26685 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26687 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26688 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26690 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26691 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26693 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26694 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26696 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26697 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26699 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26700 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26702 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26703 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26705 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26706 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26708 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26709 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26711 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26712 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26714 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26715 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26717 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26718 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26720 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
26721 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
26723 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
26724 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26726 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
26727 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
26729 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
26730 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
26732 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
26733 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
26735 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
26736 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
26738 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
26739 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
26741 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
26742 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
26744 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
26745 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
26747 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
26748 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
26750 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
26751 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
26753 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
26754 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
26756 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
26757 return (void *)((wxControl
*) ((wxComboBox
*) x
));
26759 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
26760 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
26762 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
26763 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
26765 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
26766 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
26768 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
26769 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
26771 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
26772 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26774 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
26775 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
26777 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
26778 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
26780 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
26781 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
26783 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
26784 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
26786 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
26787 return (void *)((wxControl
*) ((wxGauge
*) x
));
26789 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
26790 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
26792 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
26793 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
26795 static void *_p_wxButtonTo_p_wxControl(void *x
) {
26796 return (void *)((wxControl
*) ((wxButton
*) x
));
26798 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
26799 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
26801 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
26802 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
26804 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
26805 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
26807 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
26808 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
26810 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
26811 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
26813 static void *_p_wxListbookTo_p_wxControl(void *x
) {
26814 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
26816 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
26817 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
26819 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
26820 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
26822 static void *_p_wxListViewTo_p_wxControl(void *x
) {
26823 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
26825 static void *_p_wxSliderTo_p_wxControl(void *x
) {
26826 return (void *)((wxControl
*) ((wxSlider
*) x
));
26828 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
26829 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
26831 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
26832 return (void *)((wxControl
*) ((wxPyControl
*) x
));
26834 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
26835 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
26837 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
26838 return (void *)((wxControl
*) ((wxStaticText
*) x
));
26840 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
26841 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
26843 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
26844 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26846 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
26847 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
26849 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
26850 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
26852 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
26853 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
26855 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
26856 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
26858 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
26859 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
26861 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
26862 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
26864 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
26865 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
26867 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
26868 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
26870 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
26871 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
26873 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
26874 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
26876 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
26877 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
26879 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
26880 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
26882 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
26883 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
26885 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26886 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26888 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26889 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26891 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
26892 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
26894 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
26895 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
26897 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
26898 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
26900 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
26901 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26903 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
26904 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
26906 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26907 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26909 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
26910 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
26912 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
26913 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
26915 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26916 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26918 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
26919 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
26921 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
26922 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
26924 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
26925 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
26927 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
26928 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
26930 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
26931 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
26933 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
26934 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
26936 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
26937 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
26939 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
26940 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
26942 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
26943 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
26945 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
26946 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
26948 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
26949 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
26951 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
26952 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
26954 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
26955 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
26957 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
26958 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
26960 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
26961 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
26963 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
26964 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
26966 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
26967 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
26969 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
26970 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
26972 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
26973 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
26975 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
26976 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
26978 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
26979 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
26981 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
26982 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
26984 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
26985 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
26987 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
26988 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
26990 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
26991 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
26993 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
26994 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
26996 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
26997 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
26999 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
27000 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
27002 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27003 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27005 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27006 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27008 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27009 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27011 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27012 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27014 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27015 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27017 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
27018 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27020 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
27021 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27023 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27024 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27026 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27027 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27029 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27030 return (void *)((wxObject
*) ((wxSizer
*) x
));
27032 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27033 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27035 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
27036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27038 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
27039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27041 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27042 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27044 static void *_p_wxEventTo_p_wxObject(void *x
) {
27045 return (void *)((wxObject
*) ((wxEvent
*) x
));
27047 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27048 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27050 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27051 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27053 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27054 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27056 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
27057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27059 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
27060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27062 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
27063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27065 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27066 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27068 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27069 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27071 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27072 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27074 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27075 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27077 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27078 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27080 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27081 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27083 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
27084 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27086 static void *_p_wxControlTo_p_wxObject(void *x
) {
27087 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27089 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
27090 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27092 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
27093 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27095 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
27096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27098 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
27099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27101 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
27102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27104 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27105 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27107 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
27108 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27110 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27111 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27113 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27114 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27116 static void *_p_wxListViewTo_p_wxObject(void *x
) {
27117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27119 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
27120 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27122 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
27123 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27125 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27126 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27128 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27129 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27131 static void *_p_wxListbookTo_p_wxObject(void *x
) {
27132 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27134 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27135 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27137 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
27138 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27140 static void *_p_wxSliderTo_p_wxObject(void *x
) {
27141 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27143 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27144 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27146 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27147 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27149 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27150 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27152 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27153 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27155 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27156 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27158 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27159 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27161 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27162 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27164 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27165 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27167 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27168 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27170 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
27171 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27173 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
27174 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
27176 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27177 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27179 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27180 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27182 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27183 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27185 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27186 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27188 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27189 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27191 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27192 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27194 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27195 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27197 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27198 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27200 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27201 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27203 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27204 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27206 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27207 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27209 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27210 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27212 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27213 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27215 static void *_p_wxListEventTo_p_wxObject(void *x
) {
27216 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
27218 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
27219 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27221 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
27222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27224 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
27225 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27227 static void *_p_wxButtonTo_p_wxObject(void *x
) {
27228 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27230 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
27231 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27233 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
27234 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27236 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
27237 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27239 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
27240 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
27242 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
27243 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27245 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
27246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27248 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
27249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
27251 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
27252 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
27254 static void *_p_wxListItemTo_p_wxObject(void *x
) {
27255 return (void *)((wxObject
*) ((wxListItem
*) x
));
27257 static void *_p_wxImageTo_p_wxObject(void *x
) {
27258 return (void *)((wxObject
*) ((wxImage
*) x
));
27260 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
27261 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
27263 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27264 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27266 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
27267 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
27269 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
27270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27272 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
27273 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27275 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
27276 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27278 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27279 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27281 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27282 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27284 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27285 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27287 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27288 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27290 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27291 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27293 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27294 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27296 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27297 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27299 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27300 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27302 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
27303 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
27305 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
27306 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
27308 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
27309 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
27311 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
27312 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
27314 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
27315 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
27317 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
27318 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27320 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
27321 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27323 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
27324 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
27326 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
27327 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
27329 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
27330 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
27332 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
27333 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
27335 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
27336 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27338 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
27339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27341 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
27342 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
27344 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
27345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27347 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
27348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
27350 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
27351 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
27353 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
27354 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
27356 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
27357 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
27359 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
27360 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
27362 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
27363 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27365 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
27366 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
27368 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
27369 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
27371 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
27372 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
27374 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27375 return (void *)((wxWindow
*) ((wxControl
*) x
));
27377 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
27378 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
27380 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
27381 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27383 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
27384 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
27386 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
27387 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
27389 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
27390 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
27392 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
27393 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
27395 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27396 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27398 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
27399 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
27401 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
27402 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
27404 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
27405 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27407 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
27408 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
27410 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
27411 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
27413 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
27414 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
27416 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
27417 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27419 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
27420 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27422 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
27423 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27425 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
27426 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27428 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
27429 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27431 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
27432 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
27434 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
27435 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
27437 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
27438 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
27440 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
27441 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
27443 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
27444 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
27446 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
27447 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
27449 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
27450 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
27452 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
27453 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27455 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
27456 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27458 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
27459 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
27461 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
27462 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27464 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
27465 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27467 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
27468 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27470 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
27471 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
27473 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
27474 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27476 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
27477 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27479 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
27480 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27482 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
27483 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27485 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
27486 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27488 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
27489 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
27491 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
27492 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27494 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
27495 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27497 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
27498 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
27500 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
27501 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27503 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
27504 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27506 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
27507 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27509 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
27510 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
27512 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
27513 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
27515 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
27516 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
27518 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
27519 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
27521 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27522 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}};
27523 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}};
27524 static swig_type_info _swigt__p_wxTreeItemIdValue
[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27525 static swig_type_info _swigt__wxTreeItemIdValue
[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27526 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27527 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27528 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}};
27529 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27530 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27531 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27532 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}};
27533 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27534 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
27535 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27536 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}};
27537 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27538 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27539 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
27540 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27541 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27542 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27543 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
27544 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27545 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27546 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27547 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27548 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27549 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27550 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27551 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27552 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27553 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}};
27554 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27555 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27556 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27557 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27558 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27559 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27560 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27561 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27562 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}};
27563 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27564 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
27565 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27566 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}};
27567 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27568 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}};
27569 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
27570 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27571 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27572 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27573 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27574 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27575 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27576 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27577 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27578 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27579 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27580 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27581 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27582 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
27583 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27584 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27585 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27586 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27587 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27588 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_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{0}};
27589 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27590 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27591 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}};
27592 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27593 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27594 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27595 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27596 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}};
27597 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27598 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}};
27599 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27600 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27601 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27602 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27603 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
27605 static swig_type_info
*swig_types_initial
[] = {
27606 _swigt__p_wxTextUrlEvent
,
27607 _swigt__p_wxBookCtrlEvent
,
27609 _swigt__p_wxTreeItemIdValue
,
27610 _swigt__wxTreeItemIdValue
,
27611 _swigt__p_wxCheckBox
,
27612 _swigt__p_wxPyTreeCtrl
,
27614 _swigt__p_wxGenericDirCtrl
,
27616 _swigt__p_wxPyTreeItemData
,
27617 _swigt__p_wxItemContainer
,
27618 _swigt__p_wxDirFilterListCtrl
,
27619 _swigt__p_wxPyListCtrl
,
27620 _swigt__p_wxStaticLine
,
27621 _swigt__p_wxControl
,
27622 _swigt__p_wxPyControl
,
27624 _swigt__p_wxToolBarBase
,
27626 _swigt__p_wxToggleButton
,
27627 _swigt__p_wxRadioButton
,
27628 _swigt__p_wxChoice
,
27629 _swigt__p_wxMemoryDC
,
27630 _swigt__p_wxListItemAttr
,
27634 _swigt__p_wxListView
,
27636 _swigt__p_wxTextCtrl
,
27637 _swigt__p_wxNotebook
,
27638 _swigt__p_wxNotifyEvent
,
27639 _swigt__p_wxArrayString
,
27640 _swigt__p_wxListbook
,
27641 _swigt__p_wxStaticBitmap
,
27642 _swigt__p_wxSlider
,
27643 _swigt__p_wxStaticBox
,
27644 _swigt__p_wxArrayInt
,
27645 _swigt__p_wxContextHelp
,
27647 _swigt__p_wxEvtHandler
,
27648 _swigt__p_wxListEvent
,
27649 _swigt__p_wxListBox
,
27650 _swigt__p_wxCheckListBox
,
27651 _swigt__p_wxBookCtrl
,
27652 _swigt__p_wxSpinButton
,
27653 _swigt__p_wxButton
,
27654 _swigt__p_wxBitmapButton
,
27656 _swigt__p_wxContextHelpButton
,
27657 _swigt__p_wxRadioBox
,
27658 _swigt__p_wxScrollBar
,
27659 _swigt__p_wxTreeItemId
,
27660 _swigt__p_wxComboBox
,
27661 _swigt__p_wxHelpEvent
,
27662 _swigt__p_wxListItem
,
27663 _swigt__p_wxNotebookSizer
,
27664 _swigt__p_wxGenericDragImage
,
27665 _swigt__p_wxSpinCtrl
,
27666 _swigt__p_wxImageList
,
27667 _swigt__p_wxHelpProvider
,
27668 _swigt__p_wxTextAttr
,
27669 _swigt__p_wxSimpleHelpProvider
,
27671 _swigt__p_wxListbookEvent
,
27672 _swigt__p_wxNotebookEvent
,
27673 _swigt__p_wxObject
,
27674 _swigt__p_wxCursor
,
27675 _swigt__p_wxKeyEvent
,
27676 _swigt__p_wxWindow
,
27677 _swigt__p_wxString
,
27678 _swigt__p_wxBitmap
,
27679 _swigt__p_wxTreeEvent
,
27680 _swigt__p_wxMouseEvent
,
27681 _swigt__p_wxCommandEvent
,
27682 _swigt__p_wxStaticText
,
27683 _swigt__p_wxControlWithItems
,
27684 _swigt__p_wxToolBarToolBase
,
27685 _swigt__p_wxColour
,
27686 _swigt__p_wxToolBar
,
27687 _swigt__p_wxBookCtrlSizer
,
27688 _swigt__p_wxValidator
,
27693 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27695 static swig_const_info swig_const_table
[] = {
27696 { SWIG_PY_INT
, (char *)"BU_LEFT", (long) wxBU_LEFT
, 0, 0, 0},
27697 { SWIG_PY_INT
, (char *)"BU_TOP", (long) wxBU_TOP
, 0, 0, 0},
27698 { SWIG_PY_INT
, (char *)"BU_RIGHT", (long) wxBU_RIGHT
, 0, 0, 0},
27699 { SWIG_PY_INT
, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM
, 0, 0, 0},
27700 { SWIG_PY_INT
, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT
, 0, 0, 0},
27701 { SWIG_PY_INT
, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW
, 0, 0, 0},
27702 { SWIG_PY_INT
, (char *)"CHK_2STATE", (long) wxCHK_2STATE
, 0, 0, 0},
27703 { SWIG_PY_INT
, (char *)"CHK_3STATE", (long) wxCHK_3STATE
, 0, 0, 0},
27704 { SWIG_PY_INT
, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER
, 0, 0, 0},
27705 { SWIG_PY_INT
, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED
, 0, 0, 0},
27706 { SWIG_PY_INT
, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED
, 0, 0, 0},
27707 { SWIG_PY_INT
, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED
, 0, 0, 0},
27708 { SWIG_PY_INT
, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL
, 0, 0, 0},
27709 { SWIG_PY_INT
, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL
, 0, 0, 0},
27710 { SWIG_PY_INT
, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH
, 0, 0, 0},
27711 { SWIG_PY_INT
, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR
, 0, 0, 0},
27712 { SWIG_PY_INT
, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL
, 0, 0, 0},
27713 { SWIG_PY_INT
, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL
, 0, 0, 0},
27714 { SWIG_PY_INT
, (char *)"TE_READONLY", (long) wxTE_READONLY
, 0, 0, 0},
27715 { SWIG_PY_INT
, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE
, 0, 0, 0},
27716 { SWIG_PY_INT
, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB
, 0, 0, 0},
27717 { SWIG_PY_INT
, (char *)"TE_LEFT", (long) wxTE_LEFT
, 0, 0, 0},
27718 { SWIG_PY_INT
, (char *)"TE_CENTER", (long) wxTE_CENTER
, 0, 0, 0},
27719 { SWIG_PY_INT
, (char *)"TE_RIGHT", (long) wxTE_RIGHT
, 0, 0, 0},
27720 { SWIG_PY_INT
, (char *)"TE_CENTRE", (long) wxTE_CENTRE
, 0, 0, 0},
27721 { SWIG_PY_INT
, (char *)"TE_RICH", (long) wxTE_RICH
, 0, 0, 0},
27722 { SWIG_PY_INT
, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER
, 0, 0, 0},
27723 { SWIG_PY_INT
, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD
, 0, 0, 0},
27724 { SWIG_PY_INT
, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL
, 0, 0, 0},
27725 { SWIG_PY_INT
, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL
, 0, 0, 0},
27726 { SWIG_PY_INT
, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP
, 0, 0, 0},
27727 { SWIG_PY_INT
, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP
, 0, 0, 0},
27728 { SWIG_PY_INT
, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP
, 0, 0, 0},
27729 { SWIG_PY_INT
, (char *)"TE_RICH2", (long) wxTE_RICH2
, 0, 0, 0},
27730 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT
, 0, 0, 0},
27731 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT
, 0, 0, 0},
27732 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE
, 0, 0, 0},
27733 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER
, 0, 0, 0},
27734 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT
, 0, 0, 0},
27735 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED
, 0, 0, 0},
27736 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR
, 0, 0, 0},
27737 { SWIG_PY_INT
, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR
, 0, 0, 0},
27738 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE
, 0, 0, 0},
27739 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE
, 0, 0, 0},
27740 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT
, 0, 0, 0},
27741 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC
, 0, 0, 0},
27742 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE
, 0, 0, 0},
27743 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT
, 0, 0, 0},
27744 { SWIG_PY_INT
, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT
, 0, 0, 0},
27745 { SWIG_PY_INT
, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT
, 0, 0, 0},
27746 { SWIG_PY_INT
, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT
, 0, 0, 0},
27747 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS
, 0, 0, 0},
27748 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED
, 0, 0, 0},
27749 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER
, 0, 0, 0},
27750 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL
, 0, 0, 0},
27751 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN
, 0, 0, 0},
27752 { SWIG_PY_INT
, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL
, 0, 0, 0},
27753 { SWIG_PY_INT
, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL
, 0, 0, 0},
27754 { SWIG_PY_INT
, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS
, 0, 0, 0},
27755 { SWIG_PY_INT
, (char *)"SP_WRAP", (long) wxSP_WRAP
, 0, 0, 0},
27756 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED
, 0, 0, 0},
27757 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, 0, 0, 0},
27758 { SWIG_PY_INT
, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH
, 0, 0, 0},
27759 { SWIG_PY_INT
, (char *)"NB_TOP", (long) wxNB_TOP
, 0, 0, 0},
27760 { SWIG_PY_INT
, (char *)"NB_LEFT", (long) wxNB_LEFT
, 0, 0, 0},
27761 { SWIG_PY_INT
, (char *)"NB_RIGHT", (long) wxNB_RIGHT
, 0, 0, 0},
27762 { SWIG_PY_INT
, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM
, 0, 0, 0},
27763 { SWIG_PY_INT
, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE
, 0, 0, 0},
27764 { SWIG_PY_INT
, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE
, 0, 0, 0},
27765 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON
, 0, 0, 0},
27766 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL
, 0, 0, 0},
27767 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM
, 0, 0, 0},
27768 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, 0, 0, 0},
27769 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, 0, 0, 0},
27770 { SWIG_PY_INT
, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT
, 0, 0, 0},
27771 { SWIG_PY_INT
, (char *)"LB_TOP", (long) wxLB_TOP
, 0, 0, 0},
27772 { SWIG_PY_INT
, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM
, 0, 0, 0},
27773 { SWIG_PY_INT
, (char *)"LB_LEFT", (long) wxLB_LEFT
, 0, 0, 0},
27774 { SWIG_PY_INT
, (char *)"LB_RIGHT", (long) wxLB_RIGHT
, 0, 0, 0},
27775 { SWIG_PY_INT
, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK
, 0, 0, 0},
27776 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
, 0, 0, 0},
27777 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
, 0, 0, 0},
27778 { SWIG_PY_INT
, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON
, 0, 0, 0},
27779 { SWIG_PY_INT
, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR
, 0, 0, 0},
27780 { SWIG_PY_INT
, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL
, 0, 0, 0},
27781 { SWIG_PY_INT
, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL
, 0, 0, 0},
27782 { SWIG_PY_INT
, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL
, 0, 0, 0},
27783 { SWIG_PY_INT
, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS
, 0, 0, 0},
27784 { SWIG_PY_INT
, (char *)"TB_FLAT", (long) wxTB_FLAT
, 0, 0, 0},
27785 { SWIG_PY_INT
, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE
, 0, 0, 0},
27786 { SWIG_PY_INT
, (char *)"TB_NOICONS", (long) wxTB_NOICONS
, 0, 0, 0},
27787 { SWIG_PY_INT
, (char *)"TB_TEXT", (long) wxTB_TEXT
, 0, 0, 0},
27788 { SWIG_PY_INT
, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER
, 0, 0, 0},
27789 { SWIG_PY_INT
, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN
, 0, 0, 0},
27790 { SWIG_PY_INT
, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT
, 0, 0, 0},
27791 { SWIG_PY_INT
, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT
, 0, 0, 0},
27792 { SWIG_PY_INT
, (char *)"LC_VRULES", (long) wxLC_VRULES
, 0, 0, 0},
27793 { SWIG_PY_INT
, (char *)"LC_HRULES", (long) wxLC_HRULES
, 0, 0, 0},
27794 { SWIG_PY_INT
, (char *)"LC_ICON", (long) wxLC_ICON
, 0, 0, 0},
27795 { SWIG_PY_INT
, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON
, 0, 0, 0},
27796 { SWIG_PY_INT
, (char *)"LC_LIST", (long) wxLC_LIST
, 0, 0, 0},
27797 { SWIG_PY_INT
, (char *)"LC_REPORT", (long) wxLC_REPORT
, 0, 0, 0},
27798 { SWIG_PY_INT
, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP
, 0, 0, 0},
27799 { SWIG_PY_INT
, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT
, 0, 0, 0},
27800 { SWIG_PY_INT
, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE
, 0, 0, 0},
27801 { SWIG_PY_INT
, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL
, 0, 0, 0},
27802 { SWIG_PY_INT
, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS
, 0, 0, 0},
27803 { SWIG_PY_INT
, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER
, 0, 0, 0},
27804 { SWIG_PY_INT
, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER
, 0, 0, 0},
27805 { SWIG_PY_INT
, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL
, 0, 0, 0},
27806 { SWIG_PY_INT
, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING
, 0, 0, 0},
27807 { SWIG_PY_INT
, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING
, 0, 0, 0},
27808 { SWIG_PY_INT
, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE
, 0, 0, 0},
27809 { SWIG_PY_INT
, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN
, 0, 0, 0},
27810 { SWIG_PY_INT
, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT
, 0, 0, 0},
27811 { SWIG_PY_INT
, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE
, 0, 0, 0},
27812 { SWIG_PY_INT
, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT
, 0, 0, 0},
27813 { SWIG_PY_INT
, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE
, 0, 0, 0},
27814 { SWIG_PY_INT
, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA
, 0, 0, 0},
27815 { SWIG_PY_INT
, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM
, 0, 0, 0},
27816 { SWIG_PY_INT
, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH
, 0, 0, 0},
27817 { SWIG_PY_INT
, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT
, 0, 0, 0},
27818 { SWIG_PY_INT
, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE
, 0, 0, 0},
27819 { SWIG_PY_INT
, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED
, 0, 0, 0},
27820 { SWIG_PY_INT
, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED
, 0, 0, 0},
27821 { SWIG_PY_INT
, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED
, 0, 0, 0},
27822 { SWIG_PY_INT
, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT
, 0, 0, 0},
27823 { SWIG_PY_INT
, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED
, 0, 0, 0},
27824 { SWIG_PY_INT
, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED
, 0, 0, 0},
27825 { SWIG_PY_INT
, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE
, 0, 0, 0},
27826 { SWIG_PY_INT
, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED
, 0, 0, 0},
27827 { SWIG_PY_INT
, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE
, 0, 0, 0},
27828 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE
, 0, 0, 0},
27829 { SWIG_PY_INT
, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW
, 0, 0, 0},
27830 { SWIG_PY_INT
, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE
, 0, 0, 0},
27831 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON
, 0, 0, 0},
27832 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL
, 0, 0, 0},
27833 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT
, 0, 0, 0},
27834 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
27835 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT
, 0, 0, 0},
27836 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT
, 0, 0, 0},
27837 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM
, 0, 0, 0},
27838 { SWIG_PY_INT
, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE
, 0, 0, 0},
27839 { SWIG_PY_INT
, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL
, 0, 0, 0},
27840 { SWIG_PY_INT
, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW
, 0, 0, 0},
27841 { SWIG_PY_INT
, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT
, 0, 0, 0},
27842 { SWIG_PY_INT
, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT
, 0, 0, 0},
27843 { SWIG_PY_INT
, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT
, 0, 0, 0},
27844 { SWIG_PY_INT
, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT
, 0, 0, 0},
27845 { SWIG_PY_INT
, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP
, 0, 0, 0},
27846 { SWIG_PY_INT
, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID
, 0, 0, 0},
27847 { SWIG_PY_INT
, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT
, 0, 0, 0},
27848 { SWIG_PY_INT
, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT
, 0, 0, 0},
27849 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE
, 0, 0, 0},
27850 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER
, 0, 0, 0},
27851 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE
, 0, 0, 0},
27852 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER
, 0, 0, 0},
27853 { SWIG_PY_INT
, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS
, 0, 0, 0},
27854 { SWIG_PY_INT
, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON
, 0, 0, 0},
27855 { SWIG_PY_INT
, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL
, 0, 0, 0},
27856 { SWIG_PY_INT
, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP
, 0, 0, 0},
27857 { SWIG_PY_INT
, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN
, 0, 0, 0},
27858 { SWIG_PY_INT
, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT
, 0, 0, 0},
27859 { SWIG_PY_INT
, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT
, 0, 0, 0},
27860 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG
, 0, 0, 0},
27861 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
, 0, 0, 0},
27862 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, 0, 0, 0},
27863 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
, 0, 0, 0},
27864 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM
, 0, 0, 0},
27865 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, 0, 0, 0},
27866 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO
, 0, 0, 0},
27867 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO
, 0, 0, 0},
27868 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED
, 0, 0, 0},
27869 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
, 0, 0, 0},
27870 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN
, 0, 0, 0},
27871 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM
, 0, 0, 0},
27872 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK
, 0, 0, 0},
27873 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
, 0, 0, 0},
27874 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, 0, 0, 0},
27875 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, 0, 0, 0},
27876 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT
, 0, 0, 0},
27877 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
, 0, 0, 0},
27878 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
, 0, 0, 0},
27879 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING
, 0, 0, 0},
27880 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG
, 0, 0, 0},
27881 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
, 0, 0, 0},
27882 { SWIG_PY_INT
, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS
, 0, 0, 0},
27883 { SWIG_PY_INT
, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS
, 0, 0, 0},
27884 { SWIG_PY_INT
, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES
, 0, 0, 0},
27885 { SWIG_PY_INT
, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT
, 0, 0, 0},
27886 { SWIG_PY_INT
, (char *)"TR_SINGLE", (long) wxTR_SINGLE
, 0, 0, 0},
27887 { SWIG_PY_INT
, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE
, 0, 0, 0},
27888 { SWIG_PY_INT
, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED
, 0, 0, 0},
27889 { SWIG_PY_INT
, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT
, 0, 0, 0},
27890 { SWIG_PY_INT
, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS
, 0, 0, 0},
27891 { SWIG_PY_INT
, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT
, 0, 0, 0},
27892 { SWIG_PY_INT
, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES
, 0, 0, 0},
27893 { SWIG_PY_INT
, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT
, 0, 0, 0},
27894 { SWIG_PY_INT
, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE
, 0, 0, 0},
27895 { SWIG_PY_INT
, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS
, 0, 0, 0},
27896 { SWIG_PY_INT
, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS
, 0, 0, 0},
27897 { SWIG_PY_INT
, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS
, 0, 0, 0},
27898 { SWIG_PY_INT
, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal
, 0, 0, 0},
27899 { SWIG_PY_INT
, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected
, 0, 0, 0},
27900 { SWIG_PY_INT
, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded
, 0, 0, 0},
27901 { SWIG_PY_INT
, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded
, 0, 0, 0},
27902 { SWIG_PY_INT
, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max
, 0, 0, 0},
27903 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE
, 0, 0, 0},
27904 { SWIG_PY_INT
, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW
, 0, 0, 0},
27905 { SWIG_PY_INT
, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE
, 0, 0, 0},
27906 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON
, 0, 0, 0},
27907 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON
, 0, 0, 0},
27908 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT
, 0, 0, 0},
27909 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL
, 0, 0, 0},
27910 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT
, 0, 0, 0},
27911 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
27912 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT
, 0, 0, 0},
27913 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT
, 0, 0, 0},
27914 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART
, 0, 0, 0},
27915 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART
, 0, 0, 0},
27916 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM
, 0, 0, 0},
27917 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG
, 0, 0, 0},
27918 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
, 0, 0, 0},
27919 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, 0, 0, 0},
27920 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
, 0, 0, 0},
27921 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM
, 0, 0, 0},
27922 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO
, 0, 0, 0},
27923 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO
, 0, 0, 0},
27924 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
, 0, 0, 0},
27925 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
, 0, 0, 0},
27926 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, 0, 0, 0},
27927 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, 0, 0, 0},
27928 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED
, 0, 0, 0},
27929 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING
, 0, 0, 0},
27930 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN
, 0, 0, 0},
27931 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
, 0, 0, 0},
27932 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
, 0, 0, 0},
27933 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
, 0, 0, 0},
27934 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG
, 0, 0, 0},
27935 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
, 0, 0, 0},
27936 { SWIG_PY_INT
, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY
, 0, 0, 0},
27937 { SWIG_PY_INT
, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST
, 0, 0, 0},
27938 { SWIG_PY_INT
, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS
, 0, 0, 0},
27939 { SWIG_PY_INT
, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL
, 0, 0, 0},
27940 { SWIG_PY_INT
, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS
, 0, 0, 0},
27941 { SWIG_PY_INT
, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP
, 0, 0, 0},
27942 { SWIG_PY_INT
, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP
, 0, 0, 0},
27943 { SWIG_PY_INT
, (char *)"wxEVT_HELP", (long) wxEVT_HELP
, 0, 0, 0},
27944 { SWIG_PY_INT
, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP
, 0, 0, 0},
27954 SWIGEXPORT(void) SWIG_init(void) {
27955 static PyObject
*SWIG_globals
= 0;
27956 static int typeinit
= 0;
27959 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27960 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27961 d
= PyModule_GetDict(m
);
27964 for (i
= 0; swig_types_initial
[i
]; i
++) {
27965 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27969 SWIG_InstallConstants(d
,swig_const_table
);
27971 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
27972 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
27973 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
27974 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
27975 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
27976 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
27977 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
27978 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
27979 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
27980 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
27981 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
27982 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
27983 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
27984 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
27985 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
27986 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
27987 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
27988 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
27989 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
27990 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
27991 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
27992 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
27993 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
27994 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
27995 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
27996 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
27997 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
27998 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
27999 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
28000 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
28001 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
28002 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
28004 // Map renamed classes back to their common name for OOR
28005 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28007 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
28008 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
28009 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
28010 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
28011 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
28012 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
28013 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
28014 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
28015 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
28016 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
28017 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
28018 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
28019 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
28020 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
28021 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
28022 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
28023 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
28024 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
28025 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
28027 // Map renamed classes back to their common name for OOR
28028 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28029 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28031 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
28032 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
28034 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");