1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
150 /* Flags for pointer conversion */
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
158 /* Constant information structure */
159 typedef struct swig_const_info
{
165 swig_type_info
**ptype
;
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
200 /* Contract support */
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
210 /* -------- TYPES TABLE (BEGIN) -------- */
212 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
213 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
214 #define SWIGTYPE_p_wxSizer swig_types[2]
215 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
216 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
217 #define SWIGTYPE_p_wxCheckBox swig_types[5]
218 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
221 #define SWIGTYPE_p_bool swig_types[9]
222 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
223 #define SWIGTYPE_p_wxItemContainer swig_types[11]
224 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
225 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
226 #define SWIGTYPE_p_wxStaticLine swig_types[14]
227 #define SWIGTYPE_p_wxControl swig_types[15]
228 #define SWIGTYPE_p_wxPyControl swig_types[16]
229 #define SWIGTYPE_p_wxGauge swig_types[17]
230 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
231 #define SWIGTYPE_p_wxFont swig_types[19]
232 #define SWIGTYPE_p_wxToggleButton swig_types[20]
233 #define SWIGTYPE_p_wxRadioButton swig_types[21]
234 #define SWIGTYPE_p_wxChoice swig_types[22]
235 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
236 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
237 #define SWIGTYPE_p_int swig_types[25]
238 #define SWIGTYPE_p_wxSize swig_types[26]
239 #define SWIGTYPE_p_wxDC swig_types[27]
240 #define SWIGTYPE_p_wxListView swig_types[28]
241 #define SWIGTYPE_p_wxIcon swig_types[29]
242 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
243 #define SWIGTYPE_p_wxNotebook swig_types[31]
244 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
245 #define SWIGTYPE_p_wxArrayString swig_types[33]
246 #define SWIGTYPE_p_wxListbook swig_types[34]
247 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
248 #define SWIGTYPE_p_wxSlider swig_types[36]
249 #define SWIGTYPE_p_wxStaticBox swig_types[37]
250 #define SWIGTYPE_p_wxArrayInt swig_types[38]
251 #define SWIGTYPE_p_wxContextHelp swig_types[39]
252 #define SWIGTYPE_p_long swig_types[40]
253 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
254 #define SWIGTYPE_p_wxListEvent swig_types[42]
255 #define SWIGTYPE_p_wxListBox swig_types[43]
256 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
257 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
258 #define SWIGTYPE_p_wxSpinButton swig_types[46]
259 #define SWIGTYPE_p_wxButton swig_types[47]
260 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
261 #define SWIGTYPE_p_wxRect swig_types[49]
262 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
263 #define SWIGTYPE_p_wxRadioBox swig_types[51]
264 #define SWIGTYPE_p_wxScrollBar swig_types[52]
265 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
266 #define SWIGTYPE_p_wxComboBox swig_types[54]
267 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
268 #define SWIGTYPE_p_wxListItem swig_types[56]
269 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
270 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
271 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
272 #define SWIGTYPE_p_wxImageList swig_types[60]
273 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
274 #define SWIGTYPE_p_wxTextAttr swig_types[62]
275 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
276 #define SWIGTYPE_p_wxPoint swig_types[64]
277 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
278 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
279 #define SWIGTYPE_p_wxObject swig_types[67]
280 #define SWIGTYPE_p_wxCursor swig_types[68]
281 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
282 #define SWIGTYPE_p_wxWindow swig_types[70]
283 #define SWIGTYPE_p_wxString swig_types[71]
284 #define SWIGTYPE_p_wxBitmap swig_types[72]
285 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
286 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
288 #define SWIGTYPE_p_wxStaticText swig_types[76]
289 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
290 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
291 #define SWIGTYPE_p_wxColour swig_types[79]
292 #define SWIGTYPE_p_wxToolBar swig_types[80]
293 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
294 #define SWIGTYPE_p_wxValidator swig_types[82]
295 static swig_type_info
*swig_types
[84];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _controls.so
302 ------------------------------------------------*/
303 #define SWIG_init init_controls
305 #define SWIG_name "_controls"
307 #include "wx/wxPython/wxPython.h"
308 #include "wx/wxPython/pyclasses.h"
310 DECLARE_DEF_STRING(PanelNameStr
);
311 DECLARE_DEF_STRING(EmptyString
);
312 DECLARE_DEF_STRING(ControlNameStr
);
316 DECLARE_DEF_STRING(ButtonNameStr
);
319 DECLARE_DEF_STRING(CheckBoxNameStr
);
322 DECLARE_DEF_STRING(ChoiceNameStr
);
325 DECLARE_DEF_STRING(ComboBoxNameStr
);
328 DECLARE_DEF_STRING(GaugeNameStr
);
331 DECLARE_DEF_STRING(StaticBitmapNameStr
);
332 DECLARE_DEF_STRING(StaticBoxNameStr
);
333 DECLARE_DEF_STRING(StaticTextNameStr
);
336 #include <wx/checklst.h>
338 DECLARE_DEF_STRING(ListBoxNameStr
);
340 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
342 wxPyClientData
* data
= new wxPyClientData(clientData
);
343 self
->Insert(item
, pos
, data
);
345 self
->Insert(item
, pos
);
347 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
349 self
->GetSelections(lst
);
350 PyObject
*tup
= PyTuple_New(lst
.GetCount());
351 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
352 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
357 DECLARE_DEF_STRING(TextCtrlNameStr
);
360 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
366 } else if (target
== Py_None
) {
370 if (!PyTuple_Check(target
)) {
372 target
= PyTuple_New(1);
373 PyTuple_SetItem(target
, 0, o2
);
376 PyTuple_SetItem(o3
, 0, o
);
379 target
= PySequence_Concat(o2
, o3
);
386 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
387 self
->AppendText(text
);
389 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
390 return self
->GetValue().Mid(from
, to
- from
);
393 DECLARE_DEF_STRING(ScrollBarNameStr
);
396 DECLARE_DEF_STRING(SPIN_BUTTON_NAME
);
397 wxChar
* wxSpinCtrlNameStr
= _T("wxSpinCtrl");
398 DECLARE_DEF_STRING(SpinCtrlNameStr
);
401 DECLARE_DEF_STRING(RadioBoxNameStr
);
402 DECLARE_DEF_STRING(RadioButtonNameStr
);
405 #include <wx/slider.h>
407 DECLARE_DEF_STRING(SliderNameStr
);
410 wxChar
* wxToggleButtonNameStr
= _T("wxToggleButton");
411 DECLARE_DEF_STRING(ToggleButtonNameStr
);
415 // implement dummy classes and such for wxMac
417 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
419 class wxToggleButton
: public wxControl
422 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
423 const wxPoint
&, const wxSize
&, long,
424 const wxValidator
&, const wxString
&)
425 { PyErr_SetNone(PyExc_NotImplementedError
); }
428 { PyErr_SetNone(PyExc_NotImplementedError
); }
433 DECLARE_DEF_STRING(NOTEBOOK_NAME
);
436 DECLARE_DEF_STRING(ToolBarNameStr
);
438 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
439 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
441 Py_INCREF(udata
->m_obj
);
448 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
449 self
->SetClientData(new wxPyUserData(clientData
));
451 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
){
452 wxPyUserData
* udata
= NULL
;
453 if (clientData
&& clientData
!= Py_None
)
454 udata
= new wxPyUserData(clientData
);
455 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
456 shortHelp
, longHelp
, udata
);
458 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
){
459 wxPyUserData
* udata
= NULL
;
460 if (clientData
&& clientData
!= Py_None
)
461 udata
= new wxPyUserData(clientData
);
462 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
463 shortHelp
, longHelp
, udata
);
465 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
466 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
468 Py_INCREF(udata
->m_obj
);
475 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
476 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
479 #include <wx/listctrl.h>
481 const wxChar
* wxListCtrlNameStr
= _T("wxListCtrl");
482 DECLARE_DEF_STRING(ListCtrlNameStr
);
484 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
485 // Python aware sorting function for wxPyListCtrl
486 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
488 PyObject
* func
= (PyObject
*)funcPtr
;
489 wxPyBeginBlockThreads();
491 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
492 PyObject
* result
= PyEval_CallObject(func
, args
);
495 retval
= PyInt_AsLong(result
);
499 wxPyEndBlockThreads();
503 // C++ Version of a Python aware class
504 class wxPyListCtrl
: public wxListCtrl
{
505 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
507 wxPyListCtrl() : wxListCtrl() {}
508 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
512 const wxValidator
& validator
,
513 const wxString
& name
) :
514 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
516 bool Create(wxWindow
* parent
, wxWindowID id
,
520 const wxValidator
& validator
,
521 const wxString
& name
) {
522 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
525 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
526 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
527 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
532 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
534 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
535 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
536 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
538 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
540 item
.SetMask( wxLIST_MASK_STATE
|
548 if (self
->GetColumn(col
, item
))
549 return new wxListItem(item
);
553 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
554 wxListItem
* info
= new wxListItem
;
555 info
->m_itemId
= itemId
;
557 info
->m_mask
= 0xFFFF;
558 self
->GetItem(*info
);
561 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
563 self
->GetItemPosition(item
, pos
);
566 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
568 self
->GetItemRect(item
, rect
, code
);
571 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
572 if (!PyCallable_Check(func
))
574 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
576 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
580 return (wxWindow
*)self
->m_mainWin
;
584 #include <wx/treectrl.h>
585 #include "wx/wxPython/pytree.h"
587 const wxChar
* wx_TreeCtrlNameStr
= _T("wxTreeCtrl");
588 DECLARE_DEF_STRING(_TreeCtrlNameStr
);
590 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
591 if (!other
) return False
;
592 return *self
== *other
;
594 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
595 if (!other
) return True
;
596 return *self
!= *other
;
598 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
599 // C++ version of Python aware wxTreeCtrl
600 class wxPyTreeCtrl
: public wxTreeCtrl
{
601 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
603 wxPyTreeCtrl() : wxTreeCtrl() {}
604 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
608 const wxValidator
& validator
,
609 const wxString
& name
) :
610 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
612 bool Create(wxWindow
*parent
, wxWindowID id
,
616 const wxValidator
& validator
,
617 const wxString
& name
) {
618 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
622 int OnCompareItems(const wxTreeItemId
& item1
,
623 const wxTreeItemId
& item2
) {
626 wxPyBeginBlockThreads();
627 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
628 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
629 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
630 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
634 wxPyEndBlockThreads();
636 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
642 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
645 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
646 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
648 data
= new wxPyTreeItemData();
649 data
->SetId(item
); // set the id
650 self
->SetItemData(item
, data
);
654 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
655 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
657 data
= new wxPyTreeItemData();
658 data
->SetId(item
); // set the id
659 self
->SetItemData(item
, data
);
661 return data
->GetData();
663 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
664 data
->SetId(item
); // set the id
665 self
->SetItemData(item
, data
);
667 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
668 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
670 data
= new wxPyTreeItemData(obj
);
671 data
->SetId(item
); // set the id
672 self
->SetItemData(item
, data
);
676 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
677 wxPyBeginBlockThreads();
678 PyObject
* rval
= PyList_New(0);
679 wxArrayTreeItemIds array
;
681 num
= self
->GetSelections(array
);
682 for (x
=0; x
< num
; x
++) {
683 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
684 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
685 PyList_Append(rval
, item
);
687 wxPyEndBlockThreads();
690 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
691 wxTreeItemIdValue cookie
= 0;
692 wxTreeItemId ritem
= self
->GetFirstChild(item
, cookie
);
693 wxPyBeginBlockThreads();
694 PyObject
* tup
= PyTuple_New(2);
695 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
696 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
697 wxPyEndBlockThreads();
700 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxTreeItemIdValue
&cookie
){
701 wxTreeItemId ritem
= self
->GetNextChild(item
, cookie
);
702 wxPyBeginBlockThreads();
703 PyObject
* tup
= PyTuple_New(2);
704 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
705 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
706 wxPyEndBlockThreads();
709 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
711 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
712 wxPyBeginBlockThreads();
713 wxRect
* r
= new wxRect(rect
);
714 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
715 wxPyEndBlockThreads();
722 DECLARE_DEF_STRING(DirDialogDefaultFolderStr
);
724 // C++ version of Python aware wxControl
725 class wxPyControl
: public wxControl
727 DECLARE_DYNAMIC_CLASS(wxPyControl
)
729 wxPyControl() : wxControl() {}
730 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
731 const wxPoint
& pos
= wxDefaultPosition
,
732 const wxSize
& size
= wxDefaultSize
,
734 const wxValidator
& validator
=wxDefaultValidator
,
735 const wxString
& name
= wxPyControlNameStr
)
736 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
739 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
740 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
741 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
742 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
744 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
745 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
746 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
748 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
749 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
751 DEC_PYCALLBACK__(InitDialog
);
752 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
753 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
754 DEC_PYCALLBACK_BOOL_(Validate
);
756 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
757 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
758 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
760 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
761 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
766 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
768 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
769 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
770 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
771 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
773 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
774 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
775 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
777 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
778 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
780 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
781 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
782 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
783 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
785 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
786 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
787 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
789 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
790 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
795 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
797 #include <wx/generic/dragimgg.h>
802 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
804 wxWindow
*arg1
= (wxWindow
*) 0 ;
807 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
808 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
809 wxSize
const &arg5_defvalue
= wxDefaultSize
;
810 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
811 long arg6
= (long) 0 ;
812 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
813 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
814 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
815 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
821 PyObject
* obj0
= 0 ;
822 PyObject
* obj2
= 0 ;
823 PyObject
* obj3
= 0 ;
824 PyObject
* obj4
= 0 ;
825 PyObject
* obj6
= 0 ;
826 PyObject
* obj7
= 0 ;
828 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_Button",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
834 arg3
= wxString_in_helper(obj2
);
835 if (arg3
== NULL
) SWIG_fail
;
841 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
847 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
851 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
853 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
858 arg8
= wxString_in_helper(obj7
);
859 if (arg8
== NULL
) SWIG_fail
;
864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
865 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
867 wxPyEndAllowThreads(__tstate
);
868 if (PyErr_Occurred()) SWIG_fail
;
871 resultobj
= wxPyMake_wxObject(result
);
895 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
905 result
= (wxButton
*)new wxButton();
907 wxPyEndAllowThreads(__tstate
);
908 if (PyErr_Occurred()) SWIG_fail
;
911 resultobj
= wxPyMake_wxObject(result
);
919 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
921 wxButton
*arg1
= (wxButton
*) 0 ;
922 wxWindow
*arg2
= (wxWindow
*) 0 ;
925 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
926 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
927 wxSize
const &arg6_defvalue
= wxDefaultSize
;
928 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
929 long arg7
= (long) 0 ;
930 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
931 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
932 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
933 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
939 PyObject
* obj0
= 0 ;
940 PyObject
* obj1
= 0 ;
941 PyObject
* obj3
= 0 ;
942 PyObject
* obj4
= 0 ;
943 PyObject
* obj5
= 0 ;
944 PyObject
* obj7
= 0 ;
945 PyObject
* obj8
= 0 ;
947 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:Button_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
952 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
954 arg4
= wxString_in_helper(obj3
);
955 if (arg4
== NULL
) SWIG_fail
;
961 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
967 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
971 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
973 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
978 arg9
= wxString_in_helper(obj8
);
979 if (arg9
== NULL
) SWIG_fail
;
984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
985 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
987 wxPyEndAllowThreads(__tstate
);
988 if (PyErr_Occurred()) SWIG_fail
;
990 resultobj
= PyInt_FromLong((long)result
);
1013 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1014 PyObject
*resultobj
;
1015 wxButton
*arg1
= (wxButton
*) 0 ;
1016 PyObject
* obj0
= 0 ;
1018 (char *) "self", NULL
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 (arg1
)->SetDefault();
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) SWIG_fail
;
1030 Py_INCREF(Py_None
); resultobj
= Py_None
;
1037 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1038 PyObject
*resultobj
;
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1047 result
= wxButton::GetDefaultSize();
1049 wxPyEndAllowThreads(__tstate
);
1050 if (PyErr_Occurred()) SWIG_fail
;
1054 resultptr
= new wxSize((wxSize
&) result
);
1055 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1063 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1066 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1068 return Py_BuildValue((char *)"");
1070 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
*resultobj
;
1072 wxWindow
*arg1
= (wxWindow
*) 0 ;
1074 wxBitmap
*arg3
= 0 ;
1075 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1076 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1077 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1078 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1079 long arg6
= (long) wxBU_AUTODRAW
;
1080 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1081 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1082 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1083 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1084 wxBitmapButton
*result
;
1087 bool temp8
= False
;
1088 PyObject
* obj0
= 0 ;
1089 PyObject
* obj2
= 0 ;
1090 PyObject
* obj3
= 0 ;
1091 PyObject
* obj4
= 0 ;
1092 PyObject
* obj6
= 0 ;
1093 PyObject
* obj7
= 0 ;
1095 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_BitmapButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1100 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1102 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1107 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1113 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1117 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1119 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1124 arg8
= wxString_in_helper(obj7
);
1125 if (arg8
== NULL
) SWIG_fail
;
1130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1131 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1133 wxPyEndAllowThreads(__tstate
);
1134 if (PyErr_Occurred()) SWIG_fail
;
1137 resultobj
= wxPyMake_wxObject(result
);
1153 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1154 PyObject
*resultobj
;
1155 wxBitmapButton
*result
;
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1163 result
= (wxBitmapButton
*)new wxBitmapButton();
1165 wxPyEndAllowThreads(__tstate
);
1166 if (PyErr_Occurred()) SWIG_fail
;
1169 resultobj
= wxPyMake_wxObject(result
);
1177 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
*resultobj
;
1179 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1180 wxWindow
*arg2
= (wxWindow
*) 0 ;
1182 wxBitmap
*arg4
= 0 ;
1183 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1184 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1185 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1186 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1187 long arg7
= (long) wxBU_AUTODRAW
;
1188 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1189 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1190 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1191 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1195 bool temp9
= False
;
1196 PyObject
* obj0
= 0 ;
1197 PyObject
* obj1
= 0 ;
1198 PyObject
* obj3
= 0 ;
1199 PyObject
* obj4
= 0 ;
1200 PyObject
* obj5
= 0 ;
1201 PyObject
* obj7
= 0 ;
1202 PyObject
* obj8
= 0 ;
1204 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1209 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1210 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1212 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1217 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1223 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1227 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1229 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1234 arg9
= wxString_in_helper(obj8
);
1235 if (arg9
== NULL
) SWIG_fail
;
1240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1241 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1243 wxPyEndAllowThreads(__tstate
);
1244 if (PyErr_Occurred()) SWIG_fail
;
1246 resultobj
= PyInt_FromLong((long)result
);
1261 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1262 PyObject
*resultobj
;
1263 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1265 PyObject
* obj0
= 0 ;
1267 (char *) "self", NULL
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1274 result
= (arg1
)->GetBitmapLabel();
1276 wxPyEndAllowThreads(__tstate
);
1277 if (PyErr_Occurred()) SWIG_fail
;
1280 wxBitmap
* resultptr
;
1281 resultptr
= new wxBitmap((wxBitmap
&) result
);
1282 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1290 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
*resultobj
;
1292 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1294 PyObject
* obj0
= 0 ;
1296 (char *) "self", NULL
1299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1303 result
= (arg1
)->GetBitmapDisabled();
1305 wxPyEndAllowThreads(__tstate
);
1306 if (PyErr_Occurred()) SWIG_fail
;
1309 wxBitmap
* resultptr
;
1310 resultptr
= new wxBitmap((wxBitmap
&) result
);
1311 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1319 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
*resultobj
;
1321 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1323 PyObject
* obj0
= 0 ;
1325 (char *) "self", NULL
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1332 result
= (arg1
)->GetBitmapFocus();
1334 wxPyEndAllowThreads(__tstate
);
1335 if (PyErr_Occurred()) SWIG_fail
;
1338 wxBitmap
* resultptr
;
1339 resultptr
= new wxBitmap((wxBitmap
&) result
);
1340 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1348 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
*resultobj
;
1350 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1352 PyObject
* obj0
= 0 ;
1354 (char *) "self", NULL
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1361 result
= (arg1
)->GetBitmapSelected();
1363 wxPyEndAllowThreads(__tstate
);
1364 if (PyErr_Occurred()) SWIG_fail
;
1367 wxBitmap
* resultptr
;
1368 resultptr
= new wxBitmap((wxBitmap
&) result
);
1369 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1377 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
*resultobj
;
1379 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1380 wxBitmap
*arg2
= 0 ;
1381 PyObject
* obj0
= 0 ;
1382 PyObject
* obj1
= 0 ;
1384 (char *) "self",(char *) "bitmap", NULL
1387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1389 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1391 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1395 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1397 wxPyEndAllowThreads(__tstate
);
1398 if (PyErr_Occurred()) SWIG_fail
;
1400 Py_INCREF(Py_None
); resultobj
= Py_None
;
1407 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
*resultobj
;
1409 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1410 wxBitmap
*arg2
= 0 ;
1411 PyObject
* obj0
= 0 ;
1412 PyObject
* obj1
= 0 ;
1414 (char *) "self",(char *) "bitmap", NULL
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1425 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1427 wxPyEndAllowThreads(__tstate
);
1428 if (PyErr_Occurred()) SWIG_fail
;
1430 Py_INCREF(Py_None
); resultobj
= Py_None
;
1437 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
*resultobj
;
1439 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1440 wxBitmap
*arg2
= 0 ;
1441 PyObject
* obj0
= 0 ;
1442 PyObject
* obj1
= 0 ;
1444 (char *) "self",(char *) "bitmap", NULL
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1449 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1451 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) SWIG_fail
;
1460 Py_INCREF(Py_None
); resultobj
= Py_None
;
1467 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1468 PyObject
*resultobj
;
1469 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1470 wxBitmap
*arg2
= 0 ;
1471 PyObject
* obj0
= 0 ;
1472 PyObject
* obj1
= 0 ;
1474 (char *) "self",(char *) "bitmap", NULL
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1479 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1481 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1485 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1487 wxPyEndAllowThreads(__tstate
);
1488 if (PyErr_Occurred()) SWIG_fail
;
1490 Py_INCREF(Py_None
); resultobj
= Py_None
;
1497 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
*resultobj
;
1499 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1502 PyObject
* obj0
= 0 ;
1504 (char *) "self",(char *) "x",(char *) "y", NULL
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:BitmapButton_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1511 (arg1
)->SetMargins(arg2
,arg3
);
1513 wxPyEndAllowThreads(__tstate
);
1514 if (PyErr_Occurred()) SWIG_fail
;
1516 Py_INCREF(Py_None
); resultobj
= Py_None
;
1523 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
*resultobj
;
1525 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1527 PyObject
* obj0
= 0 ;
1529 (char *) "self", NULL
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) SWIG_fail
;
1541 resultobj
= PyInt_FromLong((long)result
);
1548 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
*resultobj
;
1550 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1552 PyObject
* obj0
= 0 ;
1554 (char *) "self", NULL
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) SWIG_fail
;
1566 resultobj
= PyInt_FromLong((long)result
);
1573 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1576 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1578 return Py_BuildValue((char *)"");
1580 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
*resultobj
;
1582 wxWindow
*arg1
= (wxWindow
*) 0 ;
1584 wxString
*arg3
= 0 ;
1585 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1586 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1587 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1588 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1589 long arg6
= (long) 0 ;
1590 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1591 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1592 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1593 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1595 bool temp3
= False
;
1598 bool temp8
= False
;
1599 PyObject
* obj0
= 0 ;
1600 PyObject
* obj2
= 0 ;
1601 PyObject
* obj3
= 0 ;
1602 PyObject
* obj4
= 0 ;
1603 PyObject
* obj6
= 0 ;
1604 PyObject
* obj7
= 0 ;
1606 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_CheckBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1612 arg3
= wxString_in_helper(obj2
);
1613 if (arg3
== NULL
) SWIG_fail
;
1619 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1625 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1629 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1631 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1636 arg8
= wxString_in_helper(obj7
);
1637 if (arg8
== NULL
) SWIG_fail
;
1642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1643 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1645 wxPyEndAllowThreads(__tstate
);
1646 if (PyErr_Occurred()) SWIG_fail
;
1648 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1671 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
*resultobj
;
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 result
= (wxCheckBox
*)new wxCheckBox();
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) SWIG_fail
;
1686 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1693 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1694 PyObject
*resultobj
;
1695 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1696 wxWindow
*arg2
= (wxWindow
*) 0 ;
1698 wxString
*arg4
= 0 ;
1699 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1700 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1701 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1702 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1703 long arg7
= (long) 0 ;
1704 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1705 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1706 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1707 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1709 bool temp4
= False
;
1712 bool temp9
= False
;
1713 PyObject
* obj0
= 0 ;
1714 PyObject
* obj1
= 0 ;
1715 PyObject
* obj3
= 0 ;
1716 PyObject
* obj4
= 0 ;
1717 PyObject
* obj5
= 0 ;
1718 PyObject
* obj7
= 0 ;
1719 PyObject
* obj8
= 0 ;
1721 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1726 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1728 arg4
= wxString_in_helper(obj3
);
1729 if (arg4
== NULL
) SWIG_fail
;
1735 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1741 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1745 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1747 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1752 arg9
= wxString_in_helper(obj8
);
1753 if (arg9
== NULL
) SWIG_fail
;
1758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1759 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1761 wxPyEndAllowThreads(__tstate
);
1762 if (PyErr_Occurred()) SWIG_fail
;
1764 resultobj
= PyInt_FromLong((long)result
);
1787 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
*resultobj
;
1789 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1791 PyObject
* obj0
= 0 ;
1793 (char *) "self", NULL
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
1797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1800 result
= (bool)(arg1
)->GetValue();
1802 wxPyEndAllowThreads(__tstate
);
1803 if (PyErr_Occurred()) SWIG_fail
;
1805 resultobj
= PyInt_FromLong((long)result
);
1812 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1813 PyObject
*resultobj
;
1814 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1816 PyObject
* obj0
= 0 ;
1818 (char *) "self", NULL
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
1822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1825 result
= (bool)(arg1
)->IsChecked();
1827 wxPyEndAllowThreads(__tstate
);
1828 if (PyErr_Occurred()) SWIG_fail
;
1830 resultobj
= PyInt_FromLong((long)result
);
1837 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
*resultobj
;
1839 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1841 PyObject
* obj0
= 0 ;
1842 PyObject
* obj1
= 0 ;
1844 (char *) "self",(char *) "state", NULL
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
1848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1849 arg2
= PyInt_AsLong(obj1
) ? true : false;
1850 if (PyErr_Occurred()) SWIG_fail
;
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 (arg1
)->SetValue(arg2
);
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) SWIG_fail
;
1858 Py_INCREF(Py_None
); resultobj
= Py_None
;
1865 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1869 PyObject
* obj0
= 0 ;
1871 (char *) "self", NULL
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
1875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1883 resultobj
= PyInt_FromLong((long)result
);
1890 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1892 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1894 PyObject
* obj0
= 0 ;
1896 (char *) "self",(char *) "state", NULL
1899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckBox_Set3StateValue",kwnames
,&obj0
,&arg2
)) goto fail
;
1900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1903 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
1905 wxPyEndAllowThreads(__tstate
);
1906 if (PyErr_Occurred()) SWIG_fail
;
1908 Py_INCREF(Py_None
); resultobj
= Py_None
;
1915 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1916 PyObject
*resultobj
;
1917 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1919 PyObject
* obj0
= 0 ;
1921 (char *) "self", NULL
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
1925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1928 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
1930 wxPyEndAllowThreads(__tstate
);
1931 if (PyErr_Occurred()) SWIG_fail
;
1933 resultobj
= PyInt_FromLong((long)result
);
1940 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
*resultobj
;
1942 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1944 PyObject
* obj0
= 0 ;
1946 (char *) "self", NULL
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
1950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1953 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
1955 wxPyEndAllowThreads(__tstate
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1958 resultobj
= PyInt_FromLong((long)result
);
1965 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
1967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1968 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
1970 return Py_BuildValue((char *)"");
1972 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
*resultobj
;
1974 wxWindow
*arg1
= (wxWindow
*) 0 ;
1976 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1977 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1978 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1979 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1980 int arg5
= (int) 0 ;
1981 wxString
*arg6
= (wxString
*) NULL
;
1982 long arg7
= (long) 0 ;
1983 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1984 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1985 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
1986 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1990 bool temp8
= False
;
1991 PyObject
* obj0
= 0 ;
1992 PyObject
* obj2
= 0 ;
1993 PyObject
* obj3
= 0 ;
1994 PyObject
* obj4
= 0 ;
1995 PyObject
* obj6
= 0 ;
1996 PyObject
* obj7
= 0 ;
1998 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_Choice",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
2002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2006 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2012 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2017 arg5
= PyList_Size(obj4
);
2018 arg6
= wxString_LIST_helper(obj4
);
2019 if (arg6
== NULL
) SWIG_fail
;
2023 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2025 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2030 arg9
= wxString_in_helper(obj7
);
2031 if (arg9
== NULL
) SWIG_fail
;
2036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2037 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2039 wxPyEndAllowThreads(__tstate
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2044 if (arg6
) delete [] arg6
;
2053 if (arg6
) delete [] arg6
;
2063 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
*resultobj
;
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 result
= (wxChoice
*)new wxChoice();
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) SWIG_fail
;
2078 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2085 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
*resultobj
;
2087 wxChoice
*arg1
= (wxChoice
*) 0 ;
2088 wxWindow
*arg2
= (wxWindow
*) 0 ;
2090 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2091 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2092 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2093 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2094 int arg6
= (int) 0 ;
2095 wxString
*arg7
= (wxString
*) NULL
;
2096 long arg8
= (long) 0 ;
2097 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2098 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2099 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2100 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2104 bool temp9
= False
;
2105 PyObject
* obj0
= 0 ;
2106 PyObject
* obj1
= 0 ;
2107 PyObject
* obj3
= 0 ;
2108 PyObject
* obj4
= 0 ;
2109 PyObject
* obj5
= 0 ;
2110 PyObject
* obj7
= 0 ;
2111 PyObject
* obj8
= 0 ;
2113 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:Choice_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2118 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2122 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2128 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2133 arg6
= PyList_Size(obj5
);
2134 arg7
= wxString_LIST_helper(obj5
);
2135 if (arg7
== NULL
) SWIG_fail
;
2139 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2141 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2146 arg10
= wxString_in_helper(obj8
);
2147 if (arg10
== NULL
) SWIG_fail
;
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2158 resultobj
= PyInt_FromLong((long)result
);
2160 if (arg7
) delete [] arg7
;
2169 if (arg7
) delete [] arg7
;
2179 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
*resultobj
;
2181 wxChoice
*arg1
= (wxChoice
*) 0 ;
2183 PyObject
* obj0
= 0 ;
2185 (char *) "self", NULL
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2192 result
= (int)(arg1
)->GetColumns();
2194 wxPyEndAllowThreads(__tstate
);
2195 if (PyErr_Occurred()) SWIG_fail
;
2197 resultobj
= PyInt_FromLong((long)result
);
2204 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
*resultobj
;
2206 wxChoice
*arg1
= (wxChoice
*) 0 ;
2207 int arg2
= (int) (int)1 ;
2208 PyObject
* obj0
= 0 ;
2210 (char *) "self",(char *) "n", NULL
2213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Choice_SetColumns",kwnames
,&obj0
,&arg2
)) goto fail
;
2214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2217 (arg1
)->SetColumns(arg2
);
2219 wxPyEndAllowThreads(__tstate
);
2220 if (PyErr_Occurred()) SWIG_fail
;
2222 Py_INCREF(Py_None
); resultobj
= Py_None
;
2229 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
*resultobj
;
2231 wxChoice
*arg1
= (wxChoice
*) 0 ;
2233 PyObject
* obj0
= 0 ;
2235 (char *) "self",(char *) "n", NULL
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Choice_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 (arg1
)->SetSelection(arg2
);
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2247 Py_INCREF(Py_None
); resultobj
= Py_None
;
2254 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
*resultobj
;
2256 wxChoice
*arg1
= (wxChoice
*) 0 ;
2257 wxString
*arg2
= 0 ;
2258 bool temp2
= False
;
2259 PyObject
* obj0
= 0 ;
2260 PyObject
* obj1
= 0 ;
2262 (char *) "self",(char *) "string", NULL
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2268 arg2
= wxString_in_helper(obj1
);
2269 if (arg2
== NULL
) SWIG_fail
;
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2279 Py_INCREF(Py_None
); resultobj
= Py_None
;
2294 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
*resultobj
;
2296 wxChoice
*arg1
= (wxChoice
*) 0 ;
2298 wxString
*arg3
= 0 ;
2299 bool temp3
= False
;
2300 PyObject
* obj0
= 0 ;
2301 PyObject
* obj2
= 0 ;
2303 (char *) "self",(char *) "n",(char *) "s", NULL
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Choice_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
2307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2309 arg3
= wxString_in_helper(obj2
);
2310 if (arg3
== NULL
) SWIG_fail
;
2314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2315 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2317 wxPyEndAllowThreads(__tstate
);
2318 if (PyErr_Occurred()) SWIG_fail
;
2320 Py_INCREF(Py_None
); resultobj
= Py_None
;
2335 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2338 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2340 return Py_BuildValue((char *)"");
2342 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
*resultobj
;
2344 wxWindow
*arg1
= (wxWindow
*) 0 ;
2346 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2347 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2348 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2349 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2350 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2351 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2352 int arg6
= (int) 0 ;
2353 wxString
*arg7
= (wxString
*) NULL
;
2354 long arg8
= (long) 0 ;
2355 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2356 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2357 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2358 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2360 bool temp3
= False
;
2363 bool temp9
= False
;
2364 PyObject
* obj0
= 0 ;
2365 PyObject
* obj2
= 0 ;
2366 PyObject
* obj3
= 0 ;
2367 PyObject
* obj4
= 0 ;
2368 PyObject
* obj5
= 0 ;
2369 PyObject
* obj7
= 0 ;
2370 PyObject
* obj8
= 0 ;
2372 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2379 arg3
= wxString_in_helper(obj2
);
2380 if (arg3
== NULL
) SWIG_fail
;
2387 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2393 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2398 arg6
= PyList_Size(obj5
);
2399 arg7
= wxString_LIST_helper(obj5
);
2400 if (arg7
== NULL
) SWIG_fail
;
2404 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2406 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2411 arg10
= wxString_in_helper(obj8
);
2412 if (arg10
== NULL
) SWIG_fail
;
2417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2418 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2420 wxPyEndAllowThreads(__tstate
);
2421 if (PyErr_Occurred()) SWIG_fail
;
2423 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2429 if (arg7
) delete [] arg7
;
2442 if (arg7
) delete [] arg7
;
2452 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
*resultobj
;
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2462 result
= (wxComboBox
*)new wxComboBox();
2464 wxPyEndAllowThreads(__tstate
);
2465 if (PyErr_Occurred()) SWIG_fail
;
2467 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2474 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
*resultobj
;
2476 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2477 wxWindow
*arg2
= (wxWindow
*) 0 ;
2479 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2480 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2481 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2482 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2483 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2484 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2485 int arg7
= (int) 0 ;
2486 wxString
*arg8
= (wxString
*) NULL
;
2487 long arg9
= (long) 0 ;
2488 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
2489 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
2490 wxString
const &arg11_defvalue
= wxPyComboBoxNameStr
;
2491 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
2493 bool temp4
= False
;
2496 bool temp10
= False
;
2497 PyObject
* obj0
= 0 ;
2498 PyObject
* obj1
= 0 ;
2499 PyObject
* obj3
= 0 ;
2500 PyObject
* obj4
= 0 ;
2501 PyObject
* obj5
= 0 ;
2502 PyObject
* obj6
= 0 ;
2503 PyObject
* obj8
= 0 ;
2504 PyObject
* obj9
= 0 ;
2506 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&obj8
,&obj9
)) goto fail
;
2510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2511 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2514 arg4
= wxString_in_helper(obj3
);
2515 if (arg4
== NULL
) SWIG_fail
;
2522 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2528 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2533 arg7
= PyList_Size(obj6
);
2534 arg8
= wxString_LIST_helper(obj6
);
2535 if (arg8
== NULL
) SWIG_fail
;
2539 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2540 if (arg10
== NULL
) {
2541 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2546 arg11
= wxString_in_helper(obj9
);
2547 if (arg11
== NULL
) SWIG_fail
;
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2558 resultobj
= PyInt_FromLong((long)result
);
2564 if (arg8
) delete [] arg8
;
2577 if (arg8
) delete [] arg8
;
2587 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
*resultobj
;
2589 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2591 PyObject
* obj0
= 0 ;
2593 (char *) "self", NULL
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 result
= ((wxComboBox
const *)arg1
)->GetValue();
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) SWIG_fail
;
2607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2618 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
*resultobj
;
2620 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2621 wxString
*arg2
= 0 ;
2622 bool temp2
= False
;
2623 PyObject
* obj0
= 0 ;
2624 PyObject
* obj1
= 0 ;
2626 (char *) "self",(char *) "value", NULL
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2632 arg2
= wxString_in_helper(obj1
);
2633 if (arg2
== NULL
) SWIG_fail
;
2637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2638 (arg1
)->SetValue((wxString
const &)*arg2
);
2640 wxPyEndAllowThreads(__tstate
);
2641 if (PyErr_Occurred()) SWIG_fail
;
2643 Py_INCREF(Py_None
); resultobj
= Py_None
;
2658 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2659 PyObject
*resultobj
;
2660 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2661 PyObject
* obj0
= 0 ;
2663 (char *) "self", NULL
2666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2672 wxPyEndAllowThreads(__tstate
);
2673 if (PyErr_Occurred()) SWIG_fail
;
2675 Py_INCREF(Py_None
); resultobj
= Py_None
;
2682 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
*resultobj
;
2684 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2685 PyObject
* obj0
= 0 ;
2687 (char *) "self", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
2691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2699 Py_INCREF(Py_None
); resultobj
= Py_None
;
2706 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
*resultobj
;
2708 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2709 PyObject
* obj0
= 0 ;
2711 (char *) "self", NULL
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
2715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2723 Py_INCREF(Py_None
); resultobj
= Py_None
;
2730 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
*resultobj
;
2732 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2734 PyObject
* obj0
= 0 ;
2736 (char *) "self",(char *) "pos", NULL
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
2740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2743 (arg1
)->SetInsertionPoint(arg2
);
2745 wxPyEndAllowThreads(__tstate
);
2746 if (PyErr_Occurred()) SWIG_fail
;
2748 Py_INCREF(Py_None
); resultobj
= Py_None
;
2755 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2756 PyObject
*resultobj
;
2757 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2759 PyObject
* obj0
= 0 ;
2761 (char *) "self", NULL
2764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
2765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2768 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
2770 wxPyEndAllowThreads(__tstate
);
2771 if (PyErr_Occurred()) SWIG_fail
;
2773 resultobj
= PyInt_FromLong((long)result
);
2780 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
*resultobj
;
2782 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2784 PyObject
* obj0
= 0 ;
2786 (char *) "self", NULL
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
2790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) SWIG_fail
;
2798 resultobj
= PyInt_FromLong((long)result
);
2805 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
*resultobj
;
2807 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2810 wxString
*arg4
= 0 ;
2811 bool temp4
= False
;
2812 PyObject
* obj0
= 0 ;
2813 PyObject
* obj3
= 0 ;
2815 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:ComboBox_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2821 arg4
= wxString_in_helper(obj3
);
2822 if (arg4
== NULL
) SWIG_fail
;
2826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2827 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
2829 wxPyEndAllowThreads(__tstate
);
2830 if (PyErr_Occurred()) SWIG_fail
;
2832 Py_INCREF(Py_None
); resultobj
= Py_None
;
2847 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
*resultobj
;
2849 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2851 PyObject
* obj0
= 0 ;
2853 (char *) "self",(char *) "n", NULL
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ComboBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 (arg1
)->SetSelection(arg2
);
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2865 Py_INCREF(Py_None
); resultobj
= Py_None
;
2872 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
*resultobj
;
2874 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2877 PyObject
* obj0
= 0 ;
2879 (char *) "self",(char *) "from",(char *) "to", NULL
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_SetMark",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 (arg1
)->SetSelection(arg2
,arg3
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2891 Py_INCREF(Py_None
); resultobj
= Py_None
;
2898 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2902 PyObject
* obj0
= 0 ;
2903 PyObject
* obj1
= 0 ;
2905 (char *) "self",(char *) "editable", NULL
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
2909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2910 arg2
= PyInt_AsLong(obj1
) ? true : false;
2911 if (PyErr_Occurred()) SWIG_fail
;
2913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2914 (arg1
)->SetEditable(arg2
);
2916 wxPyEndAllowThreads(__tstate
);
2917 if (PyErr_Occurred()) SWIG_fail
;
2919 Py_INCREF(Py_None
); resultobj
= Py_None
;
2926 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2927 PyObject
*resultobj
;
2928 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2929 PyObject
* obj0
= 0 ;
2931 (char *) "self", NULL
2934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
2935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 (arg1
)->SetInsertionPointEnd();
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2943 Py_INCREF(Py_None
); resultobj
= Py_None
;
2950 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
*resultobj
;
2952 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2955 PyObject
* obj0
= 0 ;
2957 (char *) "self",(char *) "from",(char *) "to", NULL
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2964 (arg1
)->Remove(arg2
,arg3
);
2966 wxPyEndAllowThreads(__tstate
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2969 Py_INCREF(Py_None
); resultobj
= Py_None
;
2976 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
2978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2979 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
2981 return Py_BuildValue((char *)"");
2983 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
*resultobj
;
2985 wxWindow
*arg1
= (wxWindow
*) 0 ;
2988 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2989 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2990 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2991 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2992 long arg6
= (long) wxGA_HORIZONTAL
;
2993 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2994 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2995 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
2996 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3000 bool temp8
= False
;
3001 PyObject
* obj0
= 0 ;
3002 PyObject
* obj3
= 0 ;
3003 PyObject
* obj4
= 0 ;
3004 PyObject
* obj6
= 0 ;
3005 PyObject
* obj7
= 0 ;
3007 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|OOlOO:new_Gauge",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
3011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3015 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3021 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3025 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3027 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3032 arg8
= wxString_in_helper(obj7
);
3033 if (arg8
== NULL
) SWIG_fail
;
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3059 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
*resultobj
;
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3069 result
= (wxGauge
*)new wxGauge();
3071 wxPyEndAllowThreads(__tstate
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3074 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3081 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
*resultobj
;
3083 wxGauge
*arg1
= (wxGauge
*) 0 ;
3084 wxWindow
*arg2
= (wxWindow
*) 0 ;
3087 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3088 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3089 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3090 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3091 long arg7
= (long) wxGA_HORIZONTAL
;
3092 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3093 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3094 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3095 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3099 bool temp9
= False
;
3100 PyObject
* obj0
= 0 ;
3101 PyObject
* obj1
= 0 ;
3102 PyObject
* obj4
= 0 ;
3103 PyObject
* obj5
= 0 ;
3104 PyObject
* obj7
= 0 ;
3105 PyObject
* obj8
= 0 ;
3107 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|OOlOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
3111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3112 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3116 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3122 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3126 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3128 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3133 arg9
= wxString_in_helper(obj8
);
3134 if (arg9
== NULL
) SWIG_fail
;
3139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3140 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3142 wxPyEndAllowThreads(__tstate
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3145 resultobj
= PyInt_FromLong((long)result
);
3160 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
*resultobj
;
3162 wxGauge
*arg1
= (wxGauge
*) 0 ;
3164 PyObject
* obj0
= 0 ;
3166 (char *) "self",(char *) "range", NULL
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetRange",kwnames
,&obj0
,&arg2
)) goto fail
;
3170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 (arg1
)->SetRange(arg2
);
3175 wxPyEndAllowThreads(__tstate
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3178 Py_INCREF(Py_None
); resultobj
= Py_None
;
3185 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
*resultobj
;
3187 wxGauge
*arg1
= (wxGauge
*) 0 ;
3189 PyObject
* obj0
= 0 ;
3191 (char *) "self", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3198 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3200 wxPyEndAllowThreads(__tstate
);
3201 if (PyErr_Occurred()) SWIG_fail
;
3203 resultobj
= PyInt_FromLong((long)result
);
3210 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
*resultobj
;
3212 wxGauge
*arg1
= (wxGauge
*) 0 ;
3214 PyObject
* obj0
= 0 ;
3216 (char *) "self",(char *) "pos", NULL
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
3220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 (arg1
)->SetValue(arg2
);
3225 wxPyEndAllowThreads(__tstate
);
3226 if (PyErr_Occurred()) SWIG_fail
;
3228 Py_INCREF(Py_None
); resultobj
= Py_None
;
3235 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
*resultobj
;
3237 wxGauge
*arg1
= (wxGauge
*) 0 ;
3239 PyObject
* obj0
= 0 ;
3241 (char *) "self", NULL
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3248 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3250 wxPyEndAllowThreads(__tstate
);
3251 if (PyErr_Occurred()) SWIG_fail
;
3253 resultobj
= PyInt_FromLong((long)result
);
3260 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3261 PyObject
*resultobj
;
3262 wxGauge
*arg1
= (wxGauge
*) 0 ;
3264 PyObject
* obj0
= 0 ;
3266 (char *) "self", NULL
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3275 wxPyEndAllowThreads(__tstate
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3278 resultobj
= PyInt_FromLong((long)result
);
3285 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
*resultobj
;
3287 wxGauge
*arg1
= (wxGauge
*) 0 ;
3289 PyObject
* obj0
= 0 ;
3291 (char *) "self",(char *) "w", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetShadowWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 (arg1
)->SetShadowWidth(arg2
);
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3303 Py_INCREF(Py_None
); resultobj
= Py_None
;
3310 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxGauge
*arg1
= (wxGauge
*) 0 ;
3314 PyObject
* obj0
= 0 ;
3316 (char *) "self", NULL
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3328 resultobj
= PyInt_FromLong((long)result
);
3335 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxGauge
*arg1
= (wxGauge
*) 0 ;
3339 PyObject
* obj0
= 0 ;
3341 (char *) "self",(char *) "w", NULL
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetBezelFace",kwnames
,&obj0
,&arg2
)) goto fail
;
3345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 (arg1
)->SetBezelFace(arg2
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3353 Py_INCREF(Py_None
); resultobj
= Py_None
;
3360 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
*resultobj
;
3362 wxGauge
*arg1
= (wxGauge
*) 0 ;
3364 PyObject
* obj0
= 0 ;
3366 (char *) "self", NULL
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3378 resultobj
= PyInt_FromLong((long)result
);
3385 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3388 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3390 return Py_BuildValue((char *)"");
3392 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
*resultobj
;
3394 wxWindow
*arg1
= (wxWindow
*) 0 ;
3396 wxString
*arg3
= 0 ;
3397 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3398 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3399 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3400 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3401 long arg6
= (long) 0 ;
3402 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3403 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3404 wxStaticBox
*result
;
3405 bool temp3
= False
;
3408 bool temp7
= False
;
3409 PyObject
* obj0
= 0 ;
3410 PyObject
* obj2
= 0 ;
3411 PyObject
* obj3
= 0 ;
3412 PyObject
* obj4
= 0 ;
3413 PyObject
* obj6
= 0 ;
3415 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3421 arg3
= wxString_in_helper(obj2
);
3422 if (arg3
== NULL
) SWIG_fail
;
3428 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3434 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3439 arg7
= wxString_in_helper(obj6
);
3440 if (arg7
== NULL
) SWIG_fail
;
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3452 resultobj
= wxPyMake_wxObject(result
);
3476 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
;
3478 wxStaticBox
*result
;
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
3485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 result
= (wxStaticBox
*)new wxStaticBox();
3488 wxPyEndAllowThreads(__tstate
);
3489 if (PyErr_Occurred()) SWIG_fail
;
3492 resultobj
= wxPyMake_wxObject(result
);
3500 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
*resultobj
;
3502 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
3503 wxWindow
*arg2
= (wxWindow
*) 0 ;
3505 wxString
*arg4
= 0 ;
3506 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3507 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3508 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3509 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3510 long arg7
= (long) 0 ;
3511 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
3512 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3514 bool temp4
= False
;
3517 bool temp8
= False
;
3518 PyObject
* obj0
= 0 ;
3519 PyObject
* obj1
= 0 ;
3520 PyObject
* obj3
= 0 ;
3521 PyObject
* obj4
= 0 ;
3522 PyObject
* obj5
= 0 ;
3523 PyObject
* obj7
= 0 ;
3525 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3530 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3532 arg4
= wxString_in_helper(obj3
);
3533 if (arg4
== NULL
) SWIG_fail
;
3539 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3545 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3550 arg8
= wxString_in_helper(obj7
);
3551 if (arg8
== NULL
) SWIG_fail
;
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3557 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3562 resultobj
= PyInt_FromLong((long)result
);
3585 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
3587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3588 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
3590 return Py_BuildValue((char *)"");
3592 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
*resultobj
;
3594 wxWindow
*arg1
= (wxWindow
*) 0 ;
3596 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3597 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3598 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3599 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3600 long arg5
= (long) wxLI_HORIZONTAL
;
3601 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
3602 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3603 wxStaticLine
*result
;
3606 bool temp6
= False
;
3607 PyObject
* obj0
= 0 ;
3608 PyObject
* obj2
= 0 ;
3609 PyObject
* obj3
= 0 ;
3610 PyObject
* obj5
= 0 ;
3612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_StaticLine",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
3616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3620 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3626 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3631 arg6
= wxString_in_helper(obj5
);
3632 if (arg6
== NULL
) SWIG_fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3643 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3658 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3660 wxStaticLine
*result
;
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 result
= (wxStaticLine
*)new wxStaticLine();
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3673 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3680 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
*resultobj
;
3682 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3683 wxWindow
*arg2
= (wxWindow
*) 0 ;
3685 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3686 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3687 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3688 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3689 long arg6
= (long) wxLI_HORIZONTAL
;
3690 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3691 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3695 bool temp7
= False
;
3696 PyObject
* obj0
= 0 ;
3697 PyObject
* obj1
= 0 ;
3698 PyObject
* obj3
= 0 ;
3699 PyObject
* obj4
= 0 ;
3700 PyObject
* obj6
= 0 ;
3702 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3707 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3711 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3717 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3722 arg7
= wxString_in_helper(obj6
);
3723 if (arg7
== NULL
) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3734 resultobj
= PyInt_FromLong((long)result
);
3749 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3751 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3753 PyObject
* obj0
= 0 ;
3755 (char *) "self", NULL
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
3759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 resultobj
= PyInt_FromLong((long)result
);
3774 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
3783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3784 result
= (int)wxStaticLine::GetDefaultSize();
3786 wxPyEndAllowThreads(__tstate
);
3787 if (PyErr_Occurred()) SWIG_fail
;
3789 resultobj
= PyInt_FromLong((long)result
);
3796 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
3798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3799 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
3801 return Py_BuildValue((char *)"");
3803 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
*resultobj
;
3805 wxWindow
*arg1
= (wxWindow
*) 0 ;
3807 wxString
*arg3
= 0 ;
3808 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3809 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3810 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3811 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3812 long arg6
= (long) 0 ;
3813 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3814 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3815 wxStaticText
*result
;
3816 bool temp3
= False
;
3819 bool temp7
= False
;
3820 PyObject
* obj0
= 0 ;
3821 PyObject
* obj2
= 0 ;
3822 PyObject
* obj3
= 0 ;
3823 PyObject
* obj4
= 0 ;
3824 PyObject
* obj6
= 0 ;
3826 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticText",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3832 arg3
= wxString_in_helper(obj2
);
3833 if (arg3
== NULL
) SWIG_fail
;
3839 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3845 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3850 arg7
= wxString_in_helper(obj6
);
3851 if (arg7
== NULL
) SWIG_fail
;
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
3885 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
*resultobj
;
3887 wxStaticText
*result
;
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 result
= (wxStaticText
*)new wxStaticText();
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) SWIG_fail
;
3900 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
3907 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
*resultobj
;
3909 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
3910 wxWindow
*arg2
= (wxWindow
*) 0 ;
3912 wxString
*arg4
= 0 ;
3913 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3914 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3915 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3916 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3917 long arg7
= (long) 0 ;
3918 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
3919 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3921 bool temp4
= False
;
3924 bool temp8
= False
;
3925 PyObject
* obj0
= 0 ;
3926 PyObject
* obj1
= 0 ;
3927 PyObject
* obj3
= 0 ;
3928 PyObject
* obj4
= 0 ;
3929 PyObject
* obj5
= 0 ;
3930 PyObject
* obj7
= 0 ;
3932 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticText_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3939 arg4
= wxString_in_helper(obj3
);
3940 if (arg4
== NULL
) SWIG_fail
;
3946 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3952 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3957 arg8
= wxString_in_helper(obj7
);
3958 if (arg8
== NULL
) SWIG_fail
;
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3969 resultobj
= PyInt_FromLong((long)result
);
3992 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
3994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3995 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
3997 return Py_BuildValue((char *)"");
3999 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4001 wxWindow
*arg1
= (wxWindow
*) 0 ;
4003 wxBitmap
*arg3
= 0 ;
4004 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4005 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4006 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4007 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4008 long arg6
= (long) 0 ;
4009 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4010 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4011 wxStaticBitmap
*result
;
4014 bool temp7
= False
;
4015 PyObject
* obj0
= 0 ;
4016 PyObject
* obj2
= 0 ;
4017 PyObject
* obj3
= 0 ;
4018 PyObject
* obj4
= 0 ;
4019 PyObject
* obj6
= 0 ;
4021 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBitmap",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4026 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4028 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4033 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4039 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4044 arg7
= wxString_in_helper(obj6
);
4045 if (arg7
== NULL
) SWIG_fail
;
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4071 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
*resultobj
;
4073 wxStaticBitmap
*result
;
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4093 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4095 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4096 wxWindow
*arg2
= (wxWindow
*) 0 ;
4098 wxBitmap
*arg4
= 0 ;
4099 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4100 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4101 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4102 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4103 long arg7
= (long) 0 ;
4104 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4105 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4109 bool temp8
= False
;
4110 PyObject
* obj0
= 0 ;
4111 PyObject
* obj1
= 0 ;
4112 PyObject
* obj3
= 0 ;
4113 PyObject
* obj4
= 0 ;
4114 PyObject
* obj5
= 0 ;
4115 PyObject
* obj7
= 0 ;
4117 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4122 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4123 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4125 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4130 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4136 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4141 arg8
= wxString_in_helper(obj7
);
4142 if (arg8
== NULL
) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 resultobj
= PyInt_FromLong((long)result
);
4168 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
*resultobj
;
4170 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4172 PyObject
* obj0
= 0 ;
4174 (char *) "self", NULL
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 result
= (arg1
)->GetBitmap();
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4187 wxBitmap
* resultptr
;
4188 resultptr
= new wxBitmap((wxBitmap
&) result
);
4189 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4197 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
;
4199 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4200 wxBitmap
*arg2
= 0 ;
4201 PyObject
* obj0
= 0 ;
4202 PyObject
* obj1
= 0 ;
4204 (char *) "self",(char *) "bitmap", NULL
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4209 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4211 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4220 Py_INCREF(Py_None
); resultobj
= Py_None
;
4227 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4228 PyObject
*resultobj
;
4229 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4231 PyObject
* obj0
= 0 ;
4232 PyObject
* obj1
= 0 ;
4234 (char *) "self",(char *) "icon", NULL
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4239 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4241 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4250 Py_INCREF(Py_None
); resultobj
= Py_None
;
4257 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4260 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4262 return Py_BuildValue((char *)"");
4264 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
;
4266 wxWindow
*arg1
= (wxWindow
*) 0 ;
4268 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4269 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4270 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4271 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4272 int arg5
= (int) 0 ;
4273 wxString
*arg6
= (wxString
*) NULL
;
4274 long arg7
= (long) 0 ;
4275 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4276 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4277 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
4278 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4282 bool temp8
= False
;
4283 PyObject
* obj0
= 0 ;
4284 PyObject
* obj2
= 0 ;
4285 PyObject
* obj3
= 0 ;
4286 PyObject
* obj4
= 0 ;
4287 PyObject
* obj6
= 0 ;
4288 PyObject
* obj7
= 0 ;
4290 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_ListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
4294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4298 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4304 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4309 arg5
= PyList_Size(obj4
);
4310 arg6
= wxString_LIST_helper(obj4
);
4311 if (arg6
== NULL
) SWIG_fail
;
4315 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4317 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4322 arg9
= wxString_in_helper(obj7
);
4323 if (arg9
== NULL
) SWIG_fail
;
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4336 if (arg6
) delete [] arg6
;
4345 if (arg6
) delete [] arg6
;
4355 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
;
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
4364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4365 result
= (wxListBox
*)new wxListBox();
4367 wxPyEndAllowThreads(__tstate
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4370 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4377 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
;
4379 wxListBox
*arg1
= (wxListBox
*) 0 ;
4380 wxWindow
*arg2
= (wxWindow
*) 0 ;
4382 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4383 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4384 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4385 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4386 int arg6
= (int) 0 ;
4387 wxString
*arg7
= (wxString
*) NULL
;
4388 long arg8
= (long) 0 ;
4389 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4390 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4391 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
4392 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4396 bool temp9
= False
;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 PyObject
* obj3
= 0 ;
4400 PyObject
* obj4
= 0 ;
4401 PyObject
* obj5
= 0 ;
4402 PyObject
* obj7
= 0 ;
4403 PyObject
* obj8
= 0 ;
4405 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
4409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4410 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4414 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4420 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4425 arg6
= PyList_Size(obj5
);
4426 arg7
= wxString_LIST_helper(obj5
);
4427 if (arg7
== NULL
) SWIG_fail
;
4431 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4438 arg10
= wxString_in_helper(obj8
);
4439 if (arg10
== NULL
) SWIG_fail
;
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4450 resultobj
= PyInt_FromLong((long)result
);
4452 if (arg7
) delete [] arg7
;
4461 if (arg7
) delete [] arg7
;
4471 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 wxListBox
*arg1
= (wxListBox
*) 0 ;
4474 wxString
*arg2
= 0 ;
4476 PyObject
*arg4
= (PyObject
*) NULL
;
4477 bool temp2
= False
;
4478 PyObject
* obj0
= 0 ;
4479 PyObject
* obj1
= 0 ;
4480 PyObject
* obj3
= 0 ;
4482 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4488 arg2
= wxString_in_helper(obj1
);
4489 if (arg2
== NULL
) SWIG_fail
;
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4502 Py_INCREF(Py_None
); resultobj
= Py_None
;
4517 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
;
4519 wxListBox
*arg1
= (wxListBox
*) 0 ;
4520 wxArrayString
*arg2
= 0 ;
4522 PyObject
* obj0
= 0 ;
4523 PyObject
* obj1
= 0 ;
4525 (char *) "self",(char *) "items",(char *) "pos", NULL
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4531 if (! PySequence_Check(obj1
)) {
4532 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4535 arg2
= new wxArrayString
;
4536 int i
, len
=PySequence_Length(obj1
);
4537 for (i
=0; i
<len
; i
++) {
4538 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4540 PyObject
* str
= PyObject_Unicode(item
);
4542 PyObject
* str
= PyObject_Str(item
);
4544 arg2
->Add(Py2wxString(str
));
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4556 Py_INCREF(Py_None
); resultobj
= Py_None
;
4558 if (arg2
) delete arg2
;
4563 if (arg2
) delete arg2
;
4569 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
*resultobj
;
4571 wxListBox
*arg1
= (wxListBox
*) 0 ;
4572 wxArrayString
*arg2
= 0 ;
4573 PyObject
* obj0
= 0 ;
4574 PyObject
* obj1
= 0 ;
4576 (char *) "self",(char *) "items", NULL
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
4580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4582 if (! PySequence_Check(obj1
)) {
4583 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4586 arg2
= new wxArrayString
;
4587 int i
, len
=PySequence_Length(obj1
);
4588 for (i
=0; i
<len
; i
++) {
4589 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4591 PyObject
* str
= PyObject_Unicode(item
);
4593 PyObject
* str
= PyObject_Str(item
);
4595 arg2
->Add(Py2wxString(str
));
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 (arg1
)->Set((wxArrayString
const &)*arg2
);
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4607 Py_INCREF(Py_None
); resultobj
= Py_None
;
4609 if (arg2
) delete arg2
;
4614 if (arg2
) delete arg2
;
4620 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
*resultobj
;
4622 wxListBox
*arg1
= (wxListBox
*) 0 ;
4625 PyObject
* obj0
= 0 ;
4627 (char *) "self",(char *) "n", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
4631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= PyInt_FromLong((long)result
);
4646 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
*resultobj
;
4648 wxListBox
*arg1
= (wxListBox
*) 0 ;
4650 bool arg3
= (bool) True
;
4651 PyObject
* obj0
= 0 ;
4652 PyObject
* obj2
= 0 ;
4654 (char *) "self",(char *) "n",(char *) "select", NULL
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListBox_SetSelection",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4660 arg3
= PyInt_AsLong(obj2
) ? true : false;
4661 if (PyErr_Occurred()) SWIG_fail
;
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 (arg1
)->SetSelection(arg2
,arg3
);
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) SWIG_fail
;
4670 Py_INCREF(Py_None
); resultobj
= Py_None
;
4677 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
*resultobj
;
4679 wxListBox
*arg1
= (wxListBox
*) 0 ;
4681 PyObject
* obj0
= 0 ;
4683 (char *) "self",(char *) "n", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
4687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 (arg1
)->Select(arg2
);
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 Py_INCREF(Py_None
); resultobj
= Py_None
;
4702 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
*resultobj
;
4704 wxListBox
*arg1
= (wxListBox
*) 0 ;
4706 PyObject
* obj0
= 0 ;
4708 (char *) "self",(char *) "n", NULL
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Deselect",kwnames
,&obj0
,&arg2
)) goto fail
;
4712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 (arg1
)->Deselect(arg2
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 Py_INCREF(Py_None
); resultobj
= Py_None
;
4727 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4729 wxListBox
*arg1
= (wxListBox
*) 0 ;
4730 int arg2
= (int) -1 ;
4731 PyObject
* obj0
= 0 ;
4733 (char *) "self",(char *) "itemToLeaveSelected", NULL
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListBox_DeselectAll",kwnames
,&obj0
,&arg2
)) goto fail
;
4737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 (arg1
)->DeselectAll(arg2
);
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4745 Py_INCREF(Py_None
); resultobj
= Py_None
;
4752 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
*resultobj
;
4754 wxListBox
*arg1
= (wxListBox
*) 0 ;
4755 wxString
*arg2
= 0 ;
4756 bool arg3
= (bool) True
;
4758 bool temp2
= False
;
4759 PyObject
* obj0
= 0 ;
4760 PyObject
* obj1
= 0 ;
4761 PyObject
* obj2
= 0 ;
4763 (char *) "self",(char *) "s",(char *) "select", NULL
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4769 arg2
= wxString_in_helper(obj1
);
4770 if (arg2
== NULL
) SWIG_fail
;
4774 arg3
= PyInt_AsLong(obj2
) ? true : false;
4775 if (PyErr_Occurred()) SWIG_fail
;
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4784 resultobj
= PyInt_FromLong((long)result
);
4799 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
*resultobj
;
4801 wxListBox
*arg1
= (wxListBox
*) 0 ;
4803 PyObject
* obj0
= 0 ;
4805 (char *) "self", NULL
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
4809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4824 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxListBox
*arg1
= (wxListBox
*) 0 ;
4828 PyObject
* obj0
= 0 ;
4830 (char *) "self",(char *) "n", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_SetFirstItem",kwnames
,&obj0
,&arg2
)) goto fail
;
4834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 (arg1
)->SetFirstItem(arg2
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 Py_INCREF(Py_None
); resultobj
= Py_None
;
4849 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
;
4851 wxListBox
*arg1
= (wxListBox
*) 0 ;
4852 wxString
*arg2
= 0 ;
4853 bool temp2
= False
;
4854 PyObject
* obj0
= 0 ;
4855 PyObject
* obj1
= 0 ;
4857 (char *) "self",(char *) "s", NULL
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
4861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4863 arg2
= wxString_in_helper(obj1
);
4864 if (arg2
== NULL
) SWIG_fail
;
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4869 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4874 Py_INCREF(Py_None
); resultobj
= Py_None
;
4889 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
*resultobj
;
4891 wxListBox
*arg1
= (wxListBox
*) 0 ;
4893 PyObject
* obj0
= 0 ;
4895 (char *) "self",(char *) "n", NULL
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
4899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 (arg1
)->EnsureVisible(arg2
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 Py_INCREF(Py_None
); resultobj
= Py_None
;
4914 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
;
4916 wxListBox
*arg1
= (wxListBox
*) 0 ;
4917 wxString
*arg2
= 0 ;
4918 bool temp2
= False
;
4919 PyObject
* obj0
= 0 ;
4920 PyObject
* obj1
= 0 ;
4922 (char *) "self",(char *) "s", NULL
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
4926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4928 arg2
= wxString_in_helper(obj1
);
4929 if (arg2
== NULL
) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4939 Py_INCREF(Py_None
); resultobj
= Py_None
;
4954 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
*resultobj
;
4956 wxListBox
*arg1
= (wxListBox
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4960 (char *) "self", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
4964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4972 resultobj
= PyInt_FromLong((long)result
);
4979 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
4981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4982 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
4984 return Py_BuildValue((char *)"");
4986 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
*resultobj
;
4988 wxWindow
*arg1
= (wxWindow
*) 0 ;
4990 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4991 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4992 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4993 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4994 int arg5
= (int) 0 ;
4995 wxString
*arg6
= (wxString
*) NULL
;
4996 long arg7
= (long) 0 ;
4997 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4998 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4999 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5000 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5001 wxCheckListBox
*result
;
5004 bool temp8
= False
;
5005 PyObject
* obj0
= 0 ;
5006 PyObject
* obj2
= 0 ;
5007 PyObject
* obj3
= 0 ;
5008 PyObject
* obj4
= 0 ;
5009 PyObject
* obj6
= 0 ;
5010 PyObject
* obj7
= 0 ;
5012 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
5016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5020 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5026 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5031 arg5
= PyList_Size(obj4
);
5032 arg6
= wxString_LIST_helper(obj4
);
5033 if (arg6
== NULL
) SWIG_fail
;
5037 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5039 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5044 arg9
= wxString_in_helper(obj7
);
5045 if (arg9
== NULL
) SWIG_fail
;
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5058 if (arg6
) delete [] arg6
;
5067 if (arg6
) delete [] arg6
;
5077 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
;
5079 wxCheckListBox
*result
;
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 result
= (wxCheckListBox
*)new wxCheckListBox();
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5092 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5099 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
*resultobj
;
5101 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5102 wxWindow
*arg2
= (wxWindow
*) 0 ;
5104 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5105 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5106 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5107 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5108 int arg6
= (int) 0 ;
5109 wxString
*arg7
= (wxString
*) NULL
;
5110 long arg8
= (long) 0 ;
5111 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5112 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5113 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5114 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5118 bool temp9
= False
;
5119 PyObject
* obj0
= 0 ;
5120 PyObject
* obj1
= 0 ;
5121 PyObject
* obj3
= 0 ;
5122 PyObject
* obj4
= 0 ;
5123 PyObject
* obj5
= 0 ;
5124 PyObject
* obj7
= 0 ;
5125 PyObject
* obj8
= 0 ;
5127 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
5131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5132 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5136 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5142 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5147 arg6
= PyList_Size(obj5
);
5148 arg7
= wxString_LIST_helper(obj5
);
5149 if (arg7
== NULL
) SWIG_fail
;
5153 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5155 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5160 arg10
= wxString_in_helper(obj8
);
5161 if (arg10
== NULL
) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5172 resultobj
= PyInt_FromLong((long)result
);
5174 if (arg7
) delete [] arg7
;
5183 if (arg7
) delete [] arg7
;
5193 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
*resultobj
;
5195 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5198 PyObject
* obj0
= 0 ;
5200 (char *) "self",(char *) "index", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckListBox_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 result
= (bool)(arg1
)->IsChecked(arg2
);
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5212 resultobj
= PyInt_FromLong((long)result
);
5219 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
*resultobj
;
5221 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5223 int arg3
= (int) True
;
5224 PyObject
* obj0
= 0 ;
5226 (char *) "self",(char *) "index",(char *) "check", NULL
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:CheckListBox_Check",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 (arg1
)->Check(arg2
,arg3
);
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 Py_INCREF(Py_None
); resultobj
= Py_None
;
5245 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
*resultobj
;
5247 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5251 PyObject
* obj0
= 0 ;
5252 PyObject
* obj1
= 0 ;
5254 (char *) "self",(char *) "pt", NULL
5257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
5258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5261 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5270 resultobj
= PyInt_FromLong((long)result
);
5277 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
*resultobj
;
5279 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5283 PyObject
* obj0
= 0 ;
5285 (char *) "self",(char *) "x",(char *) "y", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:CheckListBox_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 resultobj
= PyInt_FromLong((long)result
);
5304 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5307 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
5309 return Py_BuildValue((char *)"");
5311 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
5312 PyObject
*resultobj
;
5315 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 result
= (wxTextAttr
*)new wxTextAttr();
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5323 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5330 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
5331 PyObject
*resultobj
;
5332 wxColour
*arg1
= 0 ;
5333 wxColour
const &arg2_defvalue
= wxNullColour
;
5334 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5335 wxFont
const &arg3_defvalue
= wxNullFont
;
5336 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
5337 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
5341 PyObject
* obj0
= 0 ;
5342 PyObject
* obj1
= 0 ;
5343 PyObject
* obj2
= 0 ;
5345 if(!PyArg_ParseTuple(args
,(char *)"O|OOi:new_TextAttr",&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5348 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5353 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5357 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5359 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5369 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5376 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
5381 argc
= PyObject_Length(args
);
5382 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
5383 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5386 return _wrap_new_TextAttr__SWIG_0(self
,args
);
5388 if ((argc
>= 1) && (argc
<= 4)) {
5391 _v
= wxColour_typecheck(argv
[0]);
5395 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5398 _v
= wxColour_typecheck(argv
[1]);
5402 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5406 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
5415 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5418 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
5421 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5428 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
5433 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
;
5435 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5436 PyObject
* obj0
= 0 ;
5438 (char *) "self", NULL
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
5442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 Py_INCREF(Py_None
); resultobj
= Py_None
;
5457 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
;
5459 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5460 wxColour
*arg2
= 0 ;
5462 PyObject
* obj0
= 0 ;
5463 PyObject
* obj1
= 0 ;
5465 (char *) "self",(char *) "colText", NULL
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5472 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 Py_INCREF(Py_None
); resultobj
= Py_None
;
5488 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
;
5490 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5491 wxColour
*arg2
= 0 ;
5493 PyObject
* obj0
= 0 ;
5494 PyObject
* obj1
= 0 ;
5496 (char *) "self",(char *) "colBack", NULL
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5503 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5519 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5523 long arg3
= (long) wxTEXT_ATTR_FONT
;
5524 PyObject
* obj0
= 0 ;
5525 PyObject
* obj1
= 0 ;
5527 (char *) "self",(char *) "font",(char *) "flags", NULL
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5532 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5534 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5543 Py_INCREF(Py_None
); resultobj
= Py_None
;
5550 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
*resultobj
;
5552 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5554 PyObject
* obj0
= 0 ;
5556 (char *) "self",(char *) "alignment", NULL
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
5560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5568 Py_INCREF(Py_None
); resultobj
= Py_None
;
5575 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5577 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5578 wxArrayInt
*arg2
= 0 ;
5579 PyObject
* obj0
= 0 ;
5580 PyObject
* obj1
= 0 ;
5582 (char *) "self",(char *) "tabs", NULL
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
5586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5588 if (! PySequence_Check(obj1
)) {
5589 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
5592 arg2
= new wxArrayInt
;
5593 int i
, len
=PySequence_Length(obj1
);
5594 for (i
=0; i
<len
; i
++) {
5595 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5596 PyObject
* number
= PyNumber_Int(item
);
5597 arg2
->Add(PyInt_AS_LONG(number
));
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 Py_INCREF(Py_None
); resultobj
= Py_None
;
5611 if (arg2
) delete arg2
;
5616 if (arg2
) delete arg2
;
5622 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
;
5624 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5626 PyObject
* obj0
= 0 ;
5628 (char *) "self",(char *) "indent", NULL
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetLeftIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 (arg1
)->SetLeftIndent(arg2
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5640 Py_INCREF(Py_None
); resultobj
= Py_None
;
5647 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
;
5649 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5651 PyObject
* obj0
= 0 ;
5653 (char *) "self",(char *) "indent", NULL
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetRightIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 (arg1
)->SetRightIndent(arg2
);
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5665 Py_INCREF(Py_None
); resultobj
= Py_None
;
5672 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
*resultobj
;
5674 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5676 PyObject
* obj0
= 0 ;
5678 (char *) "self",(char *) "flags", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
5682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 (arg1
)->SetFlags(arg2
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 Py_INCREF(Py_None
); resultobj
= Py_None
;
5697 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
;
5699 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5701 PyObject
* obj0
= 0 ;
5703 (char *) "self", NULL
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
5707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5715 resultobj
= PyInt_FromLong((long)result
);
5722 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
;
5724 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5726 PyObject
* obj0
= 0 ;
5728 (char *) "self", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 resultobj
= PyInt_FromLong((long)result
);
5747 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5751 PyObject
* obj0
= 0 ;
5753 (char *) "self", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
5757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= PyInt_FromLong((long)result
);
5772 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5776 PyObject
* obj0
= 0 ;
5778 (char *) "self", NULL
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
5782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= PyInt_FromLong((long)result
);
5797 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
;
5799 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5801 PyObject
* obj0
= 0 ;
5803 (char *) "self", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
5807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5815 resultobj
= PyInt_FromLong((long)result
);
5822 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
*resultobj
;
5824 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5826 PyObject
* obj0
= 0 ;
5828 (char *) "self", NULL
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
5832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= PyInt_FromLong((long)result
);
5847 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
*resultobj
;
5849 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5851 PyObject
* obj0
= 0 ;
5853 (char *) "self", NULL
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
5857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5865 resultobj
= PyInt_FromLong((long)result
);
5872 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
;
5874 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5877 PyObject
* obj0
= 0 ;
5879 (char *) "self",(char *) "flag", NULL
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
5883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 resultobj
= PyInt_FromLong((long)result
);
5898 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
;
5900 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5902 PyObject
* obj0
= 0 ;
5904 (char *) "self", NULL
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
5908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
5913 result
= (wxColour
*) &_result_ref
;
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
5926 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5930 PyObject
* obj0
= 0 ;
5932 (char *) "self", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
5936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
5941 result
= (wxColour
*) &_result_ref
;
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
5954 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
;
5956 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5958 PyObject
* obj0
= 0 ;
5960 (char *) "self", NULL
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
5964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
5969 result
= (wxFont
*) &_result_ref
;
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
5982 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
;
5984 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5986 PyObject
* obj0
= 0 ;
5988 (char *) "self", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
5992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 resultobj
= PyInt_FromLong((long)result
);
6007 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6011 PyObject
* obj0
= 0 ;
6013 (char *) "self", NULL
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6022 result
= (wxArrayInt
*) &_result_ref
;
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= PyList_New(0);
6031 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
6032 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
6033 PyList_Append(resultobj
, val
);
6043 static PyObject
*_wrap_TextAttr_GetLeftIndent(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_GetLeftIndent",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();
6056 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 resultobj
= PyInt_FromLong((long)result
);
6068 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6072 PyObject
* obj0
= 0 ;
6074 (char *) "self", NULL
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
6078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6086 resultobj
= PyInt_FromLong((long)result
);
6093 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
;
6095 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6097 PyObject
* obj0
= 0 ;
6099 (char *) "self", NULL
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
6103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6111 resultobj
= PyInt_FromLong((long)result
);
6118 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
*resultobj
;
6120 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6122 PyObject
* obj0
= 0 ;
6124 (char *) "self", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
6128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 resultobj
= PyInt_FromLong((long)result
);
6143 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
;
6145 wxTextAttr
*arg1
= 0 ;
6146 wxTextAttr
*arg2
= 0 ;
6147 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
6149 PyObject
* obj0
= 0 ;
6150 PyObject
* obj1
= 0 ;
6151 PyObject
* obj2
= 0 ;
6153 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6159 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6163 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6165 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6168 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
6170 wxPyEndAllowThreads(__tstate
);
6171 if (PyErr_Occurred()) SWIG_fail
;
6174 wxTextAttr
* resultptr
;
6175 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
6176 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
6184 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
6186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6187 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
6189 return Py_BuildValue((char *)"");
6191 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
;
6193 wxWindow
*arg1
= (wxWindow
*) 0 ;
6195 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6196 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6197 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6198 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6199 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6200 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6201 long arg6
= (long) 0 ;
6202 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6203 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6204 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
6205 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6207 bool temp3
= False
;
6210 bool temp8
= False
;
6211 PyObject
* obj0
= 0 ;
6212 PyObject
* obj2
= 0 ;
6213 PyObject
* obj3
= 0 ;
6214 PyObject
* obj4
= 0 ;
6215 PyObject
* obj6
= 0 ;
6216 PyObject
* obj7
= 0 ;
6218 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
6222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6225 arg3
= wxString_in_helper(obj2
);
6226 if (arg3
== NULL
) SWIG_fail
;
6233 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6239 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6243 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6245 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6250 arg8
= wxString_in_helper(obj7
);
6251 if (arg8
== NULL
) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6263 resultobj
= wxPyMake_wxObject(result
);
6287 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 result
= (wxTextCtrl
*)new wxTextCtrl();
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6303 resultobj
= wxPyMake_wxObject(result
);
6311 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
*resultobj
;
6313 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6314 wxWindow
*arg2
= (wxWindow
*) 0 ;
6316 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6317 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6318 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6319 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6320 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6321 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6322 long arg7
= (long) 0 ;
6323 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6324 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6325 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
6326 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6328 bool temp4
= False
;
6331 bool temp9
= False
;
6332 PyObject
* obj0
= 0 ;
6333 PyObject
* obj1
= 0 ;
6334 PyObject
* obj3
= 0 ;
6335 PyObject
* obj4
= 0 ;
6336 PyObject
* obj5
= 0 ;
6337 PyObject
* obj7
= 0 ;
6338 PyObject
* obj8
= 0 ;
6340 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6348 arg4
= wxString_in_helper(obj3
);
6349 if (arg4
== NULL
) SWIG_fail
;
6356 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6362 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6366 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6368 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6373 arg9
= wxString_in_helper(obj8
);
6374 if (arg9
== NULL
) SWIG_fail
;
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6382 wxPyEndAllowThreads(__tstate
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6385 resultobj
= PyInt_FromLong((long)result
);
6408 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
;
6410 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6412 PyObject
* obj0
= 0 ;
6414 (char *) "self", NULL
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
6418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6439 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
;
6441 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6442 wxString
*arg2
= 0 ;
6443 bool temp2
= False
;
6444 PyObject
* obj0
= 0 ;
6445 PyObject
* obj1
= 0 ;
6447 (char *) "self",(char *) "value", NULL
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6453 arg2
= wxString_in_helper(obj1
);
6454 if (arg2
== NULL
) SWIG_fail
;
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 (arg1
)->SetValue((wxString
const &)*arg2
);
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6464 Py_INCREF(Py_None
); resultobj
= Py_None
;
6479 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6480 PyObject
*resultobj
;
6481 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6485 PyObject
* obj0
= 0 ;
6487 (char *) "self",(char *) "from",(char *) "to", NULL
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6512 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
*resultobj
;
6514 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6517 PyObject
* obj0
= 0 ;
6519 (char *) "self",(char *) "lineNo", NULL
6522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= PyInt_FromLong((long)result
);
6538 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6540 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6543 PyObject
* obj0
= 0 ;
6545 (char *) "self",(char *) "lineNo", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineText",kwnames
,&obj0
,&arg2
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6559 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6561 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6570 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
;
6572 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6574 PyObject
* obj0
= 0 ;
6576 (char *) "self", NULL
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
6580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6588 resultobj
= PyInt_FromLong((long)result
);
6595 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
*resultobj
;
6597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6599 PyObject
* obj0
= 0 ;
6601 (char *) "self", NULL
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
6605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6613 resultobj
= PyInt_FromLong((long)result
);
6620 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
;
6622 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6624 PyObject
* obj0
= 0 ;
6626 (char *) "self", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
6630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6638 resultobj
= PyInt_FromLong((long)result
);
6645 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
;
6647 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6649 PyObject
* obj0
= 0 ;
6651 (char *) "self", NULL
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
6655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= PyInt_FromLong((long)result
);
6670 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
;
6672 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6674 PyObject
* obj0
= 0 ;
6676 (char *) "self", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
6680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6688 resultobj
= PyInt_FromLong((long)result
);
6695 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6698 long *arg2
= (long *) 0 ;
6699 long *arg3
= (long *) 0 ;
6702 PyObject
* obj0
= 0 ;
6704 (char *) "self", NULL
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
6710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6718 Py_INCREF(Py_None
); resultobj
= Py_None
;
6720 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
6721 resultobj
= t_output_helper(resultobj
,o
);
6724 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6725 resultobj
= t_output_helper(resultobj
,o
);
6733 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
*resultobj
;
6735 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6737 PyObject
* obj0
= 0 ;
6739 (char *) "self", NULL
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
6743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
6748 wxPyEndAllowThreads(__tstate
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6764 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6767 PyObject
* obj0
= 0 ;
6769 (char *) "self", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
6773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6781 Py_INCREF(Py_None
); resultobj
= Py_None
;
6788 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
*resultobj
;
6790 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6793 wxString
*arg4
= 0 ;
6794 bool temp4
= False
;
6795 PyObject
* obj0
= 0 ;
6796 PyObject
* obj3
= 0 ;
6798 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
6802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6804 arg4
= wxString_in_helper(obj3
);
6805 if (arg4
== NULL
) SWIG_fail
;
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 Py_INCREF(Py_None
); resultobj
= Py_None
;
6830 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6832 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6835 PyObject
* obj0
= 0 ;
6837 (char *) "self",(char *) "from",(char *) "to", NULL
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 (arg1
)->Remove(arg2
,arg3
);
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) SWIG_fail
;
6849 Py_INCREF(Py_None
); resultobj
= Py_None
;
6856 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
*resultobj
;
6858 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6859 wxString
*arg2
= 0 ;
6861 bool temp2
= False
;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6865 (char *) "self",(char *) "file", NULL
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6871 arg2
= wxString_in_helper(obj1
);
6872 if (arg2
== NULL
) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= PyInt_FromLong((long)result
);
6897 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
*resultobj
;
6899 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6900 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6901 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6903 bool temp2
= False
;
6904 PyObject
* obj0
= 0 ;
6905 PyObject
* obj1
= 0 ;
6907 (char *) "self",(char *) "file", NULL
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6914 arg2
= wxString_in_helper(obj1
);
6915 if (arg2
== NULL
) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= PyInt_FromLong((long)result
);
6941 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
*resultobj
;
6943 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6944 PyObject
* obj0
= 0 ;
6946 (char *) "self", NULL
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
6950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 (arg1
)->MarkDirty();
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6958 Py_INCREF(Py_None
); resultobj
= Py_None
;
6965 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
;
6967 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6968 PyObject
* obj0
= 0 ;
6970 (char *) "self", NULL
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
6974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 (arg1
)->DiscardEdits();
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 Py_INCREF(Py_None
); resultobj
= Py_None
;
6989 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
*resultobj
;
6991 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6992 unsigned long arg2
;
6993 PyObject
* obj0
= 0 ;
6994 PyObject
* obj1
= 0 ;
6996 (char *) "self",(char *) "len", NULL
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7001 arg2
= (unsigned long) PyInt_AsLong(obj1
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 (arg1
)->SetMaxLength(arg2
);
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 Py_INCREF(Py_None
); resultobj
= Py_None
;
7017 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
;
7019 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7020 wxString
*arg2
= 0 ;
7021 bool temp2
= False
;
7022 PyObject
* obj0
= 0 ;
7023 PyObject
* obj1
= 0 ;
7025 (char *) "self",(char *) "text", NULL
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
7029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7031 arg2
= wxString_in_helper(obj1
);
7032 if (arg2
== NULL
) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 (arg1
)->WriteText((wxString
const &)*arg2
);
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 Py_INCREF(Py_None
); resultobj
= Py_None
;
7057 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
;
7059 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7060 wxString
*arg2
= 0 ;
7061 bool temp2
= False
;
7062 PyObject
* obj0
= 0 ;
7063 PyObject
* obj1
= 0 ;
7065 (char *) "self",(char *) "text", NULL
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
7069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7071 arg2
= wxString_in_helper(obj1
);
7072 if (arg2
== NULL
) SWIG_fail
;
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 (arg1
)->AppendText((wxString
const &)*arg2
);
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7082 Py_INCREF(Py_None
); resultobj
= Py_None
;
7097 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
;
7099 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7100 wxKeyEvent
*arg2
= 0 ;
7102 PyObject
* obj0
= 0 ;
7103 PyObject
* obj1
= 0 ;
7105 (char *) "self",(char *) "event", NULL
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
7109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7112 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= PyInt_FromLong((long)result
);
7128 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7130 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7133 wxTextAttr
*arg4
= 0 ;
7135 PyObject
* obj0
= 0 ;
7136 PyObject
* obj3
= 0 ;
7138 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_SetStyle",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7143 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7145 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7154 resultobj
= PyInt_FromLong((long)result
);
7161 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
;
7163 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7165 wxTextAttr
*arg3
= 0 ;
7167 PyObject
* obj0
= 0 ;
7168 PyObject
* obj2
= 0 ;
7170 (char *) "self",(char *) "position",(char *) "style", NULL
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:TextCtrl_GetStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7175 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7177 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= PyInt_FromLong((long)result
);
7193 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7195 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7196 wxTextAttr
*arg2
= 0 ;
7198 PyObject
* obj0
= 0 ;
7199 PyObject
* obj1
= 0 ;
7201 (char *) "self",(char *) "style", NULL
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7206 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7208 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= PyInt_FromLong((long)result
);
7224 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7228 PyObject
* obj0
= 0 ;
7230 (char *) "self", NULL
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
7234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
7239 result
= (wxTextAttr
*) &_result_ref
;
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
7252 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7258 PyObject
* obj0
= 0 ;
7260 (char *) "self",(char *) "x",(char *) "y", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_XYToPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7272 resultobj
= PyInt_FromLong((long)result
);
7279 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
*resultobj
;
7281 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7283 long *arg3
= (long *) 0 ;
7284 long *arg4
= (long *) 0 ;
7287 PyObject
* obj0
= 0 ;
7289 (char *) "self",(char *) "pos", NULL
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_PositionToXY",kwnames
,&obj0
,&arg2
)) goto fail
;
7295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 Py_INCREF(Py_None
); resultobj
= Py_None
;
7305 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7306 resultobj
= t_output_helper(resultobj
,o
);
7309 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7310 resultobj
= t_output_helper(resultobj
,o
);
7318 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
;
7320 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7322 PyObject
* obj0
= 0 ;
7324 (char *) "self",(char *) "pos", NULL
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_ShowPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
7328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 (arg1
)->ShowPosition(arg2
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 Py_INCREF(Py_None
); resultobj
= Py_None
;
7343 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
*resultobj
;
7345 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7346 PyObject
* obj0
= 0 ;
7348 (char *) "self", NULL
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
7352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7360 Py_INCREF(Py_None
); resultobj
= Py_None
;
7367 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
*resultobj
;
7369 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7370 PyObject
* obj0
= 0 ;
7372 (char *) "self", NULL
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
7376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 Py_INCREF(Py_None
); resultobj
= Py_None
;
7391 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
*resultobj
;
7393 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7394 PyObject
* obj0
= 0 ;
7396 (char *) "self", NULL
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
7400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 Py_INCREF(Py_None
); resultobj
= Py_None
;
7415 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
*resultobj
;
7417 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7419 PyObject
* obj0
= 0 ;
7421 (char *) "self", NULL
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
7425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 resultobj
= PyInt_FromLong((long)result
);
7440 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7442 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7444 PyObject
* obj0
= 0 ;
7446 (char *) "self", NULL
7449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
7450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 resultobj
= PyInt_FromLong((long)result
);
7465 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
*resultobj
;
7467 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7469 PyObject
* obj0
= 0 ;
7471 (char *) "self", NULL
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
7475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= PyInt_FromLong((long)result
);
7490 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
;
7492 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7493 PyObject
* obj0
= 0 ;
7495 (char *) "self", NULL
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
7499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7504 wxPyEndAllowThreads(__tstate
);
7505 if (PyErr_Occurred()) SWIG_fail
;
7507 Py_INCREF(Py_None
); resultobj
= Py_None
;
7514 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7517 PyObject
* obj0
= 0 ;
7519 (char *) "self", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
7523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 Py_INCREF(Py_None
); resultobj
= Py_None
;
7538 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
;
7540 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7542 PyObject
* obj0
= 0 ;
7544 (char *) "self", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
7548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7556 resultobj
= PyInt_FromLong((long)result
);
7563 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
*resultobj
;
7565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7567 PyObject
* obj0
= 0 ;
7569 (char *) "self", NULL
7572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
7573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 resultobj
= PyInt_FromLong((long)result
);
7588 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7592 PyObject
* obj0
= 0 ;
7594 (char *) "self",(char *) "pos", NULL
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
7598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 (arg1
)->SetInsertionPoint(arg2
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 Py_INCREF(Py_None
); resultobj
= Py_None
;
7613 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7615 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7616 PyObject
* obj0
= 0 ;
7618 (char *) "self", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
7622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 (arg1
)->SetInsertionPointEnd();
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 Py_INCREF(Py_None
); resultobj
= Py_None
;
7637 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
;
7639 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7641 PyObject
* obj0
= 0 ;
7643 (char *) "self", NULL
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
7647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7655 resultobj
= PyInt_FromLong((long)result
);
7662 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
;
7664 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7666 PyObject
* obj0
= 0 ;
7668 (char *) "self", NULL
7671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
7672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= PyInt_FromLong((long)result
);
7687 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7692 PyObject
* obj0
= 0 ;
7694 (char *) "self",(char *) "from",(char *) "to", NULL
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 (arg1
)->SetSelection(arg2
,arg3
);
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 Py_INCREF(Py_None
); resultobj
= Py_None
;
7713 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
;
7715 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7716 PyObject
* obj0
= 0 ;
7718 (char *) "self", NULL
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
7722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 (arg1
)->SelectAll();
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 Py_INCREF(Py_None
); resultobj
= Py_None
;
7737 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7741 PyObject
* obj0
= 0 ;
7742 PyObject
* obj1
= 0 ;
7744 (char *) "self",(char *) "editable", NULL
7747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
7748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7749 arg2
= PyInt_AsLong(obj1
) ? true : false;
7750 if (PyErr_Occurred()) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 (arg1
)->SetEditable(arg2
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 Py_INCREF(Py_None
); resultobj
= Py_None
;
7765 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
;
7767 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7768 wxString
*arg2
= 0 ;
7769 bool temp2
= False
;
7770 PyObject
* obj0
= 0 ;
7771 PyObject
* obj1
= 0 ;
7773 (char *) "self",(char *) "text", NULL
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7779 arg2
= wxString_in_helper(obj1
);
7780 if (arg2
== NULL
) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 Py_INCREF(Py_None
); resultobj
= Py_None
;
7805 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
*resultobj
;
7807 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7813 (char *) "self",(char *) "from",(char *) "to", NULL
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetString",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7838 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7841 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
7843 return Py_BuildValue((char *)"");
7845 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7848 wxMouseEvent
*arg2
= 0 ;
7851 wxTextUrlEvent
*result
;
7852 PyObject
* obj1
= 0 ;
7854 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOll:new_TextUrlEvent",kwnames
,&arg1
,&obj1
,&arg3
,&arg4
)) goto fail
;
7858 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7860 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
7876 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
*resultobj
;
7878 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
7879 wxMouseEvent
*result
;
7880 PyObject
* obj0
= 0 ;
7882 (char *) "self", NULL
7885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
7886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
7891 result
= (wxMouseEvent
*) &_result_ref
;
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
7904 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
;
7906 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
7908 PyObject
* obj0
= 0 ;
7910 (char *) "self", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
7914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= PyInt_FromLong((long)result
);
7929 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
7933 PyObject
* obj0
= 0 ;
7935 (char *) "self", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
7939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= PyInt_FromLong((long)result
);
7954 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7957 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
7959 return Py_BuildValue((char *)"");
7961 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7963 wxWindow
*arg1
= (wxWindow
*) 0 ;
7964 int arg2
= (int) -1 ;
7965 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7966 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7967 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7968 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7969 long arg5
= (long) wxSB_HORIZONTAL
;
7970 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
7971 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
7972 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
7973 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7974 wxScrollBar
*result
;
7977 bool temp7
= False
;
7978 PyObject
* obj0
= 0 ;
7979 PyObject
* obj2
= 0 ;
7980 PyObject
* obj3
= 0 ;
7981 PyObject
* obj5
= 0 ;
7982 PyObject
* obj6
= 0 ;
7984 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ScrollBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
7988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7992 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7998 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8002 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8004 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8009 arg7
= wxString_in_helper(obj6
);
8010 if (arg7
== NULL
) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8021 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8036 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
;
8038 wxScrollBar
*result
;
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
8045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8046 result
= (wxScrollBar
*)new wxScrollBar();
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8058 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
;
8060 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8061 wxWindow
*arg2
= (wxWindow
*) 0 ;
8062 int arg3
= (int) -1 ;
8063 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8064 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8065 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8066 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8067 long arg6
= (long) wxSB_HORIZONTAL
;
8068 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8069 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8070 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
8071 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8075 bool temp8
= False
;
8076 PyObject
* obj0
= 0 ;
8077 PyObject
* obj1
= 0 ;
8078 PyObject
* obj3
= 0 ;
8079 PyObject
* obj4
= 0 ;
8080 PyObject
* obj6
= 0 ;
8081 PyObject
* obj7
= 0 ;
8083 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
8087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8088 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8092 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8098 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8102 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8104 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8109 arg8
= wxString_in_helper(obj7
);
8110 if (arg8
== NULL
) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 resultobj
= PyInt_FromLong((long)result
);
8136 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8140 PyObject
* obj0
= 0 ;
8142 (char *) "self", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
8146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8154 resultobj
= PyInt_FromLong((long)result
);
8161 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
;
8163 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8165 PyObject
* obj0
= 0 ;
8167 (char *) "self", NULL
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
8171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8174 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8179 resultobj
= PyInt_FromLong((long)result
);
8186 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8190 PyObject
* obj0
= 0 ;
8192 (char *) "self", NULL
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
8196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8204 resultobj
= PyInt_FromLong((long)result
);
8211 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8215 PyObject
* obj0
= 0 ;
8217 (char *) "self", NULL
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
8221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8229 resultobj
= PyInt_FromLong((long)result
);
8236 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8237 PyObject
*resultobj
;
8238 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8240 PyObject
* obj0
= 0 ;
8242 (char *) "self", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
8246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8254 resultobj
= PyInt_FromLong((long)result
);
8261 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
*resultobj
;
8263 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8265 PyObject
* obj0
= 0 ;
8267 (char *) "self",(char *) "viewStart", NULL
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
8271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 (arg1
)->SetThumbPosition(arg2
);
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8279 Py_INCREF(Py_None
); resultobj
= Py_None
;
8286 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8293 bool arg6
= (bool) True
;
8294 PyObject
* obj0
= 0 ;
8295 PyObject
* obj5
= 0 ;
8297 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
8301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8303 arg6
= PyInt_AsLong(obj5
) ? true : false;
8304 if (PyErr_Occurred()) SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8313 Py_INCREF(Py_None
); resultobj
= Py_None
;
8320 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
8322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8323 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
8325 return Py_BuildValue((char *)"");
8327 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
;
8329 wxWindow
*arg1
= (wxWindow
*) 0 ;
8330 int arg2
= (int) -1 ;
8331 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8332 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8333 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8334 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8335 long arg5
= (long) wxSP_HORIZONTAL
;
8336 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
8337 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8338 wxSpinButton
*result
;
8341 bool temp6
= False
;
8342 PyObject
* obj0
= 0 ;
8343 PyObject
* obj2
= 0 ;
8344 PyObject
* obj3
= 0 ;
8345 PyObject
* obj5
= 0 ;
8347 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_SpinButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8355 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8361 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8366 arg6
= wxString_in_helper(obj5
);
8367 if (arg6
== NULL
) SWIG_fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8393 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
;
8395 wxSpinButton
*result
;
8400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 result
= (wxSpinButton
*)new wxSpinButton();
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8408 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8415 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
*resultobj
;
8417 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8418 wxWindow
*arg2
= (wxWindow
*) 0 ;
8419 int arg3
= (int) -1 ;
8420 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8421 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8422 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8423 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8424 long arg6
= (long) wxSP_HORIZONTAL
;
8425 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
8426 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8430 bool temp7
= False
;
8431 PyObject
* obj0
= 0 ;
8432 PyObject
* obj1
= 0 ;
8433 PyObject
* obj3
= 0 ;
8434 PyObject
* obj4
= 0 ;
8435 PyObject
* obj6
= 0 ;
8437 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8442 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8446 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8452 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8457 arg7
= wxString_in_helper(obj6
);
8458 if (arg7
== NULL
) SWIG_fail
;
8463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8464 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8469 resultobj
= PyInt_FromLong((long)result
);
8484 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
*resultobj
;
8486 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8488 PyObject
* obj0
= 0 ;
8490 (char *) "self", NULL
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
8494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8497 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
8499 wxPyEndAllowThreads(__tstate
);
8500 if (PyErr_Occurred()) SWIG_fail
;
8502 resultobj
= PyInt_FromLong((long)result
);
8509 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
;
8511 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8513 PyObject
* obj0
= 0 ;
8515 (char *) "self", NULL
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
8519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8522 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8527 resultobj
= PyInt_FromLong((long)result
);
8534 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8538 PyObject
* obj0
= 0 ;
8540 (char *) "self", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
8544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= PyInt_FromLong((long)result
);
8559 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
*resultobj
;
8561 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8563 PyObject
* obj0
= 0 ;
8565 (char *) "self",(char *) "val", NULL
8568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
8569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 (arg1
)->SetValue(arg2
);
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 Py_INCREF(Py_None
); resultobj
= Py_None
;
8584 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8585 PyObject
*resultobj
;
8586 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8588 PyObject
* obj0
= 0 ;
8590 (char *) "self",(char *) "minVal", NULL
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
8594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 (arg1
)->SetMin(arg2
);
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 Py_INCREF(Py_None
); resultobj
= Py_None
;
8609 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8613 PyObject
* obj0
= 0 ;
8615 (char *) "self",(char *) "maxVal", NULL
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
8619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8622 (arg1
)->SetMax(arg2
);
8624 wxPyEndAllowThreads(__tstate
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8627 Py_INCREF(Py_None
); resultobj
= Py_None
;
8634 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
;
8636 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8639 PyObject
* obj0
= 0 ;
8641 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinButton_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 (arg1
)->SetRange(arg2
,arg3
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 Py_INCREF(Py_None
); resultobj
= Py_None
;
8660 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
*resultobj
;
8662 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8664 PyObject
* obj0
= 0 ;
8666 (char *) "self", NULL
8669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
8670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8678 resultobj
= PyInt_FromLong((long)result
);
8685 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
8687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8688 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
8690 return Py_BuildValue((char *)"");
8692 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
*resultobj
;
8694 wxWindow
*arg1
= (wxWindow
*) 0 ;
8695 int arg2
= (int) -1 ;
8696 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8697 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8698 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8699 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8700 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8701 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8702 long arg6
= (long) wxSP_ARROW_KEYS
;
8703 int arg7
= (int) 0 ;
8704 int arg8
= (int) 100 ;
8705 int arg9
= (int) 0 ;
8706 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
8707 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
8709 bool temp3
= False
;
8712 bool temp10
= False
;
8713 PyObject
* obj0
= 0 ;
8714 PyObject
* obj2
= 0 ;
8715 PyObject
* obj3
= 0 ;
8716 PyObject
* obj4
= 0 ;
8717 PyObject
* obj9
= 0 ;
8719 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
)) goto fail
;
8723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8726 arg3
= wxString_in_helper(obj2
);
8727 if (arg3
== NULL
) SWIG_fail
;
8734 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8740 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8745 arg10
= wxString_in_helper(obj9
);
8746 if (arg10
== NULL
) SWIG_fail
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
8780 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
*resultobj
;
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 result
= (wxSpinCtrl
*)new wxSpinCtrl();
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
8802 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
;
8804 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8805 wxWindow
*arg2
= (wxWindow
*) 0 ;
8806 int arg3
= (int) -1 ;
8807 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8808 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8809 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8810 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8811 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8812 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8813 long arg7
= (long) wxSP_ARROW_KEYS
;
8814 int arg8
= (int) 0 ;
8815 int arg9
= (int) 100 ;
8816 int arg10
= (int) 0 ;
8817 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
8818 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
8820 bool temp4
= False
;
8823 bool temp11
= False
;
8824 PyObject
* obj0
= 0 ;
8825 PyObject
* obj1
= 0 ;
8826 PyObject
* obj3
= 0 ;
8827 PyObject
* obj4
= 0 ;
8828 PyObject
* obj5
= 0 ;
8829 PyObject
* obj10
= 0 ;
8831 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&arg8
,&arg9
,&arg10
,&obj10
)) goto fail
;
8835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8836 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8839 arg4
= wxString_in_helper(obj3
);
8840 if (arg4
== NULL
) SWIG_fail
;
8847 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8853 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8858 arg11
= wxString_in_helper(obj10
);
8859 if (arg11
== NULL
) SWIG_fail
;
8864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8865 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
8867 wxPyEndAllowThreads(__tstate
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8870 resultobj
= PyInt_FromLong((long)result
);
8893 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8897 PyObject
* obj0
= 0 ;
8899 (char *) "self", NULL
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8911 resultobj
= PyInt_FromLong((long)result
);
8918 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8922 PyObject
* obj0
= 0 ;
8924 (char *) "self",(char *) "value", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinCtrl_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
8928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 (arg1
)->SetValue(arg2
);
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 Py_INCREF(Py_None
); resultobj
= Py_None
;
8943 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
;
8945 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8946 wxString
*arg2
= 0 ;
8947 bool temp2
= False
;
8948 PyObject
* obj0
= 0 ;
8949 PyObject
* obj1
= 0 ;
8951 (char *) "self",(char *) "text", NULL
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
8955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8957 arg2
= wxString_in_helper(obj1
);
8958 if (arg2
== NULL
) SWIG_fail
;
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 (arg1
)->SetValue((wxString
const &)*arg2
);
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 Py_INCREF(Py_None
); resultobj
= Py_None
;
8983 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
*resultobj
;
8985 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8988 PyObject
* obj0
= 0 ;
8990 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinCtrl_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 (arg1
)->SetRange(arg2
,arg3
);
8999 wxPyEndAllowThreads(__tstate
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9002 Py_INCREF(Py_None
); resultobj
= Py_None
;
9009 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
;
9011 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9013 PyObject
* obj0
= 0 ;
9015 (char *) "self", NULL
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
9019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= PyInt_FromLong((long)result
);
9034 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
;
9036 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9038 PyObject
* obj0
= 0 ;
9040 (char *) "self", NULL
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
9044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 resultobj
= PyInt_FromLong((long)result
);
9059 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9060 PyObject
*resultobj
;
9061 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9064 PyObject
* obj0
= 0 ;
9066 (char *) "self",(char *) "from",(char *) "to", NULL
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:SpinCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 (arg1
)->SetSelection(arg2
,arg3
);
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 Py_INCREF(Py_None
); resultobj
= Py_None
;
9085 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9088 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
9090 return Py_BuildValue((char *)"");
9092 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
*resultobj
;
9094 wxWindow
*arg1
= (wxWindow
*) 0 ;
9096 wxString
*arg3
= 0 ;
9097 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9098 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9099 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9100 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9101 int arg6
= (int) 0 ;
9102 wxString
*arg7
= (wxString
*) NULL
;
9103 int arg8
= (int) 0 ;
9104 long arg9
= (long) wxRA_HORIZONTAL
;
9105 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
9106 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
9107 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
9108 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9110 bool temp3
= False
;
9113 bool temp10
= False
;
9114 PyObject
* obj0
= 0 ;
9115 PyObject
* obj2
= 0 ;
9116 PyObject
* obj3
= 0 ;
9117 PyObject
* obj4
= 0 ;
9118 PyObject
* obj5
= 0 ;
9119 PyObject
* obj8
= 0 ;
9120 PyObject
* obj9
= 0 ;
9122 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOOilOO:new_RadioBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&arg9
,&obj8
,&obj9
)) goto fail
;
9126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9128 arg3
= wxString_in_helper(obj2
);
9129 if (arg3
== NULL
) SWIG_fail
;
9135 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9141 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9146 arg6
= PyList_Size(obj5
);
9147 arg7
= wxString_LIST_helper(obj5
);
9148 if (arg7
== NULL
) SWIG_fail
;
9152 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9153 if (arg10
== NULL
) {
9154 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9159 arg11
= wxString_in_helper(obj9
);
9160 if (arg11
== NULL
) SWIG_fail
;
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 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
);
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9177 if (arg7
) delete [] arg7
;
9190 if (arg7
) delete [] arg7
;
9200 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
;
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
9209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9210 result
= (wxRadioBox
*)new wxRadioBox();
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9215 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9222 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
*resultobj
;
9224 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9225 wxWindow
*arg2
= (wxWindow
*) 0 ;
9227 wxString
*arg4
= 0 ;
9228 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9229 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9230 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9231 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9232 int arg7
= (int) 0 ;
9233 wxString
*arg8
= (wxString
*) NULL
;
9234 int arg9
= (int) 0 ;
9235 long arg10
= (long) wxRA_HORIZONTAL
;
9236 wxValidator
const &arg11_defvalue
= wxDefaultValidator
;
9237 wxValidator
*arg11
= (wxValidator
*) &arg11_defvalue
;
9238 wxString
const &arg12_defvalue
= wxPyRadioBoxNameStr
;
9239 wxString
*arg12
= (wxString
*) &arg12_defvalue
;
9241 bool temp4
= False
;
9244 bool temp11
= False
;
9245 PyObject
* obj0
= 0 ;
9246 PyObject
* obj1
= 0 ;
9247 PyObject
* obj3
= 0 ;
9248 PyObject
* obj4
= 0 ;
9249 PyObject
* obj5
= 0 ;
9250 PyObject
* obj6
= 0 ;
9251 PyObject
* obj9
= 0 ;
9252 PyObject
* obj10
= 0 ;
9254 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&arg10
,&obj9
,&obj10
)) goto fail
;
9258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9259 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9261 arg4
= wxString_in_helper(obj3
);
9262 if (arg4
== NULL
) SWIG_fail
;
9268 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9274 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9279 arg7
= PyList_Size(obj6
);
9280 arg8
= wxString_LIST_helper(obj6
);
9281 if (arg8
== NULL
) SWIG_fail
;
9285 if ((SWIG_ConvertPtr(obj9
,(void **) &arg11
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9286 if (arg11
== NULL
) {
9287 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9292 arg12
= wxString_in_helper(obj10
);
9293 if (arg12
== NULL
) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 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
);
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= PyInt_FromLong((long)result
);
9310 if (arg8
) delete [] arg8
;
9323 if (arg8
) delete [] arg8
;
9333 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9335 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9337 PyObject
* obj0
= 0 ;
9339 (char *) "self",(char *) "n", NULL
9342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
9343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 (arg1
)->SetSelection(arg2
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9351 Py_INCREF(Py_None
); resultobj
= Py_None
;
9358 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
*resultobj
;
9360 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9362 PyObject
* obj0
= 0 ;
9364 (char *) "self", NULL
9367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9376 resultobj
= PyInt_FromLong((long)result
);
9383 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
;
9385 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9387 PyObject
* obj0
= 0 ;
9389 (char *) "self", NULL
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
9393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9414 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
;
9416 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9417 wxString
*arg2
= 0 ;
9419 bool temp2
= False
;
9420 PyObject
* obj0
= 0 ;
9421 PyObject
* obj1
= 0 ;
9423 (char *) "self",(char *) "s", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9429 arg2
= wxString_in_helper(obj1
);
9430 if (arg2
== NULL
) SWIG_fail
;
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 resultobj
= PyInt_FromLong((long)result
);
9455 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9459 PyObject
* obj0
= 0 ;
9461 (char *) "self", NULL
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
9465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= PyInt_FromLong((long)result
);
9480 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
*resultobj
;
9482 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9483 wxString
*arg2
= 0 ;
9485 bool temp2
= False
;
9486 PyObject
* obj0
= 0 ;
9487 PyObject
* obj1
= 0 ;
9489 (char *) "self",(char *) "s", NULL
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
9493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9495 arg2
= wxString_in_helper(obj1
);
9496 if (arg2
== NULL
) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= PyInt_FromLong((long)result
);
9521 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
;
9523 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9526 PyObject
* obj0
= 0 ;
9528 (char *) "self",(char *) "n", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
9532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9553 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
*resultobj
;
9555 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9557 wxString
*arg3
= 0 ;
9558 bool temp3
= False
;
9559 PyObject
* obj0
= 0 ;
9560 PyObject
* obj2
= 0 ;
9562 (char *) "self",(char *) "n",(char *) "label", NULL
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:RadioBox_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9568 arg3
= wxString_in_helper(obj2
);
9569 if (arg3
== NULL
) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 Py_INCREF(Py_None
); resultobj
= Py_None
;
9594 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9598 bool arg3
= (bool) True
;
9599 PyObject
* obj0
= 0 ;
9600 PyObject
* obj2
= 0 ;
9602 (char *) "self",(char *) "n",(char *) "enable", NULL
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_EnableItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9608 arg3
= PyInt_AsLong(obj2
) ? true : false;
9609 if (PyErr_Occurred()) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 (arg1
)->Enable(arg2
,arg3
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 Py_INCREF(Py_None
); resultobj
= Py_None
;
9625 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9629 bool arg3
= (bool) True
;
9630 PyObject
* obj0
= 0 ;
9631 PyObject
* obj2
= 0 ;
9633 (char *) "self",(char *) "n",(char *) "show", NULL
9636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_ShowItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9639 arg3
= PyInt_AsLong(obj2
) ? true : false;
9640 if (PyErr_Occurred()) SWIG_fail
;
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 (arg1
)->Show(arg2
,arg3
);
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9649 Py_INCREF(Py_None
); resultobj
= Py_None
;
9656 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
*resultobj
;
9658 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9660 PyObject
* obj0
= 0 ;
9662 (char *) "self", NULL
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
9666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= PyInt_FromLong((long)result
);
9681 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
;
9683 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9685 PyObject
* obj0
= 0 ;
9687 (char *) "self", NULL
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
9691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= PyInt_FromLong((long)result
);
9706 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
;
9708 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9713 PyObject
* obj0
= 0 ;
9715 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:RadioBox_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
9719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= PyInt_FromLong((long)result
);
9734 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
9736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9737 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
9739 return Py_BuildValue((char *)"");
9741 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
;
9743 wxWindow
*arg1
= (wxWindow
*) 0 ;
9745 wxString
*arg3
= 0 ;
9746 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9747 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9748 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9749 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9750 long arg6
= (long) 0 ;
9751 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9752 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9753 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
9754 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9755 wxRadioButton
*result
;
9756 bool temp3
= False
;
9759 bool temp8
= False
;
9760 PyObject
* obj0
= 0 ;
9761 PyObject
* obj2
= 0 ;
9762 PyObject
* obj3
= 0 ;
9763 PyObject
* obj4
= 0 ;
9764 PyObject
* obj6
= 0 ;
9765 PyObject
* obj7
= 0 ;
9767 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_RadioButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
9771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9773 arg3
= wxString_in_helper(obj2
);
9774 if (arg3
== NULL
) SWIG_fail
;
9780 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9786 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9790 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9792 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9797 arg8
= wxString_in_helper(obj7
);
9798 if (arg8
== NULL
) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
9832 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
*resultobj
;
9834 wxRadioButton
*result
;
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= (wxRadioButton
*)new wxRadioButton();
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
9854 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
9857 wxWindow
*arg2
= (wxWindow
*) 0 ;
9859 wxString
*arg4
= 0 ;
9860 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9861 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9862 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9863 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9864 long arg7
= (long) 0 ;
9865 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9866 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9867 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
9868 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9870 bool temp4
= False
;
9873 bool temp9
= False
;
9874 PyObject
* obj0
= 0 ;
9875 PyObject
* obj1
= 0 ;
9876 PyObject
* obj3
= 0 ;
9877 PyObject
* obj4
= 0 ;
9878 PyObject
* obj5
= 0 ;
9879 PyObject
* obj7
= 0 ;
9880 PyObject
* obj8
= 0 ;
9882 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
9886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9887 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9889 arg4
= wxString_in_helper(obj3
);
9890 if (arg4
== NULL
) SWIG_fail
;
9896 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9902 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9906 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9908 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9913 arg9
= wxString_in_helper(obj8
);
9914 if (arg9
== NULL
) SWIG_fail
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9925 resultobj
= PyInt_FromLong((long)result
);
9948 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9950 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
9952 PyObject
* obj0
= 0 ;
9954 (char *) "self", NULL
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
9958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 result
= (bool)(arg1
)->GetValue();
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= PyInt_FromLong((long)result
);
9973 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
;
9975 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
9977 PyObject
* obj0
= 0 ;
9978 PyObject
* obj1
= 0 ;
9980 (char *) "self",(char *) "value", NULL
9983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9985 arg2
= PyInt_AsLong(obj1
) ? true : false;
9986 if (PyErr_Occurred()) SWIG_fail
;
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 (arg1
)->SetValue(arg2
);
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9994 Py_INCREF(Py_None
); resultobj
= Py_None
;
10001 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
10003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10004 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
10006 return Py_BuildValue((char *)"");
10008 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
;
10010 wxWindow
*arg1
= (wxWindow
*) 0 ;
10015 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
10016 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
10017 wxSize
const &arg7_defvalue
= wxDefaultSize
;
10018 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
10019 long arg8
= (long) wxSL_HORIZONTAL
;
10020 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10021 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10022 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
10023 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10027 bool temp10
= False
;
10028 PyObject
* obj0
= 0 ;
10029 PyObject
* obj5
= 0 ;
10030 PyObject
* obj6
= 0 ;
10031 PyObject
* obj8
= 0 ;
10032 PyObject
* obj9
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOlOO:new_Slider",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
,&obj8
,&obj9
)) goto fail
;
10038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10042 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
10048 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
10052 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10053 if (arg9
== NULL
) {
10054 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10059 arg10
= wxString_in_helper(obj9
);
10060 if (arg10
== NULL
) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10071 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10086 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10089 char *kwnames
[] = {
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 result
= (wxSlider
*)new wxSlider();
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10108 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxSlider
*arg1
= (wxSlider
*) 0 ;
10111 wxWindow
*arg2
= (wxWindow
*) 0 ;
10116 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10117 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10118 wxSize
const &arg8_defvalue
= wxDefaultSize
;
10119 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
10120 long arg9
= (long) wxSL_HORIZONTAL
;
10121 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10122 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10123 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
10124 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10128 bool temp11
= False
;
10129 PyObject
* obj0
= 0 ;
10130 PyObject
* obj1
= 0 ;
10131 PyObject
* obj6
= 0 ;
10132 PyObject
* obj7
= 0 ;
10133 PyObject
* obj9
= 0 ;
10134 PyObject
* obj10
= 0 ;
10135 char *kwnames
[] = {
10136 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiiii|OOlOO:Slider_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&arg9
,&obj9
,&obj10
)) goto fail
;
10140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10141 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10145 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10151 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
10155 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10156 if (arg10
== NULL
) {
10157 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10162 arg11
= wxString_in_helper(obj10
);
10163 if (arg11
== NULL
) SWIG_fail
;
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10174 resultobj
= PyInt_FromLong((long)result
);
10189 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
;
10191 wxSlider
*arg1
= (wxSlider
*) 0 ;
10193 PyObject
* obj0
= 0 ;
10194 char *kwnames
[] = {
10195 (char *) "self", NULL
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
10199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 result
= (int)((wxSlider
const *)arg1
)->GetValue();
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= PyInt_FromLong((long)result
);
10214 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
;
10216 wxSlider
*arg1
= (wxSlider
*) 0 ;
10218 PyObject
* obj0
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "self",(char *) "value", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
10224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 (arg1
)->SetValue(arg2
);
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10232 Py_INCREF(Py_None
); resultobj
= Py_None
;
10239 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
*resultobj
;
10241 wxSlider
*arg1
= (wxSlider
*) 0 ;
10244 PyObject
* obj0
= 0 ;
10245 char *kwnames
[] = {
10246 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 (arg1
)->SetRange(arg2
,arg3
);
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 Py_INCREF(Py_None
); resultobj
= Py_None
;
10265 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
;
10267 wxSlider
*arg1
= (wxSlider
*) 0 ;
10269 PyObject
* obj0
= 0 ;
10270 char *kwnames
[] = {
10271 (char *) "self", NULL
10274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
10275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (int)((wxSlider
const *)arg1
)->GetMin();
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 resultobj
= PyInt_FromLong((long)result
);
10290 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxSlider
*arg1
= (wxSlider
*) 0 ;
10294 PyObject
* obj0
= 0 ;
10295 char *kwnames
[] = {
10296 (char *) "self", NULL
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
10300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 result
= (int)((wxSlider
const *)arg1
)->GetMax();
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10308 resultobj
= PyInt_FromLong((long)result
);
10315 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
;
10317 wxSlider
*arg1
= (wxSlider
*) 0 ;
10319 PyObject
* obj0
= 0 ;
10320 char *kwnames
[] = {
10321 (char *) "self",(char *) "minValue", NULL
10324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
10325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 (arg1
)->SetMin(arg2
);
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 Py_INCREF(Py_None
); resultobj
= Py_None
;
10340 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
;
10342 wxSlider
*arg1
= (wxSlider
*) 0 ;
10344 PyObject
* obj0
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "self",(char *) "maxValue", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
10350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 (arg1
)->SetMax(arg2
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 Py_INCREF(Py_None
); resultobj
= Py_None
;
10365 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxSlider
*arg1
= (wxSlider
*) 0 ;
10369 PyObject
* obj0
= 0 ;
10370 char *kwnames
[] = {
10371 (char *) "self",(char *) "lineSize", NULL
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetLineSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 (arg1
)->SetLineSize(arg2
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 Py_INCREF(Py_None
); resultobj
= Py_None
;
10390 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
;
10392 wxSlider
*arg1
= (wxSlider
*) 0 ;
10394 PyObject
* obj0
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "self",(char *) "pageSize", NULL
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 (arg1
)->SetPageSize(arg2
);
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 Py_INCREF(Py_None
); resultobj
= Py_None
;
10415 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
;
10417 wxSlider
*arg1
= (wxSlider
*) 0 ;
10419 PyObject
* obj0
= 0 ;
10420 char *kwnames
[] = {
10421 (char *) "self", NULL
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
10425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 resultobj
= PyInt_FromLong((long)result
);
10440 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
;
10442 wxSlider
*arg1
= (wxSlider
*) 0 ;
10444 PyObject
* obj0
= 0 ;
10445 char *kwnames
[] = {
10446 (char *) "self", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
10450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10458 resultobj
= PyInt_FromLong((long)result
);
10465 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
*resultobj
;
10467 wxSlider
*arg1
= (wxSlider
*) 0 ;
10469 PyObject
* obj0
= 0 ;
10470 char *kwnames
[] = {
10471 (char *) "self",(char *) "lenPixels", NULL
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetThumbLength",kwnames
,&obj0
,&arg2
)) goto fail
;
10475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 (arg1
)->SetThumbLength(arg2
);
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10483 Py_INCREF(Py_None
); resultobj
= Py_None
;
10490 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
;
10492 wxSlider
*arg1
= (wxSlider
*) 0 ;
10494 PyObject
* obj0
= 0 ;
10495 char *kwnames
[] = {
10496 (char *) "self", NULL
10499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
10500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= PyInt_FromLong((long)result
);
10515 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
;
10517 wxSlider
*arg1
= (wxSlider
*) 0 ;
10520 PyObject
* obj0
= 0 ;
10521 char *kwnames
[] = {
10522 (char *) "self",(char *) "n",(char *) "pos", NULL
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetTickFreq",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 (arg1
)->SetTickFreq(arg2
,arg3
);
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 Py_INCREF(Py_None
); resultobj
= Py_None
;
10541 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxSlider
*arg1
= (wxSlider
*) 0 ;
10545 PyObject
* obj0
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "self", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
10551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10559 resultobj
= PyInt_FromLong((long)result
);
10566 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
*resultobj
;
10568 wxSlider
*arg1
= (wxSlider
*) 0 ;
10569 PyObject
* obj0
= 0 ;
10570 char *kwnames
[] = {
10571 (char *) "self", NULL
10574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
10575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 (arg1
)->ClearTicks();
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 Py_INCREF(Py_None
); resultobj
= Py_None
;
10590 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
;
10592 wxSlider
*arg1
= (wxSlider
*) 0 ;
10594 PyObject
* obj0
= 0 ;
10595 char *kwnames
[] = {
10596 (char *) "self",(char *) "tickPos", NULL
10599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetTick",kwnames
,&obj0
,&arg2
)) goto fail
;
10600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 (arg1
)->SetTick(arg2
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 Py_INCREF(Py_None
); resultobj
= Py_None
;
10615 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxSlider
*arg1
= (wxSlider
*) 0 ;
10618 PyObject
* obj0
= 0 ;
10619 char *kwnames
[] = {
10620 (char *) "self", NULL
10623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
10624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 (arg1
)->ClearSel();
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 Py_INCREF(Py_None
); resultobj
= Py_None
;
10639 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
;
10641 wxSlider
*arg1
= (wxSlider
*) 0 ;
10643 PyObject
* obj0
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "self", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
10649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= PyInt_FromLong((long)result
);
10664 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
;
10666 wxSlider
*arg1
= (wxSlider
*) 0 ;
10668 PyObject
* obj0
= 0 ;
10669 char *kwnames
[] = {
10670 (char *) "self", NULL
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
10674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10677 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10682 resultobj
= PyInt_FromLong((long)result
);
10689 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
;
10691 wxSlider
*arg1
= (wxSlider
*) 0 ;
10694 PyObject
* obj0
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "self",(char *) "min",(char *) "max", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 (arg1
)->SetSelection(arg2
,arg3
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 Py_INCREF(Py_None
); resultobj
= Py_None
;
10715 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
10717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10718 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
10720 return Py_BuildValue((char *)"");
10722 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
;
10724 wxWindow
*arg1
= (wxWindow
*) 0 ;
10726 wxString
*arg3
= 0 ;
10727 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10728 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10729 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10730 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10731 long arg6
= (long) 0 ;
10732 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10733 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10734 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
10735 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10736 wxToggleButton
*result
;
10737 bool temp3
= False
;
10740 bool temp8
= False
;
10741 PyObject
* obj0
= 0 ;
10742 PyObject
* obj2
= 0 ;
10743 PyObject
* obj3
= 0 ;
10744 PyObject
* obj4
= 0 ;
10745 PyObject
* obj6
= 0 ;
10746 PyObject
* obj7
= 0 ;
10747 char *kwnames
[] = {
10748 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_ToggleButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10754 arg3
= wxString_in_helper(obj2
);
10755 if (arg3
== NULL
) SWIG_fail
;
10761 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10767 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10771 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10772 if (arg7
== NULL
) {
10773 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10778 arg8
= wxString_in_helper(obj7
);
10779 if (arg8
== NULL
) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
10813 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
;
10815 wxToggleButton
*result
;
10816 char *kwnames
[] = {
10820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
10822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 result
= (wxToggleButton
*)new wxToggleButton();
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
10835 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
10837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10838 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
10840 return Py_BuildValue((char *)"");
10842 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
;
10844 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
10846 PyObject
* obj0
= 0 ;
10847 char *kwnames
[] = {
10848 (char *) "self", NULL
10851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
10852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10855 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
10857 wxPyEndAllowThreads(__tstate
);
10858 if (PyErr_Occurred()) SWIG_fail
;
10860 resultobj
= PyInt_FromLong((long)result
);
10867 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10868 PyObject
*resultobj
;
10869 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
10872 PyObject
* obj0
= 0 ;
10873 PyObject
* obj1
= 0 ;
10874 char *kwnames
[] = {
10875 (char *) "self",(char *) "n", NULL
10878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
10879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10880 arg2
= (size_t) PyInt_AsLong(obj1
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10890 resultobj
= wxPyMake_wxObject(result
);
10898 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
*resultobj
;
10900 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
10902 PyObject
* obj0
= 0 ;
10903 char *kwnames
[] = {
10904 (char *) "self", NULL
10907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10916 resultobj
= PyInt_FromLong((long)result
);
10923 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
*resultobj
;
10925 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
10927 wxString
*arg3
= 0 ;
10929 bool temp3
= False
;
10930 PyObject
* obj0
= 0 ;
10931 PyObject
* obj1
= 0 ;
10932 PyObject
* obj2
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self",(char *) "n",(char *) "strText", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10939 arg2
= (size_t) PyInt_AsLong(obj1
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 arg3
= wxString_in_helper(obj2
);
10943 if (arg3
== NULL
) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= PyInt_FromLong((long)result
);
10968 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
;
10970 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
10973 PyObject
* obj0
= 0 ;
10974 PyObject
* obj1
= 0 ;
10975 char *kwnames
[] = {
10976 (char *) "self",(char *) "n", NULL
10979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
10980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10981 arg2
= (size_t) PyInt_AsLong(obj1
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11003 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11006 wxImageList
*arg2
= (wxImageList
*) 0 ;
11007 PyObject
* obj0
= 0 ;
11008 PyObject
* obj1
= 0 ;
11009 char *kwnames
[] = {
11010 (char *) "self",(char *) "imageList", NULL
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11015 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 (arg1
)->SetImageList(arg2
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11023 Py_INCREF(Py_None
); resultobj
= Py_None
;
11030 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11031 PyObject
*resultobj
;
11032 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11033 wxImageList
*arg2
= (wxImageList
*) 0 ;
11034 PyObject
* obj0
= 0 ;
11035 PyObject
* obj1
= 0 ;
11036 char *kwnames
[] = {
11037 (char *) "self",(char *) "imageList", NULL
11040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11042 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 (arg1
)->AssignImageList(arg2
);
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11050 Py_INCREF(Py_None
); resultobj
= Py_None
;
11057 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
;
11059 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11060 wxImageList
*result
;
11061 PyObject
* obj0
= 0 ;
11062 char *kwnames
[] = {
11063 (char *) "self", NULL
11066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
11067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11076 resultobj
= wxPyMake_wxObject(result
);
11084 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11085 PyObject
*resultobj
;
11086 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11089 PyObject
* obj0
= 0 ;
11090 PyObject
* obj1
= 0 ;
11091 char *kwnames
[] = {
11092 (char *) "self",(char *) "n", NULL
11095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
11096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11097 arg2
= (size_t) PyInt_AsLong(obj1
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 resultobj
= PyInt_FromLong((long)result
);
11113 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11119 PyObject
* obj0
= 0 ;
11120 PyObject
* obj1
= 0 ;
11121 char *kwnames
[] = {
11122 (char *) "self",(char *) "n",(char *) "imageId", NULL
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11127 arg2
= (size_t) PyInt_AsLong(obj1
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11136 resultobj
= PyInt_FromLong((long)result
);
11143 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
;
11145 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11148 PyObject
* obj0
= 0 ;
11149 PyObject
* obj1
= 0 ;
11150 char *kwnames
[] = {
11151 (char *) "self",(char *) "size", NULL
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11158 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11167 Py_INCREF(Py_None
); resultobj
= Py_None
;
11174 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11175 PyObject
*resultobj
;
11176 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11180 PyObject
* obj0
= 0 ;
11181 PyObject
* obj1
= 0 ;
11182 char *kwnames
[] = {
11183 (char *) "self",(char *) "sizePage", NULL
11186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11190 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11200 wxSize
* resultptr
;
11201 resultptr
= new wxSize((wxSize
&) result
);
11202 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11210 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11211 PyObject
*resultobj
;
11212 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11215 PyObject
* obj0
= 0 ;
11216 PyObject
* obj1
= 0 ;
11217 char *kwnames
[] = {
11218 (char *) "self",(char *) "n", NULL
11221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11223 arg2
= (size_t) PyInt_AsLong(obj1
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= (bool)(arg1
)->DeletePage(arg2
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= PyInt_FromLong((long)result
);
11239 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
;
11241 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11244 PyObject
* obj0
= 0 ;
11245 PyObject
* obj1
= 0 ;
11246 char *kwnames
[] = {
11247 (char *) "self",(char *) "n", NULL
11250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11252 arg2
= (size_t) PyInt_AsLong(obj1
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11256 result
= (bool)(arg1
)->RemovePage(arg2
);
11258 wxPyEndAllowThreads(__tstate
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= PyInt_FromLong((long)result
);
11268 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11269 PyObject
*resultobj
;
11270 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11272 PyObject
* obj0
= 0 ;
11273 char *kwnames
[] = {
11274 (char *) "self", NULL
11277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
11278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 result
= (bool)(arg1
)->DeleteAllPages();
11283 wxPyEndAllowThreads(__tstate
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= PyInt_FromLong((long)result
);
11293 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
;
11295 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11296 wxWindow
*arg2
= (wxWindow
*) 0 ;
11297 wxString
*arg3
= 0 ;
11298 bool arg4
= (bool) False
;
11299 int arg5
= (int) -1 ;
11301 bool temp3
= False
;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 PyObject
* obj2
= 0 ;
11305 PyObject
* obj3
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
11311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11312 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11314 arg3
= wxString_in_helper(obj2
);
11315 if (arg3
== NULL
) SWIG_fail
;
11319 arg4
= PyInt_AsLong(obj3
) ? true : false;
11320 if (PyErr_Occurred()) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= PyInt_FromLong((long)result
);
11344 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11345 PyObject
*resultobj
;
11346 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11348 wxWindow
*arg3
= (wxWindow
*) 0 ;
11349 wxString
*arg4
= 0 ;
11350 bool arg5
= (bool) False
;
11351 int arg6
= (int) -1 ;
11353 bool temp4
= False
;
11354 PyObject
* obj0
= 0 ;
11355 PyObject
* obj1
= 0 ;
11356 PyObject
* obj2
= 0 ;
11357 PyObject
* obj3
= 0 ;
11358 PyObject
* obj4
= 0 ;
11359 char *kwnames
[] = {
11360 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
)) goto fail
;
11364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11365 arg2
= (size_t) PyInt_AsLong(obj1
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11367 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11369 arg4
= wxString_in_helper(obj3
);
11370 if (arg4
== NULL
) SWIG_fail
;
11374 arg5
= PyInt_AsLong(obj4
) ? true : false;
11375 if (PyErr_Occurred()) SWIG_fail
;
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11384 resultobj
= PyInt_FromLong((long)result
);
11399 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
*resultobj
;
11401 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11404 PyObject
* obj0
= 0 ;
11405 PyObject
* obj1
= 0 ;
11406 char *kwnames
[] = {
11407 (char *) "self",(char *) "n", NULL
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11412 arg2
= (size_t) PyInt_AsLong(obj1
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (int)(arg1
)->SetSelection(arg2
);
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= PyInt_FromLong((long)result
);
11428 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11429 PyObject
*resultobj
;
11430 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11431 bool arg2
= (bool) True
;
11432 PyObject
* obj0
= 0 ;
11433 PyObject
* obj1
= 0 ;
11434 char *kwnames
[] = {
11435 (char *) "self",(char *) "forward", NULL
11438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11441 arg2
= PyInt_AsLong(obj1
) ? true : false;
11442 if (PyErr_Occurred()) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 (arg1
)->AdvanceSelection(arg2
);
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 Py_INCREF(Py_None
); resultobj
= Py_None
;
11458 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11461 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
11463 return Py_BuildValue((char *)"");
11465 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
;
11467 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11468 int arg2
= (int) 0 ;
11469 int arg3
= (int) -1 ;
11470 int arg4
= (int) -1 ;
11471 wxBookCtrlEvent
*result
;
11472 char *kwnames
[] = {
11473 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_BookCtrlEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
11491 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11495 PyObject
* obj0
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
11501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11509 resultobj
= PyInt_FromLong((long)result
);
11516 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
;
11518 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11520 PyObject
* obj0
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self",(char *) "nSel", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 (arg1
)->SetSelection(arg2
);
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11534 Py_INCREF(Py_None
); resultobj
= Py_None
;
11541 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11545 PyObject
* obj0
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "self", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
11551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11554 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11559 resultobj
= PyInt_FromLong((long)result
);
11566 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11567 PyObject
*resultobj
;
11568 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11570 PyObject
* obj0
= 0 ;
11571 char *kwnames
[] = {
11572 (char *) "self",(char *) "nOldSel", NULL
11575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 (arg1
)->SetOldSelection(arg2
);
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 Py_INCREF(Py_None
); resultobj
= Py_None
;
11591 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11594 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
11596 return Py_BuildValue((char *)"");
11598 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
;
11600 wxWindow
*arg1
= (wxWindow
*) 0 ;
11602 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11603 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11604 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11605 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11606 long arg5
= (long) 0 ;
11607 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
11608 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11609 wxNotebook
*result
;
11612 bool temp6
= False
;
11613 PyObject
* obj0
= 0 ;
11614 PyObject
* obj2
= 0 ;
11615 PyObject
* obj3
= 0 ;
11616 PyObject
* obj5
= 0 ;
11617 char *kwnames
[] = {
11618 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Notebook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11626 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11632 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11637 arg6
= wxString_in_helper(obj5
);
11638 if (arg6
== NULL
) SWIG_fail
;
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11646 wxPyEndAllowThreads(__tstate
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11650 resultobj
= wxPyMake_wxObject(result
);
11666 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
*resultobj
;
11668 wxNotebook
*result
;
11669 char *kwnames
[] = {
11673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
11675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11676 result
= (wxNotebook
*)new wxNotebook();
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11682 resultobj
= wxPyMake_wxObject(result
);
11690 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11691 PyObject
*resultobj
;
11692 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
11693 wxWindow
*arg2
= (wxWindow
*) 0 ;
11695 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11696 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11697 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11698 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11699 long arg6
= (long) 0 ;
11700 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
11701 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11705 bool temp7
= False
;
11706 PyObject
* obj0
= 0 ;
11707 PyObject
* obj1
= 0 ;
11708 PyObject
* obj3
= 0 ;
11709 PyObject
* obj4
= 0 ;
11710 PyObject
* obj6
= 0 ;
11711 char *kwnames
[] = {
11712 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Notebook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
11716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11717 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11721 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11727 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11732 arg7
= wxString_in_helper(obj6
);
11733 if (arg7
== NULL
) SWIG_fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= PyInt_FromLong((long)result
);
11759 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
;
11761 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
11763 PyObject
* obj0
= 0 ;
11764 char *kwnames
[] = {
11765 (char *) "self", NULL
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
11769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
11774 wxPyEndAllowThreads(__tstate
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11777 resultobj
= PyInt_FromLong((long)result
);
11784 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11785 PyObject
*resultobj
;
11786 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
11789 PyObject
* obj0
= 0 ;
11790 PyObject
* obj1
= 0 ;
11791 char *kwnames
[] = {
11792 (char *) "self",(char *) "padding", NULL
11795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
11796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11799 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 (arg1
)->SetPadding((wxSize
const &)*arg2
);
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11808 Py_INCREF(Py_None
); resultobj
= Py_None
;
11815 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11816 PyObject
*resultobj
;
11817 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
11820 PyObject
* obj0
= 0 ;
11821 PyObject
* obj1
= 0 ;
11822 char *kwnames
[] = {
11823 (char *) "self",(char *) "sz", NULL
11826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11830 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11839 Py_INCREF(Py_None
); resultobj
= Py_None
;
11846 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11847 PyObject
*resultobj
;
11848 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
11849 wxPoint
*arg2
= 0 ;
11850 long *arg3
= (long *) 0 ;
11854 PyObject
* obj0
= 0 ;
11855 PyObject
* obj1
= 0 ;
11856 char *kwnames
[] = {
11857 (char *) "self",(char *) "pt", NULL
11861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11865 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11874 resultobj
= PyInt_FromLong((long)result
);
11876 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11877 resultobj
= t_output_helper(resultobj
,o
);
11885 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11886 PyObject
*resultobj
;
11887 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
11891 PyObject
* obj0
= 0 ;
11892 PyObject
* obj1
= 0 ;
11893 char *kwnames
[] = {
11894 (char *) "self",(char *) "sizePage", NULL
11897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11901 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11911 wxSize
* resultptr
;
11912 resultptr
= new wxSize((wxSize
&) result
);
11913 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11921 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
11923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11924 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
11926 return Py_BuildValue((char *)"");
11928 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
;
11930 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11931 int arg2
= (int) 0 ;
11932 int arg3
= (int) -1 ;
11933 int arg4
= (int) -1 ;
11934 wxNotebookEvent
*result
;
11935 char *kwnames
[] = {
11936 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_NotebookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
11954 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11957 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
11959 return Py_BuildValue((char *)"");
11961 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
;
11963 wxWindow
*arg1
= (wxWindow
*) 0 ;
11965 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11966 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11967 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11968 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11969 long arg5
= (long) 0 ;
11970 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11971 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11972 wxListbook
*result
;
11975 bool temp6
= False
;
11976 PyObject
* obj0
= 0 ;
11977 PyObject
* obj2
= 0 ;
11978 PyObject
* obj3
= 0 ;
11979 PyObject
* obj5
= 0 ;
11980 char *kwnames
[] = {
11981 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Listbook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11989 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11995 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12000 arg6
= wxString_in_helper(obj5
);
12001 if (arg6
== NULL
) SWIG_fail
;
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12007 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12027 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12028 PyObject
*resultobj
;
12029 wxListbook
*result
;
12030 char *kwnames
[] = {
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 result
= (wxListbook
*)new wxListbook();
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12049 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
;
12051 wxListbook
*arg1
= (wxListbook
*) 0 ;
12052 wxWindow
*arg2
= (wxWindow
*) 0 ;
12054 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12055 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12056 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12057 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12058 long arg6
= (long) 0 ;
12059 wxString
const &arg7_defvalue
= wxPyEmptyString
;
12060 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12064 bool temp7
= False
;
12065 PyObject
* obj0
= 0 ;
12066 PyObject
* obj1
= 0 ;
12067 PyObject
* obj3
= 0 ;
12068 PyObject
* obj4
= 0 ;
12069 PyObject
* obj6
= 0 ;
12070 char *kwnames
[] = {
12071 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Listbook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12080 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12086 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12091 arg7
= wxString_in_helper(obj6
);
12092 if (arg7
== NULL
) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= PyInt_FromLong((long)result
);
12118 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxListbook
*arg1
= (wxListbook
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 char *kwnames
[] = {
12124 (char *) "self", NULL
12127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
12128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12136 resultobj
= PyInt_FromLong((long)result
);
12143 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
12145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12146 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
12148 return Py_BuildValue((char *)"");
12150 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12153 int arg2
= (int) 0 ;
12154 int arg3
= (int) -1 ;
12155 int arg4
= (int) -1 ;
12156 wxListbookEvent
*result
;
12157 char *kwnames
[] = {
12158 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ListbookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
12176 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12179 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
12181 return Py_BuildValue((char *)"");
12183 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
;
12185 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12186 wxBookCtrlSizer
*result
;
12187 PyObject
* obj0
= 0 ;
12188 char *kwnames
[] = {
12189 (char *) "nb", NULL
12192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
12193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
12208 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12209 PyObject
*resultobj
;
12210 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12211 PyObject
* obj0
= 0 ;
12212 char *kwnames
[] = {
12213 (char *) "self", NULL
12216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 (arg1
)->RecalcSizes();
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 Py_INCREF(Py_None
); resultobj
= Py_None
;
12232 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12236 PyObject
* obj0
= 0 ;
12237 char *kwnames
[] = {
12238 (char *) "self", NULL
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 result
= (arg1
)->CalcMin();
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12251 wxSize
* resultptr
;
12252 resultptr
= new wxSize((wxSize
&) result
);
12253 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12261 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12264 wxBookCtrl
*result
;
12265 PyObject
* obj0
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
12271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 result
= (wxBookCtrl
*)(arg1
)->GetControl();
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12279 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
12286 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12289 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
12291 return Py_BuildValue((char *)"");
12293 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12296 wxNotebookSizer
*result
;
12297 PyObject
* obj0
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "nb", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
12303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
12318 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
;
12320 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12321 PyObject
* obj0
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 (arg1
)->RecalcSizes();
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 Py_INCREF(Py_None
); resultobj
= Py_None
;
12342 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
;
12344 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12346 PyObject
* obj0
= 0 ;
12347 char *kwnames
[] = {
12348 (char *) "self", NULL
12351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 result
= (arg1
)->CalcMin();
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12361 wxSize
* resultptr
;
12362 resultptr
= new wxSize((wxSize
&) result
);
12363 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12371 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
;
12373 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12374 wxNotebook
*result
;
12375 PyObject
* obj0
= 0 ;
12376 char *kwnames
[] = {
12377 (char *) "self", NULL
12380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
12381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 result
= (wxNotebook
*)(arg1
)->GetNotebook();
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12390 resultobj
= wxPyMake_wxObject(result
);
12398 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12401 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
12403 return Py_BuildValue((char *)"");
12405 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
;
12407 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12409 PyObject
* obj0
= 0 ;
12410 char *kwnames
[] = {
12411 (char *) "self", NULL
12414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
12415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 result
= (int)(arg1
)->GetId();
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 resultobj
= PyInt_FromLong((long)result
);
12430 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
;
12432 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12434 PyObject
* obj0
= 0 ;
12435 char *kwnames
[] = {
12436 (char *) "self", NULL
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
12440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 result
= (wxControl
*)(arg1
)->GetControl();
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12449 resultobj
= wxPyMake_wxObject(result
);
12457 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12458 PyObject
*resultobj
;
12459 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12460 wxToolBarBase
*result
;
12461 PyObject
* obj0
= 0 ;
12462 char *kwnames
[] = {
12463 (char *) "self", NULL
12466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
12467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= wxPyMake_wxObject(result
);
12484 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12486 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12488 PyObject
* obj0
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 result
= (int)(arg1
)->IsButton();
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12502 resultobj
= PyInt_FromLong((long)result
);
12509 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
;
12511 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12513 PyObject
* obj0
= 0 ;
12514 char *kwnames
[] = {
12515 (char *) "self", NULL
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
12519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 result
= (int)(arg1
)->IsControl();
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12527 resultobj
= PyInt_FromLong((long)result
);
12534 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12535 PyObject
*resultobj
;
12536 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12538 PyObject
* obj0
= 0 ;
12539 char *kwnames
[] = {
12540 (char *) "self", NULL
12543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
12544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 result
= (int)(arg1
)->IsSeparator();
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= PyInt_FromLong((long)result
);
12559 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
;
12561 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12563 PyObject
* obj0
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
12569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 result
= (int)(arg1
)->GetStyle();
12574 wxPyEndAllowThreads(__tstate
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12577 resultobj
= PyInt_FromLong((long)result
);
12584 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
;
12586 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12588 PyObject
* obj0
= 0 ;
12589 char *kwnames
[] = {
12590 (char *) "self", NULL
12593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
12594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 result
= (int)(arg1
)->GetKind();
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= PyInt_FromLong((long)result
);
12609 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
*resultobj
;
12611 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12613 PyObject
* obj0
= 0 ;
12614 char *kwnames
[] = {
12615 (char *) "self", NULL
12618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
12619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 result
= (bool)(arg1
)->IsEnabled();
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= PyInt_FromLong((long)result
);
12634 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
;
12636 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12638 PyObject
* obj0
= 0 ;
12639 char *kwnames
[] = {
12640 (char *) "self", NULL
12643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
12644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 result
= (bool)(arg1
)->IsToggled();
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12652 resultobj
= PyInt_FromLong((long)result
);
12659 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
;
12661 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12663 PyObject
* obj0
= 0 ;
12664 char *kwnames
[] = {
12665 (char *) "self", NULL
12668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
12669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 result
= (bool)(arg1
)->CanBeToggled();
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= PyInt_FromLong((long)result
);
12684 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
;
12686 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12688 PyObject
* obj0
= 0 ;
12689 char *kwnames
[] = {
12690 (char *) "self", NULL
12693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
12694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
12699 result
= (wxBitmap
*) &_result_ref
;
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
12712 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12716 PyObject
* obj0
= 0 ;
12717 char *kwnames
[] = {
12718 (char *) "self", NULL
12721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
12722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
12727 result
= (wxBitmap
*) &_result_ref
;
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12733 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
12740 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
;
12742 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12744 PyObject
* obj0
= 0 ;
12745 char *kwnames
[] = {
12746 (char *) "self", NULL
12749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
12750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 result
= (arg1
)->GetBitmap();
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12759 wxBitmap
* resultptr
;
12760 resultptr
= new wxBitmap((wxBitmap
&) result
);
12761 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
12769 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
;
12771 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12773 PyObject
* obj0
= 0 ;
12774 char *kwnames
[] = {
12775 (char *) "self", NULL
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
12779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 result
= (arg1
)->GetLabel();
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12800 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12801 PyObject
*resultobj
;
12802 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12804 PyObject
* obj0
= 0 ;
12805 char *kwnames
[] = {
12806 (char *) "self", NULL
12809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
12810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12813 result
= (arg1
)->GetShortHelp();
12815 wxPyEndAllowThreads(__tstate
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12831 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12832 PyObject
*resultobj
;
12833 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12835 PyObject
* obj0
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "self", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
12841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (arg1
)->GetLongHelp();
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12862 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
;
12864 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 char *kwnames
[] = {
12870 (char *) "self",(char *) "enable", NULL
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
12874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12875 arg2
= PyInt_AsLong(obj1
) ? true : false;
12876 if (PyErr_Occurred()) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= (bool)(arg1
)->Enable(arg2
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= PyInt_FromLong((long)result
);
12891 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12894 PyObject
* obj0
= 0 ;
12895 char *kwnames
[] = {
12896 (char *) "self", NULL
12899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
12900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12908 Py_INCREF(Py_None
); resultobj
= Py_None
;
12915 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
;
12917 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12920 PyObject
* obj0
= 0 ;
12921 PyObject
* obj1
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "self",(char *) "toggle", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12928 arg2
= PyInt_AsLong(obj1
) ? true : false;
12929 if (PyErr_Occurred()) SWIG_fail
;
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= (bool)(arg1
)->SetToggle(arg2
);
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= PyInt_FromLong((long)result
);
12944 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
;
12946 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12947 wxString
*arg2
= 0 ;
12949 bool temp2
= False
;
12950 PyObject
* obj0
= 0 ;
12951 PyObject
* obj1
= 0 ;
12952 char *kwnames
[] = {
12953 (char *) "self",(char *) "help", NULL
12956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12959 arg2
= wxString_in_helper(obj1
);
12960 if (arg2
== NULL
) SWIG_fail
;
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 resultobj
= PyInt_FromLong((long)result
);
12985 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
;
12987 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12988 wxString
*arg2
= 0 ;
12990 bool temp2
= False
;
12991 PyObject
* obj0
= 0 ;
12992 PyObject
* obj1
= 0 ;
12993 char *kwnames
[] = {
12994 (char *) "self",(char *) "help", NULL
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13000 arg2
= wxString_in_helper(obj1
);
13001 if (arg2
== NULL
) SWIG_fail
;
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= PyInt_FromLong((long)result
);
13026 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
;
13028 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13029 wxBitmap
*arg2
= 0 ;
13030 PyObject
* obj0
= 0 ;
13031 PyObject
* obj1
= 0 ;
13032 char *kwnames
[] = {
13033 (char *) "self",(char *) "bmp", NULL
13036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13038 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13039 if (arg2
== NULL
) {
13040 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13044 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13049 Py_INCREF(Py_None
); resultobj
= Py_None
;
13056 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13057 PyObject
*resultobj
;
13058 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13059 wxBitmap
*arg2
= 0 ;
13060 PyObject
* obj0
= 0 ;
13061 PyObject
* obj1
= 0 ;
13062 char *kwnames
[] = {
13063 (char *) "self",(char *) "bmp", NULL
13066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13068 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13069 if (arg2
== NULL
) {
13070 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 Py_INCREF(Py_None
); resultobj
= Py_None
;
13086 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13089 wxString
*arg2
= 0 ;
13090 bool temp2
= False
;
13091 PyObject
* obj0
= 0 ;
13092 PyObject
* obj1
= 0 ;
13093 char *kwnames
[] = {
13094 (char *) "self",(char *) "label", NULL
13097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13100 arg2
= wxString_in_helper(obj1
);
13101 if (arg2
== NULL
) SWIG_fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 (arg1
)->SetLabel((wxString
const &)*arg2
);
13108 wxPyEndAllowThreads(__tstate
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 Py_INCREF(Py_None
); resultobj
= Py_None
;
13126 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13129 PyObject
* obj0
= 0 ;
13130 char *kwnames
[] = {
13131 (char *) "self", NULL
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
13135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13143 Py_INCREF(Py_None
); resultobj
= Py_None
;
13150 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13153 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
13154 PyObject
* obj0
= 0 ;
13155 PyObject
* obj1
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "self",(char *) "tbar", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
13161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13162 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 (arg1
)->Attach(arg2
);
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 Py_INCREF(Py_None
); resultobj
= Py_None
;
13177 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
;
13179 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13181 PyObject
* obj0
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "self", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
13187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 resultobj
= result
;
13202 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13203 PyObject
*resultobj
;
13204 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13205 PyObject
*arg2
= (PyObject
*) 0 ;
13206 PyObject
* obj0
= 0 ;
13207 PyObject
* obj1
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self",(char *) "clientData", NULL
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
13213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 wxToolBarToolBase_SetClientData(arg1
,arg2
);
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13222 Py_INCREF(Py_None
); resultobj
= Py_None
;
13229 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
13231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13232 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
13234 return Py_BuildValue((char *)"");
13236 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
;
13238 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13240 wxString
*arg3
= 0 ;
13241 wxBitmap
*arg4
= 0 ;
13242 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
13243 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
13244 int arg6
= (int) wxITEM_NORMAL
;
13245 wxString
const &arg7_defvalue
= wxPyEmptyString
;
13246 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13247 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13248 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13249 PyObject
*arg9
= (PyObject
*) NULL
;
13250 wxToolBarToolBase
*result
;
13251 bool temp3
= False
;
13252 bool temp7
= False
;
13253 bool temp8
= False
;
13254 PyObject
* obj0
= 0 ;
13255 PyObject
* obj2
= 0 ;
13256 PyObject
* obj3
= 0 ;
13257 PyObject
* obj4
= 0 ;
13258 PyObject
* obj6
= 0 ;
13259 PyObject
* obj7
= 0 ;
13260 PyObject
* obj8
= 0 ;
13261 char *kwnames
[] = {
13262 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
,&obj8
)) goto fail
;
13266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13268 arg3
= wxString_in_helper(obj2
);
13269 if (arg3
== NULL
) SWIG_fail
;
13272 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13273 if (arg4
== NULL
) {
13274 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13277 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13278 if (arg5
== NULL
) {
13279 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13284 arg7
= wxString_in_helper(obj6
);
13285 if (arg7
== NULL
) SWIG_fail
;
13291 arg8
= wxString_in_helper(obj7
);
13292 if (arg8
== NULL
) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13307 resultobj
= wxPyMake_wxObject(result
);
13339 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
;
13341 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13344 wxString
*arg4
= 0 ;
13345 wxBitmap
*arg5
= 0 ;
13346 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
13347 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
13348 int arg7
= (int) wxITEM_NORMAL
;
13349 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13350 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13351 wxString
const &arg9_defvalue
= wxPyEmptyString
;
13352 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13353 PyObject
*arg10
= (PyObject
*) NULL
;
13354 wxToolBarToolBase
*result
;
13355 bool temp4
= False
;
13356 bool temp8
= False
;
13357 bool temp9
= False
;
13358 PyObject
* obj0
= 0 ;
13359 PyObject
* obj1
= 0 ;
13360 PyObject
* obj3
= 0 ;
13361 PyObject
* obj4
= 0 ;
13362 PyObject
* obj5
= 0 ;
13363 PyObject
* obj7
= 0 ;
13364 PyObject
* obj8
= 0 ;
13365 PyObject
* obj9
= 0 ;
13366 char *kwnames
[] = {
13367 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
13371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13372 arg2
= (size_t) PyInt_AsLong(obj1
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 arg4
= wxString_in_helper(obj3
);
13376 if (arg4
== NULL
) SWIG_fail
;
13379 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13380 if (arg5
== NULL
) {
13381 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13384 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13385 if (arg6
== NULL
) {
13386 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13391 arg8
= wxString_in_helper(obj7
);
13392 if (arg8
== NULL
) SWIG_fail
;
13398 arg9
= wxString_in_helper(obj8
);
13399 if (arg9
== NULL
) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 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
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= wxPyMake_wxObject(result
);
13446 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13447 PyObject
*resultobj
;
13448 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13449 wxControl
*arg2
= (wxControl
*) 0 ;
13450 wxToolBarToolBase
*result
;
13451 PyObject
* obj0
= 0 ;
13452 PyObject
* obj1
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "self",(char *) "control", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
13458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13459 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= wxPyMake_wxObject(result
);
13476 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13477 PyObject
*resultobj
;
13478 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13480 wxControl
*arg3
= (wxControl
*) 0 ;
13481 wxToolBarToolBase
*result
;
13482 PyObject
* obj0
= 0 ;
13483 PyObject
* obj1
= 0 ;
13484 PyObject
* obj2
= 0 ;
13485 char *kwnames
[] = {
13486 (char *) "self",(char *) "pos",(char *) "control", NULL
13489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13491 arg2
= (size_t) PyInt_AsLong(obj1
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13493 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13496 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13502 resultobj
= wxPyMake_wxObject(result
);
13510 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
;
13512 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13515 PyObject
* obj0
= 0 ;
13516 char *kwnames
[] = {
13517 (char *) "self",(char *) "id", NULL
13520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindControl",kwnames
,&obj0
,&arg2
)) goto fail
;
13521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= wxPyMake_wxObject(result
);
13538 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
*resultobj
;
13540 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13541 wxToolBarToolBase
*result
;
13542 PyObject
* obj0
= 0 ;
13543 char *kwnames
[] = {
13544 (char *) "self", NULL
13547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
13548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= wxPyMake_wxObject(result
);
13565 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
;
13567 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13569 wxToolBarToolBase
*result
;
13570 PyObject
* obj0
= 0 ;
13571 PyObject
* obj1
= 0 ;
13572 char *kwnames
[] = {
13573 (char *) "self",(char *) "pos", NULL
13576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
13577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13578 arg2
= (size_t) PyInt_AsLong(obj1
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
13584 wxPyEndAllowThreads(__tstate
);
13585 if (PyErr_Occurred()) SWIG_fail
;
13588 resultobj
= wxPyMake_wxObject(result
);
13596 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
;
13598 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13600 wxToolBarToolBase
*result
;
13601 PyObject
* obj0
= 0 ;
13602 char *kwnames
[] = {
13603 (char *) "self",(char *) "id", NULL
13606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_RemoveTool",kwnames
,&obj0
,&arg2
)) goto fail
;
13607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= wxPyMake_wxObject(result
);
13624 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13625 PyObject
*resultobj
;
13626 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13629 PyObject
* obj0
= 0 ;
13630 PyObject
* obj1
= 0 ;
13631 char *kwnames
[] = {
13632 (char *) "self",(char *) "pos", NULL
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
13636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13637 arg2
= (size_t) PyInt_AsLong(obj1
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13646 resultobj
= PyInt_FromLong((long)result
);
13653 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
;
13655 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13658 PyObject
* obj0
= 0 ;
13659 char *kwnames
[] = {
13660 (char *) "self",(char *) "id", NULL
13663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_DeleteTool",kwnames
,&obj0
,&arg2
)) goto fail
;
13664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 result
= (bool)(arg1
)->DeleteTool(arg2
);
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= PyInt_FromLong((long)result
);
13679 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
;
13681 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13682 PyObject
* obj0
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
13688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 (arg1
)->ClearTools();
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13696 Py_INCREF(Py_None
); resultobj
= Py_None
;
13703 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
;
13705 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13707 PyObject
* obj0
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self", NULL
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
13713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 result
= (bool)(arg1
)->Realize();
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13721 resultobj
= PyInt_FromLong((long)result
);
13728 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13729 PyObject
*resultobj
;
13730 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13733 PyObject
* obj0
= 0 ;
13734 PyObject
* obj2
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self",(char *) "id",(char *) "enable", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_EnableTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
13740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13741 arg3
= PyInt_AsLong(obj2
) ? true : false;
13742 if (PyErr_Occurred()) SWIG_fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 (arg1
)->EnableTool(arg2
,arg3
);
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 Py_INCREF(Py_None
); resultobj
= Py_None
;
13757 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13762 PyObject
* obj0
= 0 ;
13763 PyObject
* obj2
= 0 ;
13764 char *kwnames
[] = {
13765 (char *) "self",(char *) "id",(char *) "toggle", NULL
13768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
13769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13770 arg3
= PyInt_AsLong(obj2
) ? true : false;
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13774 (arg1
)->ToggleTool(arg2
,arg3
);
13776 wxPyEndAllowThreads(__tstate
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13779 Py_INCREF(Py_None
); resultobj
= Py_None
;
13786 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
;
13788 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13791 PyObject
* obj0
= 0 ;
13792 PyObject
* obj2
= 0 ;
13793 char *kwnames
[] = {
13794 (char *) "self",(char *) "id",(char *) "toggle", NULL
13797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToggle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
13798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13799 arg3
= PyInt_AsLong(obj2
) ? true : false;
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 (arg1
)->SetToggle(arg2
,arg3
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 Py_INCREF(Py_None
); resultobj
= Py_None
;
13815 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
*resultobj
;
13817 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13820 PyObject
* obj0
= 0 ;
13821 char *kwnames
[] = {
13822 (char *) "self",(char *) "id", NULL
13825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
13826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13834 resultobj
= result
;
13841 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
;
13843 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13845 PyObject
*arg3
= (PyObject
*) 0 ;
13846 PyObject
* obj0
= 0 ;
13847 PyObject
* obj2
= 0 ;
13848 char *kwnames
[] = {
13849 (char *) "self",(char *) "id",(char *) "clientData", NULL
13852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
13853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
13859 wxPyEndAllowThreads(__tstate
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 Py_INCREF(Py_None
); resultobj
= Py_None
;
13869 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13870 PyObject
*resultobj
;
13871 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13874 PyObject
* obj0
= 0 ;
13875 char *kwnames
[] = {
13876 (char *) "self",(char *) "id", NULL
13879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolPos",kwnames
,&obj0
,&arg2
)) goto fail
;
13880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13888 resultobj
= PyInt_FromLong((long)result
);
13895 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13896 PyObject
*resultobj
;
13897 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13900 PyObject
* obj0
= 0 ;
13901 char *kwnames
[] = {
13902 (char *) "self",(char *) "id", NULL
13905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolState",kwnames
,&obj0
,&arg2
)) goto fail
;
13906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 result
= (bool)(arg1
)->GetToolState(arg2
);
13911 wxPyEndAllowThreads(__tstate
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13914 resultobj
= PyInt_FromLong((long)result
);
13921 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
;
13923 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13926 PyObject
* obj0
= 0 ;
13927 char *kwnames
[] = {
13928 (char *) "self",(char *) "id", NULL
13931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
13932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
13937 wxPyEndAllowThreads(__tstate
);
13938 if (PyErr_Occurred()) SWIG_fail
;
13940 resultobj
= PyInt_FromLong((long)result
);
13947 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
;
13949 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13951 wxString
*arg3
= 0 ;
13952 bool temp3
= False
;
13953 PyObject
* obj0
= 0 ;
13954 PyObject
* obj2
= 0 ;
13955 char *kwnames
[] = {
13956 (char *) "self",(char *) "id",(char *) "helpString", NULL
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
13960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13962 arg3
= wxString_in_helper(obj2
);
13963 if (arg3
== NULL
) SWIG_fail
;
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 Py_INCREF(Py_None
); resultobj
= Py_None
;
13988 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13989 PyObject
*resultobj
;
13990 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13993 PyObject
* obj0
= 0 ;
13994 char *kwnames
[] = {
13995 (char *) "self",(char *) "id", NULL
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
13999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 result
= (arg1
)->GetToolShortHelp(arg2
);
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14011 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14020 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14021 PyObject
*resultobj
;
14022 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14024 wxString
*arg3
= 0 ;
14025 bool temp3
= False
;
14026 PyObject
* obj0
= 0 ;
14027 PyObject
* obj2
= 0 ;
14028 char *kwnames
[] = {
14029 (char *) "self",(char *) "id",(char *) "helpString", NULL
14032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14035 arg3
= wxString_in_helper(obj2
);
14036 if (arg3
== NULL
) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 Py_INCREF(Py_None
); resultobj
= Py_None
;
14061 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
;
14063 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14066 PyObject
* obj0
= 0 ;
14067 char *kwnames
[] = {
14068 (char *) "self",(char *) "id", NULL
14071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14075 result
= (arg1
)->GetToolLongHelp(arg2
);
14077 wxPyEndAllowThreads(__tstate
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14093 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14094 PyObject
*resultobj
;
14095 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14098 PyObject
* obj0
= 0 ;
14099 char *kwnames
[] = {
14100 (char *) "self",(char *) "x",(char *) "y", NULL
14103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 (arg1
)->SetMargins(arg2
,arg3
);
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 Py_INCREF(Py_None
); resultobj
= Py_None
;
14119 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14120 PyObject
*resultobj
;
14121 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14124 PyObject
* obj0
= 0 ;
14125 PyObject
* obj1
= 0 ;
14126 char *kwnames
[] = {
14127 (char *) "self",(char *) "size", NULL
14130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
14131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14134 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 (arg1
)->SetMargins((wxSize
const &)*arg2
);
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14143 Py_INCREF(Py_None
); resultobj
= Py_None
;
14150 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14151 PyObject
*resultobj
;
14152 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14154 PyObject
* obj0
= 0 ;
14155 char *kwnames
[] = {
14156 (char *) "self",(char *) "packing", NULL
14159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&arg2
)) goto fail
;
14160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 (arg1
)->SetToolPacking(arg2
);
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14168 Py_INCREF(Py_None
); resultobj
= Py_None
;
14175 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14176 PyObject
*resultobj
;
14177 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14179 PyObject
* obj0
= 0 ;
14180 char *kwnames
[] = {
14181 (char *) "self",(char *) "separation", NULL
14184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&arg2
)) goto fail
;
14185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 (arg1
)->SetToolSeparation(arg2
);
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14193 Py_INCREF(Py_None
); resultobj
= Py_None
;
14200 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14204 PyObject
* obj0
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
14210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 result
= (arg1
)->GetToolMargins();
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14219 wxSize
* resultptr
;
14220 resultptr
= new wxSize((wxSize
&) result
);
14221 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14229 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14230 PyObject
*resultobj
;
14231 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14233 PyObject
* obj0
= 0 ;
14234 char *kwnames
[] = {
14235 (char *) "self", NULL
14238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
14239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 result
= (arg1
)->GetMargins();
14244 wxPyEndAllowThreads(__tstate
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14248 wxSize
* resultptr
;
14249 resultptr
= new wxSize((wxSize
&) result
);
14250 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14258 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14259 PyObject
*resultobj
;
14260 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14262 PyObject
* obj0
= 0 ;
14263 char *kwnames
[] = {
14264 (char *) "self", NULL
14267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
14268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 result
= (int)(arg1
)->GetToolPacking();
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14276 resultobj
= PyInt_FromLong((long)result
);
14283 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
;
14285 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14287 PyObject
* obj0
= 0 ;
14288 char *kwnames
[] = {
14289 (char *) "self", NULL
14292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
14293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 result
= (int)(arg1
)->GetToolSeparation();
14298 wxPyEndAllowThreads(__tstate
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14301 resultobj
= PyInt_FromLong((long)result
);
14308 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14309 PyObject
*resultobj
;
14310 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14312 PyObject
* obj0
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "self",(char *) "nRows", NULL
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
14318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 (arg1
)->SetRows(arg2
);
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14326 Py_INCREF(Py_None
); resultobj
= Py_None
;
14333 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
;
14335 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14338 PyObject
* obj0
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self",(char *) "rows",(char *) "cols", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
14349 wxPyEndAllowThreads(__tstate
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14352 Py_INCREF(Py_None
); resultobj
= Py_None
;
14359 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
;
14361 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14363 PyObject
* obj0
= 0 ;
14364 char *kwnames
[] = {
14365 (char *) "self", NULL
14368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
14369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 result
= (int)(arg1
)->GetMaxRows();
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14377 resultobj
= PyInt_FromLong((long)result
);
14384 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14385 PyObject
*resultobj
;
14386 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14388 PyObject
* obj0
= 0 ;
14389 char *kwnames
[] = {
14390 (char *) "self", NULL
14393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
14394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 result
= (int)(arg1
)->GetMaxCols();
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= PyInt_FromLong((long)result
);
14409 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
;
14411 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14414 PyObject
* obj0
= 0 ;
14415 PyObject
* obj1
= 0 ;
14416 char *kwnames
[] = {
14417 (char *) "self",(char *) "size", NULL
14420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14424 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14428 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14433 Py_INCREF(Py_None
); resultobj
= Py_None
;
14440 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
;
14442 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
14450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14453 result
= (arg1
)->GetToolBitmapSize();
14455 wxPyEndAllowThreads(__tstate
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14459 wxSize
* resultptr
;
14460 resultptr
= new wxSize((wxSize
&) result
);
14461 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14469 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
;
14471 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14473 PyObject
* obj0
= 0 ;
14474 char *kwnames
[] = {
14475 (char *) "self", NULL
14478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
14479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14482 result
= (arg1
)->GetToolSize();
14484 wxPyEndAllowThreads(__tstate
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14488 wxSize
* resultptr
;
14489 resultptr
= new wxSize((wxSize
&) result
);
14490 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14498 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14503 wxToolBarToolBase
*result
;
14504 PyObject
* obj0
= 0 ;
14505 char *kwnames
[] = {
14506 (char *) "self",(char *) "x",(char *) "y", NULL
14509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
14515 wxPyEndAllowThreads(__tstate
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= wxPyMake_wxObject(result
);
14527 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
;
14529 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14531 PyObject
* obj0
= 0 ;
14532 char *kwnames
[] = {
14533 (char *) "self", NULL
14536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
14537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (bool)(arg1
)->IsVertical();
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= PyInt_FromLong((long)result
);
14552 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
14554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14555 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
14557 return Py_BuildValue((char *)"");
14559 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14560 PyObject
*resultobj
;
14561 wxWindow
*arg1
= (wxWindow
*) 0 ;
14563 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14564 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14565 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14566 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14567 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
14568 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
14569 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14573 bool temp6
= False
;
14574 PyObject
* obj0
= 0 ;
14575 PyObject
* obj2
= 0 ;
14576 PyObject
* obj3
= 0 ;
14577 PyObject
* obj5
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_ToolBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14587 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14593 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14598 arg6
= wxString_in_helper(obj5
);
14599 if (arg6
== NULL
) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= wxPyMake_wxObject(result
);
14627 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14630 char *kwnames
[] = {
14634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 result
= (wxToolBar
*)new wxToolBar();
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14643 resultobj
= wxPyMake_wxObject(result
);
14651 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14652 PyObject
*resultobj
;
14653 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
14654 wxWindow
*arg2
= (wxWindow
*) 0 ;
14656 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14657 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14658 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14659 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14660 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
14661 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
14662 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14666 bool temp7
= False
;
14667 PyObject
* obj0
= 0 ;
14668 PyObject
* obj1
= 0 ;
14669 PyObject
* obj3
= 0 ;
14670 PyObject
* obj4
= 0 ;
14671 PyObject
* obj6
= 0 ;
14672 char *kwnames
[] = {
14673 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
14677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14678 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14682 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14688 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14693 arg7
= wxString_in_helper(obj6
);
14694 if (arg7
== NULL
) SWIG_fail
;
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14700 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= PyInt_FromLong((long)result
);
14720 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14721 PyObject
*resultobj
;
14722 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
14725 wxToolBarToolBase
*result
;
14726 PyObject
* obj0
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "self",(char *) "x",(char *) "y", NULL
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBar_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= wxPyMake_wxObject(result
);
14749 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
14751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14752 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
14754 return Py_BuildValue((char *)"");
14756 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxColour
const &arg1_defvalue
= wxNullColour
;
14759 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
14760 wxColour
const &arg2_defvalue
= wxNullColour
;
14761 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
14762 wxFont
const &arg3_defvalue
= wxNullFont
;
14763 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
14764 wxListItemAttr
*result
;
14767 PyObject
* obj0
= 0 ;
14768 PyObject
* obj1
= 0 ;
14769 PyObject
* obj2
= 0 ;
14770 char *kwnames
[] = {
14771 (char *) "colText",(char *) "colBack",(char *) "font", NULL
14774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14778 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
14784 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14788 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14789 if (arg3
== NULL
) {
14790 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
14807 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
14810 wxColour
*arg2
= 0 ;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self",(char *) "colText", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
14819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14822 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14826 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 Py_INCREF(Py_None
); resultobj
= Py_None
;
14838 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
14841 wxColour
*arg2
= 0 ;
14843 PyObject
* obj0
= 0 ;
14844 PyObject
* obj1
= 0 ;
14845 char *kwnames
[] = {
14846 (char *) "self",(char *) "colBack", NULL
14849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
14850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14853 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14862 Py_INCREF(Py_None
); resultobj
= Py_None
;
14869 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
;
14871 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
14873 PyObject
* obj0
= 0 ;
14874 PyObject
* obj1
= 0 ;
14875 char *kwnames
[] = {
14876 (char *) "self",(char *) "font", NULL
14879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14881 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14882 if (arg2
== NULL
) {
14883 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 (arg1
)->SetFont((wxFont
const &)*arg2
);
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 Py_INCREF(Py_None
); resultobj
= Py_None
;
14899 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
;
14901 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
14903 PyObject
* obj0
= 0 ;
14904 char *kwnames
[] = {
14905 (char *) "self", NULL
14908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
14909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14912 result
= (bool)(arg1
)->HasTextColour();
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14917 resultobj
= PyInt_FromLong((long)result
);
14924 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
;
14926 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
14928 PyObject
* obj0
= 0 ;
14929 char *kwnames
[] = {
14930 (char *) "self", NULL
14933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
14934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 result
= (bool)(arg1
)->HasBackgroundColour();
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= PyInt_FromLong((long)result
);
14949 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
;
14951 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
14953 PyObject
* obj0
= 0 ;
14954 char *kwnames
[] = {
14955 (char *) "self", NULL
14958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
14959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14962 result
= (bool)(arg1
)->HasFont();
14964 wxPyEndAllowThreads(__tstate
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14967 resultobj
= PyInt_FromLong((long)result
);
14974 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14975 PyObject
*resultobj
;
14976 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
14978 PyObject
* obj0
= 0 ;
14979 char *kwnames
[] = {
14980 (char *) "self", NULL
14983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
14984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 result
= (arg1
)->GetTextColour();
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14993 wxColour
* resultptr
;
14994 resultptr
= new wxColour((wxColour
&) result
);
14995 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15003 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
;
15005 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15007 PyObject
* obj0
= 0 ;
15008 char *kwnames
[] = {
15009 (char *) "self", NULL
15012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
15013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15016 result
= (arg1
)->GetBackgroundColour();
15018 wxPyEndAllowThreads(__tstate
);
15019 if (PyErr_Occurred()) SWIG_fail
;
15022 wxColour
* resultptr
;
15023 resultptr
= new wxColour((wxColour
&) result
);
15024 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15032 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
;
15034 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15036 PyObject
* obj0
= 0 ;
15037 char *kwnames
[] = {
15038 (char *) "self", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
15042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 result
= (arg1
)->GetFont();
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15051 wxFont
* resultptr
;
15052 resultptr
= new wxFont((wxFont
&) result
);
15053 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
15061 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "self", NULL
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
15070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 wxListItemAttr_Destroy(arg1
);
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 Py_INCREF(Py_None
); resultobj
= Py_None
;
15085 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
15087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15088 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
15090 return Py_BuildValue((char *)"");
15092 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
;
15094 wxListItem
*result
;
15095 char *kwnames
[] = {
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 result
= (wxListItem
*)new wxListItem();
15104 wxPyEndAllowThreads(__tstate
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= wxPyMake_wxObject(result
);
15116 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
;
15118 wxListItem
*arg1
= (wxListItem
*) 0 ;
15119 PyObject
* obj0
= 0 ;
15120 char *kwnames
[] = {
15121 (char *) "self", NULL
15124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
15125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15133 Py_INCREF(Py_None
); resultobj
= Py_None
;
15140 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
;
15142 wxListItem
*arg1
= (wxListItem
*) 0 ;
15143 PyObject
* obj0
= 0 ;
15144 char *kwnames
[] = {
15145 (char *) "self", NULL
15148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
15149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15157 Py_INCREF(Py_None
); resultobj
= Py_None
;
15164 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15165 PyObject
*resultobj
;
15166 wxListItem
*arg1
= (wxListItem
*) 0 ;
15167 PyObject
* obj0
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
15173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15176 (arg1
)->ClearAttributes();
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15181 Py_INCREF(Py_None
); resultobj
= Py_None
;
15188 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
;
15190 wxListItem
*arg1
= (wxListItem
*) 0 ;
15192 PyObject
* obj0
= 0 ;
15193 char *kwnames
[] = {
15194 (char *) "self",(char *) "mask", NULL
15197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetMask",kwnames
,&obj0
,&arg2
)) goto fail
;
15198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 (arg1
)->SetMask(arg2
);
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15206 Py_INCREF(Py_None
); resultobj
= Py_None
;
15213 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15215 wxListItem
*arg1
= (wxListItem
*) 0 ;
15217 PyObject
* obj0
= 0 ;
15218 char *kwnames
[] = {
15219 (char *) "self",(char *) "id", NULL
15222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
15223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15226 (arg1
)->SetId(arg2
);
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 Py_INCREF(Py_None
); resultobj
= Py_None
;
15238 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxListItem
*arg1
= (wxListItem
*) 0 ;
15242 PyObject
* obj0
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self",(char *) "col", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
15248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 (arg1
)->SetColumn(arg2
);
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15256 Py_INCREF(Py_None
); resultobj
= Py_None
;
15263 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
;
15265 wxListItem
*arg1
= (wxListItem
*) 0 ;
15267 PyObject
* obj0
= 0 ;
15268 char *kwnames
[] = {
15269 (char *) "self",(char *) "state", NULL
15272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetState",kwnames
,&obj0
,&arg2
)) goto fail
;
15273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 (arg1
)->SetState(arg2
);
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 Py_INCREF(Py_None
); resultobj
= Py_None
;
15288 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxListItem
*arg1
= (wxListItem
*) 0 ;
15292 PyObject
* obj0
= 0 ;
15293 char *kwnames
[] = {
15294 (char *) "self",(char *) "stateMask", NULL
15297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetStateMask",kwnames
,&obj0
,&arg2
)) goto fail
;
15298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 (arg1
)->SetStateMask(arg2
);
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 Py_INCREF(Py_None
); resultobj
= Py_None
;
15313 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxListItem
*arg1
= (wxListItem
*) 0 ;
15316 wxString
*arg2
= 0 ;
15317 bool temp2
= False
;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self",(char *) "text", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
15325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15327 arg2
= wxString_in_helper(obj1
);
15328 if (arg2
== NULL
) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 (arg1
)->SetText((wxString
const &)*arg2
);
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15338 Py_INCREF(Py_None
); resultobj
= Py_None
;
15353 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
;
15355 wxListItem
*arg1
= (wxListItem
*) 0 ;
15357 PyObject
* obj0
= 0 ;
15358 char *kwnames
[] = {
15359 (char *) "self",(char *) "image", NULL
15362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetImage",kwnames
,&obj0
,&arg2
)) goto fail
;
15363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15366 (arg1
)->SetImage(arg2
);
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15371 Py_INCREF(Py_None
); resultobj
= Py_None
;
15378 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15379 PyObject
*resultobj
;
15380 wxListItem
*arg1
= (wxListItem
*) 0 ;
15382 PyObject
* obj0
= 0 ;
15383 char *kwnames
[] = {
15384 (char *) "self",(char *) "data", NULL
15387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetData",kwnames
,&obj0
,&arg2
)) goto fail
;
15388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15391 (arg1
)->SetData(arg2
);
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 Py_INCREF(Py_None
); resultobj
= Py_None
;
15403 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxListItem
*arg1
= (wxListItem
*) 0 ;
15407 PyObject
* obj0
= 0 ;
15408 char *kwnames
[] = {
15409 (char *) "self",(char *) "width", NULL
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
15413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 (arg1
)->SetWidth(arg2
);
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15421 Py_INCREF(Py_None
); resultobj
= Py_None
;
15428 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
;
15430 wxListItem
*arg1
= (wxListItem
*) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 char *kwnames
[] = {
15434 (char *) "self",(char *) "align", NULL
15437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetAlign",kwnames
,&obj0
,&arg2
)) goto fail
;
15438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15441 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
15443 wxPyEndAllowThreads(__tstate
);
15444 if (PyErr_Occurred()) SWIG_fail
;
15446 Py_INCREF(Py_None
); resultobj
= Py_None
;
15453 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15454 PyObject
*resultobj
;
15455 wxListItem
*arg1
= (wxListItem
*) 0 ;
15456 wxColour
*arg2
= 0 ;
15458 PyObject
* obj0
= 0 ;
15459 PyObject
* obj1
= 0 ;
15460 char *kwnames
[] = {
15461 (char *) "self",(char *) "colText", NULL
15464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15468 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15472 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15477 Py_INCREF(Py_None
); resultobj
= Py_None
;
15484 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15485 PyObject
*resultobj
;
15486 wxListItem
*arg1
= (wxListItem
*) 0 ;
15487 wxColour
*arg2
= 0 ;
15489 PyObject
* obj0
= 0 ;
15490 PyObject
* obj1
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self",(char *) "colBack", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15499 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15503 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15505 wxPyEndAllowThreads(__tstate
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15508 Py_INCREF(Py_None
); resultobj
= Py_None
;
15515 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
;
15517 wxListItem
*arg1
= (wxListItem
*) 0 ;
15519 PyObject
* obj0
= 0 ;
15520 PyObject
* obj1
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "self",(char *) "font", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15527 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15528 if (arg2
== NULL
) {
15529 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 (arg1
)->SetFont((wxFont
const &)*arg2
);
15535 wxPyEndAllowThreads(__tstate
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15538 Py_INCREF(Py_None
); resultobj
= Py_None
;
15545 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
;
15547 wxListItem
*arg1
= (wxListItem
*) 0 ;
15549 PyObject
* obj0
= 0 ;
15550 char *kwnames
[] = {
15551 (char *) "self", NULL
15554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
15555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= (long)(arg1
)->GetMask();
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= PyInt_FromLong((long)result
);
15570 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 wxListItem
*arg1
= (wxListItem
*) 0 ;
15574 PyObject
* obj0
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "self", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 result
= (long)(arg1
)->GetId();
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15588 resultobj
= PyInt_FromLong((long)result
);
15595 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxListItem
*arg1
= (wxListItem
*) 0 ;
15599 PyObject
* obj0
= 0 ;
15600 char *kwnames
[] = {
15601 (char *) "self", NULL
15604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
15605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= (int)(arg1
)->GetColumn();
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= PyInt_FromLong((long)result
);
15620 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
;
15622 wxListItem
*arg1
= (wxListItem
*) 0 ;
15624 PyObject
* obj0
= 0 ;
15625 char *kwnames
[] = {
15626 (char *) "self", NULL
15629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
15630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= (long)(arg1
)->GetState();
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15638 resultobj
= PyInt_FromLong((long)result
);
15645 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15646 PyObject
*resultobj
;
15647 wxListItem
*arg1
= (wxListItem
*) 0 ;
15649 PyObject
* obj0
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
15655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 wxString
const &_result_ref
= (arg1
)->GetText();
15660 result
= (wxString
*) &_result_ref
;
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15668 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15670 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15679 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15680 PyObject
*resultobj
;
15681 wxListItem
*arg1
= (wxListItem
*) 0 ;
15683 PyObject
* obj0
= 0 ;
15684 char *kwnames
[] = {
15685 (char *) "self", NULL
15688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
15689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 result
= (int)(arg1
)->GetImage();
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15697 resultobj
= PyInt_FromLong((long)result
);
15704 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
;
15706 wxListItem
*arg1
= (wxListItem
*) 0 ;
15708 PyObject
* obj0
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "self", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
15714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 result
= (long)(arg1
)->GetData();
15719 wxPyEndAllowThreads(__tstate
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15722 resultobj
= PyInt_FromLong((long)result
);
15729 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15731 wxListItem
*arg1
= (wxListItem
*) 0 ;
15733 PyObject
* obj0
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 result
= (int)(arg1
)->GetWidth();
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15747 resultobj
= PyInt_FromLong((long)result
);
15754 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
;
15756 wxListItem
*arg1
= (wxListItem
*) 0 ;
15758 PyObject
* obj0
= 0 ;
15759 char *kwnames
[] = {
15760 (char *) "self", NULL
15763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
15764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15767 result
= (int)(arg1
)->GetAlign();
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15772 resultobj
= PyInt_FromLong((long)result
);
15779 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15780 PyObject
*resultobj
;
15781 wxListItem
*arg1
= (wxListItem
*) 0 ;
15782 wxListItemAttr
*result
;
15783 PyObject
* obj0
= 0 ;
15784 char *kwnames
[] = {
15785 (char *) "self", NULL
15788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
15789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15792 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
15804 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
;
15806 wxListItem
*arg1
= (wxListItem
*) 0 ;
15808 PyObject
* obj0
= 0 ;
15809 char *kwnames
[] = {
15810 (char *) "self", NULL
15813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
15814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= (bool)(arg1
)->HasAttributes();
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= PyInt_FromLong((long)result
);
15829 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
;
15831 wxListItem
*arg1
= (wxListItem
*) 0 ;
15833 PyObject
* obj0
= 0 ;
15834 char *kwnames
[] = {
15835 (char *) "self", NULL
15838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
15839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15842 result
= ((wxListItem
const *)arg1
)->GetTextColour();
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15848 wxColour
* resultptr
;
15849 resultptr
= new wxColour((wxColour
&) result
);
15850 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15858 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15859 PyObject
*resultobj
;
15860 wxListItem
*arg1
= (wxListItem
*) 0 ;
15862 PyObject
* obj0
= 0 ;
15863 char *kwnames
[] = {
15864 (char *) "self", NULL
15867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
15868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15871 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
15873 wxPyEndAllowThreads(__tstate
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15877 wxColour
* resultptr
;
15878 resultptr
= new wxColour((wxColour
&) result
);
15879 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15887 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
;
15889 wxListItem
*arg1
= (wxListItem
*) 0 ;
15891 PyObject
* obj0
= 0 ;
15892 char *kwnames
[] = {
15893 (char *) "self", NULL
15896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
15897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15900 result
= ((wxListItem
const *)arg1
)->GetFont();
15902 wxPyEndAllowThreads(__tstate
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15906 wxFont
* resultptr
;
15907 resultptr
= new wxFont((wxFont
&) result
);
15908 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
15916 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15917 PyObject
*resultobj
;
15918 wxListItem
*arg1
= (wxListItem
*) 0 ;
15920 PyObject
* obj0
= 0 ;
15921 char *kwnames
[] = {
15922 (char *) "self",(char *) "m_mask", NULL
15925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_mask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
15926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15927 if (arg1
) (arg1
)->m_mask
= arg2
;
15929 Py_INCREF(Py_None
); resultobj
= Py_None
;
15936 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxListItem
*arg1
= (wxListItem
*) 0 ;
15940 PyObject
* obj0
= 0 ;
15941 char *kwnames
[] = {
15942 (char *) "self", NULL
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
15946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15947 result
= (long) ((arg1
)->m_mask
);
15949 resultobj
= PyInt_FromLong((long)result
);
15956 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
;
15958 wxListItem
*arg1
= (wxListItem
*) 0 ;
15960 PyObject
* obj0
= 0 ;
15961 char *kwnames
[] = {
15962 (char *) "self",(char *) "m_itemId", NULL
15965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_itemId_set",kwnames
,&obj0
,&arg2
)) goto fail
;
15966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15967 if (arg1
) (arg1
)->m_itemId
= arg2
;
15969 Py_INCREF(Py_None
); resultobj
= Py_None
;
15976 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
;
15978 wxListItem
*arg1
= (wxListItem
*) 0 ;
15980 PyObject
* obj0
= 0 ;
15981 char *kwnames
[] = {
15982 (char *) "self", NULL
15985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
15986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15987 result
= (long) ((arg1
)->m_itemId
);
15989 resultobj
= PyInt_FromLong((long)result
);
15996 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
;
15998 wxListItem
*arg1
= (wxListItem
*) 0 ;
16000 PyObject
* obj0
= 0 ;
16001 char *kwnames
[] = {
16002 (char *) "self",(char *) "m_col", NULL
16005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16007 if (arg1
) (arg1
)->m_col
= arg2
;
16009 Py_INCREF(Py_None
); resultobj
= Py_None
;
16016 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
;
16018 wxListItem
*arg1
= (wxListItem
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
16026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16027 result
= (int) ((arg1
)->m_col
);
16029 resultobj
= PyInt_FromLong((long)result
);
16036 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
;
16038 wxListItem
*arg1
= (wxListItem
*) 0 ;
16040 PyObject
* obj0
= 0 ;
16041 char *kwnames
[] = {
16042 (char *) "self",(char *) "m_state", NULL
16045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_state_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16047 if (arg1
) (arg1
)->m_state
= arg2
;
16049 Py_INCREF(Py_None
); resultobj
= Py_None
;
16056 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16057 PyObject
*resultobj
;
16058 wxListItem
*arg1
= (wxListItem
*) 0 ;
16060 PyObject
* obj0
= 0 ;
16061 char *kwnames
[] = {
16062 (char *) "self", NULL
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
16066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16067 result
= (long) ((arg1
)->m_state
);
16069 resultobj
= PyInt_FromLong((long)result
);
16076 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16077 PyObject
*resultobj
;
16078 wxListItem
*arg1
= (wxListItem
*) 0 ;
16080 PyObject
* obj0
= 0 ;
16081 char *kwnames
[] = {
16082 (char *) "self",(char *) "m_stateMask", NULL
16085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_stateMask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16087 if (arg1
) (arg1
)->m_stateMask
= arg2
;
16089 Py_INCREF(Py_None
); resultobj
= Py_None
;
16096 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16097 PyObject
*resultobj
;
16098 wxListItem
*arg1
= (wxListItem
*) 0 ;
16100 PyObject
* obj0
= 0 ;
16101 char *kwnames
[] = {
16102 (char *) "self", NULL
16105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
16106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16107 result
= (long) ((arg1
)->m_stateMask
);
16109 resultobj
= PyInt_FromLong((long)result
);
16116 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
;
16118 wxListItem
*arg1
= (wxListItem
*) 0 ;
16120 PyObject
* obj0
= 0 ;
16121 PyObject
* obj1
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self",(char *) "m_text", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16129 wxString
* sptr
= wxString_in_helper(obj1
);
16130 if (sptr
== NULL
) SWIG_fail
;
16134 if (arg1
) (arg1
)->m_text
= arg2
;
16136 Py_INCREF(Py_None
); resultobj
= Py_None
;
16143 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
;
16145 wxListItem
*arg1
= (wxListItem
*) 0 ;
16147 PyObject
* obj0
= 0 ;
16148 char *kwnames
[] = {
16149 (char *) "self", NULL
16152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
16153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16154 result
= ((arg1
)->m_text
);
16158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16169 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxListItem
*arg1
= (wxListItem
*) 0 ;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self",(char *) "m_image", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_image_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16180 if (arg1
) (arg1
)->m_image
= arg2
;
16182 Py_INCREF(Py_None
); resultobj
= Py_None
;
16189 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16190 PyObject
*resultobj
;
16191 wxListItem
*arg1
= (wxListItem
*) 0 ;
16193 PyObject
* obj0
= 0 ;
16194 char *kwnames
[] = {
16195 (char *) "self", NULL
16198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
16199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16200 result
= (int) ((arg1
)->m_image
);
16202 resultobj
= PyInt_FromLong((long)result
);
16209 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
;
16211 wxListItem
*arg1
= (wxListItem
*) 0 ;
16213 PyObject
* obj0
= 0 ;
16214 char *kwnames
[] = {
16215 (char *) "self",(char *) "m_data", NULL
16218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_data_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16220 if (arg1
) (arg1
)->m_data
= arg2
;
16222 Py_INCREF(Py_None
); resultobj
= Py_None
;
16229 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
;
16231 wxListItem
*arg1
= (wxListItem
*) 0 ;
16233 PyObject
* obj0
= 0 ;
16234 char *kwnames
[] = {
16235 (char *) "self", NULL
16238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
16239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16240 result
= (long) ((arg1
)->m_data
);
16242 resultobj
= PyInt_FromLong((long)result
);
16249 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16250 PyObject
*resultobj
;
16251 wxListItem
*arg1
= (wxListItem
*) 0 ;
16253 PyObject
* obj0
= 0 ;
16254 char *kwnames
[] = {
16255 (char *) "self",(char *) "m_format", NULL
16258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_format_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16260 if (arg1
) (arg1
)->m_format
= arg2
;
16262 Py_INCREF(Py_None
); resultobj
= Py_None
;
16269 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxListItem
*arg1
= (wxListItem
*) 0 ;
16273 PyObject
* obj0
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
16279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16280 result
= (int) ((arg1
)->m_format
);
16282 resultobj
= PyInt_FromLong((long)result
);
16289 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxListItem
*arg1
= (wxListItem
*) 0 ;
16293 PyObject
* obj0
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self",(char *) "m_width", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16300 if (arg1
) (arg1
)->m_width
= arg2
;
16302 Py_INCREF(Py_None
); resultobj
= Py_None
;
16309 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
;
16311 wxListItem
*arg1
= (wxListItem
*) 0 ;
16313 PyObject
* obj0
= 0 ;
16314 char *kwnames
[] = {
16315 (char *) "self", NULL
16318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
16319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16320 result
= (int) ((arg1
)->m_width
);
16322 resultobj
= PyInt_FromLong((long)result
);
16329 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
16331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16332 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
16334 return Py_BuildValue((char *)"");
16336 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16339 int arg2
= (int) 0 ;
16340 wxListEvent
*result
;
16341 char *kwnames
[] = {
16342 (char *) "commandType",(char *) "id", NULL
16345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_ListEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
16347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16353 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
16360 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
;
16362 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16364 PyObject
* obj0
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self",(char *) "m_code", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_code_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16371 if (arg1
) (arg1
)->m_code
= arg2
;
16373 Py_INCREF(Py_None
); resultobj
= Py_None
;
16380 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 char *kwnames
[] = {
16386 (char *) "self", NULL
16389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
16390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16391 result
= (int) ((arg1
)->m_code
);
16393 resultobj
= PyInt_FromLong((long)result
);
16400 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
;
16402 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16404 PyObject
* obj0
= 0 ;
16405 char *kwnames
[] = {
16406 (char *) "self",(char *) "m_oldItemIndex", NULL
16409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16411 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
16413 Py_INCREF(Py_None
); resultobj
= Py_None
;
16420 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
;
16422 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16424 PyObject
* obj0
= 0 ;
16425 char *kwnames
[] = {
16426 (char *) "self", NULL
16429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
16430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16431 result
= (long) ((arg1
)->m_oldItemIndex
);
16433 resultobj
= PyInt_FromLong((long)result
);
16440 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
;
16442 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16444 PyObject
* obj0
= 0 ;
16445 char *kwnames
[] = {
16446 (char *) "self",(char *) "m_itemIndex", NULL
16449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16451 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
16453 Py_INCREF(Py_None
); resultobj
= Py_None
;
16460 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16464 PyObject
* obj0
= 0 ;
16465 char *kwnames
[] = {
16466 (char *) "self", NULL
16469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
16470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16471 result
= (long) ((arg1
)->m_itemIndex
);
16473 resultobj
= PyInt_FromLong((long)result
);
16480 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16484 PyObject
* obj0
= 0 ;
16485 char *kwnames
[] = {
16486 (char *) "self",(char *) "m_col", NULL
16489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16491 if (arg1
) (arg1
)->m_col
= arg2
;
16493 Py_INCREF(Py_None
); resultobj
= Py_None
;
16500 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
;
16502 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16504 PyObject
* obj0
= 0 ;
16505 char *kwnames
[] = {
16506 (char *) "self", NULL
16509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
16510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16511 result
= (int) ((arg1
)->m_col
);
16513 resultobj
= PyInt_FromLong((long)result
);
16520 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16523 wxPoint
*arg2
= (wxPoint
*) 0 ;
16524 PyObject
* obj0
= 0 ;
16525 PyObject
* obj1
= 0 ;
16526 char *kwnames
[] = {
16527 (char *) "self",(char *) "m_pointDrag", NULL
16530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16532 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16533 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
16535 Py_INCREF(Py_None
); resultobj
= Py_None
;
16542 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
16552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16553 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
16555 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16562 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16563 PyObject
*resultobj
;
16564 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16565 wxListItem
*result
;
16566 PyObject
* obj0
= 0 ;
16567 char *kwnames
[] = {
16568 (char *) "self", NULL
16571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
16572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16573 result
= (wxListItem
*)& ((arg1
)->m_item
);
16576 resultobj
= wxPyMake_wxObject(result
);
16584 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
16594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16597 result
= (int)(arg1
)->GetKeyCode();
16599 wxPyEndAllowThreads(__tstate
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16602 resultobj
= PyInt_FromLong((long)result
);
16609 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16610 PyObject
*resultobj
;
16611 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16613 PyObject
* obj0
= 0 ;
16614 char *kwnames
[] = {
16615 (char *) "self", NULL
16618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
16619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16622 result
= (long)(arg1
)->GetIndex();
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16627 resultobj
= PyInt_FromLong((long)result
);
16634 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16635 PyObject
*resultobj
;
16636 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16638 PyObject
* obj0
= 0 ;
16639 char *kwnames
[] = {
16640 (char *) "self", NULL
16643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
16644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16647 result
= (int)(arg1
)->GetColumn();
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16652 resultobj
= PyInt_FromLong((long)result
);
16659 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
;
16661 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16663 PyObject
* obj0
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "self", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
16669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 result
= (arg1
)->GetPoint();
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16678 wxPoint
* resultptr
;
16679 resultptr
= new wxPoint((wxPoint
&) result
);
16680 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16688 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "self", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
16698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 wxString
const &_result_ref
= (arg1
)->GetLabel();
16703 result
= (wxString
*) &_result_ref
;
16706 wxPyEndAllowThreads(__tstate
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16713 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16722 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16723 PyObject
*resultobj
;
16724 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16726 PyObject
* obj0
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "self", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
16732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16736 wxString
const &_result_ref
= (arg1
)->GetText();
16737 result
= (wxString
*) &_result_ref
;
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16745 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16747 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16756 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
;
16758 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16760 PyObject
* obj0
= 0 ;
16761 char *kwnames
[] = {
16762 (char *) "self", NULL
16765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
16766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 result
= (int)(arg1
)->GetImage();
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16774 resultobj
= PyInt_FromLong((long)result
);
16781 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16783 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16785 PyObject
* obj0
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
16791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 result
= (long)(arg1
)->GetData();
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 resultobj
= PyInt_FromLong((long)result
);
16806 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16810 PyObject
* obj0
= 0 ;
16811 char *kwnames
[] = {
16812 (char *) "self", NULL
16815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
16816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 result
= (long)(arg1
)->GetMask();
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16824 resultobj
= PyInt_FromLong((long)result
);
16831 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
;
16833 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16834 wxListItem
*result
;
16835 PyObject
* obj0
= 0 ;
16836 char *kwnames
[] = {
16837 (char *) "self", NULL
16840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
16841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 wxListItem
const &_result_ref
= (arg1
)->GetItem();
16846 result
= (wxListItem
*) &_result_ref
;
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
16859 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
;
16861 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16863 PyObject
* obj0
= 0 ;
16864 char *kwnames
[] = {
16865 (char *) "self", NULL
16868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
16869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16872 result
= (long)(arg1
)->GetCacheFrom();
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 resultobj
= PyInt_FromLong((long)result
);
16884 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16885 PyObject
*resultobj
;
16886 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16888 PyObject
* obj0
= 0 ;
16889 char *kwnames
[] = {
16890 (char *) "self", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
16894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 result
= (long)(arg1
)->GetCacheTo();
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16902 resultobj
= PyInt_FromLong((long)result
);
16909 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16910 PyObject
*resultobj
;
16911 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16913 PyObject
* obj0
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "self", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
16919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= PyInt_FromLong((long)result
);
16934 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
;
16936 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16938 PyObject
* obj0
= 0 ;
16939 PyObject
* obj1
= 0 ;
16940 char *kwnames
[] = {
16941 (char *) "self",(char *) "editCancelled", NULL
16944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
16945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16946 arg2
= PyInt_AsLong(obj1
) ? true : false;
16947 if (PyErr_Occurred()) SWIG_fail
;
16949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 (arg1
)->SetEditCanceled(arg2
);
16952 wxPyEndAllowThreads(__tstate
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16955 Py_INCREF(Py_None
); resultobj
= Py_None
;
16962 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16965 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
16967 return Py_BuildValue((char *)"");
16969 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16971 wxWindow
*arg1
= (wxWindow
*) 0 ;
16972 int arg2
= (int) -1 ;
16973 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16974 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16975 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16976 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16977 long arg5
= (long) wxLC_ICON
;
16978 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
16979 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
16980 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
16981 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16982 wxPyListCtrl
*result
;
16985 bool temp7
= False
;
16986 PyObject
* obj0
= 0 ;
16987 PyObject
* obj2
= 0 ;
16988 PyObject
* obj3
= 0 ;
16989 PyObject
* obj5
= 0 ;
16990 PyObject
* obj6
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
16996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17000 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17006 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17010 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17011 if (arg6
== NULL
) {
17012 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17017 arg7
= wxString_in_helper(obj6
);
17018 if (arg7
== NULL
) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17029 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17044 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
;
17046 wxPyListCtrl
*result
;
17047 char *kwnames
[] = {
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 result
= (wxPyListCtrl
*)new wxPyListCtrl();
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17059 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17066 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
;
17068 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17069 wxWindow
*arg2
= (wxWindow
*) 0 ;
17070 int arg3
= (int) -1 ;
17071 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17072 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17073 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17074 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17075 long arg6
= (long) wxLC_ICON
;
17076 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17077 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17078 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
17079 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17083 bool temp8
= False
;
17084 PyObject
* obj0
= 0 ;
17085 PyObject
* obj1
= 0 ;
17086 PyObject
* obj3
= 0 ;
17087 PyObject
* obj4
= 0 ;
17088 PyObject
* obj6
= 0 ;
17089 PyObject
* obj7
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
17095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17096 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17100 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17106 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17110 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17111 if (arg7
== NULL
) {
17112 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17117 arg8
= wxString_in_helper(obj7
);
17118 if (arg8
== NULL
) SWIG_fail
;
17123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17124 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17126 wxPyEndAllowThreads(__tstate
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17129 resultobj
= PyInt_FromLong((long)result
);
17144 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
;
17146 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17147 PyObject
*arg2
= (PyObject
*) 0 ;
17148 PyObject
*arg3
= (PyObject
*) 0 ;
17149 PyObject
* obj0
= 0 ;
17150 PyObject
* obj1
= 0 ;
17151 PyObject
* obj2
= 0 ;
17152 char *kwnames
[] = {
17153 (char *) "self",(char *) "self",(char *) "_class", NULL
17156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 Py_INCREF(Py_None
); resultobj
= Py_None
;
17174 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17177 wxColour
*arg2
= 0 ;
17180 PyObject
* obj0
= 0 ;
17181 PyObject
* obj1
= 0 ;
17182 char *kwnames
[] = {
17183 (char *) "self",(char *) "col", NULL
17186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17190 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 resultobj
= PyInt_FromLong((long)result
);
17206 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17208 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17209 wxColour
*arg2
= 0 ;
17212 PyObject
* obj0
= 0 ;
17213 PyObject
* obj1
= 0 ;
17214 char *kwnames
[] = {
17215 (char *) "self",(char *) "col", NULL
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17222 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17228 wxPyEndAllowThreads(__tstate
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17231 resultobj
= PyInt_FromLong((long)result
);
17238 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17240 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17242 wxListItem
*result
;
17243 PyObject
* obj0
= 0 ;
17244 char *kwnames
[] = {
17245 (char *) "self",(char *) "col", NULL
17248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
17249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= wxPyMake_wxObject(result
);
17266 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17267 PyObject
*resultobj
;
17268 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17270 wxListItem
*arg3
= 0 ;
17272 PyObject
* obj0
= 0 ;
17273 PyObject
* obj2
= 0 ;
17274 char *kwnames
[] = {
17275 (char *) "self",(char *) "col",(char *) "item", NULL
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ListCtrl_SetColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17280 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17281 if (arg3
== NULL
) {
17282 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17291 resultobj
= PyInt_FromLong((long)result
);
17298 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17299 PyObject
*resultobj
;
17300 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17303 PyObject
* obj0
= 0 ;
17304 char *kwnames
[] = {
17305 (char *) "self",(char *) "col", NULL
17308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
17309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17317 resultobj
= PyInt_FromLong((long)result
);
17324 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
;
17326 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17330 PyObject
* obj0
= 0 ;
17331 char *kwnames
[] = {
17332 (char *) "self",(char *) "col",(char *) "width", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17344 resultobj
= PyInt_FromLong((long)result
);
17351 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17352 PyObject
*resultobj
;
17353 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17355 PyObject
* obj0
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "self", NULL
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
17361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17364 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
17366 wxPyEndAllowThreads(__tstate
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17369 resultobj
= PyInt_FromLong((long)result
);
17376 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
;
17378 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17380 PyObject
* obj0
= 0 ;
17381 char *kwnames
[] = {
17382 (char *) "self", NULL
17385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
17386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17389 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17395 wxRect
* resultptr
;
17396 resultptr
= new wxRect((wxRect
&) result
);
17397 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
17405 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17409 int arg3
= (int) 0 ;
17410 wxListItem
*result
;
17411 PyObject
* obj0
= 0 ;
17412 char *kwnames
[] = {
17413 (char *) "self",(char *) "itemId",(char *) "col", NULL
17416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17420 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17426 resultobj
= wxPyMake_wxObject(result
);
17434 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
;
17436 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17437 wxListItem
*arg2
= 0 ;
17439 PyObject
* obj0
= 0 ;
17440 PyObject
* obj1
= 0 ;
17441 char *kwnames
[] = {
17442 (char *) "self",(char *) "info", NULL
17445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17447 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17448 if (arg2
== NULL
) {
17449 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 result
= (bool)(arg1
)->SetItem(*arg2
);
17455 wxPyEndAllowThreads(__tstate
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17458 resultobj
= PyInt_FromLong((long)result
);
17465 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17466 PyObject
*resultobj
;
17467 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17470 wxString
*arg4
= 0 ;
17471 int arg5
= (int) -1 ;
17473 bool temp4
= False
;
17474 PyObject
* obj0
= 0 ;
17475 PyObject
* obj3
= 0 ;
17476 char *kwnames
[] = {
17477 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
17481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17483 arg4
= wxString_in_helper(obj3
);
17484 if (arg4
== NULL
) SWIG_fail
;
17488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17489 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
17491 wxPyEndAllowThreads(__tstate
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17494 resultobj
= PyInt_FromLong((long)result
);
17509 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17510 PyObject
*resultobj
;
17511 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17515 PyObject
* obj0
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_GetItemState",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17529 resultobj
= PyInt_FromLong((long)result
);
17536 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17537 PyObject
*resultobj
;
17538 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17543 PyObject
* obj0
= 0 ;
17544 char *kwnames
[] = {
17545 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olll:ListCtrl_SetItemState",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
17549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17552 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17557 resultobj
= PyInt_FromLong((long)result
);
17564 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17566 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17571 PyObject
* obj0
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olii:ListCtrl_SetItemImage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
17577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= PyInt_FromLong((long)result
);
17592 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17597 PyObject
* obj0
= 0 ;
17598 char *kwnames
[] = {
17599 (char *) "self",(char *) "item", NULL
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemText",kwnames
,&obj0
,&arg2
)) goto fail
;
17603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17606 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
17608 wxPyEndAllowThreads(__tstate
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17624 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17625 PyObject
*resultobj
;
17626 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17628 wxString
*arg3
= 0 ;
17629 bool temp3
= False
;
17630 PyObject
* obj0
= 0 ;
17631 PyObject
* obj2
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "self",(char *) "item",(char *) "str", NULL
17636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemText",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17639 arg3
= wxString_in_helper(obj2
);
17640 if (arg3
== NULL
) SWIG_fail
;
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17650 Py_INCREF(Py_None
); resultobj
= Py_None
;
17665 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
;
17667 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17670 PyObject
* obj0
= 0 ;
17671 char *kwnames
[] = {
17672 (char *) "self",(char *) "item", NULL
17675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemData",kwnames
,&obj0
,&arg2
)) goto fail
;
17676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 resultobj
= PyInt_FromLong((long)result
);
17691 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17697 PyObject
* obj0
= 0 ;
17698 char *kwnames
[] = {
17699 (char *) "self",(char *) "item",(char *) "data", NULL
17702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_SetItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17706 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= PyInt_FromLong((long)result
);
17718 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
;
17720 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17723 PyObject
* obj0
= 0 ;
17724 char *kwnames
[] = {
17725 (char *) "self",(char *) "item", NULL
17728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
17729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17738 wxPoint
* resultptr
;
17739 resultptr
= new wxPoint((wxPoint
&) result
);
17740 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17748 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
;
17750 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17752 int arg3
= (int) wxLIST_RECT_BOUNDS
;
17754 PyObject
* obj0
= 0 ;
17755 char *kwnames
[] = {
17756 (char *) "self",(char *) "item",(char *) "code", NULL
17759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17763 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
17765 wxPyEndAllowThreads(__tstate
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17769 wxRect
* resultptr
;
17770 resultptr
= new wxRect((wxRect
&) result
);
17771 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
17779 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17780 PyObject
*resultobj
;
17781 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17783 wxPoint
*arg3
= 0 ;
17786 PyObject
* obj0
= 0 ;
17787 PyObject
* obj2
= 0 ;
17788 char *kwnames
[] = {
17789 (char *) "self",(char *) "item",(char *) "pos", NULL
17792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17796 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17800 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
17802 wxPyEndAllowThreads(__tstate
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17805 resultobj
= PyInt_FromLong((long)result
);
17812 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
;
17814 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17816 PyObject
* obj0
= 0 ;
17817 char *kwnames
[] = {
17818 (char *) "self", NULL
17821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
17822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17830 resultobj
= PyInt_FromLong((long)result
);
17837 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
;
17839 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17841 PyObject
* obj0
= 0 ;
17842 char *kwnames
[] = {
17843 (char *) "self", NULL
17846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
17847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17850 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 resultobj
= PyInt_FromLong((long)result
);
17862 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17863 PyObject
*resultobj
;
17864 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17866 PyObject
* obj0
= 0 ;
17867 char *kwnames
[] = {
17868 (char *) "self", NULL
17871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
17872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17875 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
17877 wxPyEndAllowThreads(__tstate
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17881 wxSize
* resultptr
;
17882 resultptr
= new wxSize((wxSize
&) result
);
17883 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
17891 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17892 PyObject
*resultobj
;
17893 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17895 bool arg3
= (bool) False
;
17896 PyObject
* obj0
= 0 ;
17897 PyObject
* obj2
= 0 ;
17898 char *kwnames
[] = {
17899 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
17902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17905 arg3
= PyInt_AsLong(obj2
) ? true : false;
17906 if (PyErr_Occurred()) SWIG_fail
;
17909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17910 (arg1
)->SetItemSpacing(arg2
,arg3
);
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17915 Py_INCREF(Py_None
); resultobj
= Py_None
;
17922 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17923 PyObject
*resultobj
;
17924 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17926 PyObject
* obj0
= 0 ;
17927 char *kwnames
[] = {
17928 (char *) "self", NULL
17931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
17932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 resultobj
= PyInt_FromLong((long)result
);
17947 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17951 PyObject
* obj0
= 0 ;
17952 char *kwnames
[] = {
17953 (char *) "self", NULL
17956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
17957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17966 wxColour
* resultptr
;
17967 resultptr
= new wxColour((wxColour
&) result
);
17968 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17976 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
;
17978 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17979 wxColour
*arg2
= 0 ;
17981 PyObject
* obj0
= 0 ;
17982 PyObject
* obj1
= 0 ;
17983 char *kwnames
[] = {
17984 (char *) "self",(char *) "col", NULL
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17991 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 Py_INCREF(Py_None
); resultobj
= Py_None
;
18007 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
;
18009 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18011 PyObject
* obj0
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= PyInt_FromLong((long)result
);
18032 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18033 PyObject
*resultobj
;
18034 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18036 bool arg3
= (bool) True
;
18037 PyObject
* obj0
= 0 ;
18038 PyObject
* obj2
= 0 ;
18039 char *kwnames
[] = {
18040 (char *) "self",(char *) "style",(char *) "add", NULL
18043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18046 arg3
= PyInt_AsLong(obj2
) ? true : false;
18047 if (PyErr_Occurred()) SWIG_fail
;
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 (arg1
)->SetSingleStyle(arg2
,arg3
);
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18056 Py_INCREF(Py_None
); resultobj
= Py_None
;
18063 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18067 PyObject
* obj0
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self",(char *) "style", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
18073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 (arg1
)->SetWindowStyleFlag(arg2
);
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 Py_INCREF(Py_None
); resultobj
= Py_None
;
18088 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18092 int arg3
= (int) wxLIST_NEXT_ALL
;
18093 int arg4
= (int) wxLIST_STATE_DONTCARE
;
18095 PyObject
* obj0
= 0 ;
18096 char *kwnames
[] = {
18097 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 resultobj
= PyInt_FromLong((long)result
);
18116 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18120 wxImageList
*result
;
18121 PyObject
* obj0
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self",(char *) "which", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetImageList",kwnames
,&obj0
,&arg2
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= wxPyMake_wxObject(result
);
18144 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18145 PyObject
*resultobj
;
18146 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18147 wxImageList
*arg2
= (wxImageList
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 PyObject
* obj1
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self",(char *) "imageList",(char *) "which", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18157 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 (arg1
)->SetImageList(arg2
,arg3
);
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18165 Py_INCREF(Py_None
); resultobj
= Py_None
;
18172 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18173 PyObject
*resultobj
;
18174 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18175 wxImageList
*arg2
= (wxImageList
*) 0 ;
18177 PyObject
* obj0
= 0 ;
18178 PyObject
* obj1
= 0 ;
18179 char *kwnames
[] = {
18180 (char *) "self",(char *) "imageList",(char *) "which", NULL
18183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18185 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 (arg1
)->AssignImageList(arg2
,arg3
);
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 Py_INCREF(Py_None
); resultobj
= Py_None
;
18200 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 char *kwnames
[] = {
18206 (char *) "self", NULL
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
18210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18213 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
18215 wxPyEndAllowThreads(__tstate
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18218 resultobj
= PyInt_FromLong((long)result
);
18225 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
;
18227 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18229 PyObject
* obj0
= 0 ;
18230 char *kwnames
[] = {
18231 (char *) "self",(char *) "item", NULL
18234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_RefreshItem",kwnames
,&obj0
,&arg2
)) goto fail
;
18235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 (arg1
)->RefreshItem(arg2
);
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 Py_INCREF(Py_None
); resultobj
= Py_None
;
18250 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18255 PyObject
* obj0
= 0 ;
18256 char *kwnames
[] = {
18257 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_RefreshItems",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 (arg1
)->RefreshItems(arg2
,arg3
);
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18269 Py_INCREF(Py_None
); resultobj
= Py_None
;
18276 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18277 PyObject
*resultobj
;
18278 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18279 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
18281 PyObject
* obj0
= 0 ;
18282 char *kwnames
[] = {
18283 (char *) "self",(char *) "flag", NULL
18286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListCtrl_Arrange",kwnames
,&obj0
,&arg2
)) goto fail
;
18287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18290 result
= (bool)(arg1
)->Arrange(arg2
);
18292 wxPyEndAllowThreads(__tstate
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18295 resultobj
= PyInt_FromLong((long)result
);
18302 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18303 PyObject
*resultobj
;
18304 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18307 PyObject
* obj0
= 0 ;
18308 char *kwnames
[] = {
18309 (char *) "self",(char *) "item", NULL
18312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_DeleteItem",kwnames
,&obj0
,&arg2
)) goto fail
;
18313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18316 result
= (bool)(arg1
)->DeleteItem(arg2
);
18318 wxPyEndAllowThreads(__tstate
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18321 resultobj
= PyInt_FromLong((long)result
);
18328 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18329 PyObject
*resultobj
;
18330 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18332 PyObject
* obj0
= 0 ;
18333 char *kwnames
[] = {
18334 (char *) "self", NULL
18337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
18338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 result
= (bool)(arg1
)->DeleteAllItems();
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 resultobj
= PyInt_FromLong((long)result
);
18353 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18358 PyObject
* obj0
= 0 ;
18359 char *kwnames
[] = {
18360 (char *) "self",(char *) "col", NULL
18363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_DeleteColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
18364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18367 result
= (bool)(arg1
)->DeleteColumn(arg2
);
18369 wxPyEndAllowThreads(__tstate
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 resultobj
= PyInt_FromLong((long)result
);
18379 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18380 PyObject
*resultobj
;
18381 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18383 PyObject
* obj0
= 0 ;
18384 char *kwnames
[] = {
18385 (char *) "self", NULL
18388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
18389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 result
= (bool)(arg1
)->DeleteAllColumns();
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= PyInt_FromLong((long)result
);
18404 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
;
18406 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "self", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
18413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 (arg1
)->ClearAll();
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 Py_INCREF(Py_None
); resultobj
= Py_None
;
18428 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self",(char *) "item", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EditLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 (arg1
)->EditLabel(arg2
);
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 Py_INCREF(Py_None
); resultobj
= Py_None
;
18453 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self",(char *) "item", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
18464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 result
= (bool)(arg1
)->EnsureVisible(arg2
);
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18472 resultobj
= PyInt_FromLong((long)result
);
18479 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18480 PyObject
*resultobj
;
18481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18483 wxString
*arg3
= 0 ;
18484 bool arg4
= (bool) False
;
18486 bool temp3
= False
;
18487 PyObject
* obj0
= 0 ;
18488 PyObject
* obj2
= 0 ;
18489 PyObject
* obj3
= 0 ;
18490 char *kwnames
[] = {
18491 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|O:ListCtrl_FindItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
18495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18497 arg3
= wxString_in_helper(obj2
);
18498 if (arg3
== NULL
) SWIG_fail
;
18502 arg4
= PyInt_AsLong(obj3
) ? true : false;
18503 if (PyErr_Occurred()) SWIG_fail
;
18506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18507 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
18509 wxPyEndAllowThreads(__tstate
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18512 resultobj
= PyInt_FromLong((long)result
);
18527 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18533 PyObject
* obj0
= 0 ;
18534 char *kwnames
[] = {
18535 (char *) "self",(char *) "start",(char *) "data", NULL
18538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_FindItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
18544 wxPyEndAllowThreads(__tstate
);
18545 if (PyErr_Occurred()) SWIG_fail
;
18547 resultobj
= PyInt_FromLong((long)result
);
18554 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18558 wxPoint
*arg3
= 0 ;
18562 PyObject
* obj0
= 0 ;
18563 PyObject
* obj2
= 0 ;
18564 char *kwnames
[] = {
18565 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
18569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18572 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18576 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
18578 wxPyEndAllowThreads(__tstate
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18581 resultobj
= PyInt_FromLong((long)result
);
18588 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18589 PyObject
*resultobj
;
18590 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18591 wxPoint
*arg2
= 0 ;
18596 PyObject
* obj0
= 0 ;
18597 PyObject
* obj1
= 0 ;
18598 char *kwnames
[] = {
18599 (char *) "self",(char *) "point", NULL
18603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
18604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18607 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18616 resultobj
= PyInt_FromLong((long)result
);
18618 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18619 resultobj
= t_output_helper(resultobj
,o
);
18627 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18629 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18630 wxListItem
*arg2
= 0 ;
18632 PyObject
* obj0
= 0 ;
18633 PyObject
* obj1
= 0 ;
18634 char *kwnames
[] = {
18635 (char *) "self",(char *) "info", NULL
18638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18640 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18641 if (arg2
== NULL
) {
18642 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 result
= (long)(arg1
)->InsertItem(*arg2
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= PyInt_FromLong((long)result
);
18658 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
;
18660 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18662 wxString
*arg3
= 0 ;
18664 bool temp3
= False
;
18665 PyObject
* obj0
= 0 ;
18666 PyObject
* obj2
= 0 ;
18667 char *kwnames
[] = {
18668 (char *) "self",(char *) "index",(char *) "label", NULL
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18674 arg3
= wxString_in_helper(obj2
);
18675 if (arg3
== NULL
) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= PyInt_FromLong((long)result
);
18700 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18701 PyObject
*resultobj
;
18702 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18706 PyObject
* obj0
= 0 ;
18707 char *kwnames
[] = {
18708 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
18711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oli:ListCtrl_InsertImageItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18720 resultobj
= PyInt_FromLong((long)result
);
18727 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18728 PyObject
*resultobj
;
18729 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18731 wxString
*arg3
= 0 ;
18734 bool temp3
= False
;
18735 PyObject
* obj0
= 0 ;
18736 PyObject
* obj2
= 0 ;
18737 char *kwnames
[] = {
18738 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
18742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18744 arg3
= wxString_in_helper(obj2
);
18745 if (arg3
== NULL
) SWIG_fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18755 resultobj
= PyInt_FromLong((long)result
);
18770 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
;
18772 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18774 wxListItem
*arg3
= 0 ;
18776 PyObject
* obj0
= 0 ;
18777 PyObject
* obj2
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "self",(char *) "col",(char *) "info", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18784 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18785 if (arg3
== NULL
) {
18786 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18790 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18795 resultobj
= PyInt_FromLong((long)result
);
18802 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18806 wxString
*arg3
= 0 ;
18807 int arg4
= (int) wxLIST_FORMAT_LEFT
;
18808 int arg5
= (int) -1 ;
18810 bool temp3
= False
;
18811 PyObject
* obj0
= 0 ;
18812 PyObject
* obj2
= 0 ;
18813 char *kwnames
[] = {
18814 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
18817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
)) goto fail
;
18818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18820 arg3
= wxString_in_helper(obj2
);
18821 if (arg3
== NULL
) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 resultobj
= PyInt_FromLong((long)result
);
18846 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
;
18848 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18850 PyObject
* obj0
= 0 ;
18851 char *kwnames
[] = {
18852 (char *) "self",(char *) "count", NULL
18855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetItemCount",kwnames
,&obj0
,&arg2
)) goto fail
;
18856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18859 (arg1
)->SetItemCount(arg2
);
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 Py_INCREF(Py_None
); resultobj
= Py_None
;
18871 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18872 PyObject
*resultobj
;
18873 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18877 PyObject
* obj0
= 0 ;
18878 char *kwnames
[] = {
18879 (char *) "self",(char *) "dx",(char *) "dy", NULL
18882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_ScrollList",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18886 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
18888 wxPyEndAllowThreads(__tstate
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18891 resultobj
= PyInt_FromLong((long)result
);
18898 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
;
18900 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18902 wxColour
*arg3
= 0 ;
18904 PyObject
* obj0
= 0 ;
18905 PyObject
* obj2
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "self",(char *) "item",(char *) "col", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18914 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
18920 wxPyEndAllowThreads(__tstate
);
18921 if (PyErr_Occurred()) SWIG_fail
;
18923 Py_INCREF(Py_None
); resultobj
= Py_None
;
18930 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18935 PyObject
* obj0
= 0 ;
18936 char *kwnames
[] = {
18937 (char *) "self",(char *) "item", NULL
18940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
18941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
18946 wxPyEndAllowThreads(__tstate
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18950 wxColour
* resultptr
;
18951 resultptr
= new wxColour((wxColour
&) result
);
18952 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18960 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18964 wxColour
*arg3
= 0 ;
18966 PyObject
* obj0
= 0 ;
18967 PyObject
* obj2
= 0 ;
18968 char *kwnames
[] = {
18969 (char *) "self",(char *) "item",(char *) "col", NULL
18972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18976 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18980 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18985 Py_INCREF(Py_None
); resultobj
= Py_None
;
18992 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
;
18994 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18997 PyObject
* obj0
= 0 ;
18998 char *kwnames
[] = {
18999 (char *) "self",(char *) "item", NULL
19002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19006 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
19008 wxPyEndAllowThreads(__tstate
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19012 wxColour
* resultptr
;
19013 resultptr
= new wxColour((wxColour
&) result
);
19014 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19022 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19025 PyObject
*arg2
= (PyObject
*) 0 ;
19027 PyObject
* obj0
= 0 ;
19028 PyObject
* obj1
= 0 ;
19029 char *kwnames
[] = {
19030 (char *) "self",(char *) "func", NULL
19033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
19034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19043 resultobj
= PyInt_FromLong((long)result
);
19050 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19051 PyObject
*resultobj
;
19052 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19054 PyObject
* obj0
= 0 ;
19055 char *kwnames
[] = {
19056 (char *) "self", NULL
19059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
19060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19063 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19069 resultobj
= wxPyMake_wxObject(result
);
19077 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
19079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19080 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
19082 return Py_BuildValue((char *)"");
19084 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19085 PyObject
*resultobj
;
19086 wxWindow
*arg1
= (wxWindow
*) 0 ;
19087 int arg2
= (int) -1 ;
19088 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19089 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19090 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19091 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19092 long arg5
= (long) wxLC_REPORT
;
19093 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19094 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19095 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19096 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19097 wxListView
*result
;
19100 bool temp7
= False
;
19101 PyObject
* obj0
= 0 ;
19102 PyObject
* obj2
= 0 ;
19103 PyObject
* obj3
= 0 ;
19104 PyObject
* obj5
= 0 ;
19105 PyObject
* obj6
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListView",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
19111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19115 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19121 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19125 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19126 if (arg6
== NULL
) {
19127 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19132 arg7
= wxString_in_helper(obj6
);
19133 if (arg7
== NULL
) SWIG_fail
;
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19159 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19161 wxListView
*result
;
19162 char *kwnames
[] = {
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 result
= (wxListView
*)new wxListView();
19171 wxPyEndAllowThreads(__tstate
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19174 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19181 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19183 wxListView
*arg1
= (wxListView
*) 0 ;
19184 wxWindow
*arg2
= (wxWindow
*) 0 ;
19185 int arg3
= (int) -1 ;
19186 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19187 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19188 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19189 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19190 long arg6
= (long) wxLC_REPORT
;
19191 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19192 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19193 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19194 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19198 bool temp8
= False
;
19199 PyObject
* obj0
= 0 ;
19200 PyObject
* obj1
= 0 ;
19201 PyObject
* obj3
= 0 ;
19202 PyObject
* obj4
= 0 ;
19203 PyObject
* obj6
= 0 ;
19204 PyObject
* obj7
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListView_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
19210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19211 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19215 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19221 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19225 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19226 if (arg7
== NULL
) {
19227 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19232 arg8
= wxString_in_helper(obj7
);
19233 if (arg8
== NULL
) SWIG_fail
;
19238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19239 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19244 resultobj
= PyInt_FromLong((long)result
);
19259 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19260 PyObject
*resultobj
;
19261 wxListView
*arg1
= (wxListView
*) 0 ;
19263 bool arg3
= (bool) True
;
19264 PyObject
* obj0
= 0 ;
19265 PyObject
* obj2
= 0 ;
19266 char *kwnames
[] = {
19267 (char *) "self",(char *) "n",(char *) "on", NULL
19270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListView_Select",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19273 arg3
= PyInt_AsLong(obj2
) ? true : false;
19274 if (PyErr_Occurred()) SWIG_fail
;
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 (arg1
)->Select(arg2
,arg3
);
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19283 Py_INCREF(Py_None
); resultobj
= Py_None
;
19290 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
;
19292 wxListView
*arg1
= (wxListView
*) 0 ;
19294 PyObject
* obj0
= 0 ;
19295 char *kwnames
[] = {
19296 (char *) "self",(char *) "index", NULL
19299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_Focus",kwnames
,&obj0
,&arg2
)) goto fail
;
19300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 (arg1
)->Focus(arg2
);
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 Py_INCREF(Py_None
); resultobj
= Py_None
;
19315 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxListView
*arg1
= (wxListView
*) 0 ;
19319 PyObject
* obj0
= 0 ;
19320 char *kwnames
[] = {
19321 (char *) "self", NULL
19324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
19325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19333 resultobj
= PyInt_FromLong((long)result
);
19340 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
;
19342 wxListView
*arg1
= (wxListView
*) 0 ;
19345 PyObject
* obj0
= 0 ;
19346 char *kwnames
[] = {
19347 (char *) "self",(char *) "item", NULL
19350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_GetNextSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
19351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 resultobj
= PyInt_FromLong((long)result
);
19366 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxListView
*arg1
= (wxListView
*) 0 ;
19370 PyObject
* obj0
= 0 ;
19371 char *kwnames
[] = {
19372 (char *) "self", NULL
19375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
19376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
19381 wxPyEndAllowThreads(__tstate
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19384 resultobj
= PyInt_FromLong((long)result
);
19391 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
;
19393 wxListView
*arg1
= (wxListView
*) 0 ;
19396 PyObject
* obj0
= 0 ;
19397 char *kwnames
[] = {
19398 (char *) "self",(char *) "index", NULL
19401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
19402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19405 result
= (bool)(arg1
)->IsSelected(arg2
);
19407 wxPyEndAllowThreads(__tstate
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19410 resultobj
= PyInt_FromLong((long)result
);
19417 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19418 PyObject
*resultobj
;
19419 wxListView
*arg1
= (wxListView
*) 0 ;
19422 PyObject
* obj0
= 0 ;
19423 char *kwnames
[] = {
19424 (char *) "self",(char *) "col",(char *) "image", NULL
19427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListView_SetColumnImage",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19431 (arg1
)->SetColumnImage(arg2
,arg3
);
19433 wxPyEndAllowThreads(__tstate
);
19434 if (PyErr_Occurred()) SWIG_fail
;
19436 Py_INCREF(Py_None
); resultobj
= Py_None
;
19443 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19445 wxListView
*arg1
= (wxListView
*) 0 ;
19447 PyObject
* obj0
= 0 ;
19448 char *kwnames
[] = {
19449 (char *) "self",(char *) "col", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListView_ClearColumnImage",kwnames
,&obj0
,&arg2
)) goto fail
;
19453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 (arg1
)->ClearColumnImage(arg2
);
19458 wxPyEndAllowThreads(__tstate
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19461 Py_INCREF(Py_None
); resultobj
= Py_None
;
19468 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
19470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19471 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
19473 return Py_BuildValue((char *)"");
19475 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19476 PyObject
*resultobj
;
19477 wxTreeItemId
*result
;
19478 char *kwnames
[] = {
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 result
= (wxTreeItemId
*)new wxTreeItemId();
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
19497 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
;
19499 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19500 PyObject
* obj0
= 0 ;
19501 char *kwnames
[] = {
19502 (char *) "self", NULL
19505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
19506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 wxPyEndAllowThreads(__tstate
);
19512 if (PyErr_Occurred()) SWIG_fail
;
19514 Py_INCREF(Py_None
); resultobj
= Py_None
;
19521 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19522 PyObject
*resultobj
;
19523 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19525 PyObject
* obj0
= 0 ;
19526 char *kwnames
[] = {
19527 (char *) "self", NULL
19530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
19531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19539 resultobj
= PyInt_FromLong((long)result
);
19546 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19547 PyObject
*resultobj
;
19548 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19549 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
19551 PyObject
* obj0
= 0 ;
19552 PyObject
* obj1
= 0 ;
19553 char *kwnames
[] = {
19554 (char *) "self",(char *) "other", NULL
19557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
19558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19559 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19567 resultobj
= PyInt_FromLong((long)result
);
19574 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19575 PyObject
*resultobj
;
19576 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19577 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
19579 PyObject
* obj0
= 0 ;
19580 PyObject
* obj1
= 0 ;
19581 char *kwnames
[] = {
19582 (char *) "self",(char *) "other", NULL
19585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
19586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19587 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= PyInt_FromLong((long)result
);
19602 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19605 wxTreeItemIdValue arg2
= (wxTreeItemIdValue
) 0 ;
19606 PyObject
* obj0
= 0 ;
19607 PyObject
* obj1
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self",(char *) "m_pItem", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19614 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
19615 if (arg1
) (arg1
)->m_pItem
= arg2
;
19617 Py_INCREF(Py_None
); resultobj
= Py_None
;
19624 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
;
19626 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19627 wxTreeItemIdValue result
;
19628 PyObject
* obj0
= 0 ;
19629 char *kwnames
[] = {
19630 (char *) "self", NULL
19633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
19634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19635 result
= (wxTreeItemIdValue
) ((arg1
)->m_pItem
);
19637 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_wxTreeItemIdValue
, 0);
19644 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
19646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19647 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
19649 return Py_BuildValue((char *)"");
19651 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19652 PyObject
*resultobj
;
19653 PyObject
*arg1
= (PyObject
*) NULL
;
19654 wxPyTreeItemData
*result
;
19655 PyObject
* obj0
= 0 ;
19656 char *kwnames
[] = {
19657 (char *) "obj", NULL
19660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
19678 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
;
19680 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
19682 PyObject
* obj0
= 0 ;
19683 char *kwnames
[] = {
19684 (char *) "self", NULL
19687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
19688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19691 result
= (PyObject
*)(arg1
)->GetData();
19693 wxPyEndAllowThreads(__tstate
);
19694 if (PyErr_Occurred()) SWIG_fail
;
19696 resultobj
= result
;
19703 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19704 PyObject
*resultobj
;
19705 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
19706 PyObject
*arg2
= (PyObject
*) 0 ;
19707 PyObject
* obj0
= 0 ;
19708 PyObject
* obj1
= 0 ;
19709 char *kwnames
[] = {
19710 (char *) "self",(char *) "obj", NULL
19713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 (arg1
)->SetData(arg2
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 Py_INCREF(Py_None
); resultobj
= Py_None
;
19730 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
;
19732 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
19733 wxTreeItemId
*result
;
19734 PyObject
* obj0
= 0 ;
19735 char *kwnames
[] = {
19736 (char *) "self", NULL
19739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
19740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
19745 result
= (wxTreeItemId
*) &_result_ref
;
19748 wxPyEndAllowThreads(__tstate
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19751 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
19758 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
;
19760 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
19761 wxTreeItemId
*arg2
= 0 ;
19762 PyObject
* obj0
= 0 ;
19763 PyObject
* obj1
= 0 ;
19764 char *kwnames
[] = {
19765 (char *) "self",(char *) "id", NULL
19768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19770 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19771 if (arg2
== NULL
) {
19772 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19776 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19781 Py_INCREF(Py_None
); resultobj
= Py_None
;
19788 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19789 PyObject
*resultobj
;
19790 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
19791 PyObject
* obj0
= 0 ;
19792 char *kwnames
[] = {
19793 (char *) "self", NULL
19796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
19797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 wxPyTreeItemData_Destroy(arg1
);
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 Py_INCREF(Py_None
); resultobj
= Py_None
;
19812 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
19814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19815 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
19817 return Py_BuildValue((char *)"");
19819 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
;
19821 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19822 int arg2
= (int) 0 ;
19823 wxTreeEvent
*result
;
19824 char *kwnames
[] = {
19825 (char *) "commandType",(char *) "id", NULL
19828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TreeEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19836 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
19843 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19844 PyObject
*resultobj
;
19845 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
19846 wxTreeItemId result
;
19847 PyObject
* obj0
= 0 ;
19848 char *kwnames
[] = {
19849 (char *) "self", NULL
19852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
19858 wxPyEndAllowThreads(__tstate
);
19859 if (PyErr_Occurred()) SWIG_fail
;
19862 wxTreeItemId
* resultptr
;
19863 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
19864 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
19872 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
;
19874 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
19875 wxTreeItemId
*arg2
= 0 ;
19876 PyObject
* obj0
= 0 ;
19877 PyObject
* obj1
= 0 ;
19878 char *kwnames
[] = {
19879 (char *) "self",(char *) "item", NULL
19882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19884 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19885 if (arg2
== NULL
) {
19886 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19895 Py_INCREF(Py_None
); resultobj
= Py_None
;
19902 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
19905 wxTreeItemId result
;
19906 PyObject
* obj0
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
19912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
19917 wxPyEndAllowThreads(__tstate
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19921 wxTreeItemId
* resultptr
;
19922 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
19923 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
19931 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
;
19933 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
19934 wxTreeItemId
*arg2
= 0 ;
19935 PyObject
* obj0
= 0 ;
19936 PyObject
* obj1
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self",(char *) "item", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19943 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19944 if (arg2
== NULL
) {
19945 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 Py_INCREF(Py_None
); resultobj
= Py_None
;
19961 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 char *kwnames
[] = {
19967 (char *) "self", NULL
19970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19974 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
19976 wxPyEndAllowThreads(__tstate
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19980 wxPoint
* resultptr
;
19981 resultptr
= new wxPoint((wxPoint
&) result
);
19982 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19990 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
19993 wxPoint
*arg2
= 0 ;
19995 PyObject
* obj0
= 0 ;
19996 PyObject
* obj1
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self",(char *) "pt", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
20002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20005 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20009 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
20011 wxPyEndAllowThreads(__tstate
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20014 Py_INCREF(Py_None
); resultobj
= Py_None
;
20021 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
;
20023 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20024 wxKeyEvent
*result
;
20025 PyObject
* obj0
= 0 ;
20026 char *kwnames
[] = {
20027 (char *) "self", NULL
20030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
20031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20035 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
20036 result
= (wxKeyEvent
*) &_result_ref
;
20039 wxPyEndAllowThreads(__tstate
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
20049 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20050 PyObject
*resultobj
;
20051 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20053 PyObject
* obj0
= 0 ;
20054 char *kwnames
[] = {
20055 (char *) "self", NULL
20058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20067 resultobj
= PyInt_FromLong((long)result
);
20074 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20075 PyObject
*resultobj
;
20076 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20077 wxKeyEvent
*arg2
= 0 ;
20078 PyObject
* obj0
= 0 ;
20079 PyObject
* obj1
= 0 ;
20080 char *kwnames
[] = {
20081 (char *) "self",(char *) "evt", NULL
20084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20086 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20087 if (arg2
== NULL
) {
20088 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
20094 wxPyEndAllowThreads(__tstate
);
20095 if (PyErr_Occurred()) SWIG_fail
;
20097 Py_INCREF(Py_None
); resultobj
= Py_None
;
20104 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20105 PyObject
*resultobj
;
20106 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20108 PyObject
* obj0
= 0 ;
20109 char *kwnames
[] = {
20110 (char *) "self", NULL
20113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20118 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
20119 result
= (wxString
*) &_result_ref
;
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20127 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20129 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20138 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20139 PyObject
*resultobj
;
20140 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20141 wxString
*arg2
= 0 ;
20142 bool temp2
= False
;
20143 PyObject
* obj0
= 0 ;
20144 PyObject
* obj1
= 0 ;
20145 char *kwnames
[] = {
20146 (char *) "self",(char *) "label", NULL
20149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20152 arg2
= wxString_in_helper(obj1
);
20153 if (arg2
== NULL
) SWIG_fail
;
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 (arg1
)->SetLabel((wxString
const &)*arg2
);
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 Py_INCREF(Py_None
); resultobj
= Py_None
;
20178 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
;
20180 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20182 PyObject
* obj0
= 0 ;
20183 char *kwnames
[] = {
20184 (char *) "self", NULL
20187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= PyInt_FromLong((long)result
);
20203 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20205 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20207 PyObject
* obj0
= 0 ;
20208 PyObject
* obj1
= 0 ;
20209 char *kwnames
[] = {
20210 (char *) "self",(char *) "editCancelled", NULL
20213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20215 arg2
= PyInt_AsLong(obj1
) ? true : false;
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 (arg1
)->SetEditCanceled(arg2
);
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 Py_INCREF(Py_None
); resultobj
= Py_None
;
20231 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
;
20233 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20234 wxString
*arg2
= 0 ;
20235 bool temp2
= False
;
20236 PyObject
* obj0
= 0 ;
20237 PyObject
* obj1
= 0 ;
20238 char *kwnames
[] = {
20239 (char *) "self",(char *) "toolTip", NULL
20242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
20243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20245 arg2
= wxString_in_helper(obj1
);
20246 if (arg2
== NULL
) SWIG_fail
;
20250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20251 (arg1
)->SetToolTip((wxString
const &)*arg2
);
20253 wxPyEndAllowThreads(__tstate
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20256 Py_INCREF(Py_None
); resultobj
= Py_None
;
20271 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20274 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
20276 return Py_BuildValue((char *)"");
20278 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20279 PyObject
*resultobj
;
20280 wxWindow
*arg1
= (wxWindow
*) 0 ;
20281 int arg2
= (int) -1 ;
20282 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20283 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20284 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20285 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20286 long arg5
= (long) wxTR_DEFAULT_STYLE
;
20287 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20288 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20289 wxString
const &arg7_defvalue
= wxPy_TreeCtrlNameStr
;
20290 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20291 wxPyTreeCtrl
*result
;
20294 bool temp7
= False
;
20295 PyObject
* obj0
= 0 ;
20296 PyObject
* obj2
= 0 ;
20297 PyObject
* obj3
= 0 ;
20298 PyObject
* obj5
= 0 ;
20299 PyObject
* obj6
= 0 ;
20300 char *kwnames
[] = {
20301 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_TreeCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
20305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20309 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20315 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20319 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20320 if (arg6
== NULL
) {
20321 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20326 arg7
= wxString_in_helper(obj6
);
20327 if (arg7
== NULL
) SWIG_fail
;
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20338 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeCtrl
, 1);
20353 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20354 PyObject
*resultobj
;
20355 wxPyTreeCtrl
*result
;
20356 char *kwnames
[] = {
20360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeCtrl
, 1);
20375 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
;
20377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20378 wxWindow
*arg2
= (wxWindow
*) 0 ;
20379 int arg3
= (int) -1 ;
20380 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20381 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20382 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20383 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20384 long arg6
= (long) wxTR_DEFAULT_STYLE
;
20385 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20386 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20387 wxString
const &arg8_defvalue
= wxPy_TreeCtrlNameStr
;
20388 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20392 bool temp8
= False
;
20393 PyObject
* obj0
= 0 ;
20394 PyObject
* obj1
= 0 ;
20395 PyObject
* obj3
= 0 ;
20396 PyObject
* obj4
= 0 ;
20397 PyObject
* obj6
= 0 ;
20398 PyObject
* obj7
= 0 ;
20399 char *kwnames
[] = {
20400 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
20404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20405 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20409 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20415 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20419 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20420 if (arg7
== NULL
) {
20421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20426 arg8
= wxString_in_helper(obj7
);
20427 if (arg8
== NULL
) SWIG_fail
;
20432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20433 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20435 wxPyEndAllowThreads(__tstate
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20438 resultobj
= PyInt_FromLong((long)result
);
20453 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20454 PyObject
*resultobj
;
20455 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20456 PyObject
*arg2
= (PyObject
*) 0 ;
20457 PyObject
*arg3
= (PyObject
*) 0 ;
20458 PyObject
* obj0
= 0 ;
20459 PyObject
* obj1
= 0 ;
20460 PyObject
* obj2
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self",(char *) "self",(char *) "_class", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20471 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20473 wxPyEndAllowThreads(__tstate
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20476 Py_INCREF(Py_None
); resultobj
= Py_None
;
20483 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20484 PyObject
*resultobj
;
20485 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20487 PyObject
* obj0
= 0 ;
20488 char *kwnames
[] = {
20489 (char *) "self", NULL
20492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
20493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
20498 wxPyEndAllowThreads(__tstate
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20501 resultobj
= PyInt_FromLong((long)result
);
20508 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20509 PyObject
*resultobj
;
20510 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20511 unsigned int result
;
20512 PyObject
* obj0
= 0 ;
20513 char *kwnames
[] = {
20514 (char *) "self", NULL
20517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
20518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20526 resultobj
= PyInt_FromLong((long)result
);
20533 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20534 PyObject
*resultobj
;
20535 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20536 unsigned int arg2
;
20537 PyObject
* obj0
= 0 ;
20538 PyObject
* obj1
= 0 ;
20539 char *kwnames
[] = {
20540 (char *) "self",(char *) "indent", NULL
20543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
20544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20545 arg2
= (unsigned int) PyInt_AsLong(obj1
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 (arg1
)->SetIndent(arg2
);
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20554 Py_INCREF(Py_None
); resultobj
= Py_None
;
20561 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20562 PyObject
*resultobj
;
20563 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20564 unsigned int result
;
20565 PyObject
* obj0
= 0 ;
20566 char *kwnames
[] = {
20567 (char *) "self", NULL
20570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
20571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20579 resultobj
= PyInt_FromLong((long)result
);
20586 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20587 PyObject
*resultobj
;
20588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20589 unsigned int arg2
;
20590 PyObject
* obj0
= 0 ;
20591 PyObject
* obj1
= 0 ;
20592 char *kwnames
[] = {
20593 (char *) "self",(char *) "spacing", NULL
20596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
20597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20598 arg2
= (unsigned int) PyInt_AsLong(obj1
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 (arg1
)->SetSpacing(arg2
);
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20607 Py_INCREF(Py_None
); resultobj
= Py_None
;
20614 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
;
20616 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20617 wxImageList
*result
;
20618 PyObject
* obj0
= 0 ;
20619 char *kwnames
[] = {
20620 (char *) "self", NULL
20623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
20624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= wxPyMake_wxObject(result
);
20641 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
;
20643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20644 wxImageList
*result
;
20645 PyObject
* obj0
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "self", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
20651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20654 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20660 resultobj
= wxPyMake_wxObject(result
);
20668 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20669 PyObject
*resultobj
;
20670 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20671 wxImageList
*arg2
= (wxImageList
*) 0 ;
20672 PyObject
* obj0
= 0 ;
20673 PyObject
* obj1
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "self",(char *) "imageList", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20680 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 (arg1
)->SetImageList(arg2
);
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20688 Py_INCREF(Py_None
); resultobj
= Py_None
;
20695 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20696 PyObject
*resultobj
;
20697 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20698 wxImageList
*arg2
= (wxImageList
*) 0 ;
20699 PyObject
* obj0
= 0 ;
20700 PyObject
* obj1
= 0 ;
20701 char *kwnames
[] = {
20702 (char *) "self",(char *) "imageList", NULL
20705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20707 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 (arg1
)->SetStateImageList(arg2
);
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 Py_INCREF(Py_None
); resultobj
= Py_None
;
20722 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20723 PyObject
*resultobj
;
20724 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20725 wxImageList
*arg2
= (wxImageList
*) 0 ;
20726 PyObject
* obj0
= 0 ;
20727 PyObject
* obj1
= 0 ;
20728 char *kwnames
[] = {
20729 (char *) "self",(char *) "imageList", NULL
20732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20734 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20737 (arg1
)->AssignImageList(arg2
);
20739 wxPyEndAllowThreads(__tstate
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20742 Py_INCREF(Py_None
); resultobj
= Py_None
;
20749 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20750 PyObject
*resultobj
;
20751 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20752 wxImageList
*arg2
= (wxImageList
*) 0 ;
20753 PyObject
* obj0
= 0 ;
20754 PyObject
* obj1
= 0 ;
20755 char *kwnames
[] = {
20756 (char *) "self",(char *) "imageList", NULL
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20761 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 (arg1
)->AssignStateImageList(arg2
);
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 Py_INCREF(Py_None
); resultobj
= Py_None
;
20776 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
;
20778 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20779 wxTreeItemId
*arg2
= 0 ;
20781 PyObject
* obj0
= 0 ;
20782 PyObject
* obj1
= 0 ;
20783 char *kwnames
[] = {
20784 (char *) "self",(char *) "item", NULL
20787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20789 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20790 if (arg2
== NULL
) {
20791 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20795 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
20797 wxPyEndAllowThreads(__tstate
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20813 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20816 wxTreeItemId
*arg2
= 0 ;
20817 int arg3
= (int) wxTreeItemIcon_Normal
;
20819 PyObject
* obj0
= 0 ;
20820 PyObject
* obj1
= 0 ;
20821 char *kwnames
[] = {
20822 (char *) "self",(char *) "item",(char *) "which", NULL
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
20826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20827 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20828 if (arg2
== NULL
) {
20829 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20833 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
20835 wxPyEndAllowThreads(__tstate
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20838 resultobj
= PyInt_FromLong((long)result
);
20845 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20846 PyObject
*resultobj
;
20847 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20848 wxTreeItemId
*arg2
= 0 ;
20849 wxPyTreeItemData
*result
;
20850 PyObject
* obj0
= 0 ;
20851 PyObject
* obj1
= 0 ;
20852 char *kwnames
[] = {
20853 (char *) "self",(char *) "item", NULL
20856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20858 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20859 if (arg2
== NULL
) {
20860 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
20866 wxPyEndAllowThreads(__tstate
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20869 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
20876 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20877 PyObject
*resultobj
;
20878 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20879 wxTreeItemId
*arg2
= 0 ;
20881 PyObject
* obj0
= 0 ;
20882 PyObject
* obj1
= 0 ;
20883 char *kwnames
[] = {
20884 (char *) "self",(char *) "item", NULL
20887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
20888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20889 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20890 if (arg2
== NULL
) {
20891 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 resultobj
= result
;
20907 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20909 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20910 wxTreeItemId
*arg2
= 0 ;
20912 PyObject
* obj0
= 0 ;
20913 PyObject
* obj1
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "self",(char *) "item", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",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_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20921 if (arg2
== NULL
) {
20922 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20932 wxColour
* resultptr
;
20933 resultptr
= new wxColour((wxColour
&) result
);
20934 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
20942 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20944 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20945 wxTreeItemId
*arg2
= 0 ;
20947 PyObject
* obj0
= 0 ;
20948 PyObject
* obj1
= 0 ;
20949 char *kwnames
[] = {
20950 (char *) "self",(char *) "item", NULL
20953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20956 if (arg2
== NULL
) {
20957 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20961 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20967 wxColour
* resultptr
;
20968 resultptr
= new wxColour((wxColour
&) result
);
20969 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
20977 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20978 PyObject
*resultobj
;
20979 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20980 wxTreeItemId
*arg2
= 0 ;
20982 PyObject
* obj0
= 0 ;
20983 PyObject
* obj1
= 0 ;
20984 char *kwnames
[] = {
20985 (char *) "self",(char *) "item", NULL
20988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20990 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20991 if (arg2
== NULL
) {
20992 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21002 wxFont
* resultptr
;
21003 resultptr
= new wxFont((wxFont
&) result
);
21004 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
21012 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21013 PyObject
*resultobj
;
21014 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21015 wxTreeItemId
*arg2
= 0 ;
21016 wxString
*arg3
= 0 ;
21017 bool temp3
= False
;
21018 PyObject
* obj0
= 0 ;
21019 PyObject
* obj1
= 0 ;
21020 PyObject
* obj2
= 0 ;
21021 char *kwnames
[] = {
21022 (char *) "self",(char *) "item",(char *) "text", NULL
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21027 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21028 if (arg2
== NULL
) {
21029 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21032 arg3
= wxString_in_helper(obj2
);
21033 if (arg3
== NULL
) SWIG_fail
;
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
21040 wxPyEndAllowThreads(__tstate
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21043 Py_INCREF(Py_None
); resultobj
= Py_None
;
21058 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21059 PyObject
*resultobj
;
21060 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21061 wxTreeItemId
*arg2
= 0 ;
21063 int arg4
= (int) wxTreeItemIcon_Normal
;
21064 PyObject
* obj0
= 0 ;
21065 PyObject
* obj1
= 0 ;
21066 char *kwnames
[] = {
21067 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
21071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21073 if (arg2
== NULL
) {
21074 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21078 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
21080 wxPyEndAllowThreads(__tstate
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21083 Py_INCREF(Py_None
); resultobj
= Py_None
;
21090 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21091 PyObject
*resultobj
;
21092 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21093 wxTreeItemId
*arg2
= 0 ;
21094 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
21095 PyObject
* obj0
= 0 ;
21096 PyObject
* obj1
= 0 ;
21097 PyObject
* obj2
= 0 ;
21098 char *kwnames
[] = {
21099 (char *) "self",(char *) "item",(char *) "data", NULL
21102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21104 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21105 if (arg2
== NULL
) {
21106 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21108 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21111 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21113 wxPyEndAllowThreads(__tstate
);
21114 if (PyErr_Occurred()) SWIG_fail
;
21116 Py_INCREF(Py_None
); resultobj
= Py_None
;
21123 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21124 PyObject
*resultobj
;
21125 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21126 wxTreeItemId
*arg2
= 0 ;
21127 PyObject
*arg3
= (PyObject
*) 0 ;
21128 PyObject
* obj0
= 0 ;
21129 PyObject
* obj1
= 0 ;
21130 PyObject
* obj2
= 0 ;
21131 char *kwnames
[] = {
21132 (char *) "self",(char *) "item",(char *) "obj", NULL
21135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21137 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21138 if (arg2
== NULL
) {
21139 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21149 Py_INCREF(Py_None
); resultobj
= Py_None
;
21156 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21157 PyObject
*resultobj
;
21158 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21159 wxTreeItemId
*arg2
= 0 ;
21160 bool arg3
= (bool) True
;
21161 PyObject
* obj0
= 0 ;
21162 PyObject
* obj1
= 0 ;
21163 PyObject
* obj2
= 0 ;
21164 char *kwnames
[] = {
21165 (char *) "self",(char *) "item",(char *) "has", NULL
21168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21170 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21171 if (arg2
== NULL
) {
21172 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21175 arg3
= PyInt_AsLong(obj2
) ? true : false;
21176 if (PyErr_Occurred()) SWIG_fail
;
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
21182 wxPyEndAllowThreads(__tstate
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21185 Py_INCREF(Py_None
); resultobj
= Py_None
;
21192 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21193 PyObject
*resultobj
;
21194 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21195 wxTreeItemId
*arg2
= 0 ;
21196 bool arg3
= (bool) True
;
21197 PyObject
* obj0
= 0 ;
21198 PyObject
* obj1
= 0 ;
21199 PyObject
* obj2
= 0 ;
21200 char *kwnames
[] = {
21201 (char *) "self",(char *) "item",(char *) "bold", NULL
21204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21206 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21207 if (arg2
== NULL
) {
21208 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21211 arg3
= PyInt_AsLong(obj2
) ? true : false;
21212 if (PyErr_Occurred()) SWIG_fail
;
21215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21216 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
21218 wxPyEndAllowThreads(__tstate
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21221 Py_INCREF(Py_None
); resultobj
= Py_None
;
21228 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21229 PyObject
*resultobj
;
21230 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21231 wxTreeItemId
*arg2
= 0 ;
21232 wxColour
*arg3
= 0 ;
21234 PyObject
* obj0
= 0 ;
21235 PyObject
* obj1
= 0 ;
21236 PyObject
* obj2
= 0 ;
21237 char *kwnames
[] = {
21238 (char *) "self",(char *) "item",(char *) "col", NULL
21241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21243 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21244 if (arg2
== NULL
) {
21245 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21249 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21253 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21258 Py_INCREF(Py_None
); resultobj
= Py_None
;
21265 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
;
21267 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21268 wxTreeItemId
*arg2
= 0 ;
21269 wxColour
*arg3
= 0 ;
21271 PyObject
* obj0
= 0 ;
21272 PyObject
* obj1
= 0 ;
21273 PyObject
* obj2
= 0 ;
21274 char *kwnames
[] = {
21275 (char *) "self",(char *) "item",(char *) "col", NULL
21278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21280 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21281 if (arg2
== NULL
) {
21282 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21286 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21295 Py_INCREF(Py_None
); resultobj
= Py_None
;
21302 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21303 PyObject
*resultobj
;
21304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21305 wxTreeItemId
*arg2
= 0 ;
21307 PyObject
* obj0
= 0 ;
21308 PyObject
* obj1
= 0 ;
21309 PyObject
* obj2
= 0 ;
21310 char *kwnames
[] = {
21311 (char *) "self",(char *) "item",(char *) "font", NULL
21314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21316 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21317 if (arg2
== NULL
) {
21318 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21320 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21321 if (arg3
== NULL
) {
21322 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 Py_INCREF(Py_None
); resultobj
= Py_None
;
21338 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21341 wxTreeItemId
*arg2
= 0 ;
21343 PyObject
* obj0
= 0 ;
21344 PyObject
* obj1
= 0 ;
21345 char *kwnames
[] = {
21346 (char *) "self",(char *) "item", NULL
21349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21351 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21352 if (arg2
== NULL
) {
21353 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21362 resultobj
= PyInt_FromLong((long)result
);
21369 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21370 PyObject
*resultobj
;
21371 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21372 wxTreeItemId
*arg2
= 0 ;
21374 PyObject
* obj0
= 0 ;
21375 PyObject
* obj1
= 0 ;
21376 char *kwnames
[] = {
21377 (char *) "self",(char *) "item", NULL
21380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
21381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21382 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21383 if (arg2
== NULL
) {
21384 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21388 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
21390 wxPyEndAllowThreads(__tstate
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21393 resultobj
= PyInt_FromLong((long)result
);
21400 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21401 PyObject
*resultobj
;
21402 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21403 wxTreeItemId
*arg2
= 0 ;
21405 PyObject
* obj0
= 0 ;
21406 PyObject
* obj1
= 0 ;
21407 char *kwnames
[] = {
21408 (char *) "self",(char *) "item", NULL
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
21412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21413 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21414 if (arg2
== NULL
) {
21415 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21424 resultobj
= PyInt_FromLong((long)result
);
21431 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21432 PyObject
*resultobj
;
21433 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21434 wxTreeItemId
*arg2
= 0 ;
21436 PyObject
* obj0
= 0 ;
21437 PyObject
* obj1
= 0 ;
21438 char *kwnames
[] = {
21439 (char *) "self",(char *) "item", NULL
21442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
21443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21444 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21445 if (arg2
== NULL
) {
21446 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21450 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
21452 wxPyEndAllowThreads(__tstate
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21455 resultobj
= PyInt_FromLong((long)result
);
21462 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
;
21464 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21465 wxTreeItemId
*arg2
= 0 ;
21467 PyObject
* obj0
= 0 ;
21468 PyObject
* obj1
= 0 ;
21469 char *kwnames
[] = {
21470 (char *) "self",(char *) "item", NULL
21473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) 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
;
21480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 resultobj
= PyInt_FromLong((long)result
);
21493 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
;
21495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21496 wxTreeItemId
*arg2
= 0 ;
21497 bool arg3
= (bool) True
;
21499 PyObject
* obj0
= 0 ;
21500 PyObject
* obj1
= 0 ;
21501 PyObject
* obj2
= 0 ;
21502 char *kwnames
[] = {
21503 (char *) "self",(char *) "item",(char *) "recursively", NULL
21506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21508 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21509 if (arg2
== NULL
) {
21510 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21513 arg3
= PyInt_AsLong(obj2
) ? true : false;
21514 if (PyErr_Occurred()) SWIG_fail
;
21517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21518 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
21520 wxPyEndAllowThreads(__tstate
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21523 resultobj
= PyInt_FromLong((long)result
);
21530 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21533 wxTreeItemId result
;
21534 PyObject
* obj0
= 0 ;
21535 char *kwnames
[] = {
21536 (char *) "self", NULL
21539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
21540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21549 wxTreeItemId
* resultptr
;
21550 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21551 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21559 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
;
21561 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21562 wxTreeItemId result
;
21563 PyObject
* obj0
= 0 ;
21564 char *kwnames
[] = {
21565 (char *) "self", NULL
21568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
21569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21578 wxTreeItemId
* resultptr
;
21579 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21580 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21588 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21589 PyObject
*resultobj
;
21590 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21592 PyObject
* obj0
= 0 ;
21593 char *kwnames
[] = {
21594 (char *) "self", NULL
21597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
21598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
21603 wxPyEndAllowThreads(__tstate
);
21604 if (PyErr_Occurred()) SWIG_fail
;
21606 resultobj
= result
;
21613 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
;
21615 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21616 wxTreeItemId
*arg2
= 0 ;
21617 wxTreeItemId result
;
21618 PyObject
* obj0
= 0 ;
21619 PyObject
* obj1
= 0 ;
21620 char *kwnames
[] = {
21621 (char *) "self",(char *) "item", NULL
21624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
21625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21626 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21627 if (arg2
== NULL
) {
21628 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21638 wxTreeItemId
* resultptr
;
21639 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21640 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21648 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
;
21650 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21651 wxTreeItemId
*arg2
= 0 ;
21653 PyObject
* obj0
= 0 ;
21654 PyObject
* obj1
= 0 ;
21655 char *kwnames
[] = {
21656 (char *) "self",(char *) "item", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21661 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21662 if (arg2
== NULL
) {
21663 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21667 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
21669 wxPyEndAllowThreads(__tstate
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21672 resultobj
= result
;
21679 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
;
21681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21682 wxTreeItemId
*arg2
= 0 ;
21683 wxTreeItemIdValue
*arg3
= 0 ;
21685 PyObject
* obj0
= 0 ;
21686 PyObject
* obj1
= 0 ;
21687 PyObject
* obj2
= 0 ;
21688 char *kwnames
[] = {
21689 (char *) "self",(char *) "item",(char *) "cookie", NULL
21692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21694 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21695 if (arg2
== NULL
) {
21696 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21698 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemIdValue
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21699 if (arg3
== NULL
) {
21700 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,*arg3
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= result
;
21716 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
;
21718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21719 wxTreeItemId
*arg2
= 0 ;
21720 wxTreeItemId result
;
21721 PyObject
* obj0
= 0 ;
21722 PyObject
* obj1
= 0 ;
21723 char *kwnames
[] = {
21724 (char *) "self",(char *) "item", NULL
21727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21729 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21730 if (arg2
== NULL
) {
21731 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21735 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21741 wxTreeItemId
* resultptr
;
21742 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21743 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21751 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
;
21753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21754 wxTreeItemId
*arg2
= 0 ;
21755 wxTreeItemId result
;
21756 PyObject
* obj0
= 0 ;
21757 PyObject
* obj1
= 0 ;
21758 char *kwnames
[] = {
21759 (char *) "self",(char *) "item", NULL
21762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
21763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21765 if (arg2
== NULL
) {
21766 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21776 wxTreeItemId
* resultptr
;
21777 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21778 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21786 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21789 wxTreeItemId
*arg2
= 0 ;
21790 wxTreeItemId result
;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self",(char *) "item", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
21798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21799 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21800 if (arg2
== NULL
) {
21801 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21805 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
21807 wxPyEndAllowThreads(__tstate
);
21808 if (PyErr_Occurred()) SWIG_fail
;
21811 wxTreeItemId
* resultptr
;
21812 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21813 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21821 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
;
21823 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21824 wxTreeItemId result
;
21825 PyObject
* obj0
= 0 ;
21826 char *kwnames
[] = {
21827 (char *) "self", NULL
21830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
21831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21840 wxTreeItemId
* resultptr
;
21841 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21842 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21850 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21851 PyObject
*resultobj
;
21852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21853 wxTreeItemId
*arg2
= 0 ;
21854 wxTreeItemId result
;
21855 PyObject
* obj0
= 0 ;
21856 PyObject
* obj1
= 0 ;
21857 char *kwnames
[] = {
21858 (char *) "self",(char *) "item", NULL
21861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21863 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21864 if (arg2
== NULL
) {
21865 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21875 wxTreeItemId
* resultptr
;
21876 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21877 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21885 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
;
21887 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21888 wxTreeItemId
*arg2
= 0 ;
21889 wxTreeItemId result
;
21890 PyObject
* obj0
= 0 ;
21891 PyObject
* obj1
= 0 ;
21892 char *kwnames
[] = {
21893 (char *) "self",(char *) "item", NULL
21896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21898 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21899 if (arg2
== NULL
) {
21900 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
21906 wxPyEndAllowThreads(__tstate
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21910 wxTreeItemId
* resultptr
;
21911 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21912 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21920 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21921 PyObject
*resultobj
;
21922 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21923 wxString
*arg2
= 0 ;
21924 int arg3
= (int) -1 ;
21925 int arg4
= (int) -1 ;
21926 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
21927 wxTreeItemId result
;
21928 bool temp2
= False
;
21929 PyObject
* obj0
= 0 ;
21930 PyObject
* obj1
= 0 ;
21931 PyObject
* obj4
= 0 ;
21932 char *kwnames
[] = {
21933 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
21936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
21937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21939 arg2
= wxString_in_helper(obj1
);
21940 if (arg2
== NULL
) SWIG_fail
;
21944 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21948 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21954 wxTreeItemId
* resultptr
;
21955 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21956 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21972 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21973 PyObject
*resultobj
;
21974 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21975 wxTreeItemId
*arg2
= 0 ;
21976 wxString
*arg3
= 0 ;
21977 int arg4
= (int) -1 ;
21978 int arg5
= (int) -1 ;
21979 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
21980 wxTreeItemId result
;
21981 bool temp3
= False
;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 PyObject
* obj2
= 0 ;
21985 PyObject
* obj5
= 0 ;
21986 char *kwnames
[] = {
21987 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
21990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
21991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21992 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21993 if (arg2
== NULL
) {
21994 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21997 arg3
= wxString_in_helper(obj2
);
21998 if (arg3
== NULL
) SWIG_fail
;
22002 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22012 wxTreeItemId
* resultptr
;
22013 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22014 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22030 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22031 PyObject
*resultobj
;
22032 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22033 wxTreeItemId
*arg2
= 0 ;
22034 wxTreeItemId
*arg3
= 0 ;
22035 wxString
*arg4
= 0 ;
22036 int arg5
= (int) -1 ;
22037 int arg6
= (int) -1 ;
22038 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22039 wxTreeItemId result
;
22040 bool temp4
= False
;
22041 PyObject
* obj0
= 0 ;
22042 PyObject
* obj1
= 0 ;
22043 PyObject
* obj2
= 0 ;
22044 PyObject
* obj3
= 0 ;
22045 PyObject
* obj6
= 0 ;
22046 char *kwnames
[] = {
22047 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22052 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22053 if (arg2
== NULL
) {
22054 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22056 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22057 if (arg3
== NULL
) {
22058 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22061 arg4
= wxString_in_helper(obj3
);
22062 if (arg4
== NULL
) SWIG_fail
;
22066 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22070 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22072 wxPyEndAllowThreads(__tstate
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22076 wxTreeItemId
* resultptr
;
22077 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22078 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22094 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
;
22096 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22097 wxTreeItemId
*arg2
= 0 ;
22099 wxString
*arg4
= 0 ;
22100 int arg5
= (int) -1 ;
22101 int arg6
= (int) -1 ;
22102 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22103 wxTreeItemId result
;
22104 bool temp4
= False
;
22105 PyObject
* obj0
= 0 ;
22106 PyObject
* obj1
= 0 ;
22107 PyObject
* obj2
= 0 ;
22108 PyObject
* obj3
= 0 ;
22109 PyObject
* obj6
= 0 ;
22110 char *kwnames
[] = {
22111 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22116 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22117 if (arg2
== NULL
) {
22118 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22120 arg3
= (size_t) PyInt_AsLong(obj2
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22123 arg4
= wxString_in_helper(obj3
);
22124 if (arg4
== NULL
) SWIG_fail
;
22128 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22132 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22134 wxPyEndAllowThreads(__tstate
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22138 wxTreeItemId
* resultptr
;
22139 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22140 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22156 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22157 PyObject
*resultobj
;
22158 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22159 wxTreeItemId
*arg2
= 0 ;
22160 wxString
*arg3
= 0 ;
22161 int arg4
= (int) -1 ;
22162 int arg5
= (int) -1 ;
22163 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22164 wxTreeItemId result
;
22165 bool temp3
= False
;
22166 PyObject
* obj0
= 0 ;
22167 PyObject
* obj1
= 0 ;
22168 PyObject
* obj2
= 0 ;
22169 PyObject
* obj5
= 0 ;
22170 char *kwnames
[] = {
22171 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22176 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22177 if (arg2
== NULL
) {
22178 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22181 arg3
= wxString_in_helper(obj2
);
22182 if (arg3
== NULL
) SWIG_fail
;
22186 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22196 wxTreeItemId
* resultptr
;
22197 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22198 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22214 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22215 PyObject
*resultobj
;
22216 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22217 wxTreeItemId
*arg2
= 0 ;
22218 PyObject
* obj0
= 0 ;
22219 PyObject
* obj1
= 0 ;
22220 char *kwnames
[] = {
22221 (char *) "self",(char *) "item", NULL
22224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
22225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22226 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22227 if (arg2
== NULL
) {
22228 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22232 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22237 Py_INCREF(Py_None
); resultobj
= Py_None
;
22244 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
;
22246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22247 wxTreeItemId
*arg2
= 0 ;
22248 PyObject
* obj0
= 0 ;
22249 PyObject
* obj1
= 0 ;
22250 char *kwnames
[] = {
22251 (char *) "self",(char *) "item", NULL
22254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22256 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22257 if (arg2
== NULL
) {
22258 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22267 Py_INCREF(Py_None
); resultobj
= Py_None
;
22274 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22275 PyObject
*resultobj
;
22276 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22277 PyObject
* obj0
= 0 ;
22278 char *kwnames
[] = {
22279 (char *) "self", NULL
22282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22286 (arg1
)->DeleteAllItems();
22288 wxPyEndAllowThreads(__tstate
);
22289 if (PyErr_Occurred()) SWIG_fail
;
22291 Py_INCREF(Py_None
); resultobj
= Py_None
;
22298 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22299 PyObject
*resultobj
;
22300 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22301 wxTreeItemId
*arg2
= 0 ;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self",(char *) "item", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
22309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22310 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22311 if (arg2
== NULL
) {
22312 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22321 Py_INCREF(Py_None
); resultobj
= Py_None
;
22328 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
;
22330 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22331 wxTreeItemId
*arg2
= 0 ;
22332 PyObject
* obj0
= 0 ;
22333 PyObject
* obj1
= 0 ;
22334 char *kwnames
[] = {
22335 (char *) "self",(char *) "item", NULL
22338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
22339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22340 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22341 if (arg2
== NULL
) {
22342 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 Py_INCREF(Py_None
); resultobj
= Py_None
;
22358 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22359 PyObject
*resultobj
;
22360 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22361 wxTreeItemId
*arg2
= 0 ;
22362 PyObject
* obj0
= 0 ;
22363 PyObject
* obj1
= 0 ;
22364 char *kwnames
[] = {
22365 (char *) "self",(char *) "item", NULL
22368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
22369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22370 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22371 if (arg2
== NULL
) {
22372 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
22378 wxPyEndAllowThreads(__tstate
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22381 Py_INCREF(Py_None
); resultobj
= Py_None
;
22388 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22389 PyObject
*resultobj
;
22390 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22391 wxTreeItemId
*arg2
= 0 ;
22392 PyObject
* obj0
= 0 ;
22393 PyObject
* obj1
= 0 ;
22394 char *kwnames
[] = {
22395 (char *) "self",(char *) "item", NULL
22398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
22399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22400 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22401 if (arg2
== NULL
) {
22402 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22406 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
22408 wxPyEndAllowThreads(__tstate
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22411 Py_INCREF(Py_None
); resultobj
= Py_None
;
22418 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22419 PyObject
*resultobj
;
22420 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22421 PyObject
* obj0
= 0 ;
22422 char *kwnames
[] = {
22423 (char *) "self", NULL
22426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
22427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22430 (arg1
)->Unselect();
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22435 Py_INCREF(Py_None
); resultobj
= Py_None
;
22442 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22443 PyObject
*resultobj
;
22444 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22445 PyObject
* obj0
= 0 ;
22446 char *kwnames
[] = {
22447 (char *) "self", NULL
22450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
22451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22454 (arg1
)->UnselectAll();
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22459 Py_INCREF(Py_None
); resultobj
= Py_None
;
22466 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22467 PyObject
*resultobj
;
22468 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22469 wxTreeItemId
*arg2
= 0 ;
22470 PyObject
* obj0
= 0 ;
22471 PyObject
* obj1
= 0 ;
22472 char *kwnames
[] = {
22473 (char *) "self",(char *) "item", NULL
22476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22478 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22479 if (arg2
== NULL
) {
22480 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22484 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
22486 wxPyEndAllowThreads(__tstate
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22489 Py_INCREF(Py_None
); resultobj
= Py_None
;
22496 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22497 PyObject
*resultobj
;
22498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22499 wxTreeItemId
*arg2
= 0 ;
22500 PyObject
* obj0
= 0 ;
22501 PyObject
* obj1
= 0 ;
22502 char *kwnames
[] = {
22503 (char *) "self",(char *) "item", NULL
22506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22508 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22509 if (arg2
== NULL
) {
22510 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
22516 wxPyEndAllowThreads(__tstate
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22519 Py_INCREF(Py_None
); resultobj
= Py_None
;
22526 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22527 PyObject
*resultobj
;
22528 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22529 wxTreeItemId
*arg2
= 0 ;
22530 PyObject
* obj0
= 0 ;
22531 PyObject
* obj1
= 0 ;
22532 char *kwnames
[] = {
22533 (char *) "self",(char *) "item", NULL
22536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22538 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22539 if (arg2
== NULL
) {
22540 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22549 Py_INCREF(Py_None
); resultobj
= Py_None
;
22556 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22557 PyObject
*resultobj
;
22558 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22559 wxTreeItemId
*arg2
= 0 ;
22560 PyObject
* obj0
= 0 ;
22561 PyObject
* obj1
= 0 ;
22562 char *kwnames
[] = {
22563 (char *) "self",(char *) "item", NULL
22566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22568 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22569 if (arg2
== NULL
) {
22570 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22574 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22579 Py_INCREF(Py_None
); resultobj
= Py_None
;
22586 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
;
22588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22589 wxTextCtrl
*result
;
22590 PyObject
* obj0
= 0 ;
22591 char *kwnames
[] = {
22592 (char *) "self", NULL
22595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
22596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22605 resultobj
= wxPyMake_wxObject(result
);
22613 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22614 PyObject
*resultobj
;
22615 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22616 wxTreeItemId
*arg2
= 0 ;
22617 PyObject
* obj0
= 0 ;
22618 PyObject
* obj1
= 0 ;
22619 char *kwnames
[] = {
22620 (char *) "self",(char *) "item", NULL
22623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22625 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22626 if (arg2
== NULL
) {
22627 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22631 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
22633 wxPyEndAllowThreads(__tstate
);
22634 if (PyErr_Occurred()) SWIG_fail
;
22636 Py_INCREF(Py_None
); resultobj
= Py_None
;
22643 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22644 PyObject
*resultobj
;
22645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22646 wxPoint
*arg2
= 0 ;
22648 wxTreeItemId result
;
22651 PyObject
* obj0
= 0 ;
22652 PyObject
* obj1
= 0 ;
22653 char *kwnames
[] = {
22654 (char *) "self",(char *) "point", NULL
22658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22662 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22672 wxTreeItemId
* resultptr
;
22673 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22674 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22677 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22678 resultobj
= t_output_helper(resultobj
,o
);
22686 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22687 PyObject
*resultobj
;
22688 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22689 wxTreeItemId
*arg2
= 0 ;
22690 bool arg3
= (bool) False
;
22692 PyObject
* obj0
= 0 ;
22693 PyObject
* obj1
= 0 ;
22694 PyObject
* obj2
= 0 ;
22695 char *kwnames
[] = {
22696 (char *) "self",(char *) "item",(char *) "textOnly", NULL
22699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22701 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22702 if (arg2
== NULL
) {
22703 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22706 arg3
= PyInt_AsLong(obj2
) ? true : false;
22707 if (PyErr_Occurred()) SWIG_fail
;
22710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22711 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
22713 wxPyEndAllowThreads(__tstate
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22716 resultobj
= result
;
22723 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22726 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
22728 return Py_BuildValue((char *)"");
22730 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22731 PyObject
*resultobj
;
22732 wxWindow
*arg1
= (wxWindow
*) 0 ;
22733 int arg2
= (int) (int)-1 ;
22734 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
22735 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22736 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22737 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22738 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22739 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22740 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
22741 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22742 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22743 int arg8
= (int) 0 ;
22744 wxString
const &arg9_defvalue
= wxPy_TreeCtrlNameStr
;
22745 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
22746 wxGenericDirCtrl
*result
;
22747 bool temp3
= False
;
22750 bool temp7
= False
;
22751 bool temp9
= False
;
22752 PyObject
* obj0
= 0 ;
22753 PyObject
* obj2
= 0 ;
22754 PyObject
* obj3
= 0 ;
22755 PyObject
* obj4
= 0 ;
22756 PyObject
* obj6
= 0 ;
22757 PyObject
* obj8
= 0 ;
22758 char *kwnames
[] = {
22759 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&obj8
)) goto fail
;
22763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22766 arg3
= wxString_in_helper(obj2
);
22767 if (arg3
== NULL
) SWIG_fail
;
22774 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22780 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22785 arg7
= wxString_in_helper(obj6
);
22786 if (arg7
== NULL
) SWIG_fail
;
22792 arg9
= wxString_in_helper(obj8
);
22793 if (arg9
== NULL
) SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22804 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
22835 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22836 PyObject
*resultobj
;
22837 wxGenericDirCtrl
*result
;
22838 char *kwnames
[] = {
22842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
22844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22850 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
22857 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22858 PyObject
*resultobj
;
22859 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
22860 wxWindow
*arg2
= (wxWindow
*) 0 ;
22861 int arg3
= (int) (int)-1 ;
22862 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
22863 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22864 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
22865 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
22866 wxSize
const &arg6_defvalue
= wxDefaultSize
;
22867 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
22868 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
22869 wxString
const &arg8_defvalue
= wxPyEmptyString
;
22870 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22871 int arg9
= (int) 0 ;
22872 wxString
const &arg10_defvalue
= wxPy_TreeCtrlNameStr
;
22873 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
22875 bool temp4
= False
;
22878 bool temp8
= False
;
22879 bool temp10
= False
;
22880 PyObject
* obj0
= 0 ;
22881 PyObject
* obj1
= 0 ;
22882 PyObject
* obj3
= 0 ;
22883 PyObject
* obj4
= 0 ;
22884 PyObject
* obj5
= 0 ;
22885 PyObject
* obj7
= 0 ;
22886 PyObject
* obj9
= 0 ;
22887 char *kwnames
[] = {
22888 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&arg9
,&obj9
)) goto fail
;
22892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22893 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22896 arg4
= wxString_in_helper(obj3
);
22897 if (arg4
== NULL
) SWIG_fail
;
22904 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
22910 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
22915 arg8
= wxString_in_helper(obj7
);
22916 if (arg8
== NULL
) SWIG_fail
;
22922 arg10
= wxString_in_helper(obj9
);
22923 if (arg10
== NULL
) SWIG_fail
;
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= PyInt_FromLong((long)result
);
22965 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22966 PyObject
*resultobj
;
22967 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
22968 wxString
*arg2
= 0 ;
22970 bool temp2
= False
;
22971 PyObject
* obj0
= 0 ;
22972 PyObject
* obj1
= 0 ;
22973 char *kwnames
[] = {
22974 (char *) "self",(char *) "path", NULL
22977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
22978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22980 arg2
= wxString_in_helper(obj1
);
22981 if (arg2
== NULL
) SWIG_fail
;
22985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22986 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
22988 wxPyEndAllowThreads(__tstate
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22991 resultobj
= PyInt_FromLong((long)result
);
23006 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23007 PyObject
*resultobj
;
23008 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23010 PyObject
* obj0
= 0 ;
23011 char *kwnames
[] = {
23012 (char *) "self", NULL
23015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
23016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23019 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23037 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23038 PyObject
*resultobj
;
23039 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23040 wxString
*arg2
= 0 ;
23041 bool temp2
= False
;
23042 PyObject
* obj0
= 0 ;
23043 PyObject
* obj1
= 0 ;
23044 char *kwnames
[] = {
23045 (char *) "self",(char *) "path", NULL
23048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23051 arg2
= wxString_in_helper(obj1
);
23052 if (arg2
== NULL
) SWIG_fail
;
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 Py_INCREF(Py_None
); resultobj
= Py_None
;
23077 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23078 PyObject
*resultobj
;
23079 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23081 PyObject
* obj0
= 0 ;
23082 char *kwnames
[] = {
23083 (char *) "self", NULL
23086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
23087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23090 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23108 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23109 PyObject
*resultobj
;
23110 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23112 PyObject
* obj0
= 0 ;
23113 char *kwnames
[] = {
23114 (char *) "self", NULL
23117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
23118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23128 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23130 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23139 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23140 PyObject
*resultobj
;
23141 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23142 wxString
*arg2
= 0 ;
23143 bool temp2
= False
;
23144 PyObject
* obj0
= 0 ;
23145 PyObject
* obj1
= 0 ;
23146 char *kwnames
[] = {
23147 (char *) "self",(char *) "path", NULL
23150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23153 arg2
= wxString_in_helper(obj1
);
23154 if (arg2
== NULL
) SWIG_fail
;
23158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 (arg1
)->SetPath((wxString
const &)*arg2
);
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 Py_INCREF(Py_None
); resultobj
= Py_None
;
23179 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23180 PyObject
*resultobj
;
23181 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23183 PyObject
* obj0
= 0 ;
23184 PyObject
* obj1
= 0 ;
23185 char *kwnames
[] = {
23186 (char *) "self",(char *) "show", NULL
23189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
23190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23191 arg2
= PyInt_AsLong(obj1
) ? true : false;
23192 if (PyErr_Occurred()) SWIG_fail
;
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 (arg1
)->ShowHidden(arg2
);
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23200 Py_INCREF(Py_None
); resultobj
= Py_None
;
23207 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23208 PyObject
*resultobj
;
23209 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23211 PyObject
* obj0
= 0 ;
23212 char *kwnames
[] = {
23213 (char *) "self", NULL
23216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
23217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= (bool)(arg1
)->GetShowHidden();
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23225 resultobj
= PyInt_FromLong((long)result
);
23232 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23233 PyObject
*resultobj
;
23234 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23236 PyObject
* obj0
= 0 ;
23237 char *kwnames
[] = {
23238 (char *) "self", NULL
23241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
23242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23263 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
;
23265 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23266 wxString
*arg2
= 0 ;
23267 bool temp2
= False
;
23268 PyObject
* obj0
= 0 ;
23269 PyObject
* obj1
= 0 ;
23270 char *kwnames
[] = {
23271 (char *) "self",(char *) "filter", NULL
23274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
23275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23277 arg2
= wxString_in_helper(obj1
);
23278 if (arg2
== NULL
) SWIG_fail
;
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 (arg1
)->SetFilter((wxString
const &)*arg2
);
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23288 Py_INCREF(Py_None
); resultobj
= Py_None
;
23303 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23304 PyObject
*resultobj
;
23305 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23307 PyObject
* obj0
= 0 ;
23308 char *kwnames
[] = {
23309 (char *) "self", NULL
23312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
23313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 resultobj
= PyInt_FromLong((long)result
);
23328 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23332 PyObject
* obj0
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "self",(char *) "n", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
23338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 (arg1
)->SetFilterIndex(arg2
);
23343 wxPyEndAllowThreads(__tstate
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23346 Py_INCREF(Py_None
); resultobj
= Py_None
;
23353 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23354 PyObject
*resultobj
;
23355 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23356 wxTreeItemId result
;
23357 PyObject
* obj0
= 0 ;
23358 char *kwnames
[] = {
23359 (char *) "self", NULL
23362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
23363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 result
= (arg1
)->GetRootId();
23368 wxPyEndAllowThreads(__tstate
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23372 wxTreeItemId
* resultptr
;
23373 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23374 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23382 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
;
23384 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23385 wxTreeCtrl
*result
;
23386 PyObject
* obj0
= 0 ;
23387 char *kwnames
[] = {
23388 (char *) "self", NULL
23391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
23392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 result
= (wxTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23401 resultobj
= wxPyMake_wxObject(result
);
23409 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23410 PyObject
*resultobj
;
23411 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23412 wxDirFilterListCtrl
*result
;
23413 PyObject
* obj0
= 0 ;
23414 char *kwnames
[] = {
23415 (char *) "self", NULL
23418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
23419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23422 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23427 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
23434 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23435 PyObject
*resultobj
;
23436 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23437 wxTreeItemId arg2
;
23438 wxString
*arg3
= 0 ;
23440 wxTreeItemId result
;
23441 wxTreeItemId
*argp2
;
23442 bool temp3
= False
;
23444 PyObject
* obj0
= 0 ;
23445 PyObject
* obj1
= 0 ;
23446 PyObject
* obj2
= 0 ;
23447 char *kwnames
[] = {
23448 (char *) "self",(char *) "parentId",(char *) "path", NULL
23452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23454 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
23457 arg3
= wxString_in_helper(obj2
);
23458 if (arg3
== NULL
) SWIG_fail
;
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23469 wxTreeItemId
* resultptr
;
23470 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23471 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23474 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
23475 resultobj
= t_output_helper(resultobj
,o
);
23491 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23492 PyObject
*resultobj
;
23493 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23494 PyObject
* obj0
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
23500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 (arg1
)->DoResize();
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 Py_INCREF(Py_None
); resultobj
= Py_None
;
23515 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23516 PyObject
*resultobj
;
23517 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23518 PyObject
* obj0
= 0 ;
23519 char *kwnames
[] = {
23520 (char *) "self", NULL
23523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
23524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 (arg1
)->ReCreateTree();
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23532 Py_INCREF(Py_None
); resultobj
= Py_None
;
23539 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23542 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
23544 return Py_BuildValue((char *)"");
23546 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23547 PyObject
*resultobj
;
23548 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23549 int arg2
= (int) (int)-1 ;
23550 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23551 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23552 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23553 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23554 long arg5
= (long) 0 ;
23555 wxDirFilterListCtrl
*result
;
23558 PyObject
* obj0
= 0 ;
23559 PyObject
* obj2
= 0 ;
23560 PyObject
* obj3
= 0 ;
23561 char *kwnames
[] = {
23562 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
23566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23570 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23576 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23581 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
23583 wxPyEndAllowThreads(__tstate
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23586 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
23593 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23594 PyObject
*resultobj
;
23595 wxDirFilterListCtrl
*result
;
23596 char *kwnames
[] = {
23600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
23602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23603 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
23615 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
;
23617 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
23618 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
23619 int arg3
= (int) (int)-1 ;
23620 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23621 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23622 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23623 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23624 long arg6
= (long) 0 ;
23628 PyObject
* obj0
= 0 ;
23629 PyObject
* obj1
= 0 ;
23630 PyObject
* obj3
= 0 ;
23631 PyObject
* obj4
= 0 ;
23632 char *kwnames
[] = {
23633 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
23637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23642 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23648 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23658 resultobj
= PyInt_FromLong((long)result
);
23665 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23666 PyObject
*resultobj
;
23667 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
23668 wxString
*arg2
= 0 ;
23670 bool temp2
= False
;
23671 PyObject
* obj0
= 0 ;
23672 PyObject
* obj1
= 0 ;
23673 char *kwnames
[] = {
23674 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
23677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
23678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23680 arg2
= wxString_in_helper(obj1
);
23681 if (arg2
== NULL
) SWIG_fail
;
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23691 Py_INCREF(Py_None
); resultobj
= Py_None
;
23706 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23709 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
23711 return Py_BuildValue((char *)"");
23713 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23715 wxWindow
*arg1
= (wxWindow
*) 0 ;
23717 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23718 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23719 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23720 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23721 long arg5
= (long) 0 ;
23722 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23723 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23724 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
23725 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23726 wxPyControl
*result
;
23729 bool temp7
= False
;
23730 PyObject
* obj0
= 0 ;
23731 PyObject
* obj2
= 0 ;
23732 PyObject
* obj3
= 0 ;
23733 PyObject
* obj5
= 0 ;
23734 PyObject
* obj6
= 0 ;
23735 char *kwnames
[] = {
23736 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_PyControl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
23740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23744 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23750 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23754 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23755 if (arg6
== NULL
) {
23756 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23761 arg7
= wxString_in_helper(obj6
);
23762 if (arg7
== NULL
) SWIG_fail
;
23767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23770 wxPyEndAllowThreads(__tstate
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23773 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
23788 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23789 PyObject
*resultobj
;
23790 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
23791 PyObject
*arg2
= (PyObject
*) 0 ;
23792 PyObject
*arg3
= (PyObject
*) 0 ;
23793 PyObject
* obj0
= 0 ;
23794 PyObject
* obj1
= 0 ;
23795 PyObject
* obj2
= 0 ;
23796 char *kwnames
[] = {
23797 (char *) "self",(char *) "self",(char *) "_class", NULL
23800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23811 Py_INCREF(Py_None
); resultobj
= Py_None
;
23818 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23819 PyObject
*resultobj
;
23820 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
23825 PyObject
* obj0
= 0 ;
23826 char *kwnames
[] = {
23827 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23836 wxPyEndAllowThreads(__tstate
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23839 Py_INCREF(Py_None
); resultobj
= Py_None
;
23846 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23847 PyObject
*resultobj
;
23848 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
23853 int arg6
= (int) wxSIZE_AUTO
;
23854 PyObject
* obj0
= 0 ;
23855 char *kwnames
[] = {
23856 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 Py_INCREF(Py_None
); resultobj
= Py_None
;
23875 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23876 PyObject
*resultobj
;
23877 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
23880 PyObject
* obj0
= 0 ;
23881 char *kwnames
[] = {
23882 (char *) "self",(char *) "width",(char *) "height", NULL
23885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 Py_INCREF(Py_None
); resultobj
= Py_None
;
23901 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
;
23903 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
23906 PyObject
* obj0
= 0 ;
23907 char *kwnames
[] = {
23908 (char *) "self",(char *) "x",(char *) "y", NULL
23911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23920 Py_INCREF(Py_None
); resultobj
= Py_None
;
23927 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23928 PyObject
*resultobj
;
23929 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
23930 int *arg2
= (int *) 0 ;
23931 int *arg3
= (int *) 0 ;
23934 PyObject
* obj0
= 0 ;
23935 char *kwnames
[] = {
23936 (char *) "self", NULL
23941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
23942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23945 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
23947 wxPyEndAllowThreads(__tstate
);
23948 if (PyErr_Occurred()) SWIG_fail
;
23950 Py_INCREF(Py_None
); resultobj
= Py_None
;
23952 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23953 resultobj
= t_output_helper(resultobj
,o
);
23956 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23957 resultobj
= t_output_helper(resultobj
,o
);
23965 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
23968 int *arg2
= (int *) 0 ;
23969 int *arg3
= (int *) 0 ;
23972 PyObject
* obj0
= 0 ;
23973 char *kwnames
[] = {
23974 (char *) "self", NULL
23979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
23980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 Py_INCREF(Py_None
); resultobj
= Py_None
;
23990 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23991 resultobj
= t_output_helper(resultobj
,o
);
23994 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23995 resultobj
= t_output_helper(resultobj
,o
);
24003 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
;
24005 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24006 int *arg2
= (int *) 0 ;
24007 int *arg3
= (int *) 0 ;
24010 PyObject
* obj0
= 0 ;
24011 char *kwnames
[] = {
24012 (char *) "self", NULL
24017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
24018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24021 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
24023 wxPyEndAllowThreads(__tstate
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24026 Py_INCREF(Py_None
); resultobj
= Py_None
;
24028 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24029 resultobj
= t_output_helper(resultobj
,o
);
24032 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24033 resultobj
= t_output_helper(resultobj
,o
);
24041 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24042 PyObject
*resultobj
;
24043 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24045 PyObject
* obj0
= 0 ;
24046 char *kwnames
[] = {
24047 (char *) "self", NULL
24050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
24051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24060 wxSize
* resultptr
;
24061 resultptr
= new wxSize((wxSize
&) result
);
24062 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24070 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
;
24072 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24074 PyObject
* obj0
= 0 ;
24075 char *kwnames
[] = {
24076 (char *) "self", NULL
24079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
24080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
24085 wxPyEndAllowThreads(__tstate
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24089 wxSize
* resultptr
;
24090 resultptr
= new wxSize((wxSize
&) result
);
24091 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24099 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
;
24101 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24102 PyObject
* obj0
= 0 ;
24103 char *kwnames
[] = {
24104 (char *) "self", NULL
24107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
24108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 (arg1
)->base_InitDialog();
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24116 Py_INCREF(Py_None
); resultobj
= Py_None
;
24123 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
;
24125 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24127 PyObject
* obj0
= 0 ;
24128 char *kwnames
[] = {
24129 (char *) "self", NULL
24132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 result
= (bool)(arg1
)->base_TransferDataToWindow();
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24141 resultobj
= PyInt_FromLong((long)result
);
24148 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24149 PyObject
*resultobj
;
24150 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24152 PyObject
* obj0
= 0 ;
24153 char *kwnames
[] = {
24154 (char *) "self", NULL
24157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24161 result
= (bool)(arg1
)->base_TransferDataFromWindow();
24163 wxPyEndAllowThreads(__tstate
);
24164 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= PyInt_FromLong((long)result
);
24173 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24174 PyObject
*resultobj
;
24175 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24177 PyObject
* obj0
= 0 ;
24178 char *kwnames
[] = {
24179 (char *) "self", NULL
24182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
24183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 result
= (bool)(arg1
)->base_Validate();
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= PyInt_FromLong((long)result
);
24198 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24202 PyObject
* obj0
= 0 ;
24203 char *kwnames
[] = {
24204 (char *) "self", NULL
24207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24211 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
24213 wxPyEndAllowThreads(__tstate
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24216 resultobj
= PyInt_FromLong((long)result
);
24223 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
;
24225 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24227 PyObject
* obj0
= 0 ;
24228 char *kwnames
[] = {
24229 (char *) "self", NULL
24232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24236 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
24238 wxPyEndAllowThreads(__tstate
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24241 resultobj
= PyInt_FromLong((long)result
);
24248 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
;
24250 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24252 PyObject
* obj0
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
24263 wxPyEndAllowThreads(__tstate
);
24264 if (PyErr_Occurred()) SWIG_fail
;
24267 wxSize
* resultptr
;
24268 resultptr
= new wxSize((wxSize
&) result
);
24269 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24277 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
;
24279 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24280 wxWindow
*arg2
= (wxWindow
*) 0 ;
24281 PyObject
* obj0
= 0 ;
24282 PyObject
* obj1
= 0 ;
24283 char *kwnames
[] = {
24284 (char *) "self",(char *) "child", NULL
24287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24289 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 (arg1
)->base_AddChild(arg2
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 Py_INCREF(Py_None
); resultobj
= Py_None
;
24304 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
;
24306 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24307 wxWindow
*arg2
= (wxWindow
*) 0 ;
24308 PyObject
* obj0
= 0 ;
24309 PyObject
* obj1
= 0 ;
24310 char *kwnames
[] = {
24311 (char *) "self",(char *) "child", NULL
24314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24316 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 (arg1
)->base_RemoveChild(arg2
);
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24324 Py_INCREF(Py_None
); resultobj
= Py_None
;
24331 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
24333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24334 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
24336 return Py_BuildValue((char *)"");
24338 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24339 PyObject
*resultobj
;
24340 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24341 int arg2
= (int) 0 ;
24342 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24343 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24344 wxHelpEvent
*result
;
24346 PyObject
* obj2
= 0 ;
24347 char *kwnames
[] = {
24348 (char *) "type",(char *) "winid",(char *) "pt", NULL
24351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_HelpEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
24355 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24365 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
24372 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
;
24374 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24376 PyObject
* obj0
= 0 ;
24377 char *kwnames
[] = {
24378 (char *) "self", NULL
24381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
24382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
24387 result
= (wxPoint
*) &_result_ref
;
24390 wxPyEndAllowThreads(__tstate
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24393 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
24400 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24401 PyObject
*resultobj
;
24402 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24403 wxPoint
*arg2
= 0 ;
24405 PyObject
* obj0
= 0 ;
24406 PyObject
* obj1
= 0 ;
24407 char *kwnames
[] = {
24408 (char *) "self",(char *) "pos", NULL
24411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24415 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24424 Py_INCREF(Py_None
); resultobj
= Py_None
;
24431 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
;
24433 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24435 PyObject
* obj0
= 0 ;
24436 char *kwnames
[] = {
24437 (char *) "self", NULL
24440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
24441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
24446 result
= (wxString
*) &_result_ref
;
24449 wxPyEndAllowThreads(__tstate
);
24450 if (PyErr_Occurred()) SWIG_fail
;
24454 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24456 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24465 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24466 PyObject
*resultobj
;
24467 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24468 wxString
*arg2
= 0 ;
24469 bool temp2
= False
;
24470 PyObject
* obj0
= 0 ;
24471 PyObject
* obj1
= 0 ;
24472 char *kwnames
[] = {
24473 (char *) "self",(char *) "link", NULL
24476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
24477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24479 arg2
= wxString_in_helper(obj1
);
24480 if (arg2
== NULL
) SWIG_fail
;
24484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24485 (arg1
)->SetLink((wxString
const &)*arg2
);
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24490 Py_INCREF(Py_None
); resultobj
= Py_None
;
24505 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24506 PyObject
*resultobj
;
24507 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24509 PyObject
* obj0
= 0 ;
24510 char *kwnames
[] = {
24511 (char *) "self", NULL
24514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
24515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
24520 result
= (wxString
*) &_result_ref
;
24523 wxPyEndAllowThreads(__tstate
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24528 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24530 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24539 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24540 PyObject
*resultobj
;
24541 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24542 wxString
*arg2
= 0 ;
24543 bool temp2
= False
;
24544 PyObject
* obj0
= 0 ;
24545 PyObject
* obj1
= 0 ;
24546 char *kwnames
[] = {
24547 (char *) "self",(char *) "target", NULL
24550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
24551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24553 arg2
= wxString_in_helper(obj1
);
24554 if (arg2
== NULL
) SWIG_fail
;
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 (arg1
)->SetTarget((wxString
const &)*arg2
);
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24564 Py_INCREF(Py_None
); resultobj
= Py_None
;
24579 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24582 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
24584 return Py_BuildValue((char *)"");
24586 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24587 PyObject
*resultobj
;
24588 wxWindow
*arg1
= (wxWindow
*) NULL
;
24589 bool arg2
= (bool) True
;
24590 wxContextHelp
*result
;
24591 PyObject
* obj0
= 0 ;
24592 PyObject
* obj1
= 0 ;
24593 char *kwnames
[] = {
24594 (char *) "window",(char *) "doNow", NULL
24597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24602 arg2
= PyInt_AsLong(obj1
) ? true : false;
24603 if (PyErr_Occurred()) SWIG_fail
;
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24612 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
24619 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
;
24621 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
24622 PyObject
* obj0
= 0 ;
24623 char *kwnames
[] = {
24624 (char *) "self", NULL
24627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
24628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24636 Py_INCREF(Py_None
); resultobj
= Py_None
;
24643 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24644 PyObject
*resultobj
;
24645 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
24646 wxWindow
*arg2
= (wxWindow
*) NULL
;
24648 PyObject
* obj0
= 0 ;
24649 PyObject
* obj1
= 0 ;
24650 char *kwnames
[] = {
24651 (char *) "self",(char *) "window", NULL
24654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24657 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24666 resultobj
= PyInt_FromLong((long)result
);
24673 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
;
24675 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
24677 PyObject
* obj0
= 0 ;
24678 char *kwnames
[] = {
24679 (char *) "self", NULL
24682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
24683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 result
= (bool)(arg1
)->EndContextHelp();
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= PyInt_FromLong((long)result
);
24698 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
24700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24701 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
24703 return Py_BuildValue((char *)"");
24705 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24706 PyObject
*resultobj
;
24707 wxWindow
*arg1
= (wxWindow
*) 0 ;
24708 int arg2
= (int) wxID_CONTEXT_HELP
;
24709 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24710 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24711 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24712 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24713 long arg5
= (long) wxBU_AUTODRAW
;
24714 wxContextHelpButton
*result
;
24717 PyObject
* obj0
= 0 ;
24718 PyObject
* obj2
= 0 ;
24719 PyObject
* obj3
= 0 ;
24720 char *kwnames
[] = {
24721 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_ContextHelpButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24729 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24735 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
24742 wxPyEndAllowThreads(__tstate
);
24743 if (PyErr_Occurred()) SWIG_fail
;
24745 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
24752 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
24754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24755 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
24757 return Py_BuildValue((char *)"");
24759 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
24762 wxHelpProvider
*result
;
24763 PyObject
* obj0
= 0 ;
24764 char *kwnames
[] = {
24765 (char *) "helpProvider", NULL
24768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
24769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
24784 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
;
24786 wxHelpProvider
*result
;
24787 char *kwnames
[] = {
24791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
24793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24794 result
= (wxHelpProvider
*)wxHelpProvider::Get();
24796 wxPyEndAllowThreads(__tstate
);
24797 if (PyErr_Occurred()) SWIG_fail
;
24799 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
24806 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24807 PyObject
*resultobj
;
24808 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
24809 wxWindow
*arg2
= (wxWindow
*) 0 ;
24811 PyObject
* obj0
= 0 ;
24812 PyObject
* obj1
= 0 ;
24813 char *kwnames
[] = {
24814 (char *) "self",(char *) "window", NULL
24817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24819 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24840 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24841 PyObject
*resultobj
;
24842 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
24843 wxWindow
*arg2
= (wxWindow
*) 0 ;
24845 PyObject
* obj0
= 0 ;
24846 PyObject
* obj1
= 0 ;
24847 char *kwnames
[] = {
24848 (char *) "self",(char *) "window", NULL
24851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24853 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 result
= (bool)(arg1
)->ShowHelp(arg2
);
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24861 resultobj
= PyInt_FromLong((long)result
);
24868 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24869 PyObject
*resultobj
;
24870 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
24871 wxWindow
*arg2
= (wxWindow
*) 0 ;
24872 wxString
*arg3
= 0 ;
24873 bool temp3
= False
;
24874 PyObject
* obj0
= 0 ;
24875 PyObject
* obj1
= 0 ;
24876 PyObject
* obj2
= 0 ;
24877 char *kwnames
[] = {
24878 (char *) "self",(char *) "window",(char *) "text", NULL
24881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24883 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24885 arg3
= wxString_in_helper(obj2
);
24886 if (arg3
== NULL
) SWIG_fail
;
24890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24891 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
24893 wxPyEndAllowThreads(__tstate
);
24894 if (PyErr_Occurred()) SWIG_fail
;
24896 Py_INCREF(Py_None
); resultobj
= Py_None
;
24911 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24912 PyObject
*resultobj
;
24913 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
24915 wxString
*arg3
= 0 ;
24916 bool temp3
= False
;
24917 PyObject
* obj0
= 0 ;
24918 PyObject
* obj2
= 0 ;
24919 char *kwnames
[] = {
24920 (char *) "self",(char *) "id",(char *) "text", NULL
24923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:HelpProvider_AddHelpById",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
24924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24926 arg3
= wxString_in_helper(obj2
);
24927 if (arg3
== NULL
) SWIG_fail
;
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
24934 wxPyEndAllowThreads(__tstate
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24937 Py_INCREF(Py_None
); resultobj
= Py_None
;
24952 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24953 PyObject
*resultobj
;
24954 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
24955 PyObject
* obj0
= 0 ;
24956 char *kwnames
[] = {
24957 (char *) "self", NULL
24960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
24961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 wxHelpProvider_Destroy(arg1
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 Py_INCREF(Py_None
); resultobj
= Py_None
;
24976 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
24978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24979 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
24981 return Py_BuildValue((char *)"");
24983 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24984 PyObject
*resultobj
;
24985 wxSimpleHelpProvider
*result
;
24986 char *kwnames
[] = {
24990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
24995 wxPyEndAllowThreads(__tstate
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24998 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
25005 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25008 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
25010 return Py_BuildValue((char *)"");
25012 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25013 PyObject
*resultobj
;
25014 wxBitmap
*arg1
= 0 ;
25015 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25016 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25017 wxGenericDragImage
*result
;
25018 PyObject
* obj0
= 0 ;
25019 PyObject
* obj1
= 0 ;
25020 char *kwnames
[] = {
25021 (char *) "image",(char *) "cursor", NULL
25024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
25025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25026 if (arg1
== NULL
) {
25027 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25030 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25031 if (arg2
== NULL
) {
25032 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
25039 wxPyEndAllowThreads(__tstate
);
25040 if (PyErr_Occurred()) SWIG_fail
;
25042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25049 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25050 PyObject
*resultobj
;
25052 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25053 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25054 wxGenericDragImage
*result
;
25055 PyObject
* obj0
= 0 ;
25056 PyObject
* obj1
= 0 ;
25057 char *kwnames
[] = {
25058 (char *) "image",(char *) "cursor", NULL
25061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
25062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25063 if (arg1
== NULL
) {
25064 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25067 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25068 if (arg2
== NULL
) {
25069 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25074 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
25076 wxPyEndAllowThreads(__tstate
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25079 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25086 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25087 PyObject
*resultobj
;
25088 wxString
*arg1
= 0 ;
25089 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25090 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25091 wxGenericDragImage
*result
;
25092 bool temp1
= False
;
25093 PyObject
* obj0
= 0 ;
25094 PyObject
* obj1
= 0 ;
25095 char *kwnames
[] = {
25096 (char *) "str",(char *) "cursor", NULL
25099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
25101 arg1
= wxString_in_helper(obj0
);
25102 if (arg1
== NULL
) SWIG_fail
;
25106 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25107 if (arg2
== NULL
) {
25108 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
25115 wxPyEndAllowThreads(__tstate
);
25116 if (PyErr_Occurred()) SWIG_fail
;
25118 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25133 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxPyTreeCtrl
*arg1
= 0 ;
25136 wxTreeItemId
*arg2
= 0 ;
25137 wxGenericDragImage
*result
;
25138 PyObject
* obj0
= 0 ;
25139 PyObject
* obj1
= 0 ;
25140 char *kwnames
[] = {
25141 (char *) "treeCtrl",(char *) "id", NULL
25144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25146 if (arg1
== NULL
) {
25147 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25149 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25150 if (arg2
== NULL
) {
25151 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25155 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
25157 wxPyEndAllowThreads(__tstate
);
25158 if (PyErr_Occurred()) SWIG_fail
;
25160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25167 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
;
25169 wxPyListCtrl
*arg1
= 0 ;
25171 wxGenericDragImage
*result
;
25172 PyObject
* obj0
= 0 ;
25173 char *kwnames
[] = {
25174 (char *) "listCtrl",(char *) "id", NULL
25177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_DragListItem",kwnames
,&obj0
,&arg2
)) goto fail
;
25178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25179 if (arg1
== NULL
) {
25180 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25189 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25196 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
;
25198 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25199 PyObject
* obj0
= 0 ;
25200 char *kwnames
[] = {
25201 (char *) "self", NULL
25204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
25205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25210 wxPyEndAllowThreads(__tstate
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25213 Py_INCREF(Py_None
); resultobj
= Py_None
;
25220 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25221 PyObject
*resultobj
;
25222 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25223 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
25224 PyObject
* obj0
= 0 ;
25225 PyObject
* obj1
= 0 ;
25226 char *kwnames
[] = {
25227 (char *) "self",(char *) "bitmap", NULL
25230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25232 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25235 (arg1
)->SetBackingBitmap(arg2
);
25237 wxPyEndAllowThreads(__tstate
);
25238 if (PyErr_Occurred()) SWIG_fail
;
25240 Py_INCREF(Py_None
); resultobj
= Py_None
;
25247 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25248 PyObject
*resultobj
;
25249 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25250 wxPoint
*arg2
= 0 ;
25251 wxWindow
*arg3
= (wxWindow
*) 0 ;
25252 bool arg4
= (bool) False
;
25253 wxRect
*arg5
= (wxRect
*) NULL
;
25256 PyObject
* obj0
= 0 ;
25257 PyObject
* obj1
= 0 ;
25258 PyObject
* obj2
= 0 ;
25259 PyObject
* obj3
= 0 ;
25260 PyObject
* obj4
= 0 ;
25261 char *kwnames
[] = {
25262 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25269 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25271 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25273 arg4
= PyInt_AsLong(obj3
) ? true : false;
25274 if (PyErr_Occurred()) SWIG_fail
;
25277 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
25283 wxPyEndAllowThreads(__tstate
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25286 resultobj
= PyInt_FromLong((long)result
);
25293 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25294 PyObject
*resultobj
;
25295 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25296 wxPoint
*arg2
= 0 ;
25297 wxWindow
*arg3
= (wxWindow
*) 0 ;
25298 wxWindow
*arg4
= (wxWindow
*) 0 ;
25301 PyObject
* obj0
= 0 ;
25302 PyObject
* obj1
= 0 ;
25303 PyObject
* obj2
= 0 ;
25304 PyObject
* obj3
= 0 ;
25305 char *kwnames
[] = {
25306 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25313 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25315 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25316 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25319 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
25321 wxPyEndAllowThreads(__tstate
);
25322 if (PyErr_Occurred()) SWIG_fail
;
25324 resultobj
= PyInt_FromLong((long)result
);
25331 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25332 PyObject
*resultobj
;
25333 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25335 PyObject
* obj0
= 0 ;
25336 char *kwnames
[] = {
25337 (char *) "self", NULL
25340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
25341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25344 result
= (bool)(arg1
)->EndDrag();
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= PyInt_FromLong((long)result
);
25356 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25357 PyObject
*resultobj
;
25358 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25359 wxPoint
*arg2
= 0 ;
25362 PyObject
* obj0
= 0 ;
25363 PyObject
* obj1
= 0 ;
25364 char *kwnames
[] = {
25365 (char *) "self",(char *) "pt", NULL
25368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
25369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25372 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25376 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
25378 wxPyEndAllowThreads(__tstate
);
25379 if (PyErr_Occurred()) SWIG_fail
;
25381 resultobj
= PyInt_FromLong((long)result
);
25388 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25389 PyObject
*resultobj
;
25390 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25392 PyObject
* obj0
= 0 ;
25393 char *kwnames
[] = {
25394 (char *) "self", NULL
25397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
25398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25401 result
= (bool)(arg1
)->Show();
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 resultobj
= PyInt_FromLong((long)result
);
25413 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25414 PyObject
*resultobj
;
25415 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25417 PyObject
* obj0
= 0 ;
25418 char *kwnames
[] = {
25419 (char *) "self", NULL
25422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
25423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 result
= (bool)(arg1
)->Hide();
25428 wxPyEndAllowThreads(__tstate
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25431 resultobj
= PyInt_FromLong((long)result
);
25438 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
;
25440 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25441 wxPoint
*arg2
= 0 ;
25444 PyObject
* obj0
= 0 ;
25445 PyObject
* obj1
= 0 ;
25446 char *kwnames
[] = {
25447 (char *) "self",(char *) "pos", NULL
25450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25454 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25458 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
25460 wxPyEndAllowThreads(__tstate
);
25461 if (PyErr_Occurred()) SWIG_fail
;
25464 wxRect
* resultptr
;
25465 resultptr
= new wxRect((wxRect
&) result
);
25466 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
25474 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
;
25476 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25478 wxPoint
*arg3
= 0 ;
25481 PyObject
* obj0
= 0 ;
25482 PyObject
* obj1
= 0 ;
25483 PyObject
* obj2
= 0 ;
25484 char *kwnames
[] = {
25485 (char *) "self",(char *) "dc",(char *) "pos", NULL
25488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25491 if (arg2
== NULL
) {
25492 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25496 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 resultobj
= PyInt_FromLong((long)result
);
25512 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25513 PyObject
*resultobj
;
25514 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25516 wxMemoryDC
*arg3
= 0 ;
25522 PyObject
* obj0
= 0 ;
25523 PyObject
* obj1
= 0 ;
25524 PyObject
* obj2
= 0 ;
25525 PyObject
* obj3
= 0 ;
25526 PyObject
* obj4
= 0 ;
25527 char *kwnames
[] = {
25528 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25533 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25534 if (arg2
== NULL
) {
25535 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25537 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25538 if (arg3
== NULL
) {
25539 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25543 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25547 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
25550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25551 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 resultobj
= PyInt_FromLong((long)result
);
25563 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25564 PyObject
*resultobj
;
25565 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25566 wxPoint
*arg2
= 0 ;
25567 wxPoint
*arg3
= 0 ;
25573 PyObject
* obj0
= 0 ;
25574 PyObject
* obj1
= 0 ;
25575 PyObject
* obj2
= 0 ;
25576 PyObject
* obj3
= 0 ;
25577 PyObject
* obj4
= 0 ;
25578 char *kwnames
[] = {
25579 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
25582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25586 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25590 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25592 arg4
= PyInt_AsLong(obj3
) ? true : false;
25593 if (PyErr_Occurred()) SWIG_fail
;
25594 arg5
= PyInt_AsLong(obj4
) ? true : false;
25595 if (PyErr_Occurred()) SWIG_fail
;
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25603 resultobj
= PyInt_FromLong((long)result
);
25610 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
25612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25613 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
25615 return Py_BuildValue((char *)"");
25617 static PyMethodDef SwigMethods
[] = {
25618 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
25619 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
25620 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
25621 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
25622 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
25623 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
25624 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
25625 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
25626 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
25627 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
25628 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
25629 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
25630 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
25631 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
25632 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
25633 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
25634 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
25635 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25636 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
25637 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
25638 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
25639 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
25640 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
25641 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25642 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25643 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
25644 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25645 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
25646 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
25647 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
25648 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
25649 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
25650 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
25651 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
25652 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
25653 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
25654 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
25655 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25656 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25657 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
25658 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
25659 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
25660 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
25661 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25662 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25663 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25664 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
25665 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
25666 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
25667 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
25668 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
25669 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
25670 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
25671 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25672 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
25673 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
25674 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
25675 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
25676 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
25677 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
25678 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
25679 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
25680 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25681 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
25682 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25683 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25684 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
25685 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
25686 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
25687 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
25688 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
25689 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
25690 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
25691 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
25692 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25693 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
25694 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
25695 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
25696 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
25697 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
25698 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
25699 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
25700 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
25701 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
25702 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
25703 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
25704 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25705 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25706 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
25707 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25708 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25709 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25710 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
25711 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
25712 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
25713 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25714 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
25715 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
25716 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
25717 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
25718 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25719 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
25720 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
25721 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25722 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25723 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25724 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
25725 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
25726 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
25727 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
25728 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
25729 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
25730 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
25731 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
25732 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25733 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
25734 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
25735 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25736 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
25737 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
25738 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
25739 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
25740 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25741 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25742 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
25743 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25744 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
25745 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
25746 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
25747 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25748 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25749 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25750 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
25751 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25752 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
25753 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
25754 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
25755 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
25756 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25757 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
25758 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
25759 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25760 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
25761 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
25762 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
25763 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25764 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
25765 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
25766 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
25767 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25768 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25769 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
25770 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25771 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25772 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
25773 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
25774 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
25775 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
25776 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
25777 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
25778 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
25779 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
25780 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25781 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25782 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25783 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
25784 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
25785 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
25786 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
25787 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
25788 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
25789 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
25790 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
25791 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
25792 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
25793 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25794 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25795 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
25796 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
25797 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
25798 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
25799 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
25800 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
25801 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
25802 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
25803 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
25804 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
25805 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
25806 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
25807 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
25808 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
25809 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
25810 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
25811 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
25812 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
25813 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
25814 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25815 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
25816 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
25817 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
25818 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
25819 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
25820 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
25821 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
25822 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
25823 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
25824 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
25825 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
25826 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
25827 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
25828 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
25829 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
25830 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
25831 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
25832 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
25833 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
25834 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
25835 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
25836 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
25837 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
25838 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
25839 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25840 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
25841 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
25842 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25843 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
25844 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
25845 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25846 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
25847 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
25848 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25849 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
25850 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
25851 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25852 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25853 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
25854 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25855 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
25856 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
25857 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25858 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
25859 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
25860 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
25861 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25862 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25863 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25864 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25865 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25866 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
25867 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
25868 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
25869 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
25870 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
25871 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
25872 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
25873 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
25874 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
25875 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
25876 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
25877 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
25878 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
25879 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25880 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25881 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
25882 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
25883 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
25884 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
25885 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25886 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25887 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25888 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
25889 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
25890 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
25891 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
25892 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
25893 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
25894 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
25895 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
25896 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
25897 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
25898 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
25899 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
25900 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
25901 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
25902 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
25903 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
25904 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
25905 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25906 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
25907 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
25908 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
25909 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
25910 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
25911 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
25912 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25913 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
25914 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
25915 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
25916 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
25917 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
25918 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
25919 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
25920 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
25921 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25922 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
25923 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
25924 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25925 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
25926 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
25927 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25928 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
25929 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
25930 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
25931 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25932 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25933 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
25934 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
25935 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
25936 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
25937 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
25938 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
25939 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
25940 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
25941 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
25942 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25943 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25944 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
25945 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
25946 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
25947 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
25948 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
25949 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
25950 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
25951 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
25952 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
25953 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
25954 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
25955 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
25956 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
25957 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
25958 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
25959 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
25960 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
25961 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
25962 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
25963 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
25964 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
25965 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
25966 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25967 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
25968 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
25969 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
25970 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25971 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
25972 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
25973 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
25974 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
25975 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25976 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25977 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25978 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
25979 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
25980 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
25981 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
25982 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
25983 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
25984 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
25985 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
25986 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25987 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25988 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
25989 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
25990 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
25991 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
25992 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
25993 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
25994 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
25995 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
25996 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
25997 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
25998 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
25999 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26000 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26001 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
26002 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
26003 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
26004 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
26005 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
26006 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
26007 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
26008 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26009 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26010 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26011 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
26012 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
26013 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26014 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26015 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26016 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26017 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26018 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
26019 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26020 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26021 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26022 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
26023 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26024 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26025 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26026 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
26027 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
26028 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
26029 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
26030 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26031 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26032 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
26033 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26034 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26035 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
26036 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26037 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26038 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26039 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26040 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
26041 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
26042 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26043 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26044 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26045 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26046 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26047 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26048 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26049 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26050 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26051 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26052 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
26053 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
26054 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
26055 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26056 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26057 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
26058 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26059 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26060 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
26061 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
26062 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
26063 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
26064 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
26065 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26066 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
26067 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26068 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26069 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26070 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
26071 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26072 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26073 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
26074 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26075 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
26076 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26077 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26078 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
26079 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26080 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26081 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26082 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26083 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26084 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
26085 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
26086 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
26087 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
26088 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
26089 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
26090 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
26091 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
26092 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
26093 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
26094 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
26095 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
26096 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
26097 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
26098 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
26099 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
26100 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
26101 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
26102 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
26103 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
26104 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
26105 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
26106 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
26107 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
26108 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
26109 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
26110 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
26111 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
26112 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
26113 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
26114 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
26115 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
26116 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
26117 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
26118 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
26119 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26120 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26121 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26122 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26123 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
26124 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26125 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
26126 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26127 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
26128 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
26129 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
26130 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
26131 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
26132 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26133 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26134 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26135 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26136 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26137 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26138 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26139 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26140 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
26141 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
26142 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
26143 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
26144 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26145 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
26146 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26147 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
26148 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
26149 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26150 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26151 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26152 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26153 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26154 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
26155 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
26156 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
26157 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26158 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26159 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26160 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26161 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26162 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26163 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26164 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
26165 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
26166 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
26167 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26168 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26169 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26170 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26171 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
26172 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
26173 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
26174 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
26175 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
26176 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
26177 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
26178 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
26179 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
26180 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26181 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26182 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
26183 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
26184 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
26185 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26186 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
26187 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26188 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
26189 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26190 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
26191 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
26192 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26193 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
26194 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26195 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26196 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26197 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26198 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
26199 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
26200 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
26201 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
26202 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
26203 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
26204 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
26205 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
26206 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
26207 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
26208 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
26209 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26210 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
26211 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
26212 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
26213 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
26214 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
26215 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26216 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
26217 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
26218 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
26219 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
26220 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
26221 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
26222 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26223 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
26224 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26225 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26226 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26227 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
26228 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
26229 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26230 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
26231 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
26232 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
26233 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26234 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26235 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
26236 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
26237 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
26238 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26239 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26240 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
26241 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
26242 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
26243 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
26244 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26245 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26246 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26247 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26248 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26249 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
26250 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
26251 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26252 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26253 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26254 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26255 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26256 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26257 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26258 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26259 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26260 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26261 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26262 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
26263 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26264 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26265 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
26266 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26267 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26268 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26269 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
26270 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
26271 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
26272 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26273 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26274 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
26275 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
26276 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
26277 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
26278 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26279 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
26280 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
26281 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
26282 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26283 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
26284 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
26285 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
26286 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
26287 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
26288 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
26289 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
26290 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
26291 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
26292 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
26293 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
26294 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
26295 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
26296 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
26297 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
26298 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
26299 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
26300 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
26301 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
26302 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
26303 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
26304 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
26305 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
26306 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
26307 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
26308 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26309 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
26310 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26311 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
26312 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
26313 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26314 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
26315 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
26316 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26317 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26318 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26319 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
26320 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
26321 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
26322 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
26323 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
26324 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
26325 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
26326 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
26327 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
26328 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
26329 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
26330 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
26331 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
26332 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26333 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26334 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
26335 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
26336 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
26337 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
26338 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26339 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26340 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26341 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
26342 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
26343 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
26344 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26345 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
26346 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
26347 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
26348 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
26349 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
26350 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
26351 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26352 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
26353 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
26354 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
26355 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
26356 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
26357 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
26358 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
26359 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
26360 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
26361 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
26362 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
26363 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
26364 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
26365 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26366 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26367 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
26368 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
26369 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
26370 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
26371 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
26372 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26373 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26374 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26375 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26376 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
26377 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
26378 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
26379 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
26380 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
26381 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
26382 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
26383 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
26384 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
26385 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26386 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
26387 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
26388 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
26389 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
26390 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
26391 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
26392 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
26393 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
26394 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
26395 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26396 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
26397 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
26398 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
26399 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
26400 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
26401 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
26402 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
26403 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
26404 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
26405 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
26406 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
26411 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26413 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
26414 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
26416 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
26417 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
26419 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
26420 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
26422 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
26423 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26425 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
26426 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26428 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
26429 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
26431 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
26432 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26434 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
26435 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
26437 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
26438 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
26440 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
26441 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
26443 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
26444 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26446 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
26447 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
26449 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
26450 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
26452 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
26453 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
26455 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
26456 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
26458 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
26459 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
26461 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
26462 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
26464 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
26465 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
26467 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
26468 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
26470 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
26471 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
26473 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
26474 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
26476 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
26477 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
26479 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
26480 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26482 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
26483 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
26485 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
26486 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
26488 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
26489 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
26491 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
26492 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
26494 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
26495 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
26497 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
26498 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26500 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
26501 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26503 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26504 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26506 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26507 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26509 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26510 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26512 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26513 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26515 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26516 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26518 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26519 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26521 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26522 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26524 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26525 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26527 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26528 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26530 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26531 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26533 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26534 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26536 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26537 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26539 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26540 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26542 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26543 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26545 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26546 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26548 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26549 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26551 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26552 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26554 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26555 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26557 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26558 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26560 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26561 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26563 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26564 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26566 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26567 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26569 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
26570 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
26572 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
26573 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26575 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
26576 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
26578 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
26579 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
26581 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
26582 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
26584 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
26585 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
26587 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
26588 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
26590 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
26591 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
26593 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
26594 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
26596 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
26597 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
26599 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
26600 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
26602 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
26603 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
26605 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
26606 return (void *)((wxControl
*) ((wxComboBox
*) x
));
26608 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
26609 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
26611 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
26612 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
26614 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
26615 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
26617 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
26618 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
26620 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
26621 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26623 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
26624 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
26626 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
26627 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
26629 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
26630 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
26632 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
26633 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
26635 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
26636 return (void *)((wxControl
*) ((wxGauge
*) x
));
26638 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
26639 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
26641 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
26642 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
26644 static void *_p_wxButtonTo_p_wxControl(void *x
) {
26645 return (void *)((wxControl
*) ((wxButton
*) x
));
26647 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
26648 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
26650 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
26651 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
26653 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
26654 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
26656 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
26657 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
26659 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
26660 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
26662 static void *_p_wxListbookTo_p_wxControl(void *x
) {
26663 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
26665 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
26666 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
26668 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
26669 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
26671 static void *_p_wxListViewTo_p_wxControl(void *x
) {
26672 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
26674 static void *_p_wxSliderTo_p_wxControl(void *x
) {
26675 return (void *)((wxControl
*) ((wxSlider
*) x
));
26677 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
26678 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
26680 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
26681 return (void *)((wxControl
*) ((wxPyControl
*) x
));
26683 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
26684 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
26686 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
26687 return (void *)((wxControl
*) ((wxStaticText
*) x
));
26689 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
26690 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
26692 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
26693 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26695 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
26696 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
26698 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
26699 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
26701 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
26702 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
26704 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
26705 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
26707 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
26708 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
26710 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
26711 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
26713 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
26714 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
26716 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
26717 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
26719 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
26720 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
26722 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
26723 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
26725 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
26726 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
26728 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
26729 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
26731 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
26732 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
26734 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26735 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26737 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26738 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26740 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
26741 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
26743 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
26744 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
26746 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
26747 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
26749 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
26750 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26752 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
26753 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
26755 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26756 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26758 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
26759 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
26761 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
26762 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
26764 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26765 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26767 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
26768 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
26770 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
26771 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
26773 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
26774 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
26776 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
26777 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
26779 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
26780 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
26782 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
26783 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
26785 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
26786 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
26788 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
26789 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
26791 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
26792 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
26794 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
26795 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
26797 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
26798 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
26800 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
26801 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
26803 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
26804 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
26806 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
26807 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
26809 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
26810 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
26812 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
26813 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
26815 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
26816 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
26818 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
26819 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
26821 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
26822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
26824 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
26825 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
26827 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
26828 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
26830 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
26831 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
26833 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
26834 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
26836 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
26837 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
26839 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
26840 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
26842 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
26843 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
26845 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
26846 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
26848 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
26849 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
26851 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26852 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26854 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26855 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26857 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26858 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26860 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26861 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26863 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26864 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26866 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
26867 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
26869 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
26870 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
26872 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26873 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26875 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26876 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26878 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26879 return (void *)((wxObject
*) ((wxSizer
*) x
));
26881 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26882 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26884 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
26885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
26887 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
26888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
26890 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26891 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26893 static void *_p_wxEventTo_p_wxObject(void *x
) {
26894 return (void *)((wxObject
*) ((wxEvent
*) x
));
26896 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26897 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26899 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26900 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26902 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26903 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26905 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
26906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
26908 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
26909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
26911 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
26912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26914 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26915 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26917 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26918 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26920 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26921 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26923 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26924 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26926 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26927 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26929 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26930 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26932 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
26933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
26935 static void *_p_wxControlTo_p_wxObject(void *x
) {
26936 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26938 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
26939 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
26941 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
26942 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
26944 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
26945 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
26947 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
26948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
26950 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
26951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
26953 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26954 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26956 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
26957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
26959 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26960 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26962 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26963 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26965 static void *_p_wxListViewTo_p_wxObject(void *x
) {
26966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
26968 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
26969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
26971 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
26972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
26974 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26975 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26977 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26978 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26980 static void *_p_wxListbookTo_p_wxObject(void *x
) {
26981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
26983 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26984 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26986 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
26987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
26989 static void *_p_wxSliderTo_p_wxObject(void *x
) {
26990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
26992 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26993 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26995 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26996 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26998 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26999 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27001 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27002 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27004 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27005 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27007 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27008 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27010 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27011 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27013 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27014 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27016 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27017 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27019 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
27020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27022 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
27023 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
27025 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27026 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27028 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27029 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27031 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27032 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27034 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27035 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27037 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27038 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27040 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27041 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27043 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27044 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27046 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27047 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27049 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27050 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27052 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27053 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27055 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27056 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27058 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27059 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27061 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27062 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27064 static void *_p_wxListEventTo_p_wxObject(void *x
) {
27065 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
27067 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
27068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27070 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
27071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27073 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
27074 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27076 static void *_p_wxButtonTo_p_wxObject(void *x
) {
27077 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27079 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
27080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27082 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
27083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27085 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
27086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27088 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
27089 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
27091 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
27092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27094 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
27095 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27097 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
27098 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
27100 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
27101 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
27103 static void *_p_wxListItemTo_p_wxObject(void *x
) {
27104 return (void *)((wxObject
*) ((wxListItem
*) x
));
27106 static void *_p_wxImageTo_p_wxObject(void *x
) {
27107 return (void *)((wxObject
*) ((wxImage
*) x
));
27109 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
27110 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
27112 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27113 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27115 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
27116 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
27118 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
27119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27121 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
27122 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27124 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
27125 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27127 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27128 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27130 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27131 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27133 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27134 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27136 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27137 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27139 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27140 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27142 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27143 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27145 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27146 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27148 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27149 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27151 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
27152 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
27154 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
27155 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
27157 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
27158 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
27160 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
27161 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
27163 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
27164 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
27166 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
27167 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27169 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
27170 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27172 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
27173 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
27175 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
27176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
27178 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
27179 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
27181 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
27182 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
27184 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
27185 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27187 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
27188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27190 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
27191 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
27193 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
27194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27196 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
27197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
27199 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
27200 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
27202 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
27203 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
27205 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
27206 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
27208 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
27209 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
27211 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
27212 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27214 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
27215 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
27217 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
27218 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
27220 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
27221 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
27223 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27224 return (void *)((wxWindow
*) ((wxControl
*) x
));
27226 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
27227 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
27229 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
27230 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27232 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
27233 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
27235 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
27236 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
27238 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
27239 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
27241 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
27242 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
27244 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27245 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27247 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
27248 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
27250 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
27251 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
27253 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
27254 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27256 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
27257 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
27259 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
27260 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
27262 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
27263 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
27265 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
27266 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27268 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
27269 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27271 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
27272 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27274 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
27275 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27277 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
27278 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27280 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
27281 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
27283 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
27284 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
27286 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
27287 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
27289 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
27290 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
27292 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
27293 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
27295 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
27296 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
27298 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
27299 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
27301 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
27302 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27304 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
27305 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27307 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
27308 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
27310 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
27311 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27313 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
27314 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27316 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
27317 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27319 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
27320 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
27322 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
27323 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27325 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
27326 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27328 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
27329 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27331 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
27332 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27334 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
27335 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27337 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
27338 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
27340 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
27341 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27343 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
27344 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27346 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
27347 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
27349 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
27350 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27352 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
27353 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27355 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
27356 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27358 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
27359 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
27361 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
27362 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
27364 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
27365 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
27367 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
27368 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
27370 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27371 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}};
27372 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}};
27373 static swig_type_info _swigt__p_wxTreeItemIdValue
[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27374 static swig_type_info _swigt__wxTreeItemIdValue
[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27375 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27376 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27377 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}};
27378 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27379 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27380 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27381 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}};
27382 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27383 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
27384 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27385 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}};
27386 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27387 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27388 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
27389 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27390 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27391 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27392 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
27393 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27394 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27395 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27396 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27397 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27398 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27399 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27400 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27401 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27402 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}};
27403 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27404 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27405 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27406 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27407 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27408 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27409 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27410 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27411 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}};
27412 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27413 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
27414 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27415 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}};
27416 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27417 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}};
27418 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
27419 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27420 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27421 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27422 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27423 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27424 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27425 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27426 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27427 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27428 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27429 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27430 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27431 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
27432 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27433 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27434 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27435 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27436 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27437 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}};
27438 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27439 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27440 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}};
27441 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27442 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27443 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27444 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27445 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}};
27446 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27447 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}};
27448 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27449 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27450 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27451 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27452 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
27454 static swig_type_info
*swig_types_initial
[] = {
27455 _swigt__p_wxTextUrlEvent
,
27456 _swigt__p_wxBookCtrlEvent
,
27458 _swigt__p_wxTreeItemIdValue
,
27459 _swigt__wxTreeItemIdValue
,
27460 _swigt__p_wxCheckBox
,
27461 _swigt__p_wxPyTreeCtrl
,
27463 _swigt__p_wxGenericDirCtrl
,
27465 _swigt__p_wxPyTreeItemData
,
27466 _swigt__p_wxItemContainer
,
27467 _swigt__p_wxDirFilterListCtrl
,
27468 _swigt__p_wxPyListCtrl
,
27469 _swigt__p_wxStaticLine
,
27470 _swigt__p_wxControl
,
27471 _swigt__p_wxPyControl
,
27473 _swigt__p_wxToolBarBase
,
27475 _swigt__p_wxToggleButton
,
27476 _swigt__p_wxRadioButton
,
27477 _swigt__p_wxChoice
,
27478 _swigt__p_wxMemoryDC
,
27479 _swigt__p_wxListItemAttr
,
27483 _swigt__p_wxListView
,
27485 _swigt__p_wxTextCtrl
,
27486 _swigt__p_wxNotebook
,
27487 _swigt__p_wxNotifyEvent
,
27488 _swigt__p_wxArrayString
,
27489 _swigt__p_wxListbook
,
27490 _swigt__p_wxStaticBitmap
,
27491 _swigt__p_wxSlider
,
27492 _swigt__p_wxStaticBox
,
27493 _swigt__p_wxArrayInt
,
27494 _swigt__p_wxContextHelp
,
27496 _swigt__p_wxEvtHandler
,
27497 _swigt__p_wxListEvent
,
27498 _swigt__p_wxListBox
,
27499 _swigt__p_wxCheckListBox
,
27500 _swigt__p_wxBookCtrl
,
27501 _swigt__p_wxSpinButton
,
27502 _swigt__p_wxButton
,
27503 _swigt__p_wxBitmapButton
,
27505 _swigt__p_wxContextHelpButton
,
27506 _swigt__p_wxRadioBox
,
27507 _swigt__p_wxScrollBar
,
27508 _swigt__p_wxTreeItemId
,
27509 _swigt__p_wxComboBox
,
27510 _swigt__p_wxHelpEvent
,
27511 _swigt__p_wxListItem
,
27512 _swigt__p_wxNotebookSizer
,
27513 _swigt__p_wxGenericDragImage
,
27514 _swigt__p_wxSpinCtrl
,
27515 _swigt__p_wxImageList
,
27516 _swigt__p_wxHelpProvider
,
27517 _swigt__p_wxTextAttr
,
27518 _swigt__p_wxSimpleHelpProvider
,
27520 _swigt__p_wxListbookEvent
,
27521 _swigt__p_wxNotebookEvent
,
27522 _swigt__p_wxObject
,
27523 _swigt__p_wxCursor
,
27524 _swigt__p_wxKeyEvent
,
27525 _swigt__p_wxWindow
,
27526 _swigt__p_wxString
,
27527 _swigt__p_wxBitmap
,
27528 _swigt__p_wxTreeEvent
,
27529 _swigt__p_wxMouseEvent
,
27530 _swigt__p_wxCommandEvent
,
27531 _swigt__p_wxStaticText
,
27532 _swigt__p_wxControlWithItems
,
27533 _swigt__p_wxToolBarToolBase
,
27534 _swigt__p_wxColour
,
27535 _swigt__p_wxToolBar
,
27536 _swigt__p_wxBookCtrlSizer
,
27537 _swigt__p_wxValidator
,
27542 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27544 static swig_const_info swig_const_table
[] = {
27545 { SWIG_PY_INT
, (char *)"BU_LEFT", (long) wxBU_LEFT
, 0, 0, 0},
27546 { SWIG_PY_INT
, (char *)"BU_TOP", (long) wxBU_TOP
, 0, 0, 0},
27547 { SWIG_PY_INT
, (char *)"BU_RIGHT", (long) wxBU_RIGHT
, 0, 0, 0},
27548 { SWIG_PY_INT
, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM
, 0, 0, 0},
27549 { SWIG_PY_INT
, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT
, 0, 0, 0},
27550 { SWIG_PY_INT
, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW
, 0, 0, 0},
27551 { SWIG_PY_INT
, (char *)"CHK_2STATE", (long) wxCHK_2STATE
, 0, 0, 0},
27552 { SWIG_PY_INT
, (char *)"CHK_3STATE", (long) wxCHK_3STATE
, 0, 0, 0},
27553 { SWIG_PY_INT
, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER
, 0, 0, 0},
27554 { SWIG_PY_INT
, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED
, 0, 0, 0},
27555 { SWIG_PY_INT
, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED
, 0, 0, 0},
27556 { SWIG_PY_INT
, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED
, 0, 0, 0},
27557 { SWIG_PY_INT
, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL
, 0, 0, 0},
27558 { SWIG_PY_INT
, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL
, 0, 0, 0},
27559 { SWIG_PY_INT
, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH
, 0, 0, 0},
27560 { SWIG_PY_INT
, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR
, 0, 0, 0},
27561 { SWIG_PY_INT
, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL
, 0, 0, 0},
27562 { SWIG_PY_INT
, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL
, 0, 0, 0},
27563 { SWIG_PY_INT
, (char *)"TE_READONLY", (long) wxTE_READONLY
, 0, 0, 0},
27564 { SWIG_PY_INT
, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE
, 0, 0, 0},
27565 { SWIG_PY_INT
, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB
, 0, 0, 0},
27566 { SWIG_PY_INT
, (char *)"TE_LEFT", (long) wxTE_LEFT
, 0, 0, 0},
27567 { SWIG_PY_INT
, (char *)"TE_CENTER", (long) wxTE_CENTER
, 0, 0, 0},
27568 { SWIG_PY_INT
, (char *)"TE_RIGHT", (long) wxTE_RIGHT
, 0, 0, 0},
27569 { SWIG_PY_INT
, (char *)"TE_CENTRE", (long) wxTE_CENTRE
, 0, 0, 0},
27570 { SWIG_PY_INT
, (char *)"TE_RICH", (long) wxTE_RICH
, 0, 0, 0},
27571 { SWIG_PY_INT
, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER
, 0, 0, 0},
27572 { SWIG_PY_INT
, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD
, 0, 0, 0},
27573 { SWIG_PY_INT
, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL
, 0, 0, 0},
27574 { SWIG_PY_INT
, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL
, 0, 0, 0},
27575 { SWIG_PY_INT
, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP
, 0, 0, 0},
27576 { SWIG_PY_INT
, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP
, 0, 0, 0},
27577 { SWIG_PY_INT
, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP
, 0, 0, 0},
27578 { SWIG_PY_INT
, (char *)"TE_RICH2", (long) wxTE_RICH2
, 0, 0, 0},
27579 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT
, 0, 0, 0},
27580 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT
, 0, 0, 0},
27581 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE
, 0, 0, 0},
27582 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER
, 0, 0, 0},
27583 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT
, 0, 0, 0},
27584 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED
, 0, 0, 0},
27585 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR
, 0, 0, 0},
27586 { SWIG_PY_INT
, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR
, 0, 0, 0},
27587 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE
, 0, 0, 0},
27588 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE
, 0, 0, 0},
27589 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT
, 0, 0, 0},
27590 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC
, 0, 0, 0},
27591 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE
, 0, 0, 0},
27592 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT
, 0, 0, 0},
27593 { SWIG_PY_INT
, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT
, 0, 0, 0},
27594 { SWIG_PY_INT
, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT
, 0, 0, 0},
27595 { SWIG_PY_INT
, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT
, 0, 0, 0},
27596 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS
, 0, 0, 0},
27597 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED
, 0, 0, 0},
27598 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER
, 0, 0, 0},
27599 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL
, 0, 0, 0},
27600 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN
, 0, 0, 0},
27601 { SWIG_PY_INT
, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL
, 0, 0, 0},
27602 { SWIG_PY_INT
, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL
, 0, 0, 0},
27603 { SWIG_PY_INT
, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS
, 0, 0, 0},
27604 { SWIG_PY_INT
, (char *)"SP_WRAP", (long) wxSP_WRAP
, 0, 0, 0},
27605 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED
, 0, 0, 0},
27606 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, 0, 0, 0},
27607 { SWIG_PY_INT
, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH
, 0, 0, 0},
27608 { SWIG_PY_INT
, (char *)"NB_TOP", (long) wxNB_TOP
, 0, 0, 0},
27609 { SWIG_PY_INT
, (char *)"NB_LEFT", (long) wxNB_LEFT
, 0, 0, 0},
27610 { SWIG_PY_INT
, (char *)"NB_RIGHT", (long) wxNB_RIGHT
, 0, 0, 0},
27611 { SWIG_PY_INT
, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM
, 0, 0, 0},
27612 { SWIG_PY_INT
, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE
, 0, 0, 0},
27613 { SWIG_PY_INT
, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE
, 0, 0, 0},
27614 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON
, 0, 0, 0},
27615 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL
, 0, 0, 0},
27616 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM
, 0, 0, 0},
27617 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, 0, 0, 0},
27618 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, 0, 0, 0},
27619 { SWIG_PY_INT
, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT
, 0, 0, 0},
27620 { SWIG_PY_INT
, (char *)"LB_TOP", (long) wxLB_TOP
, 0, 0, 0},
27621 { SWIG_PY_INT
, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM
, 0, 0, 0},
27622 { SWIG_PY_INT
, (char *)"LB_LEFT", (long) wxLB_LEFT
, 0, 0, 0},
27623 { SWIG_PY_INT
, (char *)"LB_RIGHT", (long) wxLB_RIGHT
, 0, 0, 0},
27624 { SWIG_PY_INT
, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK
, 0, 0, 0},
27625 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
, 0, 0, 0},
27626 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
, 0, 0, 0},
27627 { SWIG_PY_INT
, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON
, 0, 0, 0},
27628 { SWIG_PY_INT
, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR
, 0, 0, 0},
27629 { SWIG_PY_INT
, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL
, 0, 0, 0},
27630 { SWIG_PY_INT
, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL
, 0, 0, 0},
27631 { SWIG_PY_INT
, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL
, 0, 0, 0},
27632 { SWIG_PY_INT
, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS
, 0, 0, 0},
27633 { SWIG_PY_INT
, (char *)"TB_FLAT", (long) wxTB_FLAT
, 0, 0, 0},
27634 { SWIG_PY_INT
, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE
, 0, 0, 0},
27635 { SWIG_PY_INT
, (char *)"TB_NOICONS", (long) wxTB_NOICONS
, 0, 0, 0},
27636 { SWIG_PY_INT
, (char *)"TB_TEXT", (long) wxTB_TEXT
, 0, 0, 0},
27637 { SWIG_PY_INT
, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER
, 0, 0, 0},
27638 { SWIG_PY_INT
, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN
, 0, 0, 0},
27639 { SWIG_PY_INT
, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT
, 0, 0, 0},
27640 { SWIG_PY_INT
, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT
, 0, 0, 0},
27641 { SWIG_PY_INT
, (char *)"LC_VRULES", (long) wxLC_VRULES
, 0, 0, 0},
27642 { SWIG_PY_INT
, (char *)"LC_HRULES", (long) wxLC_HRULES
, 0, 0, 0},
27643 { SWIG_PY_INT
, (char *)"LC_ICON", (long) wxLC_ICON
, 0, 0, 0},
27644 { SWIG_PY_INT
, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON
, 0, 0, 0},
27645 { SWIG_PY_INT
, (char *)"LC_LIST", (long) wxLC_LIST
, 0, 0, 0},
27646 { SWIG_PY_INT
, (char *)"LC_REPORT", (long) wxLC_REPORT
, 0, 0, 0},
27647 { SWIG_PY_INT
, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP
, 0, 0, 0},
27648 { SWIG_PY_INT
, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT
, 0, 0, 0},
27649 { SWIG_PY_INT
, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE
, 0, 0, 0},
27650 { SWIG_PY_INT
, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL
, 0, 0, 0},
27651 { SWIG_PY_INT
, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS
, 0, 0, 0},
27652 { SWIG_PY_INT
, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER
, 0, 0, 0},
27653 { SWIG_PY_INT
, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER
, 0, 0, 0},
27654 { SWIG_PY_INT
, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL
, 0, 0, 0},
27655 { SWIG_PY_INT
, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING
, 0, 0, 0},
27656 { SWIG_PY_INT
, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING
, 0, 0, 0},
27657 { SWIG_PY_INT
, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE
, 0, 0, 0},
27658 { SWIG_PY_INT
, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN
, 0, 0, 0},
27659 { SWIG_PY_INT
, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT
, 0, 0, 0},
27660 { SWIG_PY_INT
, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE
, 0, 0, 0},
27661 { SWIG_PY_INT
, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT
, 0, 0, 0},
27662 { SWIG_PY_INT
, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE
, 0, 0, 0},
27663 { SWIG_PY_INT
, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA
, 0, 0, 0},
27664 { SWIG_PY_INT
, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM
, 0, 0, 0},
27665 { SWIG_PY_INT
, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH
, 0, 0, 0},
27666 { SWIG_PY_INT
, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT
, 0, 0, 0},
27667 { SWIG_PY_INT
, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE
, 0, 0, 0},
27668 { SWIG_PY_INT
, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED
, 0, 0, 0},
27669 { SWIG_PY_INT
, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED
, 0, 0, 0},
27670 { SWIG_PY_INT
, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED
, 0, 0, 0},
27671 { SWIG_PY_INT
, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT
, 0, 0, 0},
27672 { SWIG_PY_INT
, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED
, 0, 0, 0},
27673 { SWIG_PY_INT
, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED
, 0, 0, 0},
27674 { SWIG_PY_INT
, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE
, 0, 0, 0},
27675 { SWIG_PY_INT
, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED
, 0, 0, 0},
27676 { SWIG_PY_INT
, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE
, 0, 0, 0},
27677 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE
, 0, 0, 0},
27678 { SWIG_PY_INT
, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW
, 0, 0, 0},
27679 { SWIG_PY_INT
, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE
, 0, 0, 0},
27680 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON
, 0, 0, 0},
27681 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL
, 0, 0, 0},
27682 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT
, 0, 0, 0},
27683 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
27684 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT
, 0, 0, 0},
27685 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT
, 0, 0, 0},
27686 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM
, 0, 0, 0},
27687 { SWIG_PY_INT
, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE
, 0, 0, 0},
27688 { SWIG_PY_INT
, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL
, 0, 0, 0},
27689 { SWIG_PY_INT
, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW
, 0, 0, 0},
27690 { SWIG_PY_INT
, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT
, 0, 0, 0},
27691 { SWIG_PY_INT
, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT
, 0, 0, 0},
27692 { SWIG_PY_INT
, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT
, 0, 0, 0},
27693 { SWIG_PY_INT
, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT
, 0, 0, 0},
27694 { SWIG_PY_INT
, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP
, 0, 0, 0},
27695 { SWIG_PY_INT
, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID
, 0, 0, 0},
27696 { SWIG_PY_INT
, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT
, 0, 0, 0},
27697 { SWIG_PY_INT
, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT
, 0, 0, 0},
27698 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE
, 0, 0, 0},
27699 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER
, 0, 0, 0},
27700 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE
, 0, 0, 0},
27701 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER
, 0, 0, 0},
27702 { SWIG_PY_INT
, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS
, 0, 0, 0},
27703 { SWIG_PY_INT
, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON
, 0, 0, 0},
27704 { SWIG_PY_INT
, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL
, 0, 0, 0},
27705 { SWIG_PY_INT
, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP
, 0, 0, 0},
27706 { SWIG_PY_INT
, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN
, 0, 0, 0},
27707 { SWIG_PY_INT
, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT
, 0, 0, 0},
27708 { SWIG_PY_INT
, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT
, 0, 0, 0},
27709 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG
, 0, 0, 0},
27710 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
, 0, 0, 0},
27711 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, 0, 0, 0},
27712 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
, 0, 0, 0},
27713 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM
, 0, 0, 0},
27714 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, 0, 0, 0},
27715 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO
, 0, 0, 0},
27716 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO
, 0, 0, 0},
27717 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED
, 0, 0, 0},
27718 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
, 0, 0, 0},
27719 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN
, 0, 0, 0},
27720 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM
, 0, 0, 0},
27721 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK
, 0, 0, 0},
27722 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
, 0, 0, 0},
27723 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, 0, 0, 0},
27724 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, 0, 0, 0},
27725 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT
, 0, 0, 0},
27726 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
, 0, 0, 0},
27727 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
, 0, 0, 0},
27728 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING
, 0, 0, 0},
27729 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG
, 0, 0, 0},
27730 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
, 0, 0, 0},
27731 { SWIG_PY_INT
, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS
, 0, 0, 0},
27732 { SWIG_PY_INT
, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS
, 0, 0, 0},
27733 { SWIG_PY_INT
, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES
, 0, 0, 0},
27734 { SWIG_PY_INT
, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT
, 0, 0, 0},
27735 { SWIG_PY_INT
, (char *)"TR_SINGLE", (long) wxTR_SINGLE
, 0, 0, 0},
27736 { SWIG_PY_INT
, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE
, 0, 0, 0},
27737 { SWIG_PY_INT
, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED
, 0, 0, 0},
27738 { SWIG_PY_INT
, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT
, 0, 0, 0},
27739 { SWIG_PY_INT
, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS
, 0, 0, 0},
27740 { SWIG_PY_INT
, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT
, 0, 0, 0},
27741 { SWIG_PY_INT
, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES
, 0, 0, 0},
27742 { SWIG_PY_INT
, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT
, 0, 0, 0},
27743 { SWIG_PY_INT
, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE
, 0, 0, 0},
27744 { SWIG_PY_INT
, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS
, 0, 0, 0},
27745 { SWIG_PY_INT
, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS
, 0, 0, 0},
27746 { SWIG_PY_INT
, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS
, 0, 0, 0},
27747 { SWIG_PY_INT
, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal
, 0, 0, 0},
27748 { SWIG_PY_INT
, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected
, 0, 0, 0},
27749 { SWIG_PY_INT
, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded
, 0, 0, 0},
27750 { SWIG_PY_INT
, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded
, 0, 0, 0},
27751 { SWIG_PY_INT
, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max
, 0, 0, 0},
27752 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE
, 0, 0, 0},
27753 { SWIG_PY_INT
, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW
, 0, 0, 0},
27754 { SWIG_PY_INT
, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE
, 0, 0, 0},
27755 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON
, 0, 0, 0},
27756 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON
, 0, 0, 0},
27757 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT
, 0, 0, 0},
27758 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL
, 0, 0, 0},
27759 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT
, 0, 0, 0},
27760 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
27761 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT
, 0, 0, 0},
27762 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT
, 0, 0, 0},
27763 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART
, 0, 0, 0},
27764 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART
, 0, 0, 0},
27765 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM
, 0, 0, 0},
27766 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG
, 0, 0, 0},
27767 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
, 0, 0, 0},
27768 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, 0, 0, 0},
27769 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
, 0, 0, 0},
27770 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM
, 0, 0, 0},
27771 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO
, 0, 0, 0},
27772 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO
, 0, 0, 0},
27773 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
, 0, 0, 0},
27774 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
, 0, 0, 0},
27775 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, 0, 0, 0},
27776 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, 0, 0, 0},
27777 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED
, 0, 0, 0},
27778 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING
, 0, 0, 0},
27779 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN
, 0, 0, 0},
27780 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
, 0, 0, 0},
27781 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
, 0, 0, 0},
27782 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
, 0, 0, 0},
27783 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG
, 0, 0, 0},
27784 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
, 0, 0, 0},
27785 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
, 0, 0, 0},
27786 { SWIG_PY_INT
, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY
, 0, 0, 0},
27787 { SWIG_PY_INT
, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST
, 0, 0, 0},
27788 { SWIG_PY_INT
, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS
, 0, 0, 0},
27789 { SWIG_PY_INT
, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL
, 0, 0, 0},
27790 { SWIG_PY_INT
, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS
, 0, 0, 0},
27791 { SWIG_PY_INT
, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP
, 0, 0, 0},
27792 { SWIG_PY_INT
, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP
, 0, 0, 0},
27793 { SWIG_PY_INT
, (char *)"wxEVT_HELP", (long) wxEVT_HELP
, 0, 0, 0},
27794 { SWIG_PY_INT
, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP
, 0, 0, 0},
27804 SWIGEXPORT(void) SWIG_init(void) {
27805 static PyObject
*SWIG_globals
= 0;
27806 static int typeinit
= 0;
27809 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27810 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27811 d
= PyModule_GetDict(m
);
27814 for (i
= 0; swig_types_initial
[i
]; i
++) {
27815 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27819 SWIG_InstallConstants(d
,swig_const_table
);
27821 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
27822 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
27823 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
27824 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
27825 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
27826 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
27827 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
27828 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
27829 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
27830 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
27831 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
27832 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
27833 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
27834 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
27835 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
27836 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
27837 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
27838 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
27839 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
27840 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
27841 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
27842 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
27843 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
27844 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
27845 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
27846 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
27847 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
27848 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
27849 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
27850 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
27851 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
27852 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
27854 // Map renamed classes back to their common name for OOR
27855 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
27857 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
27858 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
27859 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
27860 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
27861 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
27862 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
27863 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
27864 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
27865 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
27866 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
27867 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
27868 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
27869 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
27870 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
27871 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
27872 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
27873 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
27874 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
27875 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
27876 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
27878 // Map renamed classes back to their common name for OOR
27879 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
27880 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
27882 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
27883 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
27885 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");