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
);
400 void wxSpinCtrl_SetSelection(wxSpinCtrl
*self
,long from
,long to
){
403 DECLARE_DEF_STRING(RadioBoxNameStr
);
404 DECLARE_DEF_STRING(RadioButtonNameStr
);
406 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
407 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
408 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
410 #include <wx/slider.h>
412 DECLARE_DEF_STRING(SliderNameStr
);
415 wxChar
* wxToggleButtonNameStr
= _T("wxToggleButton");
416 DECLARE_DEF_STRING(ToggleButtonNameStr
);
420 // implement dummy classes and such for wxMac
422 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
424 class wxToggleButton
: public wxControl
427 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
428 const wxPoint
&, const wxSize
&, long,
429 const wxValidator
&, const wxString
&)
430 { PyErr_SetNone(PyExc_NotImplementedError
); }
433 { PyErr_SetNone(PyExc_NotImplementedError
); }
438 DECLARE_DEF_STRING(NOTEBOOK_NAME
);
441 DECLARE_DEF_STRING(ToolBarNameStr
);
443 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
444 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
446 Py_INCREF(udata
->m_obj
);
453 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
454 self
->SetClientData(new wxPyUserData(clientData
));
456 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
){
457 wxPyUserData
* udata
= NULL
;
458 if (clientData
&& clientData
!= Py_None
)
459 udata
= new wxPyUserData(clientData
);
460 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
461 shortHelp
, longHelp
, udata
);
463 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
){
464 wxPyUserData
* udata
= NULL
;
465 if (clientData
&& clientData
!= Py_None
)
466 udata
= new wxPyUserData(clientData
);
467 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
468 shortHelp
, longHelp
, udata
);
470 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
471 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
473 Py_INCREF(udata
->m_obj
);
480 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
481 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
484 #include <wx/listctrl.h>
486 const wxChar
* wxListCtrlNameStr
= _T("wxListCtrl");
487 DECLARE_DEF_STRING(ListCtrlNameStr
);
489 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
490 // Python aware sorting function for wxPyListCtrl
491 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
493 PyObject
* func
= (PyObject
*)funcPtr
;
494 wxPyBeginBlockThreads();
496 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
497 PyObject
* result
= PyEval_CallObject(func
, args
);
500 retval
= PyInt_AsLong(result
);
504 wxPyEndBlockThreads();
508 // C++ Version of a Python aware class
509 class wxPyListCtrl
: public wxListCtrl
{
510 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
512 wxPyListCtrl() : wxListCtrl() {}
513 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
517 const wxValidator
& validator
,
518 const wxString
& name
) :
519 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
521 bool Create(wxWindow
* parent
, wxWindowID id
,
525 const wxValidator
& validator
,
526 const wxString
& name
) {
527 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
530 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
531 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
532 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
537 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
539 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
540 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
541 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
543 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
545 item
.SetMask( wxLIST_MASK_STATE
|
553 if (self
->GetColumn(col
, item
))
554 return new wxListItem(item
);
558 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
559 wxListItem
* info
= new wxListItem
;
560 info
->m_itemId
= itemId
;
562 info
->m_mask
= 0xFFFF;
563 self
->GetItem(*info
);
566 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
568 self
->GetItemPosition(item
, pos
);
571 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
573 self
->GetItemRect(item
, rect
, code
);
576 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
577 if (!PyCallable_Check(func
))
579 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
581 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
585 return (wxWindow
*)self
->m_mainWin
;
589 #include <wx/treectrl.h>
590 #include "wx/wxPython/pytree.h"
592 const wxChar
* wx_TreeCtrlNameStr
= _T("wxTreeCtrl");
593 DECLARE_DEF_STRING(_TreeCtrlNameStr
);
595 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
596 if (!other
) return False
;
597 return *self
== *other
;
599 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
600 if (!other
) return True
;
601 return *self
!= *other
;
603 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
604 // C++ version of Python aware wxTreeCtrl
605 class wxPyTreeCtrl
: public wxTreeCtrl
{
606 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
608 wxPyTreeCtrl() : wxTreeCtrl() {}
609 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
613 const wxValidator
& validator
,
614 const wxString
& name
) :
615 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
617 bool Create(wxWindow
*parent
, wxWindowID id
,
621 const wxValidator
& validator
,
622 const wxString
& name
) {
623 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
627 int OnCompareItems(const wxTreeItemId
& item1
,
628 const wxTreeItemId
& item2
) {
631 wxPyBeginBlockThreads();
632 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
633 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
634 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
635 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
639 wxPyEndBlockThreads();
641 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
647 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
650 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
651 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
653 data
= new wxPyTreeItemData();
654 data
->SetId(item
); // set the id
655 self
->SetItemData(item
, data
);
659 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
660 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
662 data
= new wxPyTreeItemData();
663 data
->SetId(item
); // set the id
664 self
->SetItemData(item
, data
);
666 return data
->GetData();
668 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
669 data
->SetId(item
); // set the id
670 self
->SetItemData(item
, data
);
672 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
673 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
675 data
= new wxPyTreeItemData(obj
);
676 data
->SetId(item
); // set the id
677 self
->SetItemData(item
, data
);
681 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
682 wxPyBeginBlockThreads();
683 PyObject
* rval
= PyList_New(0);
684 wxArrayTreeItemIds array
;
686 num
= self
->GetSelections(array
);
687 for (x
=0; x
< num
; x
++) {
688 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
689 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
690 PyList_Append(rval
, item
);
692 wxPyEndBlockThreads();
695 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
696 wxTreeItemIdValue cookie
= 0;
697 wxTreeItemId ritem
= self
->GetFirstChild(item
, cookie
);
698 wxPyBeginBlockThreads();
699 PyObject
* tup
= PyTuple_New(2);
700 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
701 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
702 wxPyEndBlockThreads();
705 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxTreeItemIdValue
&cookie
){
706 wxTreeItemId ritem
= self
->GetNextChild(item
, cookie
);
707 wxPyBeginBlockThreads();
708 PyObject
* tup
= PyTuple_New(2);
709 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
710 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
711 wxPyEndBlockThreads();
714 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
716 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
717 wxPyBeginBlockThreads();
718 wxRect
* r
= new wxRect(rect
);
719 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
720 wxPyEndBlockThreads();
727 DECLARE_DEF_STRING(DirDialogDefaultFolderStr
);
729 // C++ version of Python aware wxControl
730 class wxPyControl
: public wxControl
732 DECLARE_DYNAMIC_CLASS(wxPyControl
)
734 wxPyControl() : wxControl() {}
735 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
736 const wxPoint
& pos
= wxDefaultPosition
,
737 const wxSize
& size
= wxDefaultSize
,
739 const wxValidator
& validator
=wxDefaultValidator
,
740 const wxString
& name
= wxPyControlNameStr
)
741 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
744 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
745 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
746 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
747 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
749 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
750 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
751 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
753 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
754 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
756 DEC_PYCALLBACK__(InitDialog
);
757 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
758 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
759 DEC_PYCALLBACK_BOOL_(Validate
);
761 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
762 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
763 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
765 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
766 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
771 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
773 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
774 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
775 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
776 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
778 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
779 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
780 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
782 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
783 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
785 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
786 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
787 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
788 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
790 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
791 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
792 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
794 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
795 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
800 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
802 #include <wx/generic/dragimgg.h>
807 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
809 wxWindow
*arg1
= (wxWindow
*) 0 ;
812 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
813 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
814 wxSize
const &arg5_defvalue
= wxDefaultSize
;
815 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
816 long arg6
= (long) 0 ;
817 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
818 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
819 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
820 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
826 PyObject
* obj0
= 0 ;
827 PyObject
* obj2
= 0 ;
828 PyObject
* obj3
= 0 ;
829 PyObject
* obj4
= 0 ;
830 PyObject
* obj6
= 0 ;
831 PyObject
* obj7
= 0 ;
833 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_Button",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
839 arg3
= wxString_in_helper(obj2
);
840 if (arg3
== NULL
) SWIG_fail
;
846 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
852 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
856 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
858 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
863 arg8
= wxString_in_helper(obj7
);
864 if (arg8
== NULL
) SWIG_fail
;
869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
870 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
872 wxPyEndAllowThreads(__tstate
);
873 if (PyErr_Occurred()) SWIG_fail
;
876 resultobj
= wxPyMake_wxObject(result
);
900 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
910 result
= (wxButton
*)new wxButton();
912 wxPyEndAllowThreads(__tstate
);
913 if (PyErr_Occurred()) SWIG_fail
;
916 resultobj
= wxPyMake_wxObject(result
);
924 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
926 wxButton
*arg1
= (wxButton
*) 0 ;
927 wxWindow
*arg2
= (wxWindow
*) 0 ;
930 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
931 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
932 wxSize
const &arg6_defvalue
= wxDefaultSize
;
933 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
934 long arg7
= (long) 0 ;
935 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
936 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
937 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
938 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
944 PyObject
* obj0
= 0 ;
945 PyObject
* obj1
= 0 ;
946 PyObject
* obj3
= 0 ;
947 PyObject
* obj4
= 0 ;
948 PyObject
* obj5
= 0 ;
949 PyObject
* obj7
= 0 ;
950 PyObject
* obj8
= 0 ;
952 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:Button_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
957 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
959 arg4
= wxString_in_helper(obj3
);
960 if (arg4
== NULL
) SWIG_fail
;
966 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
972 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
976 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
978 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
983 arg9
= wxString_in_helper(obj8
);
984 if (arg9
== NULL
) SWIG_fail
;
989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
990 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
992 wxPyEndAllowThreads(__tstate
);
993 if (PyErr_Occurred()) SWIG_fail
;
995 resultobj
= PyInt_FromLong((long)result
);
1018 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1019 PyObject
*resultobj
;
1020 wxButton
*arg1
= (wxButton
*) 0 ;
1021 PyObject
* obj0
= 0 ;
1023 (char *) "self", NULL
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1030 (arg1
)->SetDefault();
1032 wxPyEndAllowThreads(__tstate
);
1033 if (PyErr_Occurred()) SWIG_fail
;
1035 Py_INCREF(Py_None
); resultobj
= Py_None
;
1042 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
*resultobj
;
1049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1052 result
= wxButton::GetDefaultSize();
1054 wxPyEndAllowThreads(__tstate
);
1055 if (PyErr_Occurred()) SWIG_fail
;
1059 resultptr
= new wxSize((wxSize
&) result
);
1060 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1068 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1071 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1073 return Py_BuildValue((char *)"");
1075 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1076 PyObject
*resultobj
;
1077 wxWindow
*arg1
= (wxWindow
*) 0 ;
1079 wxBitmap
*arg3
= 0 ;
1080 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1081 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1082 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1083 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1084 long arg6
= (long) wxBU_AUTODRAW
;
1085 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1086 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1087 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1088 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1089 wxBitmapButton
*result
;
1092 bool temp8
= False
;
1093 PyObject
* obj0
= 0 ;
1094 PyObject
* obj2
= 0 ;
1095 PyObject
* obj3
= 0 ;
1096 PyObject
* obj4
= 0 ;
1097 PyObject
* obj6
= 0 ;
1098 PyObject
* obj7
= 0 ;
1100 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_BitmapButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1105 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1107 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1112 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1118 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1122 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1124 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1129 arg8
= wxString_in_helper(obj7
);
1130 if (arg8
== NULL
) SWIG_fail
;
1135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1136 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1138 wxPyEndAllowThreads(__tstate
);
1139 if (PyErr_Occurred()) SWIG_fail
;
1142 resultobj
= wxPyMake_wxObject(result
);
1158 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1159 PyObject
*resultobj
;
1160 wxBitmapButton
*result
;
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1168 result
= (wxBitmapButton
*)new wxBitmapButton();
1170 wxPyEndAllowThreads(__tstate
);
1171 if (PyErr_Occurred()) SWIG_fail
;
1174 resultobj
= wxPyMake_wxObject(result
);
1182 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
*resultobj
;
1184 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1185 wxWindow
*arg2
= (wxWindow
*) 0 ;
1187 wxBitmap
*arg4
= 0 ;
1188 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1189 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1190 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1191 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1192 long arg7
= (long) wxBU_AUTODRAW
;
1193 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1194 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1195 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1196 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1200 bool temp9
= False
;
1201 PyObject
* obj0
= 0 ;
1202 PyObject
* obj1
= 0 ;
1203 PyObject
* obj3
= 0 ;
1204 PyObject
* obj4
= 0 ;
1205 PyObject
* obj5
= 0 ;
1206 PyObject
* obj7
= 0 ;
1207 PyObject
* obj8
= 0 ;
1209 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1214 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1215 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1217 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1222 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1228 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1232 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1234 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1239 arg9
= wxString_in_helper(obj8
);
1240 if (arg9
== NULL
) SWIG_fail
;
1245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1246 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1248 wxPyEndAllowThreads(__tstate
);
1249 if (PyErr_Occurred()) SWIG_fail
;
1251 resultobj
= PyInt_FromLong((long)result
);
1266 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1267 PyObject
*resultobj
;
1268 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1270 PyObject
* obj0
= 0 ;
1272 (char *) "self", NULL
1275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1279 result
= (arg1
)->GetBitmapLabel();
1281 wxPyEndAllowThreads(__tstate
);
1282 if (PyErr_Occurred()) SWIG_fail
;
1285 wxBitmap
* resultptr
;
1286 resultptr
= new wxBitmap((wxBitmap
&) result
);
1287 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1295 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
*resultobj
;
1297 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1299 PyObject
* obj0
= 0 ;
1301 (char *) "self", NULL
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1308 result
= (arg1
)->GetBitmapDisabled();
1310 wxPyEndAllowThreads(__tstate
);
1311 if (PyErr_Occurred()) SWIG_fail
;
1314 wxBitmap
* resultptr
;
1315 resultptr
= new wxBitmap((wxBitmap
&) result
);
1316 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1324 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
*resultobj
;
1326 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1328 PyObject
* obj0
= 0 ;
1330 (char *) "self", NULL
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1337 result
= (arg1
)->GetBitmapFocus();
1339 wxPyEndAllowThreads(__tstate
);
1340 if (PyErr_Occurred()) SWIG_fail
;
1343 wxBitmap
* resultptr
;
1344 resultptr
= new wxBitmap((wxBitmap
&) result
);
1345 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1353 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1354 PyObject
*resultobj
;
1355 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1357 PyObject
* obj0
= 0 ;
1359 (char *) "self", NULL
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1366 result
= (arg1
)->GetBitmapSelected();
1368 wxPyEndAllowThreads(__tstate
);
1369 if (PyErr_Occurred()) SWIG_fail
;
1372 wxBitmap
* resultptr
;
1373 resultptr
= new wxBitmap((wxBitmap
&) result
);
1374 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1382 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
*resultobj
;
1384 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1385 wxBitmap
*arg2
= 0 ;
1386 PyObject
* obj0
= 0 ;
1387 PyObject
* obj1
= 0 ;
1389 (char *) "self",(char *) "bitmap", NULL
1392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1394 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1396 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1400 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1402 wxPyEndAllowThreads(__tstate
);
1403 if (PyErr_Occurred()) SWIG_fail
;
1405 Py_INCREF(Py_None
); resultobj
= Py_None
;
1412 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
*resultobj
;
1414 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1415 wxBitmap
*arg2
= 0 ;
1416 PyObject
* obj0
= 0 ;
1417 PyObject
* obj1
= 0 ;
1419 (char *) "self",(char *) "bitmap", NULL
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1424 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1426 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1430 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1432 wxPyEndAllowThreads(__tstate
);
1433 if (PyErr_Occurred()) SWIG_fail
;
1435 Py_INCREF(Py_None
); resultobj
= Py_None
;
1442 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
*resultobj
;
1444 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1445 wxBitmap
*arg2
= 0 ;
1446 PyObject
* obj0
= 0 ;
1447 PyObject
* obj1
= 0 ;
1449 (char *) "self",(char *) "bitmap", NULL
1452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1454 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1456 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1460 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1462 wxPyEndAllowThreads(__tstate
);
1463 if (PyErr_Occurred()) SWIG_fail
;
1465 Py_INCREF(Py_None
); resultobj
= Py_None
;
1472 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
*resultobj
;
1474 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1475 wxBitmap
*arg2
= 0 ;
1476 PyObject
* obj0
= 0 ;
1477 PyObject
* obj1
= 0 ;
1479 (char *) "self",(char *) "bitmap", NULL
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1484 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1486 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1490 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1492 wxPyEndAllowThreads(__tstate
);
1493 if (PyErr_Occurred()) SWIG_fail
;
1495 Py_INCREF(Py_None
); resultobj
= Py_None
;
1502 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1503 PyObject
*resultobj
;
1504 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1507 PyObject
* obj0
= 0 ;
1509 (char *) "self",(char *) "x",(char *) "y", NULL
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:BitmapButton_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1516 (arg1
)->SetMargins(arg2
,arg3
);
1518 wxPyEndAllowThreads(__tstate
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1521 Py_INCREF(Py_None
); resultobj
= Py_None
;
1528 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
*resultobj
;
1530 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1532 PyObject
* obj0
= 0 ;
1534 (char *) "self", NULL
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1541 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1543 wxPyEndAllowThreads(__tstate
);
1544 if (PyErr_Occurred()) SWIG_fail
;
1546 resultobj
= PyInt_FromLong((long)result
);
1553 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1554 PyObject
*resultobj
;
1555 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1557 PyObject
* obj0
= 0 ;
1559 (char *) "self", NULL
1562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) SWIG_fail
;
1571 resultobj
= PyInt_FromLong((long)result
);
1578 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1581 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1583 return Py_BuildValue((char *)"");
1585 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
*resultobj
;
1587 wxWindow
*arg1
= (wxWindow
*) 0 ;
1589 wxString
*arg3
= 0 ;
1590 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1591 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1592 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1593 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1594 long arg6
= (long) 0 ;
1595 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1596 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1597 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1598 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1600 bool temp3
= False
;
1603 bool temp8
= False
;
1604 PyObject
* obj0
= 0 ;
1605 PyObject
* obj2
= 0 ;
1606 PyObject
* obj3
= 0 ;
1607 PyObject
* obj4
= 0 ;
1608 PyObject
* obj6
= 0 ;
1609 PyObject
* obj7
= 0 ;
1611 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_CheckBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1617 arg3
= wxString_in_helper(obj2
);
1618 if (arg3
== NULL
) SWIG_fail
;
1624 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1630 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1634 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1636 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1641 arg8
= wxString_in_helper(obj7
);
1642 if (arg8
== NULL
) SWIG_fail
;
1647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1648 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1650 wxPyEndAllowThreads(__tstate
);
1651 if (PyErr_Occurred()) SWIG_fail
;
1653 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1676 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
*resultobj
;
1683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1686 result
= (wxCheckBox
*)new wxCheckBox();
1688 wxPyEndAllowThreads(__tstate
);
1689 if (PyErr_Occurred()) SWIG_fail
;
1691 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1698 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1699 PyObject
*resultobj
;
1700 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1701 wxWindow
*arg2
= (wxWindow
*) 0 ;
1703 wxString
*arg4
= 0 ;
1704 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1705 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1706 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1707 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1708 long arg7
= (long) 0 ;
1709 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1710 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1711 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1712 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1714 bool temp4
= False
;
1717 bool temp9
= False
;
1718 PyObject
* obj0
= 0 ;
1719 PyObject
* obj1
= 0 ;
1720 PyObject
* obj3
= 0 ;
1721 PyObject
* obj4
= 0 ;
1722 PyObject
* obj5
= 0 ;
1723 PyObject
* obj7
= 0 ;
1724 PyObject
* obj8
= 0 ;
1726 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1731 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1733 arg4
= wxString_in_helper(obj3
);
1734 if (arg4
== NULL
) SWIG_fail
;
1740 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1746 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1750 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1752 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1757 arg9
= wxString_in_helper(obj8
);
1758 if (arg9
== NULL
) SWIG_fail
;
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) SWIG_fail
;
1769 resultobj
= PyInt_FromLong((long)result
);
1792 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
*resultobj
;
1794 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1796 PyObject
* obj0
= 0 ;
1798 (char *) "self", NULL
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
1802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1805 result
= (bool)(arg1
)->GetValue();
1807 wxPyEndAllowThreads(__tstate
);
1808 if (PyErr_Occurred()) SWIG_fail
;
1810 resultobj
= PyInt_FromLong((long)result
);
1817 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1818 PyObject
*resultobj
;
1819 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1821 PyObject
* obj0
= 0 ;
1823 (char *) "self", NULL
1826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
1827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 result
= (bool)(arg1
)->IsChecked();
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) SWIG_fail
;
1835 resultobj
= PyInt_FromLong((long)result
);
1842 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1843 PyObject
*resultobj
;
1844 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1846 PyObject
* obj0
= 0 ;
1847 PyObject
* obj1
= 0 ;
1849 (char *) "self",(char *) "state", NULL
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
1853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1854 arg2
= PyInt_AsLong(obj1
) ? true : false;
1855 if (PyErr_Occurred()) SWIG_fail
;
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 (arg1
)->SetValue(arg2
);
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) SWIG_fail
;
1863 Py_INCREF(Py_None
); resultobj
= Py_None
;
1870 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
*resultobj
;
1872 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1874 PyObject
* obj0
= 0 ;
1876 (char *) "self", NULL
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
1880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1883 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
1885 wxPyEndAllowThreads(__tstate
);
1886 if (PyErr_Occurred()) SWIG_fail
;
1888 resultobj
= PyInt_FromLong((long)result
);
1895 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1896 PyObject
*resultobj
;
1897 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1899 PyObject
* obj0
= 0 ;
1901 (char *) "self",(char *) "state", NULL
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckBox_Set3StateValue",kwnames
,&obj0
,&arg2
)) goto fail
;
1905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1908 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
1910 wxPyEndAllowThreads(__tstate
);
1911 if (PyErr_Occurred()) SWIG_fail
;
1913 Py_INCREF(Py_None
); resultobj
= Py_None
;
1920 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
*resultobj
;
1922 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1924 PyObject
* obj0
= 0 ;
1926 (char *) "self", NULL
1929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
1930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1933 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
1935 wxPyEndAllowThreads(__tstate
);
1936 if (PyErr_Occurred()) SWIG_fail
;
1938 resultobj
= PyInt_FromLong((long)result
);
1945 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1946 PyObject
*resultobj
;
1947 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1949 PyObject
* obj0
= 0 ;
1951 (char *) "self", NULL
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
1955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1958 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
1960 wxPyEndAllowThreads(__tstate
);
1961 if (PyErr_Occurred()) SWIG_fail
;
1963 resultobj
= PyInt_FromLong((long)result
);
1970 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
1972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1973 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
1975 return Py_BuildValue((char *)"");
1977 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
*resultobj
;
1979 wxWindow
*arg1
= (wxWindow
*) 0 ;
1981 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1982 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1983 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1984 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1985 int arg5
= (int) 0 ;
1986 wxString
*arg6
= (wxString
*) NULL
;
1987 long arg7
= (long) 0 ;
1988 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1989 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1990 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
1991 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1995 bool temp8
= False
;
1996 PyObject
* obj0
= 0 ;
1997 PyObject
* obj2
= 0 ;
1998 PyObject
* obj3
= 0 ;
1999 PyObject
* obj4
= 0 ;
2000 PyObject
* obj6
= 0 ;
2001 PyObject
* obj7
= 0 ;
2003 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_Choice",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
2007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2011 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2017 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2022 arg5
= PyList_Size(obj4
);
2023 arg6
= wxString_LIST_helper(obj4
);
2024 if (arg6
== NULL
) SWIG_fail
;
2028 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2030 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2035 arg9
= wxString_in_helper(obj7
);
2036 if (arg9
== NULL
) SWIG_fail
;
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2047 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2049 if (arg6
) delete [] arg6
;
2058 if (arg6
) delete [] arg6
;
2068 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
*resultobj
;
2075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2078 result
= (wxChoice
*)new wxChoice();
2080 wxPyEndAllowThreads(__tstate
);
2081 if (PyErr_Occurred()) SWIG_fail
;
2083 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2090 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
*resultobj
;
2092 wxChoice
*arg1
= (wxChoice
*) 0 ;
2093 wxWindow
*arg2
= (wxWindow
*) 0 ;
2095 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2096 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2097 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2098 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2099 int arg6
= (int) 0 ;
2100 wxString
*arg7
= (wxString
*) NULL
;
2101 long arg8
= (long) 0 ;
2102 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2103 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2104 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2105 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2109 bool temp9
= False
;
2110 PyObject
* obj0
= 0 ;
2111 PyObject
* obj1
= 0 ;
2112 PyObject
* obj3
= 0 ;
2113 PyObject
* obj4
= 0 ;
2114 PyObject
* obj5
= 0 ;
2115 PyObject
* obj7
= 0 ;
2116 PyObject
* obj8
= 0 ;
2118 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:Choice_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2123 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2127 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2133 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2138 arg6
= PyList_Size(obj5
);
2139 arg7
= wxString_LIST_helper(obj5
);
2140 if (arg7
== NULL
) SWIG_fail
;
2144 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2146 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2151 arg10
= wxString_in_helper(obj8
);
2152 if (arg10
== NULL
) SWIG_fail
;
2157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2158 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2160 wxPyEndAllowThreads(__tstate
);
2161 if (PyErr_Occurred()) SWIG_fail
;
2163 resultobj
= PyInt_FromLong((long)result
);
2165 if (arg7
) delete [] arg7
;
2174 if (arg7
) delete [] arg7
;
2184 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
*resultobj
;
2186 wxChoice
*arg1
= (wxChoice
*) 0 ;
2188 PyObject
* obj0
= 0 ;
2190 (char *) "self", NULL
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 result
= (int)(arg1
)->GetColumns();
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2202 resultobj
= PyInt_FromLong((long)result
);
2209 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxChoice
*arg1
= (wxChoice
*) 0 ;
2212 int arg2
= (int) (int)1 ;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "self",(char *) "n", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Choice_SetColumns",kwnames
,&obj0
,&arg2
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 (arg1
)->SetColumns(arg2
);
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2227 Py_INCREF(Py_None
); resultobj
= Py_None
;
2234 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2236 wxChoice
*arg1
= (wxChoice
*) 0 ;
2238 PyObject
* obj0
= 0 ;
2240 (char *) "self",(char *) "n", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Choice_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 (arg1
)->SetSelection(arg2
);
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2252 Py_INCREF(Py_None
); resultobj
= Py_None
;
2259 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxChoice
*arg1
= (wxChoice
*) 0 ;
2262 wxString
*arg2
= 0 ;
2263 bool temp2
= False
;
2264 PyObject
* obj0
= 0 ;
2265 PyObject
* obj1
= 0 ;
2267 (char *) "self",(char *) "string", NULL
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2273 arg2
= wxString_in_helper(obj1
);
2274 if (arg2
== NULL
) SWIG_fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2284 Py_INCREF(Py_None
); resultobj
= Py_None
;
2299 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
*resultobj
;
2301 wxChoice
*arg1
= (wxChoice
*) 0 ;
2303 wxString
*arg3
= 0 ;
2304 bool temp3
= False
;
2305 PyObject
* obj0
= 0 ;
2306 PyObject
* obj2
= 0 ;
2308 (char *) "self",(char *) "n",(char *) "s", NULL
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Choice_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
2312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2314 arg3
= wxString_in_helper(obj2
);
2315 if (arg3
== NULL
) SWIG_fail
;
2319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2320 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2322 wxPyEndAllowThreads(__tstate
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2325 Py_INCREF(Py_None
); resultobj
= Py_None
;
2340 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2343 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2345 return Py_BuildValue((char *)"");
2347 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2348 PyObject
*resultobj
;
2349 wxWindow
*arg1
= (wxWindow
*) 0 ;
2351 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2352 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2353 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2354 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2355 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2356 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2357 int arg6
= (int) 0 ;
2358 wxString
*arg7
= (wxString
*) NULL
;
2359 long arg8
= (long) 0 ;
2360 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2361 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2362 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2363 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2365 bool temp3
= False
;
2368 bool temp9
= False
;
2369 PyObject
* obj0
= 0 ;
2370 PyObject
* obj2
= 0 ;
2371 PyObject
* obj3
= 0 ;
2372 PyObject
* obj4
= 0 ;
2373 PyObject
* obj5
= 0 ;
2374 PyObject
* obj7
= 0 ;
2375 PyObject
* obj8
= 0 ;
2377 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2384 arg3
= wxString_in_helper(obj2
);
2385 if (arg3
== NULL
) SWIG_fail
;
2392 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2398 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2403 arg6
= PyList_Size(obj5
);
2404 arg7
= wxString_LIST_helper(obj5
);
2405 if (arg7
== NULL
) SWIG_fail
;
2409 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2411 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2416 arg10
= wxString_in_helper(obj8
);
2417 if (arg10
== NULL
) SWIG_fail
;
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) SWIG_fail
;
2428 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2434 if (arg7
) delete [] arg7
;
2447 if (arg7
) delete [] arg7
;
2457 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
*resultobj
;
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2467 result
= (wxComboBox
*)new wxComboBox();
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2472 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2479 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2482 wxWindow
*arg2
= (wxWindow
*) 0 ;
2484 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2485 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2486 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2487 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2488 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2489 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2490 int arg7
= (int) 0 ;
2491 wxString
*arg8
= (wxString
*) NULL
;
2492 long arg9
= (long) 0 ;
2493 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
2494 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
2495 wxString
const &arg11_defvalue
= wxPyComboBoxNameStr
;
2496 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
2498 bool temp4
= False
;
2501 bool temp10
= False
;
2502 PyObject
* obj0
= 0 ;
2503 PyObject
* obj1
= 0 ;
2504 PyObject
* obj3
= 0 ;
2505 PyObject
* obj4
= 0 ;
2506 PyObject
* obj5
= 0 ;
2507 PyObject
* obj6
= 0 ;
2508 PyObject
* obj8
= 0 ;
2509 PyObject
* obj9
= 0 ;
2511 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&obj8
,&obj9
)) goto fail
;
2515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2516 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2519 arg4
= wxString_in_helper(obj3
);
2520 if (arg4
== NULL
) SWIG_fail
;
2527 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2533 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2538 arg7
= PyList_Size(obj6
);
2539 arg8
= wxString_LIST_helper(obj6
);
2540 if (arg8
== NULL
) SWIG_fail
;
2544 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2545 if (arg10
== NULL
) {
2546 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2551 arg11
= wxString_in_helper(obj9
);
2552 if (arg11
== NULL
) SWIG_fail
;
2557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2558 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
2560 wxPyEndAllowThreads(__tstate
);
2561 if (PyErr_Occurred()) SWIG_fail
;
2563 resultobj
= PyInt_FromLong((long)result
);
2569 if (arg8
) delete [] arg8
;
2582 if (arg8
) delete [] arg8
;
2592 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
*resultobj
;
2594 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2596 PyObject
* obj0
= 0 ;
2598 (char *) "self", NULL
2601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 result
= ((wxComboBox
const *)arg1
)->GetValue();
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2623 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
*resultobj
;
2625 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2626 wxString
*arg2
= 0 ;
2627 bool temp2
= False
;
2628 PyObject
* obj0
= 0 ;
2629 PyObject
* obj1
= 0 ;
2631 (char *) "self",(char *) "value", NULL
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2637 arg2
= wxString_in_helper(obj1
);
2638 if (arg2
== NULL
) SWIG_fail
;
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 (arg1
)->SetValue((wxString
const &)*arg2
);
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2648 Py_INCREF(Py_None
); resultobj
= Py_None
;
2663 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
*resultobj
;
2665 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2666 PyObject
* obj0
= 0 ;
2668 (char *) "self", NULL
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) SWIG_fail
;
2680 Py_INCREF(Py_None
); resultobj
= Py_None
;
2687 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
*resultobj
;
2689 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2690 PyObject
* obj0
= 0 ;
2692 (char *) "self", NULL
2695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
2696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2701 wxPyEndAllowThreads(__tstate
);
2702 if (PyErr_Occurred()) SWIG_fail
;
2704 Py_INCREF(Py_None
); resultobj
= Py_None
;
2711 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
*resultobj
;
2713 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2714 PyObject
* obj0
= 0 ;
2716 (char *) "self", NULL
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
2720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 wxPyEndAllowThreads(__tstate
);
2726 if (PyErr_Occurred()) SWIG_fail
;
2728 Py_INCREF(Py_None
); resultobj
= Py_None
;
2735 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
*resultobj
;
2737 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2739 PyObject
* obj0
= 0 ;
2741 (char *) "self",(char *) "pos", NULL
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
2745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 (arg1
)->SetInsertionPoint(arg2
);
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) SWIG_fail
;
2753 Py_INCREF(Py_None
); resultobj
= Py_None
;
2760 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2764 PyObject
* obj0
= 0 ;
2766 (char *) "self", NULL
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
2770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2773 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
2775 wxPyEndAllowThreads(__tstate
);
2776 if (PyErr_Occurred()) SWIG_fail
;
2778 resultobj
= PyInt_FromLong((long)result
);
2785 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
*resultobj
;
2787 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2789 PyObject
* obj0
= 0 ;
2791 (char *) "self", NULL
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
2795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2798 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
2800 wxPyEndAllowThreads(__tstate
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2803 resultobj
= PyInt_FromLong((long)result
);
2810 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
*resultobj
;
2812 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2815 wxString
*arg4
= 0 ;
2816 bool temp4
= False
;
2817 PyObject
* obj0
= 0 ;
2818 PyObject
* obj3
= 0 ;
2820 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:ComboBox_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2826 arg4
= wxString_in_helper(obj3
);
2827 if (arg4
== NULL
) SWIG_fail
;
2831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2832 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
2834 wxPyEndAllowThreads(__tstate
);
2835 if (PyErr_Occurred()) SWIG_fail
;
2837 Py_INCREF(Py_None
); resultobj
= Py_None
;
2852 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
*resultobj
;
2854 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2856 PyObject
* obj0
= 0 ;
2858 (char *) "self",(char *) "n", NULL
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ComboBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2865 (arg1
)->SetSelection(arg2
);
2867 wxPyEndAllowThreads(__tstate
);
2868 if (PyErr_Occurred()) SWIG_fail
;
2870 Py_INCREF(Py_None
); resultobj
= Py_None
;
2877 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
*resultobj
;
2879 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2882 PyObject
* obj0
= 0 ;
2884 (char *) "self",(char *) "from",(char *) "to", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_SetMark",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2891 (arg1
)->SetSelection(arg2
,arg3
);
2893 wxPyEndAllowThreads(__tstate
);
2894 if (PyErr_Occurred()) SWIG_fail
;
2896 Py_INCREF(Py_None
); resultobj
= Py_None
;
2903 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
*resultobj
;
2905 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2907 PyObject
* obj0
= 0 ;
2908 PyObject
* obj1
= 0 ;
2910 (char *) "self",(char *) "editable", NULL
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
2914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2915 arg2
= PyInt_AsLong(obj1
) ? true : false;
2916 if (PyErr_Occurred()) SWIG_fail
;
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 (arg1
)->SetEditable(arg2
);
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2924 Py_INCREF(Py_None
); resultobj
= Py_None
;
2931 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
*resultobj
;
2933 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2934 PyObject
* obj0
= 0 ;
2936 (char *) "self", NULL
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
2940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2943 (arg1
)->SetInsertionPointEnd();
2945 wxPyEndAllowThreads(__tstate
);
2946 if (PyErr_Occurred()) SWIG_fail
;
2948 Py_INCREF(Py_None
); resultobj
= Py_None
;
2955 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
*resultobj
;
2957 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2960 PyObject
* obj0
= 0 ;
2962 (char *) "self",(char *) "from",(char *) "to", NULL
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2969 (arg1
)->Remove(arg2
,arg3
);
2971 wxPyEndAllowThreads(__tstate
);
2972 if (PyErr_Occurred()) SWIG_fail
;
2974 Py_INCREF(Py_None
); resultobj
= Py_None
;
2981 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
2983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2984 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
2986 return Py_BuildValue((char *)"");
2988 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
*resultobj
;
2990 wxWindow
*arg1
= (wxWindow
*) 0 ;
2993 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2994 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2995 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2996 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2997 long arg6
= (long) wxGA_HORIZONTAL
;
2998 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2999 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3000 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3001 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3005 bool temp8
= False
;
3006 PyObject
* obj0
= 0 ;
3007 PyObject
* obj3
= 0 ;
3008 PyObject
* obj4
= 0 ;
3009 PyObject
* obj6
= 0 ;
3010 PyObject
* obj7
= 0 ;
3012 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|OOlOO:new_Gauge",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
3016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3020 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3026 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3030 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3032 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3037 arg8
= wxString_in_helper(obj7
);
3038 if (arg8
== NULL
) SWIG_fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3049 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3064 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
*resultobj
;
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3074 result
= (wxGauge
*)new wxGauge();
3076 wxPyEndAllowThreads(__tstate
);
3077 if (PyErr_Occurred()) SWIG_fail
;
3079 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3086 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
*resultobj
;
3088 wxGauge
*arg1
= (wxGauge
*) 0 ;
3089 wxWindow
*arg2
= (wxWindow
*) 0 ;
3092 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3093 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3094 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3095 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3096 long arg7
= (long) wxGA_HORIZONTAL
;
3097 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3098 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3099 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3100 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3104 bool temp9
= False
;
3105 PyObject
* obj0
= 0 ;
3106 PyObject
* obj1
= 0 ;
3107 PyObject
* obj4
= 0 ;
3108 PyObject
* obj5
= 0 ;
3109 PyObject
* obj7
= 0 ;
3110 PyObject
* obj8
= 0 ;
3112 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|OOlOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
3116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3121 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3127 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3131 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3133 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3138 arg9
= wxString_in_helper(obj8
);
3139 if (arg9
== NULL
) SWIG_fail
;
3144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3145 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3147 wxPyEndAllowThreads(__tstate
);
3148 if (PyErr_Occurred()) SWIG_fail
;
3150 resultobj
= PyInt_FromLong((long)result
);
3165 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
*resultobj
;
3167 wxGauge
*arg1
= (wxGauge
*) 0 ;
3169 PyObject
* obj0
= 0 ;
3171 (char *) "self",(char *) "range", NULL
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetRange",kwnames
,&obj0
,&arg2
)) goto fail
;
3175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 (arg1
)->SetRange(arg2
);
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3183 Py_INCREF(Py_None
); resultobj
= Py_None
;
3190 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxGauge
*arg1
= (wxGauge
*) 0 ;
3194 PyObject
* obj0
= 0 ;
3196 (char *) "self", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) SWIG_fail
;
3208 resultobj
= PyInt_FromLong((long)result
);
3215 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3216 PyObject
*resultobj
;
3217 wxGauge
*arg1
= (wxGauge
*) 0 ;
3219 PyObject
* obj0
= 0 ;
3221 (char *) "self",(char *) "pos", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
3225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 (arg1
)->SetValue(arg2
);
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) SWIG_fail
;
3233 Py_INCREF(Py_None
); resultobj
= Py_None
;
3240 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3242 wxGauge
*arg1
= (wxGauge
*) 0 ;
3244 PyObject
* obj0
= 0 ;
3246 (char *) "self", NULL
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3258 resultobj
= PyInt_FromLong((long)result
);
3265 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
*resultobj
;
3267 wxGauge
*arg1
= (wxGauge
*) 0 ;
3269 PyObject
* obj0
= 0 ;
3271 (char *) "self", NULL
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3278 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3280 wxPyEndAllowThreads(__tstate
);
3281 if (PyErr_Occurred()) SWIG_fail
;
3283 resultobj
= PyInt_FromLong((long)result
);
3290 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
*resultobj
;
3292 wxGauge
*arg1
= (wxGauge
*) 0 ;
3294 PyObject
* obj0
= 0 ;
3296 (char *) "self",(char *) "w", NULL
3299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetShadowWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 (arg1
)->SetShadowWidth(arg2
);
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3308 Py_INCREF(Py_None
); resultobj
= Py_None
;
3315 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
*resultobj
;
3317 wxGauge
*arg1
= (wxGauge
*) 0 ;
3319 PyObject
* obj0
= 0 ;
3321 (char *) "self", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3333 resultobj
= PyInt_FromLong((long)result
);
3340 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
*resultobj
;
3342 wxGauge
*arg1
= (wxGauge
*) 0 ;
3344 PyObject
* obj0
= 0 ;
3346 (char *) "self",(char *) "w", NULL
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetBezelFace",kwnames
,&obj0
,&arg2
)) goto fail
;
3350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 (arg1
)->SetBezelFace(arg2
);
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3358 Py_INCREF(Py_None
); resultobj
= Py_None
;
3365 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
*resultobj
;
3367 wxGauge
*arg1
= (wxGauge
*) 0 ;
3369 PyObject
* obj0
= 0 ;
3371 (char *) "self", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3378 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3383 resultobj
= PyInt_FromLong((long)result
);
3390 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3393 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3395 return Py_BuildValue((char *)"");
3397 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
*resultobj
;
3399 wxWindow
*arg1
= (wxWindow
*) 0 ;
3401 wxString
*arg3
= 0 ;
3402 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3403 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3404 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3405 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3406 long arg6
= (long) 0 ;
3407 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3408 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3409 wxStaticBox
*result
;
3410 bool temp3
= False
;
3413 bool temp7
= False
;
3414 PyObject
* obj0
= 0 ;
3415 PyObject
* obj2
= 0 ;
3416 PyObject
* obj3
= 0 ;
3417 PyObject
* obj4
= 0 ;
3418 PyObject
* obj6
= 0 ;
3420 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3426 arg3
= wxString_in_helper(obj2
);
3427 if (arg3
== NULL
) SWIG_fail
;
3433 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3439 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3444 arg7
= wxString_in_helper(obj6
);
3445 if (arg7
== NULL
) SWIG_fail
;
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) SWIG_fail
;
3457 resultobj
= wxPyMake_wxObject(result
);
3481 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
*resultobj
;
3483 wxStaticBox
*result
;
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 result
= (wxStaticBox
*)new wxStaticBox();
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3497 resultobj
= wxPyMake_wxObject(result
);
3505 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3506 PyObject
*resultobj
;
3507 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
3508 wxWindow
*arg2
= (wxWindow
*) 0 ;
3510 wxString
*arg4
= 0 ;
3511 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3512 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3513 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3514 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3515 long arg7
= (long) 0 ;
3516 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
3517 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3519 bool temp4
= False
;
3522 bool temp8
= False
;
3523 PyObject
* obj0
= 0 ;
3524 PyObject
* obj1
= 0 ;
3525 PyObject
* obj3
= 0 ;
3526 PyObject
* obj4
= 0 ;
3527 PyObject
* obj5
= 0 ;
3528 PyObject
* obj7
= 0 ;
3530 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3535 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3537 arg4
= wxString_in_helper(obj3
);
3538 if (arg4
== NULL
) SWIG_fail
;
3544 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3550 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3555 arg8
= wxString_in_helper(obj7
);
3556 if (arg8
== NULL
) SWIG_fail
;
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3567 resultobj
= PyInt_FromLong((long)result
);
3590 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
3592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3593 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
3595 return Py_BuildValue((char *)"");
3597 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
;
3599 wxWindow
*arg1
= (wxWindow
*) 0 ;
3601 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3602 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3603 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3604 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3605 long arg5
= (long) wxLI_HORIZONTAL
;
3606 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
3607 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3608 wxStaticLine
*result
;
3611 bool temp6
= False
;
3612 PyObject
* obj0
= 0 ;
3613 PyObject
* obj2
= 0 ;
3614 PyObject
* obj3
= 0 ;
3615 PyObject
* obj5
= 0 ;
3617 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_StaticLine",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
3621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3625 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3631 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3636 arg6
= wxString_in_helper(obj5
);
3637 if (arg6
== NULL
) SWIG_fail
;
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3663 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3665 wxStaticLine
*result
;
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 result
= (wxStaticLine
*)new wxStaticLine();
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3678 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3685 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
*resultobj
;
3687 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3688 wxWindow
*arg2
= (wxWindow
*) 0 ;
3690 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3691 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3692 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3693 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3694 long arg6
= (long) wxLI_HORIZONTAL
;
3695 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3696 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3700 bool temp7
= False
;
3701 PyObject
* obj0
= 0 ;
3702 PyObject
* obj1
= 0 ;
3703 PyObject
* obj3
= 0 ;
3704 PyObject
* obj4
= 0 ;
3705 PyObject
* obj6
= 0 ;
3707 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3712 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3716 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3722 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3727 arg7
= wxString_in_helper(obj6
);
3728 if (arg7
== NULL
) SWIG_fail
;
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3739 resultobj
= PyInt_FromLong((long)result
);
3754 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
*resultobj
;
3756 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3758 PyObject
* obj0
= 0 ;
3760 (char *) "self", NULL
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
3764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3772 resultobj
= PyInt_FromLong((long)result
);
3779 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
3788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 result
= (int)wxStaticLine::GetDefaultSize();
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) SWIG_fail
;
3794 resultobj
= PyInt_FromLong((long)result
);
3801 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
3803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3804 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
3806 return Py_BuildValue((char *)"");
3808 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
*resultobj
;
3810 wxWindow
*arg1
= (wxWindow
*) 0 ;
3812 wxString
*arg3
= 0 ;
3813 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3814 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3815 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3816 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3817 long arg6
= (long) 0 ;
3818 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3819 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3820 wxStaticText
*result
;
3821 bool temp3
= False
;
3824 bool temp7
= False
;
3825 PyObject
* obj0
= 0 ;
3826 PyObject
* obj2
= 0 ;
3827 PyObject
* obj3
= 0 ;
3828 PyObject
* obj4
= 0 ;
3829 PyObject
* obj6
= 0 ;
3831 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticText",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3837 arg3
= wxString_in_helper(obj2
);
3838 if (arg3
== NULL
) SWIG_fail
;
3844 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3850 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3855 arg7
= wxString_in_helper(obj6
);
3856 if (arg7
== NULL
) SWIG_fail
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3867 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
3890 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
*resultobj
;
3892 wxStaticText
*result
;
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 result
= (wxStaticText
*)new wxStaticText();
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
3912 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
;
3914 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
3915 wxWindow
*arg2
= (wxWindow
*) 0 ;
3917 wxString
*arg4
= 0 ;
3918 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3919 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3920 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3921 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3922 long arg7
= (long) 0 ;
3923 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
3924 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3926 bool temp4
= False
;
3929 bool temp8
= False
;
3930 PyObject
* obj0
= 0 ;
3931 PyObject
* obj1
= 0 ;
3932 PyObject
* obj3
= 0 ;
3933 PyObject
* obj4
= 0 ;
3934 PyObject
* obj5
= 0 ;
3935 PyObject
* obj7
= 0 ;
3937 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticText_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3942 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3944 arg4
= wxString_in_helper(obj3
);
3945 if (arg4
== NULL
) SWIG_fail
;
3951 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3957 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3962 arg8
= wxString_in_helper(obj7
);
3963 if (arg8
== NULL
) SWIG_fail
;
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) SWIG_fail
;
3974 resultobj
= PyInt_FromLong((long)result
);
3997 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
3999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4000 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4002 return Py_BuildValue((char *)"");
4004 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
*resultobj
;
4006 wxWindow
*arg1
= (wxWindow
*) 0 ;
4008 wxBitmap
*arg3
= 0 ;
4009 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4010 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4011 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4012 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4013 long arg6
= (long) 0 ;
4014 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4015 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4016 wxStaticBitmap
*result
;
4019 bool temp7
= False
;
4020 PyObject
* obj0
= 0 ;
4021 PyObject
* obj2
= 0 ;
4022 PyObject
* obj3
= 0 ;
4023 PyObject
* obj4
= 0 ;
4024 PyObject
* obj6
= 0 ;
4026 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBitmap",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4031 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4033 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4038 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4044 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4049 arg7
= wxString_in_helper(obj6
);
4050 if (arg7
== NULL
) SWIG_fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4076 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxStaticBitmap
*result
;
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4098 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
*resultobj
;
4100 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4101 wxWindow
*arg2
= (wxWindow
*) 0 ;
4103 wxBitmap
*arg4
= 0 ;
4104 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4105 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4106 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4107 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4108 long arg7
= (long) 0 ;
4109 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4110 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4114 bool temp8
= False
;
4115 PyObject
* obj0
= 0 ;
4116 PyObject
* obj1
= 0 ;
4117 PyObject
* obj3
= 0 ;
4118 PyObject
* obj4
= 0 ;
4119 PyObject
* obj5
= 0 ;
4120 PyObject
* obj7
= 0 ;
4122 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4127 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4128 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4130 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4135 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4141 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4146 arg8
= wxString_in_helper(obj7
);
4147 if (arg8
== NULL
) SWIG_fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= PyInt_FromLong((long)result
);
4173 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
*resultobj
;
4175 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4177 PyObject
* obj0
= 0 ;
4179 (char *) "self", NULL
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 result
= (arg1
)->GetBitmap();
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4192 wxBitmap
* resultptr
;
4193 resultptr
= new wxBitmap((wxBitmap
&) result
);
4194 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4202 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
;
4204 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4205 wxBitmap
*arg2
= 0 ;
4206 PyObject
* obj0
= 0 ;
4207 PyObject
* obj1
= 0 ;
4209 (char *) "self",(char *) "bitmap", NULL
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4214 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4216 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 Py_INCREF(Py_None
); resultobj
= Py_None
;
4232 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4234 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4239 (char *) "self",(char *) "icon", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4244 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4246 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 Py_INCREF(Py_None
); resultobj
= Py_None
;
4262 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4265 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4267 return Py_BuildValue((char *)"");
4269 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxWindow
*arg1
= (wxWindow
*) 0 ;
4273 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4274 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4275 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4276 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4277 int arg5
= (int) 0 ;
4278 wxString
*arg6
= (wxString
*) NULL
;
4279 long arg7
= (long) 0 ;
4280 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4281 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4282 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
4283 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4287 bool temp8
= False
;
4288 PyObject
* obj0
= 0 ;
4289 PyObject
* obj2
= 0 ;
4290 PyObject
* obj3
= 0 ;
4291 PyObject
* obj4
= 0 ;
4292 PyObject
* obj6
= 0 ;
4293 PyObject
* obj7
= 0 ;
4295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_ListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
4299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4303 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4309 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4314 arg5
= PyList_Size(obj4
);
4315 arg6
= wxString_LIST_helper(obj4
);
4316 if (arg6
== NULL
) SWIG_fail
;
4320 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4322 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4327 arg9
= wxString_in_helper(obj7
);
4328 if (arg9
== NULL
) SWIG_fail
;
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4341 if (arg6
) delete [] arg6
;
4350 if (arg6
) delete [] arg6
;
4360 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 result
= (wxListBox
*)new wxListBox();
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4382 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
;
4384 wxListBox
*arg1
= (wxListBox
*) 0 ;
4385 wxWindow
*arg2
= (wxWindow
*) 0 ;
4387 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4388 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4389 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4390 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4391 int arg6
= (int) 0 ;
4392 wxString
*arg7
= (wxString
*) NULL
;
4393 long arg8
= (long) 0 ;
4394 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4395 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4396 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
4397 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4401 bool temp9
= False
;
4402 PyObject
* obj0
= 0 ;
4403 PyObject
* obj1
= 0 ;
4404 PyObject
* obj3
= 0 ;
4405 PyObject
* obj4
= 0 ;
4406 PyObject
* obj5
= 0 ;
4407 PyObject
* obj7
= 0 ;
4408 PyObject
* obj8
= 0 ;
4410 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
4414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4415 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4419 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4425 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4430 arg6
= PyList_Size(obj5
);
4431 arg7
= wxString_LIST_helper(obj5
);
4432 if (arg7
== NULL
) SWIG_fail
;
4436 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4438 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4443 arg10
= wxString_in_helper(obj8
);
4444 if (arg10
== NULL
) SWIG_fail
;
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4452 wxPyEndAllowThreads(__tstate
);
4453 if (PyErr_Occurred()) SWIG_fail
;
4455 resultobj
= PyInt_FromLong((long)result
);
4457 if (arg7
) delete [] arg7
;
4466 if (arg7
) delete [] arg7
;
4476 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
;
4478 wxListBox
*arg1
= (wxListBox
*) 0 ;
4479 wxString
*arg2
= 0 ;
4481 PyObject
*arg4
= (PyObject
*) NULL
;
4482 bool temp2
= False
;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4485 PyObject
* obj3
= 0 ;
4487 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4493 arg2
= wxString_in_helper(obj1
);
4494 if (arg2
== NULL
) SWIG_fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 Py_INCREF(Py_None
); resultobj
= Py_None
;
4522 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxListBox
*arg1
= (wxListBox
*) 0 ;
4525 wxArrayString
*arg2
= 0 ;
4527 PyObject
* obj0
= 0 ;
4528 PyObject
* obj1
= 0 ;
4530 (char *) "self",(char *) "items",(char *) "pos", NULL
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4536 if (! PySequence_Check(obj1
)) {
4537 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4540 arg2
= new wxArrayString
;
4541 int i
, len
=PySequence_Length(obj1
);
4542 for (i
=0; i
<len
; i
++) {
4543 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4545 PyObject
* str
= PyObject_Unicode(item
);
4547 PyObject
* str
= PyObject_Str(item
);
4549 arg2
->Add(Py2wxString(str
));
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4561 Py_INCREF(Py_None
); resultobj
= Py_None
;
4563 if (arg2
) delete arg2
;
4568 if (arg2
) delete arg2
;
4574 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
;
4576 wxListBox
*arg1
= (wxListBox
*) 0 ;
4577 wxArrayString
*arg2
= 0 ;
4578 PyObject
* obj0
= 0 ;
4579 PyObject
* obj1
= 0 ;
4581 (char *) "self",(char *) "items", NULL
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
4585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4587 if (! PySequence_Check(obj1
)) {
4588 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4591 arg2
= new wxArrayString
;
4592 int i
, len
=PySequence_Length(obj1
);
4593 for (i
=0; i
<len
; i
++) {
4594 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4596 PyObject
* str
= PyObject_Unicode(item
);
4598 PyObject
* str
= PyObject_Str(item
);
4600 arg2
->Add(Py2wxString(str
));
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 (arg1
)->Set((wxArrayString
const &)*arg2
);
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4612 Py_INCREF(Py_None
); resultobj
= Py_None
;
4614 if (arg2
) delete arg2
;
4619 if (arg2
) delete arg2
;
4625 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
;
4627 wxListBox
*arg1
= (wxListBox
*) 0 ;
4630 PyObject
* obj0
= 0 ;
4632 (char *) "self",(char *) "n", NULL
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
4636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4644 resultobj
= PyInt_FromLong((long)result
);
4651 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
*resultobj
;
4653 wxListBox
*arg1
= (wxListBox
*) 0 ;
4655 bool arg3
= (bool) True
;
4656 PyObject
* obj0
= 0 ;
4657 PyObject
* obj2
= 0 ;
4659 (char *) "self",(char *) "n",(char *) "select", NULL
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListBox_SetSelection",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4665 arg3
= PyInt_AsLong(obj2
) ? true : false;
4666 if (PyErr_Occurred()) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 (arg1
)->SetSelection(arg2
,arg3
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 Py_INCREF(Py_None
); resultobj
= Py_None
;
4682 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
*resultobj
;
4684 wxListBox
*arg1
= (wxListBox
*) 0 ;
4686 PyObject
* obj0
= 0 ;
4688 (char *) "self",(char *) "n", NULL
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
4692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 (arg1
)->Select(arg2
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 Py_INCREF(Py_None
); resultobj
= Py_None
;
4707 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
*resultobj
;
4709 wxListBox
*arg1
= (wxListBox
*) 0 ;
4711 PyObject
* obj0
= 0 ;
4713 (char *) "self",(char *) "n", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Deselect",kwnames
,&obj0
,&arg2
)) goto fail
;
4717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 (arg1
)->Deselect(arg2
);
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4725 Py_INCREF(Py_None
); resultobj
= Py_None
;
4732 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4734 wxListBox
*arg1
= (wxListBox
*) 0 ;
4735 int arg2
= (int) -1 ;
4736 PyObject
* obj0
= 0 ;
4738 (char *) "self",(char *) "itemToLeaveSelected", NULL
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListBox_DeselectAll",kwnames
,&obj0
,&arg2
)) goto fail
;
4742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 (arg1
)->DeselectAll(arg2
);
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4750 Py_INCREF(Py_None
); resultobj
= Py_None
;
4757 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
;
4759 wxListBox
*arg1
= (wxListBox
*) 0 ;
4760 wxString
*arg2
= 0 ;
4761 bool arg3
= (bool) True
;
4763 bool temp2
= False
;
4764 PyObject
* obj0
= 0 ;
4765 PyObject
* obj1
= 0 ;
4766 PyObject
* obj2
= 0 ;
4768 (char *) "self",(char *) "s",(char *) "select", NULL
4771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4774 arg2
= wxString_in_helper(obj1
);
4775 if (arg2
== NULL
) SWIG_fail
;
4779 arg3
= PyInt_AsLong(obj2
) ? true : false;
4780 if (PyErr_Occurred()) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= PyInt_FromLong((long)result
);
4804 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4806 wxListBox
*arg1
= (wxListBox
*) 0 ;
4808 PyObject
* obj0
= 0 ;
4810 (char *) "self", NULL
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
4814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4829 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
;
4831 wxListBox
*arg1
= (wxListBox
*) 0 ;
4833 PyObject
* obj0
= 0 ;
4835 (char *) "self",(char *) "n", NULL
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_SetFirstItem",kwnames
,&obj0
,&arg2
)) goto fail
;
4839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 (arg1
)->SetFirstItem(arg2
);
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4847 Py_INCREF(Py_None
); resultobj
= Py_None
;
4854 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
;
4856 wxListBox
*arg1
= (wxListBox
*) 0 ;
4857 wxString
*arg2
= 0 ;
4858 bool temp2
= False
;
4859 PyObject
* obj0
= 0 ;
4860 PyObject
* obj1
= 0 ;
4862 (char *) "self",(char *) "s", NULL
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
4866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4868 arg2
= wxString_in_helper(obj1
);
4869 if (arg2
== NULL
) SWIG_fail
;
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4879 Py_INCREF(Py_None
); resultobj
= Py_None
;
4894 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
*resultobj
;
4896 wxListBox
*arg1
= (wxListBox
*) 0 ;
4898 PyObject
* obj0
= 0 ;
4900 (char *) "self",(char *) "n", NULL
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
4904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 (arg1
)->EnsureVisible(arg2
);
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4912 Py_INCREF(Py_None
); resultobj
= Py_None
;
4919 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
;
4921 wxListBox
*arg1
= (wxListBox
*) 0 ;
4922 wxString
*arg2
= 0 ;
4923 bool temp2
= False
;
4924 PyObject
* obj0
= 0 ;
4925 PyObject
* obj1
= 0 ;
4927 (char *) "self",(char *) "s", NULL
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
4931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4933 arg2
= wxString_in_helper(obj1
);
4934 if (arg2
== NULL
) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 Py_INCREF(Py_None
); resultobj
= Py_None
;
4959 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxListBox
*arg1
= (wxListBox
*) 0 ;
4963 PyObject
* obj0
= 0 ;
4965 (char *) "self", NULL
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
4969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4977 resultobj
= PyInt_FromLong((long)result
);
4984 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
4986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4987 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
4989 return Py_BuildValue((char *)"");
4991 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
*resultobj
;
4993 wxWindow
*arg1
= (wxWindow
*) 0 ;
4995 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4996 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4997 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4998 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4999 int arg5
= (int) 0 ;
5000 wxString
*arg6
= (wxString
*) NULL
;
5001 long arg7
= (long) 0 ;
5002 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5003 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5004 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5005 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5006 wxCheckListBox
*result
;
5009 bool temp8
= False
;
5010 PyObject
* obj0
= 0 ;
5011 PyObject
* obj2
= 0 ;
5012 PyObject
* obj3
= 0 ;
5013 PyObject
* obj4
= 0 ;
5014 PyObject
* obj6
= 0 ;
5015 PyObject
* obj7
= 0 ;
5017 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
5021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5025 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5031 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5036 arg5
= PyList_Size(obj4
);
5037 arg6
= wxString_LIST_helper(obj4
);
5038 if (arg6
== NULL
) SWIG_fail
;
5042 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5044 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5049 arg9
= wxString_in_helper(obj7
);
5050 if (arg9
== NULL
) SWIG_fail
;
5055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5056 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5061 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5063 if (arg6
) delete [] arg6
;
5072 if (arg6
) delete [] arg6
;
5082 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
;
5084 wxCheckListBox
*result
;
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 result
= (wxCheckListBox
*)new wxCheckListBox();
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5097 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5104 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
*resultobj
;
5106 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5107 wxWindow
*arg2
= (wxWindow
*) 0 ;
5109 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5110 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5111 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5112 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5113 int arg6
= (int) 0 ;
5114 wxString
*arg7
= (wxString
*) NULL
;
5115 long arg8
= (long) 0 ;
5116 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5117 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5118 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5119 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5123 bool temp9
= False
;
5124 PyObject
* obj0
= 0 ;
5125 PyObject
* obj1
= 0 ;
5126 PyObject
* obj3
= 0 ;
5127 PyObject
* obj4
= 0 ;
5128 PyObject
* obj5
= 0 ;
5129 PyObject
* obj7
= 0 ;
5130 PyObject
* obj8
= 0 ;
5132 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
5136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5137 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5141 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5147 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5152 arg6
= PyList_Size(obj5
);
5153 arg7
= wxString_LIST_helper(obj5
);
5154 if (arg7
== NULL
) SWIG_fail
;
5158 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5160 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5165 arg10
= wxString_in_helper(obj8
);
5166 if (arg10
== NULL
) SWIG_fail
;
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= PyInt_FromLong((long)result
);
5179 if (arg7
) delete [] arg7
;
5188 if (arg7
) delete [] arg7
;
5198 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
*resultobj
;
5200 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5203 PyObject
* obj0
= 0 ;
5205 (char *) "self",(char *) "index", NULL
5208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckListBox_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
5209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= (bool)(arg1
)->IsChecked(arg2
);
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= PyInt_FromLong((long)result
);
5224 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5228 int arg3
= (int) True
;
5229 PyObject
* obj0
= 0 ;
5231 (char *) "self",(char *) "index",(char *) "check", NULL
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:CheckListBox_Check",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 (arg1
)->Check(arg2
,arg3
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 Py_INCREF(Py_None
); resultobj
= Py_None
;
5250 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
;
5252 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5254 PyObject
* obj0
= 0 ;
5256 (char *) "self", NULL
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
5260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 result
= (int)(arg1
)->GetItemHeight();
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= PyInt_FromLong((long)result
);
5275 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5281 PyObject
* obj0
= 0 ;
5282 PyObject
* obj1
= 0 ;
5284 (char *) "self",(char *) "pt", NULL
5287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
5288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5291 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 resultobj
= PyInt_FromLong((long)result
);
5307 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5313 PyObject
* obj0
= 0 ;
5315 (char *) "self",(char *) "x",(char *) "y", NULL
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:CheckListBox_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5327 resultobj
= PyInt_FromLong((long)result
);
5334 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5337 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
5339 return Py_BuildValue((char *)"");
5341 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
5342 PyObject
*resultobj
;
5345 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 result
= (wxTextAttr
*)new wxTextAttr();
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5360 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
5361 PyObject
*resultobj
;
5362 wxColour
*arg1
= 0 ;
5363 wxColour
const &arg2_defvalue
= wxNullColour
;
5364 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5365 wxFont
const &arg3_defvalue
= wxNullFont
;
5366 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
5367 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5373 PyObject
* obj2
= 0 ;
5375 if(!PyArg_ParseTuple(args
,(char *)"O|OOi:new_TextAttr",&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5378 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5383 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5387 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5389 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5399 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5406 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
5411 argc
= PyObject_Length(args
);
5412 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
5413 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5416 return _wrap_new_TextAttr__SWIG_0(self
,args
);
5418 if ((argc
>= 1) && (argc
<= 4)) {
5421 _v
= wxColour_typecheck(argv
[0]);
5425 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5428 _v
= wxColour_typecheck(argv
[1]);
5432 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5436 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
5445 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5448 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
5451 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5458 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
5463 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
*resultobj
;
5465 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5466 PyObject
* obj0
= 0 ;
5468 (char *) "self", NULL
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
5472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 Py_INCREF(Py_None
); resultobj
= Py_None
;
5487 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5490 wxColour
*arg2
= 0 ;
5492 PyObject
* obj0
= 0 ;
5493 PyObject
* obj1
= 0 ;
5495 (char *) "self",(char *) "colText", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5502 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5511 Py_INCREF(Py_None
); resultobj
= Py_None
;
5518 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
;
5520 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5521 wxColour
*arg2
= 0 ;
5523 PyObject
* obj0
= 0 ;
5524 PyObject
* obj1
= 0 ;
5526 (char *) "self",(char *) "colBack", NULL
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5533 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5539 wxPyEndAllowThreads(__tstate
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5542 Py_INCREF(Py_None
); resultobj
= Py_None
;
5549 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5550 PyObject
*resultobj
;
5551 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5553 long arg3
= (long) wxTEXT_ATTR_FONT
;
5554 PyObject
* obj0
= 0 ;
5555 PyObject
* obj1
= 0 ;
5557 (char *) "self",(char *) "font",(char *) "flags", NULL
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5564 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 Py_INCREF(Py_None
); resultobj
= Py_None
;
5580 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5584 PyObject
* obj0
= 0 ;
5586 (char *) "self",(char *) "alignment", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
5590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 Py_INCREF(Py_None
); resultobj
= Py_None
;
5605 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
;
5607 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5608 wxArrayInt
*arg2
= 0 ;
5609 PyObject
* obj0
= 0 ;
5610 PyObject
* obj1
= 0 ;
5612 (char *) "self",(char *) "tabs", NULL
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
5616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5618 if (! PySequence_Check(obj1
)) {
5619 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
5622 arg2
= new wxArrayInt
;
5623 int i
, len
=PySequence_Length(obj1
);
5624 for (i
=0; i
<len
; i
++) {
5625 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5626 PyObject
* number
= PyNumber_Int(item
);
5627 arg2
->Add(PyInt_AS_LONG(number
));
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5639 Py_INCREF(Py_None
); resultobj
= Py_None
;
5641 if (arg2
) delete arg2
;
5646 if (arg2
) delete arg2
;
5652 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5656 PyObject
* obj0
= 0 ;
5658 (char *) "self",(char *) "indent", NULL
5661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetLeftIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 (arg1
)->SetLeftIndent(arg2
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 Py_INCREF(Py_None
); resultobj
= Py_None
;
5677 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
;
5679 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5681 PyObject
* obj0
= 0 ;
5683 (char *) "self",(char *) "indent", NULL
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetRightIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 (arg1
)->SetRightIndent(arg2
);
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5695 Py_INCREF(Py_None
); resultobj
= Py_None
;
5702 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
*resultobj
;
5704 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5706 PyObject
* obj0
= 0 ;
5708 (char *) "self",(char *) "flags", NULL
5711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
5712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 (arg1
)->SetFlags(arg2
);
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5720 Py_INCREF(Py_None
); resultobj
= Py_None
;
5727 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
*resultobj
;
5729 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5731 PyObject
* obj0
= 0 ;
5733 (char *) "self", NULL
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
5737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5745 resultobj
= PyInt_FromLong((long)result
);
5752 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
*resultobj
;
5754 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5756 PyObject
* obj0
= 0 ;
5758 (char *) "self", NULL
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
5762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 resultobj
= PyInt_FromLong((long)result
);
5777 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5781 PyObject
* obj0
= 0 ;
5783 (char *) "self", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
5787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5795 resultobj
= PyInt_FromLong((long)result
);
5802 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
;
5804 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5806 PyObject
* obj0
= 0 ;
5808 (char *) "self", NULL
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
5812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
5817 wxPyEndAllowThreads(__tstate
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5820 resultobj
= PyInt_FromLong((long)result
);
5827 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
;
5829 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5831 PyObject
* obj0
= 0 ;
5833 (char *) "self", NULL
5836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
5837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5840 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
5842 wxPyEndAllowThreads(__tstate
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5845 resultobj
= PyInt_FromLong((long)result
);
5852 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5853 PyObject
*resultobj
;
5854 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5856 PyObject
* obj0
= 0 ;
5858 (char *) "self", NULL
5861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
5862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5870 resultobj
= PyInt_FromLong((long)result
);
5877 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
;
5879 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5881 PyObject
* obj0
= 0 ;
5883 (char *) "self", NULL
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
5887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5895 resultobj
= PyInt_FromLong((long)result
);
5902 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
*resultobj
;
5904 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5907 PyObject
* obj0
= 0 ;
5909 (char *) "self",(char *) "flag", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
5913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= PyInt_FromLong((long)result
);
5928 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
;
5930 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5932 PyObject
* obj0
= 0 ;
5934 (char *) "self", NULL
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
5938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
5943 result
= (wxColour
*) &_result_ref
;
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5949 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
5956 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5960 PyObject
* obj0
= 0 ;
5962 (char *) "self", NULL
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
5966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
5971 result
= (wxColour
*) &_result_ref
;
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
5984 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5990 (char *) "self", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
5999 result
= (wxFont
*) &_result_ref
;
6002 wxPyEndAllowThreads(__tstate
);
6003 if (PyErr_Occurred()) SWIG_fail
;
6005 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6012 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
;
6014 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6016 PyObject
* obj0
= 0 ;
6018 (char *) "self", NULL
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= PyInt_FromLong((long)result
);
6037 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
;
6039 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6041 PyObject
* obj0
= 0 ;
6043 (char *) "self", NULL
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6052 result
= (wxArrayInt
*) &_result_ref
;
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6059 resultobj
= PyList_New(0);
6061 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
6062 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
6063 PyList_Append(resultobj
, val
);
6073 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
;
6075 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6077 PyObject
* obj0
= 0 ;
6079 (char *) "self", NULL
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
6083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= PyInt_FromLong((long)result
);
6098 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6102 PyObject
* obj0
= 0 ;
6104 (char *) "self", NULL
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
6108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6116 resultobj
= PyInt_FromLong((long)result
);
6123 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
;
6125 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6127 PyObject
* obj0
= 0 ;
6129 (char *) "self", NULL
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
6133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 resultobj
= PyInt_FromLong((long)result
);
6148 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6152 PyObject
* obj0
= 0 ;
6154 (char *) "self", NULL
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
6158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) SWIG_fail
;
6166 resultobj
= PyInt_FromLong((long)result
);
6173 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
;
6175 wxTextAttr
*arg1
= 0 ;
6176 wxTextAttr
*arg2
= 0 ;
6177 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
6179 PyObject
* obj0
= 0 ;
6180 PyObject
* obj1
= 0 ;
6181 PyObject
* obj2
= 0 ;
6183 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6189 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6191 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6193 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6195 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6204 wxTextAttr
* resultptr
;
6205 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
6206 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
6214 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
6216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6217 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
6219 return Py_BuildValue((char *)"");
6221 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
*resultobj
;
6223 wxWindow
*arg1
= (wxWindow
*) 0 ;
6225 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6226 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6227 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6228 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6229 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6230 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6231 long arg6
= (long) 0 ;
6232 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6233 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6234 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
6235 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6237 bool temp3
= False
;
6240 bool temp8
= False
;
6241 PyObject
* obj0
= 0 ;
6242 PyObject
* obj2
= 0 ;
6243 PyObject
* obj3
= 0 ;
6244 PyObject
* obj4
= 0 ;
6245 PyObject
* obj6
= 0 ;
6246 PyObject
* obj7
= 0 ;
6248 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
6252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6255 arg3
= wxString_in_helper(obj2
);
6256 if (arg3
== NULL
) SWIG_fail
;
6263 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6269 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6273 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6275 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6280 arg8
= wxString_in_helper(obj7
);
6281 if (arg8
== NULL
) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6293 resultobj
= wxPyMake_wxObject(result
);
6317 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
;
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 result
= (wxTextCtrl
*)new wxTextCtrl();
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6333 resultobj
= wxPyMake_wxObject(result
);
6341 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
*resultobj
;
6343 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6344 wxWindow
*arg2
= (wxWindow
*) 0 ;
6346 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6347 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6348 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6349 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6350 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6351 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6352 long arg7
= (long) 0 ;
6353 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6354 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6355 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
6356 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6358 bool temp4
= False
;
6361 bool temp9
= False
;
6362 PyObject
* obj0
= 0 ;
6363 PyObject
* obj1
= 0 ;
6364 PyObject
* obj3
= 0 ;
6365 PyObject
* obj4
= 0 ;
6366 PyObject
* obj5
= 0 ;
6367 PyObject
* obj7
= 0 ;
6368 PyObject
* obj8
= 0 ;
6370 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6375 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6378 arg4
= wxString_in_helper(obj3
);
6379 if (arg4
== NULL
) SWIG_fail
;
6386 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6392 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6396 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6398 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6403 arg9
= wxString_in_helper(obj8
);
6404 if (arg9
== NULL
) SWIG_fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6415 resultobj
= PyInt_FromLong((long)result
);
6438 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6442 PyObject
* obj0
= 0 ;
6444 (char *) "self", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
6448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6469 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
*resultobj
;
6471 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6472 wxString
*arg2
= 0 ;
6473 bool temp2
= False
;
6474 PyObject
* obj0
= 0 ;
6475 PyObject
* obj1
= 0 ;
6477 (char *) "self",(char *) "value", NULL
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6483 arg2
= wxString_in_helper(obj1
);
6484 if (arg2
== NULL
) SWIG_fail
;
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 (arg1
)->SetValue((wxString
const &)*arg2
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6494 Py_INCREF(Py_None
); resultobj
= Py_None
;
6509 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6510 PyObject
*resultobj
;
6511 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6515 PyObject
* obj0
= 0 ;
6517 (char *) "self",(char *) "from",(char *) "to", NULL
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6542 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
*resultobj
;
6544 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6547 PyObject
* obj0
= 0 ;
6549 (char *) "self",(char *) "lineNo", NULL
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 resultobj
= PyInt_FromLong((long)result
);
6568 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6573 PyObject
* obj0
= 0 ;
6575 (char *) "self",(char *) "lineNo", NULL
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineText",kwnames
,&obj0
,&arg2
)) goto fail
;
6579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6600 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
;
6602 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6604 PyObject
* obj0
= 0 ;
6606 (char *) "self", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
6610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= PyInt_FromLong((long)result
);
6625 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6629 PyObject
* obj0
= 0 ;
6631 (char *) "self", NULL
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
6635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6638 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
6640 wxPyEndAllowThreads(__tstate
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= PyInt_FromLong((long)result
);
6650 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
;
6652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6654 PyObject
* obj0
= 0 ;
6656 (char *) "self", NULL
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
6660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= PyInt_FromLong((long)result
);
6675 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6677 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6679 PyObject
* obj0
= 0 ;
6681 (char *) "self", NULL
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
6685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= PyInt_FromLong((long)result
);
6700 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6704 PyObject
* obj0
= 0 ;
6706 (char *) "self", NULL
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",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 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6718 resultobj
= PyInt_FromLong((long)result
);
6725 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
;
6727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6728 long *arg2
= (long *) 0 ;
6729 long *arg3
= (long *) 0 ;
6732 PyObject
* obj0
= 0 ;
6734 (char *) "self", NULL
6739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
6740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6748 Py_INCREF(Py_None
); resultobj
= Py_None
;
6750 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
6751 resultobj
= t_output_helper(resultobj
,o
);
6754 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6755 resultobj
= t_output_helper(resultobj
,o
);
6763 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
*resultobj
;
6765 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6767 PyObject
* obj0
= 0 ;
6769 (char *) "self", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",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();
6776 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6794 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
;
6796 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6797 PyObject
* obj0
= 0 ;
6799 (char *) "self", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
6803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6811 Py_INCREF(Py_None
); resultobj
= Py_None
;
6818 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
;
6820 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6823 wxString
*arg4
= 0 ;
6824 bool temp4
= False
;
6825 PyObject
* obj0
= 0 ;
6826 PyObject
* obj3
= 0 ;
6828 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
6832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6834 arg4
= wxString_in_helper(obj3
);
6835 if (arg4
== NULL
) SWIG_fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 Py_INCREF(Py_None
); resultobj
= Py_None
;
6860 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6862 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6865 PyObject
* obj0
= 0 ;
6867 (char *) "self",(char *) "from",(char *) "to", NULL
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6874 (arg1
)->Remove(arg2
,arg3
);
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 Py_INCREF(Py_None
); resultobj
= Py_None
;
6886 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
;
6888 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6889 wxString
*arg2
= 0 ;
6891 bool temp2
= False
;
6892 PyObject
* obj0
= 0 ;
6893 PyObject
* obj1
= 0 ;
6895 (char *) "self",(char *) "file", NULL
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6901 arg2
= wxString_in_helper(obj1
);
6902 if (arg2
== NULL
) SWIG_fail
;
6906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6907 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6912 resultobj
= PyInt_FromLong((long)result
);
6927 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
;
6929 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6930 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6931 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6933 bool temp2
= False
;
6934 PyObject
* obj0
= 0 ;
6935 PyObject
* obj1
= 0 ;
6937 (char *) "self",(char *) "file", NULL
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6944 arg2
= wxString_in_helper(obj1
);
6945 if (arg2
== NULL
) SWIG_fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= PyInt_FromLong((long)result
);
6971 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
;
6973 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6974 PyObject
* obj0
= 0 ;
6976 (char *) "self", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
6980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 (arg1
)->MarkDirty();
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 Py_INCREF(Py_None
); resultobj
= Py_None
;
6995 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6998 PyObject
* obj0
= 0 ;
7000 (char *) "self", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
7004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 (arg1
)->DiscardEdits();
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7012 Py_INCREF(Py_None
); resultobj
= Py_None
;
7019 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
;
7021 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7022 unsigned long arg2
;
7023 PyObject
* obj0
= 0 ;
7024 PyObject
* obj1
= 0 ;
7026 (char *) "self",(char *) "len", NULL
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7031 arg2
= (unsigned long) PyInt_AsLong(obj1
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 (arg1
)->SetMaxLength(arg2
);
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 Py_INCREF(Py_None
); resultobj
= Py_None
;
7047 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7050 wxString
*arg2
= 0 ;
7051 bool temp2
= False
;
7052 PyObject
* obj0
= 0 ;
7053 PyObject
* obj1
= 0 ;
7055 (char *) "self",(char *) "text", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7061 arg2
= wxString_in_helper(obj1
);
7062 if (arg2
== NULL
) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 (arg1
)->WriteText((wxString
const &)*arg2
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 Py_INCREF(Py_None
); resultobj
= Py_None
;
7087 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
*resultobj
;
7089 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7090 wxString
*arg2
= 0 ;
7091 bool temp2
= False
;
7092 PyObject
* obj0
= 0 ;
7093 PyObject
* obj1
= 0 ;
7095 (char *) "self",(char *) "text", NULL
7098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
7099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7101 arg2
= wxString_in_helper(obj1
);
7102 if (arg2
== NULL
) SWIG_fail
;
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 (arg1
)->AppendText((wxString
const &)*arg2
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 Py_INCREF(Py_None
); resultobj
= Py_None
;
7127 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
;
7129 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7130 wxKeyEvent
*arg2
= 0 ;
7132 PyObject
* obj0
= 0 ;
7133 PyObject
* obj1
= 0 ;
7135 (char *) "self",(char *) "event", NULL
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
7139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7142 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
7148 wxPyEndAllowThreads(__tstate
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7151 resultobj
= PyInt_FromLong((long)result
);
7158 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
*resultobj
;
7160 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7163 wxTextAttr
*arg4
= 0 ;
7165 PyObject
* obj0
= 0 ;
7166 PyObject
* obj3
= 0 ;
7168 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_SetStyle",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7173 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7175 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= PyInt_FromLong((long)result
);
7191 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7193 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7195 wxTextAttr
*arg3
= 0 ;
7197 PyObject
* obj0
= 0 ;
7198 PyObject
* obj2
= 0 ;
7200 (char *) "self",(char *) "position",(char *) "style", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:TextCtrl_GetStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7205 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7207 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= PyInt_FromLong((long)result
);
7223 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7226 wxTextAttr
*arg2
= 0 ;
7228 PyObject
* obj0
= 0 ;
7229 PyObject
* obj1
= 0 ;
7231 (char *) "self",(char *) "style", NULL
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7236 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7238 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 resultobj
= PyInt_FromLong((long)result
);
7254 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
;
7256 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7258 PyObject
* obj0
= 0 ;
7260 (char *) "self", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
7264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
7269 result
= (wxTextAttr
*) &_result_ref
;
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
7282 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7283 PyObject
*resultobj
;
7284 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7288 PyObject
* obj0
= 0 ;
7290 (char *) "self",(char *) "x",(char *) "y", NULL
7293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_XYToPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 resultobj
= PyInt_FromLong((long)result
);
7309 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
*resultobj
;
7311 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7313 long *arg3
= (long *) 0 ;
7314 long *arg4
= (long *) 0 ;
7317 PyObject
* obj0
= 0 ;
7319 (char *) "self",(char *) "pos", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_PositionToXY",kwnames
,&obj0
,&arg2
)) goto fail
;
7325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 Py_INCREF(Py_None
); resultobj
= Py_None
;
7335 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7336 resultobj
= t_output_helper(resultobj
,o
);
7339 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7340 resultobj
= t_output_helper(resultobj
,o
);
7348 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
;
7350 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7352 PyObject
* obj0
= 0 ;
7354 (char *) "self",(char *) "pos", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_ShowPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
7358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 (arg1
)->ShowPosition(arg2
);
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 Py_INCREF(Py_None
); resultobj
= Py_None
;
7373 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7376 PyObject
* obj0
= 0 ;
7378 (char *) "self", NULL
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
7382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 Py_INCREF(Py_None
); resultobj
= Py_None
;
7397 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
;
7399 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7400 PyObject
* obj0
= 0 ;
7402 (char *) "self", NULL
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
7406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 Py_INCREF(Py_None
); resultobj
= Py_None
;
7421 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
*resultobj
;
7423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7424 PyObject
* obj0
= 0 ;
7426 (char *) "self", NULL
7429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
7430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 Py_INCREF(Py_None
); resultobj
= Py_None
;
7445 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
;
7447 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7449 PyObject
* obj0
= 0 ;
7451 (char *) "self", NULL
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
7455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= PyInt_FromLong((long)result
);
7470 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
;
7472 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7474 PyObject
* obj0
= 0 ;
7476 (char *) "self", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
7480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= PyInt_FromLong((long)result
);
7495 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7499 PyObject
* obj0
= 0 ;
7501 (char *) "self", NULL
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
7505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 resultobj
= PyInt_FromLong((long)result
);
7520 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7523 PyObject
* obj0
= 0 ;
7525 (char *) "self", NULL
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
7529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 Py_INCREF(Py_None
); resultobj
= Py_None
;
7544 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
;
7546 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7547 PyObject
* obj0
= 0 ;
7549 (char *) "self", NULL
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
7553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 wxPyEndAllowThreads(__tstate
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7561 Py_INCREF(Py_None
); resultobj
= Py_None
;
7568 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
;
7570 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7572 PyObject
* obj0
= 0 ;
7574 (char *) "self", NULL
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
7578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7586 resultobj
= PyInt_FromLong((long)result
);
7593 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
;
7595 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7597 PyObject
* obj0
= 0 ;
7599 (char *) "self", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
7603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 resultobj
= PyInt_FromLong((long)result
);
7618 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7622 PyObject
* obj0
= 0 ;
7624 (char *) "self",(char *) "pos", NULL
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
7628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 (arg1
)->SetInsertionPoint(arg2
);
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 Py_INCREF(Py_None
); resultobj
= Py_None
;
7643 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7646 PyObject
* obj0
= 0 ;
7648 (char *) "self", NULL
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
7652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7655 (arg1
)->SetInsertionPointEnd();
7657 wxPyEndAllowThreads(__tstate
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7660 Py_INCREF(Py_None
); resultobj
= Py_None
;
7667 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
;
7669 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7671 PyObject
* obj0
= 0 ;
7673 (char *) "self", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
7677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= PyInt_FromLong((long)result
);
7692 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
*resultobj
;
7694 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7696 PyObject
* obj0
= 0 ;
7698 (char *) "self", NULL
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
7702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7710 resultobj
= PyInt_FromLong((long)result
);
7717 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
;
7719 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7722 PyObject
* obj0
= 0 ;
7724 (char *) "self",(char *) "from",(char *) "to", NULL
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 (arg1
)->SetSelection(arg2
,arg3
);
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 Py_INCREF(Py_None
); resultobj
= Py_None
;
7743 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7745 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7746 PyObject
* obj0
= 0 ;
7748 (char *) "self", NULL
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
7752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 (arg1
)->SelectAll();
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 Py_INCREF(Py_None
); resultobj
= Py_None
;
7767 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
;
7769 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7771 PyObject
* obj0
= 0 ;
7772 PyObject
* obj1
= 0 ;
7774 (char *) "self",(char *) "editable", NULL
7777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
7778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7779 arg2
= PyInt_AsLong(obj1
) ? true : false;
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 (arg1
)->SetEditable(arg2
);
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7788 Py_INCREF(Py_None
); resultobj
= Py_None
;
7795 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
;
7797 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7798 wxString
*arg2
= 0 ;
7799 bool temp2
= False
;
7800 PyObject
* obj0
= 0 ;
7801 PyObject
* obj1
= 0 ;
7803 (char *) "self",(char *) "text", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7809 arg2
= wxString_in_helper(obj1
);
7810 if (arg2
== NULL
) SWIG_fail
;
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7820 Py_INCREF(Py_None
); resultobj
= Py_None
;
7835 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
;
7837 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7841 PyObject
* obj0
= 0 ;
7843 (char *) "self",(char *) "from",(char *) "to", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetString",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7868 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7871 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
7873 return Py_BuildValue((char *)"");
7875 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
;
7878 wxMouseEvent
*arg2
= 0 ;
7881 wxTextUrlEvent
*result
;
7882 PyObject
* obj1
= 0 ;
7884 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOll:new_TextUrlEvent",kwnames
,&arg1
,&obj1
,&arg3
,&arg4
)) goto fail
;
7888 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7890 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7899 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
7906 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7907 PyObject
*resultobj
;
7908 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
7909 wxMouseEvent
*result
;
7910 PyObject
* obj0
= 0 ;
7912 (char *) "self", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
7916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
7921 result
= (wxMouseEvent
*) &_result_ref
;
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
7934 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7936 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
7938 PyObject
* obj0
= 0 ;
7940 (char *) "self", NULL
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
7944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= PyInt_FromLong((long)result
);
7959 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
;
7961 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
7963 PyObject
* obj0
= 0 ;
7965 (char *) "self", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
7969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7977 resultobj
= PyInt_FromLong((long)result
);
7984 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7987 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
7989 return Py_BuildValue((char *)"");
7991 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
;
7993 wxWindow
*arg1
= (wxWindow
*) 0 ;
7994 int arg2
= (int) -1 ;
7995 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7996 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7997 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7998 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7999 long arg5
= (long) wxSB_HORIZONTAL
;
8000 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
8001 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
8002 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
8003 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8004 wxScrollBar
*result
;
8007 bool temp7
= False
;
8008 PyObject
* obj0
= 0 ;
8009 PyObject
* obj2
= 0 ;
8010 PyObject
* obj3
= 0 ;
8011 PyObject
* obj5
= 0 ;
8012 PyObject
* obj6
= 0 ;
8014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ScrollBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
8018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8022 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8028 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8032 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8034 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8039 arg7
= wxString_in_helper(obj6
);
8040 if (arg7
== NULL
) SWIG_fail
;
8045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8046 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8066 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
;
8068 wxScrollBar
*result
;
8073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 result
= (wxScrollBar
*)new wxScrollBar();
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8088 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
;
8090 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8091 wxWindow
*arg2
= (wxWindow
*) 0 ;
8092 int arg3
= (int) -1 ;
8093 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8094 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8095 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8096 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8097 long arg6
= (long) wxSB_HORIZONTAL
;
8098 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8099 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8100 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
8101 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8105 bool temp8
= False
;
8106 PyObject
* obj0
= 0 ;
8107 PyObject
* obj1
= 0 ;
8108 PyObject
* obj3
= 0 ;
8109 PyObject
* obj4
= 0 ;
8110 PyObject
* obj6
= 0 ;
8111 PyObject
* obj7
= 0 ;
8113 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
8117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8118 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8122 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8128 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8132 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8134 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8139 arg8
= wxString_in_helper(obj7
);
8140 if (arg8
== NULL
) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 resultobj
= PyInt_FromLong((long)result
);
8166 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
*resultobj
;
8168 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8170 PyObject
* obj0
= 0 ;
8172 (char *) "self", NULL
8175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
8176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 resultobj
= PyInt_FromLong((long)result
);
8191 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
;
8193 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8195 PyObject
* obj0
= 0 ;
8197 (char *) "self", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
8201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8209 resultobj
= PyInt_FromLong((long)result
);
8216 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
;
8218 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8220 PyObject
* obj0
= 0 ;
8222 (char *) "self", NULL
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
8226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
8231 wxPyEndAllowThreads(__tstate
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= PyInt_FromLong((long)result
);
8241 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8245 PyObject
* obj0
= 0 ;
8247 (char *) "self", NULL
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
8251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 resultobj
= PyInt_FromLong((long)result
);
8266 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8270 PyObject
* obj0
= 0 ;
8272 (char *) "self", NULL
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
8276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= PyInt_FromLong((long)result
);
8291 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8292 PyObject
*resultobj
;
8293 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8295 PyObject
* obj0
= 0 ;
8297 (char *) "self",(char *) "viewStart", NULL
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
8301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 (arg1
)->SetThumbPosition(arg2
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8309 Py_INCREF(Py_None
); resultobj
= Py_None
;
8316 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
;
8318 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8323 bool arg6
= (bool) True
;
8324 PyObject
* obj0
= 0 ;
8325 PyObject
* obj5
= 0 ;
8327 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
8331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8333 arg6
= PyInt_AsLong(obj5
) ? true : false;
8334 if (PyErr_Occurred()) SWIG_fail
;
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8338 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 Py_INCREF(Py_None
); resultobj
= Py_None
;
8350 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
8352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8353 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
8355 return Py_BuildValue((char *)"");
8357 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8358 PyObject
*resultobj
;
8359 wxWindow
*arg1
= (wxWindow
*) 0 ;
8360 int arg2
= (int) -1 ;
8361 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8362 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8363 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8364 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8365 long arg5
= (long) wxSP_HORIZONTAL
;
8366 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
8367 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8368 wxSpinButton
*result
;
8371 bool temp6
= False
;
8372 PyObject
* obj0
= 0 ;
8373 PyObject
* obj2
= 0 ;
8374 PyObject
* obj3
= 0 ;
8375 PyObject
* obj5
= 0 ;
8377 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_SpinButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8385 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8391 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8396 arg6
= wxString_in_helper(obj5
);
8397 if (arg6
== NULL
) SWIG_fail
;
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8408 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8423 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
;
8425 wxSpinButton
*result
;
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 result
= (wxSpinButton
*)new wxSpinButton();
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8445 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
;
8447 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8448 wxWindow
*arg2
= (wxWindow
*) 0 ;
8449 int arg3
= (int) -1 ;
8450 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8451 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8452 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8453 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8454 long arg6
= (long) wxSP_HORIZONTAL
;
8455 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
8456 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8460 bool temp7
= False
;
8461 PyObject
* obj0
= 0 ;
8462 PyObject
* obj1
= 0 ;
8463 PyObject
* obj3
= 0 ;
8464 PyObject
* obj4
= 0 ;
8465 PyObject
* obj6
= 0 ;
8467 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8472 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8476 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8482 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8487 arg7
= wxString_in_helper(obj6
);
8488 if (arg7
== NULL
) SWIG_fail
;
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8496 wxPyEndAllowThreads(__tstate
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8499 resultobj
= PyInt_FromLong((long)result
);
8514 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
;
8516 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8518 PyObject
* obj0
= 0 ;
8520 (char *) "self", NULL
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
8524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= PyInt_FromLong((long)result
);
8539 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
;
8541 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8543 PyObject
* obj0
= 0 ;
8545 (char *) "self", NULL
8548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
8549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8552 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8557 resultobj
= PyInt_FromLong((long)result
);
8564 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8565 PyObject
*resultobj
;
8566 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8568 PyObject
* obj0
= 0 ;
8570 (char *) "self", NULL
8573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
8574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8582 resultobj
= PyInt_FromLong((long)result
);
8589 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
*resultobj
;
8591 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8593 PyObject
* obj0
= 0 ;
8595 (char *) "self",(char *) "val", NULL
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
8599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 (arg1
)->SetValue(arg2
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8607 Py_INCREF(Py_None
); resultobj
= Py_None
;
8614 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
*resultobj
;
8616 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8618 PyObject
* obj0
= 0 ;
8620 (char *) "self",(char *) "minVal", NULL
8623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
8624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 (arg1
)->SetMin(arg2
);
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 Py_INCREF(Py_None
); resultobj
= Py_None
;
8639 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8641 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8643 PyObject
* obj0
= 0 ;
8645 (char *) "self",(char *) "maxVal", NULL
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
8649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 (arg1
)->SetMax(arg2
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 Py_INCREF(Py_None
); resultobj
= Py_None
;
8664 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
;
8666 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8669 PyObject
* obj0
= 0 ;
8671 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinButton_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 (arg1
)->SetRange(arg2
,arg3
);
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 Py_INCREF(Py_None
); resultobj
= Py_None
;
8690 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
;
8692 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8694 PyObject
* obj0
= 0 ;
8696 (char *) "self", NULL
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
8700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 resultobj
= PyInt_FromLong((long)result
);
8715 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
8717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8718 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
8720 return Py_BuildValue((char *)"");
8722 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
;
8724 wxWindow
*arg1
= (wxWindow
*) 0 ;
8725 int arg2
= (int) -1 ;
8726 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8727 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8728 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8729 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8730 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8731 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8732 long arg6
= (long) wxSP_ARROW_KEYS
;
8733 int arg7
= (int) 0 ;
8734 int arg8
= (int) 100 ;
8735 int arg9
= (int) 0 ;
8736 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
8737 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
8739 bool temp3
= False
;
8742 bool temp10
= False
;
8743 PyObject
* obj0
= 0 ;
8744 PyObject
* obj2
= 0 ;
8745 PyObject
* obj3
= 0 ;
8746 PyObject
* obj4
= 0 ;
8747 PyObject
* obj9
= 0 ;
8749 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
)) goto fail
;
8753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8756 arg3
= wxString_in_helper(obj2
);
8757 if (arg3
== NULL
) SWIG_fail
;
8764 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8770 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8775 arg10
= wxString_in_helper(obj9
);
8776 if (arg10
== NULL
) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
8810 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 result
= (wxSpinCtrl
*)new wxSpinCtrl();
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
8832 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8835 wxWindow
*arg2
= (wxWindow
*) 0 ;
8836 int arg3
= (int) -1 ;
8837 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8838 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8839 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8840 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8841 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8842 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8843 long arg7
= (long) wxSP_ARROW_KEYS
;
8844 int arg8
= (int) 0 ;
8845 int arg9
= (int) 100 ;
8846 int arg10
= (int) 0 ;
8847 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
8848 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
8850 bool temp4
= False
;
8853 bool temp11
= False
;
8854 PyObject
* obj0
= 0 ;
8855 PyObject
* obj1
= 0 ;
8856 PyObject
* obj3
= 0 ;
8857 PyObject
* obj4
= 0 ;
8858 PyObject
* obj5
= 0 ;
8859 PyObject
* obj10
= 0 ;
8861 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&arg8
,&arg9
,&arg10
,&obj10
)) goto fail
;
8865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8866 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8869 arg4
= wxString_in_helper(obj3
);
8870 if (arg4
== NULL
) SWIG_fail
;
8877 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8883 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8888 arg11
= wxString_in_helper(obj10
);
8889 if (arg11
== NULL
) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 resultobj
= PyInt_FromLong((long)result
);
8923 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8927 PyObject
* obj0
= 0 ;
8929 (char *) "self", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8941 resultobj
= PyInt_FromLong((long)result
);
8948 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8950 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8952 PyObject
* obj0
= 0 ;
8954 (char *) "self",(char *) "value", NULL
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinCtrl_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
8958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 (arg1
)->SetValue(arg2
);
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 Py_INCREF(Py_None
); resultobj
= Py_None
;
8973 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8976 wxString
*arg2
= 0 ;
8977 bool temp2
= False
;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8981 (char *) "self",(char *) "text", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
8985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8987 arg2
= wxString_in_helper(obj1
);
8988 if (arg2
== NULL
) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 (arg1
)->SetValue((wxString
const &)*arg2
);
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8998 Py_INCREF(Py_None
); resultobj
= Py_None
;
9013 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9018 PyObject
* obj0
= 0 ;
9020 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinCtrl_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 (arg1
)->SetRange(arg2
,arg3
);
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 Py_INCREF(Py_None
); resultobj
= Py_None
;
9039 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9041 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9043 PyObject
* obj0
= 0 ;
9045 (char *) "self", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
9049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9057 resultobj
= PyInt_FromLong((long)result
);
9064 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
;
9066 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9068 PyObject
* obj0
= 0 ;
9070 (char *) "self", NULL
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
9074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9082 resultobj
= PyInt_FromLong((long)result
);
9089 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9094 PyObject
* obj0
= 0 ;
9096 (char *) "self",(char *) "from",(char *) "to", NULL
9099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:SpinCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 wxSpinCtrl_SetSelection(arg1
,arg2
,arg3
);
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9108 Py_INCREF(Py_None
); resultobj
= Py_None
;
9115 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9118 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
9120 return Py_BuildValue((char *)"");
9122 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
*resultobj
;
9124 wxWindow
*arg1
= (wxWindow
*) 0 ;
9126 wxString
*arg3
= 0 ;
9127 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9128 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9129 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9130 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9131 int arg6
= (int) 0 ;
9132 wxString
*arg7
= (wxString
*) NULL
;
9133 int arg8
= (int) 0 ;
9134 long arg9
= (long) wxRA_HORIZONTAL
;
9135 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
9136 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
9137 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
9138 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9140 bool temp3
= False
;
9143 bool temp10
= False
;
9144 PyObject
* obj0
= 0 ;
9145 PyObject
* obj2
= 0 ;
9146 PyObject
* obj3
= 0 ;
9147 PyObject
* obj4
= 0 ;
9148 PyObject
* obj5
= 0 ;
9149 PyObject
* obj8
= 0 ;
9150 PyObject
* obj9
= 0 ;
9152 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOOilOO:new_RadioBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&arg9
,&obj8
,&obj9
)) goto fail
;
9156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9158 arg3
= wxString_in_helper(obj2
);
9159 if (arg3
== NULL
) SWIG_fail
;
9165 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9171 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9176 arg6
= PyList_Size(obj5
);
9177 arg7
= wxString_LIST_helper(obj5
);
9178 if (arg7
== NULL
) SWIG_fail
;
9182 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9183 if (arg10
== NULL
) {
9184 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9189 arg11
= wxString_in_helper(obj9
);
9190 if (arg11
== NULL
) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 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
);
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9207 if (arg7
) delete [] arg7
;
9220 if (arg7
) delete [] arg7
;
9230 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 result
= (wxRadioBox
*)new wxRadioBox();
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9252 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
;
9254 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9255 wxWindow
*arg2
= (wxWindow
*) 0 ;
9257 wxString
*arg4
= 0 ;
9258 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9259 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9260 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9261 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9262 int arg7
= (int) 0 ;
9263 wxString
*arg8
= (wxString
*) NULL
;
9264 int arg9
= (int) 0 ;
9265 long arg10
= (long) wxRA_HORIZONTAL
;
9266 wxValidator
const &arg11_defvalue
= wxDefaultValidator
;
9267 wxValidator
*arg11
= (wxValidator
*) &arg11_defvalue
;
9268 wxString
const &arg12_defvalue
= wxPyRadioBoxNameStr
;
9269 wxString
*arg12
= (wxString
*) &arg12_defvalue
;
9271 bool temp4
= False
;
9274 bool temp11
= False
;
9275 PyObject
* obj0
= 0 ;
9276 PyObject
* obj1
= 0 ;
9277 PyObject
* obj3
= 0 ;
9278 PyObject
* obj4
= 0 ;
9279 PyObject
* obj5
= 0 ;
9280 PyObject
* obj6
= 0 ;
9281 PyObject
* obj9
= 0 ;
9282 PyObject
* obj10
= 0 ;
9284 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&arg10
,&obj9
,&obj10
)) goto fail
;
9288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9289 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9291 arg4
= wxString_in_helper(obj3
);
9292 if (arg4
== NULL
) SWIG_fail
;
9298 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9304 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9309 arg7
= PyList_Size(obj6
);
9310 arg8
= wxString_LIST_helper(obj6
);
9311 if (arg8
== NULL
) SWIG_fail
;
9315 if ((SWIG_ConvertPtr(obj9
,(void **) &arg11
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9316 if (arg11
== NULL
) {
9317 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9322 arg12
= wxString_in_helper(obj10
);
9323 if (arg12
== NULL
) SWIG_fail
;
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 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
);
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 resultobj
= PyInt_FromLong((long)result
);
9340 if (arg8
) delete [] arg8
;
9353 if (arg8
) delete [] arg8
;
9363 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
;
9365 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9367 PyObject
* obj0
= 0 ;
9369 (char *) "self",(char *) "n", NULL
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
9373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 (arg1
)->SetSelection(arg2
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 Py_INCREF(Py_None
); resultobj
= Py_None
;
9388 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9394 (char *) "self", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9406 resultobj
= PyInt_FromLong((long)result
);
9413 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
;
9415 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9417 PyObject
* obj0
= 0 ;
9419 (char *) "self", NULL
9422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
9423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9444 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
*resultobj
;
9446 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9447 wxString
*arg2
= 0 ;
9449 bool temp2
= False
;
9450 PyObject
* obj0
= 0 ;
9451 PyObject
* obj1
= 0 ;
9453 (char *) "self",(char *) "s", NULL
9456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9459 arg2
= wxString_in_helper(obj1
);
9460 if (arg2
== NULL
) SWIG_fail
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= PyInt_FromLong((long)result
);
9485 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9489 PyObject
* obj0
= 0 ;
9491 (char *) "self", NULL
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
9495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9503 resultobj
= PyInt_FromLong((long)result
);
9510 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9513 wxString
*arg2
= 0 ;
9515 bool temp2
= False
;
9516 PyObject
* obj0
= 0 ;
9517 PyObject
* obj1
= 0 ;
9519 (char *) "self",(char *) "s", NULL
9522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
9523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9525 arg2
= wxString_in_helper(obj1
);
9526 if (arg2
== NULL
) SWIG_fail
;
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= PyInt_FromLong((long)result
);
9551 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
;
9553 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9556 PyObject
* obj0
= 0 ;
9558 (char *) "self",(char *) "n", NULL
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
9562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9583 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
;
9585 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9587 wxString
*arg3
= 0 ;
9588 bool temp3
= False
;
9589 PyObject
* obj0
= 0 ;
9590 PyObject
* obj2
= 0 ;
9592 (char *) "self",(char *) "n",(char *) "label", NULL
9595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:RadioBox_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9598 arg3
= wxString_in_helper(obj2
);
9599 if (arg3
== NULL
) SWIG_fail
;
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 Py_INCREF(Py_None
); resultobj
= Py_None
;
9624 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
;
9626 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9628 bool arg3
= (bool) True
;
9629 PyObject
* obj0
= 0 ;
9630 PyObject
* obj2
= 0 ;
9632 (char *) "self",(char *) "n",(char *) "enable", NULL
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_EnableItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9638 arg3
= PyInt_AsLong(obj2
) ? true : false;
9639 if (PyErr_Occurred()) SWIG_fail
;
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 (arg1
)->Enable(arg2
,arg3
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 Py_INCREF(Py_None
); resultobj
= Py_None
;
9655 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9659 bool arg3
= (bool) True
;
9660 PyObject
* obj0
= 0 ;
9661 PyObject
* obj2
= 0 ;
9663 (char *) "self",(char *) "n",(char *) "show", NULL
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_ShowItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9669 arg3
= PyInt_AsLong(obj2
) ? true : false;
9670 if (PyErr_Occurred()) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 (arg1
)->Show(arg2
,arg3
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 Py_INCREF(Py_None
); resultobj
= Py_None
;
9686 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9688 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9690 PyObject
* obj0
= 0 ;
9692 (char *) "self", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
9696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 resultobj
= PyInt_FromLong((long)result
);
9711 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
;
9713 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9715 PyObject
* obj0
= 0 ;
9717 (char *) "self", NULL
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
9721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= PyInt_FromLong((long)result
);
9736 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9738 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9743 PyObject
* obj0
= 0 ;
9745 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:RadioBox_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
9749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= PyInt_FromLong((long)result
);
9764 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
9766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9767 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
9769 return Py_BuildValue((char *)"");
9771 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxWindow
*arg1
= (wxWindow
*) 0 ;
9775 wxString
*arg3
= 0 ;
9776 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9777 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9778 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9779 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9780 long arg6
= (long) 0 ;
9781 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9782 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9783 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
9784 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9785 wxRadioButton
*result
;
9786 bool temp3
= False
;
9789 bool temp8
= False
;
9790 PyObject
* obj0
= 0 ;
9791 PyObject
* obj2
= 0 ;
9792 PyObject
* obj3
= 0 ;
9793 PyObject
* obj4
= 0 ;
9794 PyObject
* obj6
= 0 ;
9795 PyObject
* obj7
= 0 ;
9797 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_RadioButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
9801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9803 arg3
= wxString_in_helper(obj2
);
9804 if (arg3
== NULL
) SWIG_fail
;
9810 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9816 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9820 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9822 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9827 arg8
= wxString_in_helper(obj7
);
9828 if (arg8
== NULL
) SWIG_fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
9862 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
;
9864 wxRadioButton
*result
;
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (wxRadioButton
*)new wxRadioButton();
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
9884 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
;
9886 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
9887 wxWindow
*arg2
= (wxWindow
*) 0 ;
9889 wxString
*arg4
= 0 ;
9890 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9891 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9892 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9893 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9894 long arg7
= (long) 0 ;
9895 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9896 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9897 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
9898 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9900 bool temp4
= False
;
9903 bool temp9
= False
;
9904 PyObject
* obj0
= 0 ;
9905 PyObject
* obj1
= 0 ;
9906 PyObject
* obj3
= 0 ;
9907 PyObject
* obj4
= 0 ;
9908 PyObject
* obj5
= 0 ;
9909 PyObject
* obj7
= 0 ;
9910 PyObject
* obj8
= 0 ;
9912 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
9916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9917 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9919 arg4
= wxString_in_helper(obj3
);
9920 if (arg4
== NULL
) SWIG_fail
;
9926 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9932 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9936 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9938 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9943 arg9
= wxString_in_helper(obj8
);
9944 if (arg9
== NULL
) SWIG_fail
;
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9952 wxPyEndAllowThreads(__tstate
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= PyInt_FromLong((long)result
);
9978 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
;
9980 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
9982 PyObject
* obj0
= 0 ;
9984 (char *) "self", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
9988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 result
= (bool)(arg1
)->GetValue();
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9996 resultobj
= PyInt_FromLong((long)result
);
10003 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
;
10005 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10007 PyObject
* obj0
= 0 ;
10008 PyObject
* obj1
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "self",(char *) "value", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10015 arg2
= PyInt_AsLong(obj1
) ? true : false;
10016 if (PyErr_Occurred()) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 (arg1
)->SetValue(arg2
);
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 Py_INCREF(Py_None
); resultobj
= Py_None
;
10031 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
10033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10034 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
10036 return Py_BuildValue((char *)"");
10038 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxWindow
*arg1
= (wxWindow
*) 0 ;
10045 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
10046 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
10047 wxSize
const &arg7_defvalue
= wxDefaultSize
;
10048 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
10049 long arg8
= (long) wxSL_HORIZONTAL
;
10050 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10051 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10052 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
10053 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10057 bool temp10
= False
;
10058 PyObject
* obj0
= 0 ;
10059 PyObject
* obj5
= 0 ;
10060 PyObject
* obj6
= 0 ;
10061 PyObject
* obj8
= 0 ;
10062 PyObject
* obj9
= 0 ;
10063 char *kwnames
[] = {
10064 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOlOO:new_Slider",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
,&obj8
,&obj9
)) goto fail
;
10068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10072 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
10078 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
10082 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10083 if (arg9
== NULL
) {
10084 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10089 arg10
= wxString_in_helper(obj9
);
10090 if (arg10
== NULL
) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10116 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10119 char *kwnames
[] = {
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 result
= (wxSlider
*)new wxSlider();
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10131 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10138 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10139 PyObject
*resultobj
;
10140 wxSlider
*arg1
= (wxSlider
*) 0 ;
10141 wxWindow
*arg2
= (wxWindow
*) 0 ;
10146 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10147 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10148 wxSize
const &arg8_defvalue
= wxDefaultSize
;
10149 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
10150 long arg9
= (long) wxSL_HORIZONTAL
;
10151 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10152 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10153 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
10154 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10158 bool temp11
= False
;
10159 PyObject
* obj0
= 0 ;
10160 PyObject
* obj1
= 0 ;
10161 PyObject
* obj6
= 0 ;
10162 PyObject
* obj7
= 0 ;
10163 PyObject
* obj9
= 0 ;
10164 PyObject
* obj10
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiiii|OOlOO:Slider_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&arg9
,&obj9
,&obj10
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10175 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10181 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
10185 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10186 if (arg10
== NULL
) {
10187 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10192 arg11
= wxString_in_helper(obj10
);
10193 if (arg11
== NULL
) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 resultobj
= PyInt_FromLong((long)result
);
10219 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10221 wxSlider
*arg1
= (wxSlider
*) 0 ;
10223 PyObject
* obj0
= 0 ;
10224 char *kwnames
[] = {
10225 (char *) "self", NULL
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
10229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (int)((wxSlider
const *)arg1
)->GetValue();
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= PyInt_FromLong((long)result
);
10244 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxSlider
*arg1
= (wxSlider
*) 0 ;
10248 PyObject
* obj0
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "self",(char *) "value", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
10254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 (arg1
)->SetValue(arg2
);
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 Py_INCREF(Py_None
); resultobj
= Py_None
;
10269 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxSlider
*arg1
= (wxSlider
*) 0 ;
10274 PyObject
* obj0
= 0 ;
10275 char *kwnames
[] = {
10276 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 (arg1
)->SetRange(arg2
,arg3
);
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 Py_INCREF(Py_None
); resultobj
= Py_None
;
10295 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxSlider
*arg1
= (wxSlider
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 result
= (int)((wxSlider
const *)arg1
)->GetMin();
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= PyInt_FromLong((long)result
);
10320 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
;
10322 wxSlider
*arg1
= (wxSlider
*) 0 ;
10324 PyObject
* obj0
= 0 ;
10325 char *kwnames
[] = {
10326 (char *) "self", NULL
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
10330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 result
= (int)((wxSlider
const *)arg1
)->GetMax();
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= PyInt_FromLong((long)result
);
10345 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
;
10347 wxSlider
*arg1
= (wxSlider
*) 0 ;
10349 PyObject
* obj0
= 0 ;
10350 char *kwnames
[] = {
10351 (char *) "self",(char *) "minValue", NULL
10354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
10355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 (arg1
)->SetMin(arg2
);
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 Py_INCREF(Py_None
); resultobj
= Py_None
;
10370 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
;
10372 wxSlider
*arg1
= (wxSlider
*) 0 ;
10374 PyObject
* obj0
= 0 ;
10375 char *kwnames
[] = {
10376 (char *) "self",(char *) "maxValue", NULL
10379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
10380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 (arg1
)->SetMax(arg2
);
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10388 Py_INCREF(Py_None
); resultobj
= Py_None
;
10395 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
*resultobj
;
10397 wxSlider
*arg1
= (wxSlider
*) 0 ;
10399 PyObject
* obj0
= 0 ;
10400 char *kwnames
[] = {
10401 (char *) "self",(char *) "lineSize", NULL
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetLineSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 (arg1
)->SetLineSize(arg2
);
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 Py_INCREF(Py_None
); resultobj
= Py_None
;
10420 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
;
10422 wxSlider
*arg1
= (wxSlider
*) 0 ;
10424 PyObject
* obj0
= 0 ;
10425 char *kwnames
[] = {
10426 (char *) "self",(char *) "pageSize", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 (arg1
)->SetPageSize(arg2
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 Py_INCREF(Py_None
); resultobj
= Py_None
;
10445 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 wxSlider
*arg1
= (wxSlider
*) 0 ;
10449 PyObject
* obj0
= 0 ;
10450 char *kwnames
[] = {
10451 (char *) "self", NULL
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
10455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= PyInt_FromLong((long)result
);
10470 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 wxSlider
*arg1
= (wxSlider
*) 0 ;
10474 PyObject
* obj0
= 0 ;
10475 char *kwnames
[] = {
10476 (char *) "self", NULL
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
10480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 resultobj
= PyInt_FromLong((long)result
);
10495 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
*resultobj
;
10497 wxSlider
*arg1
= (wxSlider
*) 0 ;
10499 PyObject
* obj0
= 0 ;
10500 char *kwnames
[] = {
10501 (char *) "self",(char *) "lenPixels", NULL
10504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetThumbLength",kwnames
,&obj0
,&arg2
)) goto fail
;
10505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 (arg1
)->SetThumbLength(arg2
);
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 Py_INCREF(Py_None
); resultobj
= Py_None
;
10520 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxSlider
*arg1
= (wxSlider
*) 0 ;
10524 PyObject
* obj0
= 0 ;
10525 char *kwnames
[] = {
10526 (char *) "self", NULL
10529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
10530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= PyInt_FromLong((long)result
);
10545 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
;
10547 wxSlider
*arg1
= (wxSlider
*) 0 ;
10550 PyObject
* obj0
= 0 ;
10551 char *kwnames
[] = {
10552 (char *) "self",(char *) "n",(char *) "pos", NULL
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetTickFreq",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 (arg1
)->SetTickFreq(arg2
,arg3
);
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 Py_INCREF(Py_None
); resultobj
= Py_None
;
10571 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
;
10573 wxSlider
*arg1
= (wxSlider
*) 0 ;
10575 PyObject
* obj0
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "self", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
10581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 resultobj
= PyInt_FromLong((long)result
);
10596 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
;
10598 wxSlider
*arg1
= (wxSlider
*) 0 ;
10599 PyObject
* obj0
= 0 ;
10600 char *kwnames
[] = {
10601 (char *) "self", NULL
10604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
10605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 (arg1
)->ClearTicks();
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10613 Py_INCREF(Py_None
); resultobj
= Py_None
;
10620 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
;
10622 wxSlider
*arg1
= (wxSlider
*) 0 ;
10624 PyObject
* obj0
= 0 ;
10625 char *kwnames
[] = {
10626 (char *) "self",(char *) "tickPos", NULL
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetTick",kwnames
,&obj0
,&arg2
)) goto fail
;
10630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 (arg1
)->SetTick(arg2
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 Py_INCREF(Py_None
); resultobj
= Py_None
;
10645 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
;
10647 wxSlider
*arg1
= (wxSlider
*) 0 ;
10648 PyObject
* obj0
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "self", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
10654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 (arg1
)->ClearSel();
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 Py_INCREF(Py_None
); resultobj
= Py_None
;
10669 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
*resultobj
;
10671 wxSlider
*arg1
= (wxSlider
*) 0 ;
10673 PyObject
* obj0
= 0 ;
10674 char *kwnames
[] = {
10675 (char *) "self", NULL
10678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
10679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 resultobj
= PyInt_FromLong((long)result
);
10694 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
*resultobj
;
10696 wxSlider
*arg1
= (wxSlider
*) 0 ;
10698 PyObject
* obj0
= 0 ;
10699 char *kwnames
[] = {
10700 (char *) "self", NULL
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
10704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= PyInt_FromLong((long)result
);
10719 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
;
10721 wxSlider
*arg1
= (wxSlider
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "self",(char *) "min",(char *) "max", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 (arg1
)->SetSelection(arg2
,arg3
);
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 Py_INCREF(Py_None
); resultobj
= Py_None
;
10745 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
10747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10748 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
10750 return Py_BuildValue((char *)"");
10752 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
;
10754 wxWindow
*arg1
= (wxWindow
*) 0 ;
10756 wxString
*arg3
= 0 ;
10757 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10758 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10759 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10760 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10761 long arg6
= (long) 0 ;
10762 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10763 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10764 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
10765 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10766 wxToggleButton
*result
;
10767 bool temp3
= False
;
10770 bool temp8
= False
;
10771 PyObject
* obj0
= 0 ;
10772 PyObject
* obj2
= 0 ;
10773 PyObject
* obj3
= 0 ;
10774 PyObject
* obj4
= 0 ;
10775 PyObject
* obj6
= 0 ;
10776 PyObject
* obj7
= 0 ;
10777 char *kwnames
[] = {
10778 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_ToggleButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10784 arg3
= wxString_in_helper(obj2
);
10785 if (arg3
== NULL
) SWIG_fail
;
10791 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10797 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10801 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10802 if (arg7
== NULL
) {
10803 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10808 arg8
= wxString_in_helper(obj7
);
10809 if (arg8
== NULL
) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
10843 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
;
10845 wxToggleButton
*result
;
10846 char *kwnames
[] = {
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 result
= (wxToggleButton
*)new wxToggleButton();
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10858 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
10865 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
;
10867 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
10868 wxWindow
*arg2
= (wxWindow
*) 0 ;
10870 wxString
*arg4
= 0 ;
10871 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10872 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10873 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10874 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10875 long arg7
= (long) 0 ;
10876 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10877 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10878 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
10879 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10881 bool temp4
= False
;
10884 bool temp9
= False
;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 PyObject
* obj3
= 0 ;
10888 PyObject
* obj4
= 0 ;
10889 PyObject
* obj5
= 0 ;
10890 PyObject
* obj7
= 0 ;
10891 PyObject
* obj8
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
10897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10898 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10900 arg4
= wxString_in_helper(obj3
);
10901 if (arg4
== NULL
) SWIG_fail
;
10907 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10913 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10917 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10918 if (arg8
== NULL
) {
10919 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10924 arg9
= wxString_in_helper(obj8
);
10925 if (arg9
== NULL
) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 resultobj
= PyInt_FromLong((long)result
);
10959 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
10963 PyObject
* obj0
= 0 ;
10964 PyObject
* obj1
= 0 ;
10965 char *kwnames
[] = {
10966 (char *) "self",(char *) "value", NULL
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10971 arg2
= PyInt_AsLong(obj1
) ? true : false;
10972 if (PyErr_Occurred()) SWIG_fail
;
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 (arg1
)->SetValue(arg2
);
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10980 Py_INCREF(Py_None
); resultobj
= Py_None
;
10987 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
*resultobj
;
10989 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
10991 PyObject
* obj0
= 0 ;
10992 char *kwnames
[] = {
10993 (char *) "self", NULL
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
10997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11005 resultobj
= PyInt_FromLong((long)result
);
11012 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11015 wxString
*arg2
= 0 ;
11016 bool temp2
= False
;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 char *kwnames
[] = {
11020 (char *) "self",(char *) "label", NULL
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
11024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11026 arg2
= wxString_in_helper(obj1
);
11027 if (arg2
== NULL
) SWIG_fail
;
11031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11032 (arg1
)->SetLabel((wxString
const &)*arg2
);
11034 wxPyEndAllowThreads(__tstate
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11037 Py_INCREF(Py_None
); resultobj
= Py_None
;
11052 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
11054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11055 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
11057 return Py_BuildValue((char *)"");
11059 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
;
11061 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11063 PyObject
* obj0
= 0 ;
11064 char *kwnames
[] = {
11065 (char *) "self", NULL
11068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
11069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11077 resultobj
= PyInt_FromLong((long)result
);
11084 static PyObject
*_wrap_BookCtrl_GetPage(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_GetPage",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
= (wxWindow
*)(arg1
)->GetPage(arg2
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11107 resultobj
= wxPyMake_wxObject(result
);
11115 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
;
11117 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11119 PyObject
* obj0
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
11125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11133 resultobj
= PyInt_FromLong((long)result
);
11140 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11141 PyObject
*resultobj
;
11142 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11144 wxString
*arg3
= 0 ;
11146 bool temp3
= False
;
11147 PyObject
* obj0
= 0 ;
11148 PyObject
* obj1
= 0 ;
11149 PyObject
* obj2
= 0 ;
11150 char *kwnames
[] = {
11151 (char *) "self",(char *) "n",(char *) "strText", NULL
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11156 arg2
= (size_t) PyInt_AsLong(obj1
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11159 arg3
= wxString_in_helper(obj2
);
11160 if (arg3
== NULL
) SWIG_fail
;
11164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11165 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
11167 wxPyEndAllowThreads(__tstate
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11170 resultobj
= PyInt_FromLong((long)result
);
11185 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
;
11187 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11190 PyObject
* obj0
= 0 ;
11191 PyObject
* obj1
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self",(char *) "n", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
11197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11198 arg2
= (size_t) PyInt_AsLong(obj1
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11220 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11223 wxImageList
*arg2
= (wxImageList
*) 0 ;
11224 PyObject
* obj0
= 0 ;
11225 PyObject
* obj1
= 0 ;
11226 char *kwnames
[] = {
11227 (char *) "self",(char *) "imageList", NULL
11230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11232 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 (arg1
)->SetImageList(arg2
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 Py_INCREF(Py_None
); resultobj
= Py_None
;
11247 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11250 wxImageList
*arg2
= (wxImageList
*) 0 ;
11251 PyObject
* obj0
= 0 ;
11252 PyObject
* obj1
= 0 ;
11253 char *kwnames
[] = {
11254 (char *) "self",(char *) "imageList", NULL
11257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11259 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 (arg1
)->AssignImageList(arg2
);
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 Py_INCREF(Py_None
); resultobj
= Py_None
;
11274 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
;
11276 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11277 wxImageList
*result
;
11278 PyObject
* obj0
= 0 ;
11279 char *kwnames
[] = {
11280 (char *) "self", NULL
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
11284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11293 resultobj
= wxPyMake_wxObject(result
);
11301 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
;
11303 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11306 PyObject
* obj0
= 0 ;
11307 PyObject
* obj1
= 0 ;
11308 char *kwnames
[] = {
11309 (char *) "self",(char *) "n", NULL
11312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
11313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11314 arg2
= (size_t) PyInt_AsLong(obj1
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= PyInt_FromLong((long)result
);
11330 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11331 PyObject
*resultobj
;
11332 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11336 PyObject
* obj0
= 0 ;
11337 PyObject
* obj1
= 0 ;
11338 char *kwnames
[] = {
11339 (char *) "self",(char *) "n",(char *) "imageId", NULL
11342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11344 arg2
= (size_t) PyInt_AsLong(obj1
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 resultobj
= PyInt_FromLong((long)result
);
11360 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
*resultobj
;
11362 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11365 PyObject
* obj0
= 0 ;
11366 PyObject
* obj1
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self",(char *) "size", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11375 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11384 Py_INCREF(Py_None
); resultobj
= Py_None
;
11391 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11392 PyObject
*resultobj
;
11393 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11397 PyObject
* obj0
= 0 ;
11398 PyObject
* obj1
= 0 ;
11399 char *kwnames
[] = {
11400 (char *) "self",(char *) "sizePage", NULL
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11407 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11417 wxSize
* resultptr
;
11418 resultptr
= new wxSize((wxSize
&) result
);
11419 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11427 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
*resultobj
;
11429 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11432 PyObject
* obj0
= 0 ;
11433 PyObject
* obj1
= 0 ;
11434 char *kwnames
[] = {
11435 (char *) "self",(char *) "n", NULL
11438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11440 arg2
= (size_t) PyInt_AsLong(obj1
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 result
= (bool)(arg1
)->DeletePage(arg2
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 resultobj
= PyInt_FromLong((long)result
);
11456 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11461 PyObject
* obj0
= 0 ;
11462 PyObject
* obj1
= 0 ;
11463 char *kwnames
[] = {
11464 (char *) "self",(char *) "n", NULL
11467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11469 arg2
= (size_t) PyInt_AsLong(obj1
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 result
= (bool)(arg1
)->RemovePage(arg2
);
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= PyInt_FromLong((long)result
);
11485 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11487 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11489 PyObject
* obj0
= 0 ;
11490 char *kwnames
[] = {
11491 (char *) "self", NULL
11494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
11495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11498 result
= (bool)(arg1
)->DeleteAllPages();
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 resultobj
= PyInt_FromLong((long)result
);
11510 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
;
11512 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11513 wxWindow
*arg2
= (wxWindow
*) 0 ;
11514 wxString
*arg3
= 0 ;
11515 bool arg4
= (bool) False
;
11516 int arg5
= (int) -1 ;
11518 bool temp3
= False
;
11519 PyObject
* obj0
= 0 ;
11520 PyObject
* obj1
= 0 ;
11521 PyObject
* obj2
= 0 ;
11522 PyObject
* obj3
= 0 ;
11523 char *kwnames
[] = {
11524 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
11528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11529 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11531 arg3
= wxString_in_helper(obj2
);
11532 if (arg3
== NULL
) SWIG_fail
;
11536 arg4
= PyInt_AsLong(obj3
) ? true : false;
11537 if (PyErr_Occurred()) SWIG_fail
;
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 resultobj
= PyInt_FromLong((long)result
);
11561 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
;
11563 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11565 wxWindow
*arg3
= (wxWindow
*) 0 ;
11566 wxString
*arg4
= 0 ;
11567 bool arg5
= (bool) False
;
11568 int arg6
= (int) -1 ;
11570 bool temp4
= False
;
11571 PyObject
* obj0
= 0 ;
11572 PyObject
* obj1
= 0 ;
11573 PyObject
* obj2
= 0 ;
11574 PyObject
* obj3
= 0 ;
11575 PyObject
* obj4
= 0 ;
11576 char *kwnames
[] = {
11577 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
)) goto fail
;
11581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11582 arg2
= (size_t) PyInt_AsLong(obj1
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11584 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11586 arg4
= wxString_in_helper(obj3
);
11587 if (arg4
== NULL
) SWIG_fail
;
11591 arg5
= PyInt_AsLong(obj4
) ? true : false;
11592 if (PyErr_Occurred()) SWIG_fail
;
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 resultobj
= PyInt_FromLong((long)result
);
11616 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
*resultobj
;
11618 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11621 PyObject
* obj0
= 0 ;
11622 PyObject
* obj1
= 0 ;
11623 char *kwnames
[] = {
11624 (char *) "self",(char *) "n", NULL
11627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11629 arg2
= (size_t) PyInt_AsLong(obj1
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11633 result
= (int)(arg1
)->SetSelection(arg2
);
11635 wxPyEndAllowThreads(__tstate
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11638 resultobj
= PyInt_FromLong((long)result
);
11645 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11646 PyObject
*resultobj
;
11647 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11648 bool arg2
= (bool) True
;
11649 PyObject
* obj0
= 0 ;
11650 PyObject
* obj1
= 0 ;
11651 char *kwnames
[] = {
11652 (char *) "self",(char *) "forward", NULL
11655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11658 arg2
= PyInt_AsLong(obj1
) ? true : false;
11659 if (PyErr_Occurred()) SWIG_fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 (arg1
)->AdvanceSelection(arg2
);
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 Py_INCREF(Py_None
); resultobj
= Py_None
;
11675 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11678 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
11680 return Py_BuildValue((char *)"");
11682 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
;
11684 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11685 int arg2
= (int) 0 ;
11686 int arg3
= (int) -1 ;
11687 int arg4
= (int) -1 ;
11688 wxBookCtrlEvent
*result
;
11689 char *kwnames
[] = {
11690 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_BookCtrlEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
11708 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11709 PyObject
*resultobj
;
11710 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11712 PyObject
* obj0
= 0 ;
11713 char *kwnames
[] = {
11714 (char *) "self", NULL
11717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
11718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 resultobj
= PyInt_FromLong((long)result
);
11733 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
*resultobj
;
11735 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11737 PyObject
* obj0
= 0 ;
11738 char *kwnames
[] = {
11739 (char *) "self",(char *) "nSel", NULL
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 (arg1
)->SetSelection(arg2
);
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11751 Py_INCREF(Py_None
); resultobj
= Py_None
;
11758 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
;
11760 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11762 PyObject
* obj0
= 0 ;
11763 char *kwnames
[] = {
11764 (char *) "self", NULL
11767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
11768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= PyInt_FromLong((long)result
);
11783 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
;
11785 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11787 PyObject
* obj0
= 0 ;
11788 char *kwnames
[] = {
11789 (char *) "self",(char *) "nOldSel", NULL
11792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 (arg1
)->SetOldSelection(arg2
);
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11801 Py_INCREF(Py_None
); resultobj
= Py_None
;
11808 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11811 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
11813 return Py_BuildValue((char *)"");
11815 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11816 PyObject
*resultobj
;
11817 wxWindow
*arg1
= (wxWindow
*) 0 ;
11819 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11820 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11821 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11822 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11823 long arg5
= (long) 0 ;
11824 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
11825 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11826 wxNotebook
*result
;
11829 bool temp6
= False
;
11830 PyObject
* obj0
= 0 ;
11831 PyObject
* obj2
= 0 ;
11832 PyObject
* obj3
= 0 ;
11833 PyObject
* obj5
= 0 ;
11834 char *kwnames
[] = {
11835 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Notebook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11843 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11849 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11854 arg6
= wxString_in_helper(obj5
);
11855 if (arg6
== NULL
) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= wxPyMake_wxObject(result
);
11883 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
;
11885 wxNotebook
*result
;
11886 char *kwnames
[] = {
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 result
= (wxNotebook
*)new wxNotebook();
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11899 resultobj
= wxPyMake_wxObject(result
);
11907 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
*resultobj
;
11909 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
11910 wxWindow
*arg2
= (wxWindow
*) 0 ;
11912 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11913 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11914 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11915 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11916 long arg6
= (long) 0 ;
11917 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
11918 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11922 bool temp7
= False
;
11923 PyObject
* obj0
= 0 ;
11924 PyObject
* obj1
= 0 ;
11925 PyObject
* obj3
= 0 ;
11926 PyObject
* obj4
= 0 ;
11927 PyObject
* obj6
= 0 ;
11928 char *kwnames
[] = {
11929 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Notebook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
11933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11934 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11938 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11944 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11949 arg7
= wxString_in_helper(obj6
);
11950 if (arg7
== NULL
) SWIG_fail
;
11955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11956 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11961 resultobj
= PyInt_FromLong((long)result
);
11976 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11977 PyObject
*resultobj
;
11978 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
11980 PyObject
* obj0
= 0 ;
11981 char *kwnames
[] = {
11982 (char *) "self", NULL
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
11986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= PyInt_FromLong((long)result
);
12001 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
;
12003 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12006 PyObject
* obj0
= 0 ;
12007 PyObject
* obj1
= 0 ;
12008 char *kwnames
[] = {
12009 (char *) "self",(char *) "padding", NULL
12012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
12013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12016 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 (arg1
)->SetPadding((wxSize
const &)*arg2
);
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 Py_INCREF(Py_None
); resultobj
= Py_None
;
12032 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
*resultobj
;
12034 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12037 PyObject
* obj0
= 0 ;
12038 PyObject
* obj1
= 0 ;
12039 char *kwnames
[] = {
12040 (char *) "self",(char *) "sz", NULL
12043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12047 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 Py_INCREF(Py_None
); resultobj
= Py_None
;
12063 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
;
12065 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12066 wxPoint
*arg2
= 0 ;
12067 long *arg3
= (long *) 0 ;
12071 PyObject
* obj0
= 0 ;
12072 PyObject
* obj1
= 0 ;
12073 char *kwnames
[] = {
12074 (char *) "self",(char *) "pt", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
12079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12082 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12086 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
12088 wxPyEndAllowThreads(__tstate
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12091 resultobj
= PyInt_FromLong((long)result
);
12093 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12094 resultobj
= t_output_helper(resultobj
,o
);
12102 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
;
12104 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12108 PyObject
* obj0
= 0 ;
12109 PyObject
* obj1
= 0 ;
12110 char *kwnames
[] = {
12111 (char *) "self",(char *) "sizePage", NULL
12114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12118 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12128 wxSize
* resultptr
;
12129 resultptr
= new wxSize((wxSize
&) result
);
12130 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12138 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
12140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12141 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
12143 return Py_BuildValue((char *)"");
12145 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
;
12147 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12148 int arg2
= (int) 0 ;
12149 int arg3
= (int) -1 ;
12150 int arg4
= (int) -1 ;
12151 wxNotebookEvent
*result
;
12152 char *kwnames
[] = {
12153 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_NotebookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
12171 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12174 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
12176 return Py_BuildValue((char *)"");
12178 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
;
12180 wxWindow
*arg1
= (wxWindow
*) 0 ;
12182 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12183 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12184 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12185 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12186 long arg5
= (long) 0 ;
12187 wxString
const &arg6_defvalue
= wxPyEmptyString
;
12188 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12189 wxListbook
*result
;
12192 bool temp6
= False
;
12193 PyObject
* obj0
= 0 ;
12194 PyObject
* obj2
= 0 ;
12195 PyObject
* obj3
= 0 ;
12196 PyObject
* obj5
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Listbook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12206 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12212 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12217 arg6
= wxString_in_helper(obj5
);
12218 if (arg6
== NULL
) SWIG_fail
;
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12226 wxPyEndAllowThreads(__tstate
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12244 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12245 PyObject
*resultobj
;
12246 wxListbook
*result
;
12247 char *kwnames
[] = {
12251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 result
= (wxListbook
*)new wxListbook();
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12266 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
;
12268 wxListbook
*arg1
= (wxListbook
*) 0 ;
12269 wxWindow
*arg2
= (wxWindow
*) 0 ;
12271 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12272 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12273 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12274 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12275 long arg6
= (long) 0 ;
12276 wxString
const &arg7_defvalue
= wxPyEmptyString
;
12277 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12281 bool temp7
= False
;
12282 PyObject
* obj0
= 0 ;
12283 PyObject
* obj1
= 0 ;
12284 PyObject
* obj3
= 0 ;
12285 PyObject
* obj4
= 0 ;
12286 PyObject
* obj6
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Listbook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12293 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12297 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12303 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12308 arg7
= wxString_in_helper(obj6
);
12309 if (arg7
== NULL
) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= PyInt_FromLong((long)result
);
12335 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
;
12337 wxListbook
*arg1
= (wxListbook
*) 0 ;
12339 PyObject
* obj0
= 0 ;
12340 char *kwnames
[] = {
12341 (char *) "self", NULL
12344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
12345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12353 resultobj
= PyInt_FromLong((long)result
);
12360 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
12362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12363 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
12365 return Py_BuildValue((char *)"");
12367 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
;
12369 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12370 int arg2
= (int) 0 ;
12371 int arg3
= (int) -1 ;
12372 int arg4
= (int) -1 ;
12373 wxListbookEvent
*result
;
12374 char *kwnames
[] = {
12375 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ListbookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12381 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12386 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
12393 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12396 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
12398 return Py_BuildValue((char *)"");
12400 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
;
12402 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12403 wxBookCtrlSizer
*result
;
12404 PyObject
* obj0
= 0 ;
12405 char *kwnames
[] = {
12406 (char *) "nb", NULL
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
12410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
12425 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
;
12427 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12428 PyObject
* obj0
= 0 ;
12429 char *kwnames
[] = {
12430 (char *) "self", NULL
12433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 (arg1
)->RecalcSizes();
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 Py_INCREF(Py_None
); resultobj
= Py_None
;
12449 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12450 PyObject
*resultobj
;
12451 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (arg1
)->CalcMin();
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12468 wxSize
* resultptr
;
12469 resultptr
= new wxSize((wxSize
&) result
);
12470 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12478 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
*resultobj
;
12480 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12481 wxBookCtrl
*result
;
12482 PyObject
* obj0
= 0 ;
12483 char *kwnames
[] = {
12484 (char *) "self", NULL
12487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
12488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 result
= (wxBookCtrl
*)(arg1
)->GetControl();
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12496 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
12503 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12506 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
12508 return Py_BuildValue((char *)"");
12510 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12513 wxNotebookSizer
*result
;
12514 PyObject
* obj0
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "nb", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
12520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
12535 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
;
12537 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12538 PyObject
* obj0
= 0 ;
12539 char *kwnames
[] = {
12540 (char *) "self", NULL
12543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 (arg1
)->RecalcSizes();
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12552 Py_INCREF(Py_None
); resultobj
= Py_None
;
12559 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
;
12561 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12563 PyObject
* obj0
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 result
= (arg1
)->CalcMin();
12574 wxPyEndAllowThreads(__tstate
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12578 wxSize
* resultptr
;
12579 resultptr
= new wxSize((wxSize
&) result
);
12580 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12588 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12591 wxNotebook
*result
;
12592 PyObject
* obj0
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 result
= (wxNotebook
*)(arg1
)->GetNotebook();
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12607 resultobj
= wxPyMake_wxObject(result
);
12615 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12618 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
12620 return Py_BuildValue((char *)"");
12622 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12626 PyObject
* obj0
= 0 ;
12627 char *kwnames
[] = {
12628 (char *) "self", NULL
12631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
12632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 result
= (int)(arg1
)->GetId();
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= PyInt_FromLong((long)result
);
12647 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
;
12649 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12651 PyObject
* obj0
= 0 ;
12652 char *kwnames
[] = {
12653 (char *) "self", NULL
12656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
12657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 result
= (wxControl
*)(arg1
)->GetControl();
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= wxPyMake_wxObject(result
);
12674 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
;
12676 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12677 wxToolBarBase
*result
;
12678 PyObject
* obj0
= 0 ;
12679 char *kwnames
[] = {
12680 (char *) "self", NULL
12683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
12684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= wxPyMake_wxObject(result
);
12701 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12702 PyObject
*resultobj
;
12703 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12705 PyObject
* obj0
= 0 ;
12706 char *kwnames
[] = {
12707 (char *) "self", NULL
12710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
12711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 result
= (int)(arg1
)->IsButton();
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 resultobj
= PyInt_FromLong((long)result
);
12726 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "self", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
12736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12739 result
= (int)(arg1
)->IsControl();
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= PyInt_FromLong((long)result
);
12751 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12752 PyObject
*resultobj
;
12753 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12755 PyObject
* obj0
= 0 ;
12756 char *kwnames
[] = {
12757 (char *) "self", NULL
12760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
12761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 result
= (int)(arg1
)->IsSeparator();
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 resultobj
= PyInt_FromLong((long)result
);
12776 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
;
12778 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12780 PyObject
* obj0
= 0 ;
12781 char *kwnames
[] = {
12782 (char *) "self", NULL
12785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
12786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 result
= (int)(arg1
)->GetStyle();
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12794 resultobj
= PyInt_FromLong((long)result
);
12801 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12802 PyObject
*resultobj
;
12803 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12805 PyObject
* obj0
= 0 ;
12806 char *kwnames
[] = {
12807 (char *) "self", NULL
12810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
12811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= (int)(arg1
)->GetKind();
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= PyInt_FromLong((long)result
);
12826 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12827 PyObject
*resultobj
;
12828 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12830 PyObject
* obj0
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self", NULL
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
12836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= (bool)(arg1
)->IsEnabled();
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12844 resultobj
= PyInt_FromLong((long)result
);
12851 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
*resultobj
;
12853 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12855 PyObject
* obj0
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "self", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
12861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12864 result
= (bool)(arg1
)->IsToggled();
12866 wxPyEndAllowThreads(__tstate
);
12867 if (PyErr_Occurred()) SWIG_fail
;
12869 resultobj
= PyInt_FromLong((long)result
);
12876 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12877 PyObject
*resultobj
;
12878 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12880 PyObject
* obj0
= 0 ;
12881 char *kwnames
[] = {
12882 (char *) "self", NULL
12885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
12886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 result
= (bool)(arg1
)->CanBeToggled();
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12894 resultobj
= PyInt_FromLong((long)result
);
12901 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
;
12903 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12905 PyObject
* obj0
= 0 ;
12906 char *kwnames
[] = {
12907 (char *) "self", NULL
12910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
12911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12915 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
12916 result
= (wxBitmap
*) &_result_ref
;
12919 wxPyEndAllowThreads(__tstate
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12922 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
12929 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12930 PyObject
*resultobj
;
12931 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12933 PyObject
* obj0
= 0 ;
12934 char *kwnames
[] = {
12935 (char *) "self", NULL
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
12939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
12944 result
= (wxBitmap
*) &_result_ref
;
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
12957 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
;
12959 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12961 PyObject
* obj0
= 0 ;
12962 char *kwnames
[] = {
12963 (char *) "self", NULL
12966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
12967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 result
= (arg1
)->GetBitmap();
12972 wxPyEndAllowThreads(__tstate
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12976 wxBitmap
* resultptr
;
12977 resultptr
= new wxBitmap((wxBitmap
&) result
);
12978 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
12986 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
;
12988 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12990 PyObject
* obj0
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "self", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
12996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 result
= (arg1
)->GetLabel();
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13017 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13021 PyObject
* obj0
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (arg1
)->GetShortHelp();
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13048 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13049 PyObject
*resultobj
;
13050 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13052 PyObject
* obj0
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "self", NULL
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
13058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 result
= (arg1
)->GetLongHelp();
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13079 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
;
13081 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13084 PyObject
* obj0
= 0 ;
13085 PyObject
* obj1
= 0 ;
13086 char *kwnames
[] = {
13087 (char *) "self",(char *) "enable", NULL
13090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
13091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13092 arg2
= PyInt_AsLong(obj1
) ? true : false;
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 result
= (bool)(arg1
)->Enable(arg2
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 resultobj
= PyInt_FromLong((long)result
);
13108 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
;
13110 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13111 PyObject
* obj0
= 0 ;
13112 char *kwnames
[] = {
13113 (char *) "self", NULL
13116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
13117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13125 Py_INCREF(Py_None
); resultobj
= Py_None
;
13132 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13133 PyObject
*resultobj
;
13134 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13137 PyObject
* obj0
= 0 ;
13138 PyObject
* obj1
= 0 ;
13139 char *kwnames
[] = {
13140 (char *) "self",(char *) "toggle", NULL
13143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
13144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13145 arg2
= PyInt_AsLong(obj1
) ? true : false;
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (bool)(arg1
)->SetToggle(arg2
);
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 resultobj
= PyInt_FromLong((long)result
);
13161 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13163 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13164 wxString
*arg2
= 0 ;
13166 bool temp2
= False
;
13167 PyObject
* obj0
= 0 ;
13168 PyObject
* obj1
= 0 ;
13169 char *kwnames
[] = {
13170 (char *) "self",(char *) "help", NULL
13173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13176 arg2
= wxString_in_helper(obj1
);
13177 if (arg2
== NULL
) SWIG_fail
;
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 resultobj
= PyInt_FromLong((long)result
);
13202 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13203 PyObject
*resultobj
;
13204 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13205 wxString
*arg2
= 0 ;
13207 bool temp2
= False
;
13208 PyObject
* obj0
= 0 ;
13209 PyObject
* obj1
= 0 ;
13210 char *kwnames
[] = {
13211 (char *) "self",(char *) "help", NULL
13214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13217 arg2
= wxString_in_helper(obj1
);
13218 if (arg2
== NULL
) SWIG_fail
;
13222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13223 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
13225 wxPyEndAllowThreads(__tstate
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13228 resultobj
= PyInt_FromLong((long)result
);
13243 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13244 PyObject
*resultobj
;
13245 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13246 wxBitmap
*arg2
= 0 ;
13247 PyObject
* obj0
= 0 ;
13248 PyObject
* obj1
= 0 ;
13249 char *kwnames
[] = {
13250 (char *) "self",(char *) "bmp", NULL
13253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13256 if (arg2
== NULL
) {
13257 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
13263 wxPyEndAllowThreads(__tstate
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13266 Py_INCREF(Py_None
); resultobj
= Py_None
;
13273 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13274 PyObject
*resultobj
;
13275 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13276 wxBitmap
*arg2
= 0 ;
13277 PyObject
* obj0
= 0 ;
13278 PyObject
* obj1
= 0 ;
13279 char *kwnames
[] = {
13280 (char *) "self",(char *) "bmp", NULL
13283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13285 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13286 if (arg2
== NULL
) {
13287 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 Py_INCREF(Py_None
); resultobj
= Py_None
;
13303 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13306 wxString
*arg2
= 0 ;
13307 bool temp2
= False
;
13308 PyObject
* obj0
= 0 ;
13309 PyObject
* obj1
= 0 ;
13310 char *kwnames
[] = {
13311 (char *) "self",(char *) "label", NULL
13314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13317 arg2
= wxString_in_helper(obj1
);
13318 if (arg2
== NULL
) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 (arg1
)->SetLabel((wxString
const &)*arg2
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 Py_INCREF(Py_None
); resultobj
= Py_None
;
13343 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
;
13345 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
13352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 Py_INCREF(Py_None
); resultobj
= Py_None
;
13367 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13368 PyObject
*resultobj
;
13369 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13370 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
13371 PyObject
* obj0
= 0 ;
13372 PyObject
* obj1
= 0 ;
13373 char *kwnames
[] = {
13374 (char *) "self",(char *) "tbar", NULL
13377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
13378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13379 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13382 (arg1
)->Attach(arg2
);
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 Py_INCREF(Py_None
); resultobj
= Py_None
;
13394 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13398 PyObject
* obj0
= 0 ;
13399 char *kwnames
[] = {
13400 (char *) "self", NULL
13403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
13404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
13409 wxPyEndAllowThreads(__tstate
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13412 resultobj
= result
;
13419 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13420 PyObject
*resultobj
;
13421 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13422 PyObject
*arg2
= (PyObject
*) 0 ;
13423 PyObject
* obj0
= 0 ;
13424 PyObject
* obj1
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self",(char *) "clientData", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
13430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 wxToolBarToolBase_SetClientData(arg1
,arg2
);
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13439 Py_INCREF(Py_None
); resultobj
= Py_None
;
13446 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
13448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13449 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
13451 return Py_BuildValue((char *)"");
13453 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13454 PyObject
*resultobj
;
13455 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13457 wxString
*arg3
= 0 ;
13458 wxBitmap
*arg4
= 0 ;
13459 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
13460 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
13461 int arg6
= (int) wxITEM_NORMAL
;
13462 wxString
const &arg7_defvalue
= wxPyEmptyString
;
13463 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13464 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13465 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13466 PyObject
*arg9
= (PyObject
*) NULL
;
13467 wxToolBarToolBase
*result
;
13468 bool temp3
= False
;
13469 bool temp7
= False
;
13470 bool temp8
= False
;
13471 PyObject
* obj0
= 0 ;
13472 PyObject
* obj2
= 0 ;
13473 PyObject
* obj3
= 0 ;
13474 PyObject
* obj4
= 0 ;
13475 PyObject
* obj6
= 0 ;
13476 PyObject
* obj7
= 0 ;
13477 PyObject
* obj8
= 0 ;
13478 char *kwnames
[] = {
13479 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
,&obj8
)) goto fail
;
13483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13485 arg3
= wxString_in_helper(obj2
);
13486 if (arg3
== NULL
) SWIG_fail
;
13489 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13490 if (arg4
== NULL
) {
13491 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13494 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13495 if (arg5
== NULL
) {
13496 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13501 arg7
= wxString_in_helper(obj6
);
13502 if (arg7
== NULL
) SWIG_fail
;
13508 arg8
= wxString_in_helper(obj7
);
13509 if (arg8
== NULL
) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13524 resultobj
= wxPyMake_wxObject(result
);
13556 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13561 wxString
*arg4
= 0 ;
13562 wxBitmap
*arg5
= 0 ;
13563 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
13564 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
13565 int arg7
= (int) wxITEM_NORMAL
;
13566 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13567 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13568 wxString
const &arg9_defvalue
= wxPyEmptyString
;
13569 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13570 PyObject
*arg10
= (PyObject
*) NULL
;
13571 wxToolBarToolBase
*result
;
13572 bool temp4
= False
;
13573 bool temp8
= False
;
13574 bool temp9
= False
;
13575 PyObject
* obj0
= 0 ;
13576 PyObject
* obj1
= 0 ;
13577 PyObject
* obj3
= 0 ;
13578 PyObject
* obj4
= 0 ;
13579 PyObject
* obj5
= 0 ;
13580 PyObject
* obj7
= 0 ;
13581 PyObject
* obj8
= 0 ;
13582 PyObject
* obj9
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
13588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13589 arg2
= (size_t) PyInt_AsLong(obj1
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13592 arg4
= wxString_in_helper(obj3
);
13593 if (arg4
== NULL
) SWIG_fail
;
13596 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13597 if (arg5
== NULL
) {
13598 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13601 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13602 if (arg6
== NULL
) {
13603 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13608 arg8
= wxString_in_helper(obj7
);
13609 if (arg8
== NULL
) SWIG_fail
;
13615 arg9
= wxString_in_helper(obj8
);
13616 if (arg9
== NULL
) SWIG_fail
;
13624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13625 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
);
13627 wxPyEndAllowThreads(__tstate
);
13628 if (PyErr_Occurred()) SWIG_fail
;
13631 resultobj
= wxPyMake_wxObject(result
);
13663 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13664 PyObject
*resultobj
;
13665 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13666 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
13667 wxToolBarToolBase
*result
;
13668 PyObject
* obj0
= 0 ;
13669 PyObject
* obj1
= 0 ;
13670 char *kwnames
[] = {
13671 (char *) "self",(char *) "tool", NULL
13674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
13675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13676 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
13681 wxPyEndAllowThreads(__tstate
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13685 resultobj
= wxPyMake_wxObject(result
);
13693 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13694 PyObject
*resultobj
;
13695 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13697 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
13698 wxToolBarToolBase
*result
;
13699 PyObject
* obj0
= 0 ;
13700 PyObject
* obj1
= 0 ;
13701 PyObject
* obj2
= 0 ;
13702 char *kwnames
[] = {
13703 (char *) "self",(char *) "pos",(char *) "tool", NULL
13706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13708 arg2
= (size_t) PyInt_AsLong(obj1
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13710 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= wxPyMake_wxObject(result
);
13727 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
;
13729 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13730 wxControl
*arg2
= (wxControl
*) 0 ;
13731 wxToolBarToolBase
*result
;
13732 PyObject
* obj0
= 0 ;
13733 PyObject
* obj1
= 0 ;
13734 char *kwnames
[] = {
13735 (char *) "self",(char *) "control", NULL
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
13739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13740 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= wxPyMake_wxObject(result
);
13757 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13761 wxControl
*arg3
= (wxControl
*) 0 ;
13762 wxToolBarToolBase
*result
;
13763 PyObject
* obj0
= 0 ;
13764 PyObject
* obj1
= 0 ;
13765 PyObject
* obj2
= 0 ;
13766 char *kwnames
[] = {
13767 (char *) "self",(char *) "pos",(char *) "control", NULL
13770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13772 arg2
= (size_t) PyInt_AsLong(obj1
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13774 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= wxPyMake_wxObject(result
);
13791 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
;
13793 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13796 PyObject
* obj0
= 0 ;
13797 char *kwnames
[] = {
13798 (char *) "self",(char *) "id", NULL
13801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindControl",kwnames
,&obj0
,&arg2
)) goto fail
;
13802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= wxPyMake_wxObject(result
);
13819 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
;
13821 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13822 wxToolBarToolBase
*result
;
13823 PyObject
* obj0
= 0 ;
13824 char *kwnames
[] = {
13825 (char *) "self", NULL
13828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
13829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13832 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
13834 wxPyEndAllowThreads(__tstate
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13838 resultobj
= wxPyMake_wxObject(result
);
13846 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13847 PyObject
*resultobj
;
13848 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13850 wxToolBarToolBase
*result
;
13851 PyObject
* obj0
= 0 ;
13852 PyObject
* obj1
= 0 ;
13853 char *kwnames
[] = {
13854 (char *) "self",(char *) "pos", NULL
13857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
13858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13859 arg2
= (size_t) PyInt_AsLong(obj1
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= wxPyMake_wxObject(result
);
13877 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
;
13879 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13881 wxToolBarToolBase
*result
;
13882 PyObject
* obj0
= 0 ;
13883 char *kwnames
[] = {
13884 (char *) "self",(char *) "id", NULL
13887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_RemoveTool",kwnames
,&obj0
,&arg2
)) goto fail
;
13888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= wxPyMake_wxObject(result
);
13905 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
;
13907 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13910 PyObject
* obj0
= 0 ;
13911 PyObject
* obj1
= 0 ;
13912 char *kwnames
[] = {
13913 (char *) "self",(char *) "pos", NULL
13916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
13917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13918 arg2
= (size_t) PyInt_AsLong(obj1
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= PyInt_FromLong((long)result
);
13934 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
;
13936 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13939 PyObject
* obj0
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "self",(char *) "id", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_DeleteTool",kwnames
,&obj0
,&arg2
)) goto fail
;
13945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 result
= (bool)(arg1
)->DeleteTool(arg2
);
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 resultobj
= PyInt_FromLong((long)result
);
13960 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13963 PyObject
* obj0
= 0 ;
13964 char *kwnames
[] = {
13965 (char *) "self", NULL
13968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
13969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13972 (arg1
)->ClearTools();
13974 wxPyEndAllowThreads(__tstate
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13977 Py_INCREF(Py_None
); resultobj
= Py_None
;
13984 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13985 PyObject
*resultobj
;
13986 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13988 PyObject
* obj0
= 0 ;
13989 char *kwnames
[] = {
13990 (char *) "self", NULL
13993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
13994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 result
= (bool)(arg1
)->Realize();
13999 wxPyEndAllowThreads(__tstate
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14002 resultobj
= PyInt_FromLong((long)result
);
14009 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
;
14011 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14014 PyObject
* obj0
= 0 ;
14015 PyObject
* obj2
= 0 ;
14016 char *kwnames
[] = {
14017 (char *) "self",(char *) "id",(char *) "enable", NULL
14020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_EnableTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14022 arg3
= PyInt_AsLong(obj2
) ? true : false;
14023 if (PyErr_Occurred()) SWIG_fail
;
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 (arg1
)->EnableTool(arg2
,arg3
);
14028 wxPyEndAllowThreads(__tstate
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14031 Py_INCREF(Py_None
); resultobj
= Py_None
;
14038 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14039 PyObject
*resultobj
;
14040 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14043 PyObject
* obj0
= 0 ;
14044 PyObject
* obj2
= 0 ;
14045 char *kwnames
[] = {
14046 (char *) "self",(char *) "id",(char *) "toggle", NULL
14049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14051 arg3
= PyInt_AsLong(obj2
) ? true : false;
14052 if (PyErr_Occurred()) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 (arg1
)->ToggleTool(arg2
,arg3
);
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14060 Py_INCREF(Py_None
); resultobj
= Py_None
;
14067 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14068 PyObject
*resultobj
;
14069 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14072 PyObject
* obj0
= 0 ;
14073 PyObject
* obj2
= 0 ;
14074 char *kwnames
[] = {
14075 (char *) "self",(char *) "id",(char *) "toggle", NULL
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToggle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14080 arg3
= PyInt_AsLong(obj2
) ? true : false;
14081 if (PyErr_Occurred()) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 (arg1
)->SetToggle(arg2
,arg3
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 Py_INCREF(Py_None
); resultobj
= Py_None
;
14096 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
;
14098 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14101 PyObject
* obj0
= 0 ;
14102 char *kwnames
[] = {
14103 (char *) "self",(char *) "id", NULL
14106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
14107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 resultobj
= result
;
14122 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14123 PyObject
*resultobj
;
14124 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14126 PyObject
*arg3
= (PyObject
*) 0 ;
14127 PyObject
* obj0
= 0 ;
14128 PyObject
* obj2
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self",(char *) "id",(char *) "clientData", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14143 Py_INCREF(Py_None
); resultobj
= Py_None
;
14150 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14151 PyObject
*resultobj
;
14152 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14155 PyObject
* obj0
= 0 ;
14156 char *kwnames
[] = {
14157 (char *) "self",(char *) "id", NULL
14160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolPos",kwnames
,&obj0
,&arg2
)) goto fail
;
14161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
14166 wxPyEndAllowThreads(__tstate
);
14167 if (PyErr_Occurred()) SWIG_fail
;
14169 resultobj
= PyInt_FromLong((long)result
);
14176 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14177 PyObject
*resultobj
;
14178 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14181 PyObject
* obj0
= 0 ;
14182 char *kwnames
[] = {
14183 (char *) "self",(char *) "id", NULL
14186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolState",kwnames
,&obj0
,&arg2
)) goto fail
;
14187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 result
= (bool)(arg1
)->GetToolState(arg2
);
14192 wxPyEndAllowThreads(__tstate
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14195 resultobj
= PyInt_FromLong((long)result
);
14202 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14203 PyObject
*resultobj
;
14204 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14207 PyObject
* obj0
= 0 ;
14208 char *kwnames
[] = {
14209 (char *) "self",(char *) "id", NULL
14212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
14213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14221 resultobj
= PyInt_FromLong((long)result
);
14228 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14229 PyObject
*resultobj
;
14230 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14232 wxString
*arg3
= 0 ;
14233 bool temp3
= False
;
14234 PyObject
* obj0
= 0 ;
14235 PyObject
* obj2
= 0 ;
14236 char *kwnames
[] = {
14237 (char *) "self",(char *) "id",(char *) "helpString", NULL
14240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14243 arg3
= wxString_in_helper(obj2
);
14244 if (arg3
== NULL
) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14254 Py_INCREF(Py_None
); resultobj
= Py_None
;
14269 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14274 PyObject
* obj0
= 0 ;
14275 char *kwnames
[] = {
14276 (char *) "self",(char *) "id", NULL
14279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 result
= (arg1
)->GetToolShortHelp(arg2
);
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14301 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
;
14303 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14305 wxString
*arg3
= 0 ;
14306 bool temp3
= False
;
14307 PyObject
* obj0
= 0 ;
14308 PyObject
* obj2
= 0 ;
14309 char *kwnames
[] = {
14310 (char *) "self",(char *) "id",(char *) "helpString", NULL
14313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14316 arg3
= wxString_in_helper(obj2
);
14317 if (arg3
== NULL
) SWIG_fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14327 Py_INCREF(Py_None
); resultobj
= Py_None
;
14342 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
;
14344 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14347 PyObject
* obj0
= 0 ;
14348 char *kwnames
[] = {
14349 (char *) "self",(char *) "id", NULL
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= (arg1
)->GetToolLongHelp(arg2
);
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14374 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
;
14376 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14379 PyObject
* obj0
= 0 ;
14380 char *kwnames
[] = {
14381 (char *) "self",(char *) "x",(char *) "y", NULL
14384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 (arg1
)->SetMargins(arg2
,arg3
);
14390 wxPyEndAllowThreads(__tstate
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14393 Py_INCREF(Py_None
); resultobj
= Py_None
;
14400 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
;
14402 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14405 PyObject
* obj0
= 0 ;
14406 PyObject
* obj1
= 0 ;
14407 char *kwnames
[] = {
14408 (char *) "self",(char *) "size", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
14412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14415 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 (arg1
)->SetMargins((wxSize
const &)*arg2
);
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14424 Py_INCREF(Py_None
); resultobj
= Py_None
;
14431 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "self",(char *) "packing", NULL
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&arg2
)) goto fail
;
14441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 (arg1
)->SetToolPacking(arg2
);
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 Py_INCREF(Py_None
); resultobj
= Py_None
;
14456 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14460 PyObject
* obj0
= 0 ;
14461 char *kwnames
[] = {
14462 (char *) "self",(char *) "separation", NULL
14465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&arg2
)) goto fail
;
14466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 (arg1
)->SetToolSeparation(arg2
);
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14474 Py_INCREF(Py_None
); resultobj
= Py_None
;
14481 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
;
14483 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14485 PyObject
* obj0
= 0 ;
14486 char *kwnames
[] = {
14487 (char *) "self", NULL
14490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
14491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 result
= (arg1
)->GetToolMargins();
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14500 wxSize
* resultptr
;
14501 resultptr
= new wxSize((wxSize
&) result
);
14502 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14510 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14511 PyObject
*resultobj
;
14512 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14514 PyObject
* obj0
= 0 ;
14515 char *kwnames
[] = {
14516 (char *) "self", NULL
14519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
14520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (arg1
)->GetMargins();
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14529 wxSize
* resultptr
;
14530 resultptr
= new wxSize((wxSize
&) result
);
14531 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14539 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
14549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (int)(arg1
)->GetToolPacking();
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= PyInt_FromLong((long)result
);
14564 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
;
14566 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14568 PyObject
* obj0
= 0 ;
14569 char *kwnames
[] = {
14570 (char *) "self", NULL
14573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
14574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (int)(arg1
)->GetToolSeparation();
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= PyInt_FromLong((long)result
);
14589 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14590 PyObject
*resultobj
;
14591 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14593 PyObject
* obj0
= 0 ;
14594 char *kwnames
[] = {
14595 (char *) "self",(char *) "nRows", NULL
14598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
14599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 (arg1
)->SetRows(arg2
);
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 Py_INCREF(Py_None
); resultobj
= Py_None
;
14614 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14619 PyObject
* obj0
= 0 ;
14620 char *kwnames
[] = {
14621 (char *) "self",(char *) "rows",(char *) "cols", NULL
14624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14633 Py_INCREF(Py_None
); resultobj
= Py_None
;
14640 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14641 PyObject
*resultobj
;
14642 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14644 PyObject
* obj0
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
14650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 result
= (int)(arg1
)->GetMaxRows();
14655 wxPyEndAllowThreads(__tstate
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14658 resultobj
= PyInt_FromLong((long)result
);
14665 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14666 PyObject
*resultobj
;
14667 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14669 PyObject
* obj0
= 0 ;
14670 char *kwnames
[] = {
14671 (char *) "self", NULL
14674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
14675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 result
= (int)(arg1
)->GetMaxCols();
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= PyInt_FromLong((long)result
);
14690 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
;
14692 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14695 PyObject
* obj0
= 0 ;
14696 PyObject
* obj1
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self",(char *) "size", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14705 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14714 Py_INCREF(Py_None
); resultobj
= Py_None
;
14721 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
;
14723 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14725 PyObject
* obj0
= 0 ;
14726 char *kwnames
[] = {
14727 (char *) "self", NULL
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
14731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= (arg1
)->GetToolBitmapSize();
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14740 wxSize
* resultptr
;
14741 resultptr
= new wxSize((wxSize
&) result
);
14742 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14750 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
14760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (arg1
)->GetToolSize();
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14769 wxSize
* resultptr
;
14770 resultptr
= new wxSize((wxSize
&) result
);
14771 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14779 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14784 wxToolBarToolBase
*result
;
14785 PyObject
* obj0
= 0 ;
14786 char *kwnames
[] = {
14787 (char *) "self",(char *) "x",(char *) "y", NULL
14790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= wxPyMake_wxObject(result
);
14808 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14812 wxToolBarToolBase
*result
;
14813 PyObject
* obj0
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self",(char *) "toolid", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindById",kwnames
,&obj0
,&arg2
)) goto fail
;
14819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= wxPyMake_wxObject(result
);
14836 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14837 PyObject
*resultobj
;
14838 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14840 PyObject
* obj0
= 0 ;
14841 char *kwnames
[] = {
14842 (char *) "self", NULL
14845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
14846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14849 result
= (bool)(arg1
)->IsVertical();
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14854 resultobj
= PyInt_FromLong((long)result
);
14861 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
14863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14864 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
14866 return Py_BuildValue((char *)"");
14868 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
;
14870 wxWindow
*arg1
= (wxWindow
*) 0 ;
14872 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14873 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14874 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14875 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14876 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
14877 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
14878 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14882 bool temp6
= False
;
14883 PyObject
* obj0
= 0 ;
14884 PyObject
* obj2
= 0 ;
14885 PyObject
* obj3
= 0 ;
14886 PyObject
* obj5
= 0 ;
14887 char *kwnames
[] = {
14888 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_ToolBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14896 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14902 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14907 arg6
= wxString_in_helper(obj5
);
14908 if (arg6
== NULL
) SWIG_fail
;
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14920 resultobj
= wxPyMake_wxObject(result
);
14936 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
;
14939 char *kwnames
[] = {
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 result
= (wxToolBar
*)new wxToolBar();
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14952 resultobj
= wxPyMake_wxObject(result
);
14960 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
;
14962 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
14963 wxWindow
*arg2
= (wxWindow
*) 0 ;
14965 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14966 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14967 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14968 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14969 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
14970 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
14971 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14975 bool temp7
= False
;
14976 PyObject
* obj0
= 0 ;
14977 PyObject
* obj1
= 0 ;
14978 PyObject
* obj3
= 0 ;
14979 PyObject
* obj4
= 0 ;
14980 PyObject
* obj6
= 0 ;
14981 char *kwnames
[] = {
14982 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
14986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14987 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14991 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14997 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15002 arg7
= wxString_in_helper(obj6
);
15003 if (arg7
== NULL
) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= PyInt_FromLong((long)result
);
15029 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
;
15031 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15034 wxToolBarToolBase
*result
;
15035 PyObject
* obj0
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "self",(char *) "x",(char *) "y", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBar_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15050 resultobj
= wxPyMake_wxObject(result
);
15058 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
15060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15061 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
15063 return Py_BuildValue((char *)"");
15065 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15066 PyObject
*resultobj
;
15067 wxColour
const &arg1_defvalue
= wxNullColour
;
15068 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
15069 wxColour
const &arg2_defvalue
= wxNullColour
;
15070 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
15071 wxFont
const &arg3_defvalue
= wxNullFont
;
15072 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
15073 wxListItemAttr
*result
;
15076 PyObject
* obj0
= 0 ;
15077 PyObject
* obj1
= 0 ;
15078 PyObject
* obj2
= 0 ;
15079 char *kwnames
[] = {
15080 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15087 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
15093 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15097 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15098 if (arg3
== NULL
) {
15099 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
15116 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
;
15118 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15119 wxColour
*arg2
= 0 ;
15121 PyObject
* obj0
= 0 ;
15122 PyObject
* obj1
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self",(char *) "colText", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15131 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 Py_INCREF(Py_None
); resultobj
= Py_None
;
15147 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15150 wxColour
*arg2
= 0 ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self",(char *) "colBack", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15162 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15166 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 Py_INCREF(Py_None
); resultobj
= Py_None
;
15178 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15182 PyObject
* obj0
= 0 ;
15183 PyObject
* obj1
= 0 ;
15184 char *kwnames
[] = {
15185 (char *) "self",(char *) "font", NULL
15188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15190 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15191 if (arg2
== NULL
) {
15192 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 (arg1
)->SetFont((wxFont
const &)*arg2
);
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15201 Py_INCREF(Py_None
); resultobj
= Py_None
;
15208 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
;
15210 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15212 PyObject
* obj0
= 0 ;
15213 char *kwnames
[] = {
15214 (char *) "self", NULL
15217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
15218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 result
= (bool)(arg1
)->HasTextColour();
15223 wxPyEndAllowThreads(__tstate
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15226 resultobj
= PyInt_FromLong((long)result
);
15233 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15234 PyObject
*resultobj
;
15235 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15237 PyObject
* obj0
= 0 ;
15238 char *kwnames
[] = {
15239 (char *) "self", NULL
15242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
15243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15246 result
= (bool)(arg1
)->HasBackgroundColour();
15248 wxPyEndAllowThreads(__tstate
);
15249 if (PyErr_Occurred()) SWIG_fail
;
15251 resultobj
= PyInt_FromLong((long)result
);
15258 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15262 PyObject
* obj0
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "self", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
15268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 result
= (bool)(arg1
)->HasFont();
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15276 resultobj
= PyInt_FromLong((long)result
);
15283 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15284 PyObject
*resultobj
;
15285 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15287 PyObject
* obj0
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "self", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
15293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 result
= (arg1
)->GetTextColour();
15298 wxPyEndAllowThreads(__tstate
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15302 wxColour
* resultptr
;
15303 resultptr
= new wxColour((wxColour
&) result
);
15304 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15312 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
;
15314 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15316 PyObject
* obj0
= 0 ;
15317 char *kwnames
[] = {
15318 (char *) "self", NULL
15321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
15322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 result
= (arg1
)->GetBackgroundColour();
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15331 wxColour
* resultptr
;
15332 resultptr
= new wxColour((wxColour
&) result
);
15333 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15341 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
;
15343 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15345 PyObject
* obj0
= 0 ;
15346 char *kwnames
[] = {
15347 (char *) "self", NULL
15350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
15351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15354 result
= (arg1
)->GetFont();
15356 wxPyEndAllowThreads(__tstate
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15360 wxFont
* resultptr
;
15361 resultptr
= new wxFont((wxFont
&) result
);
15362 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
15370 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
;
15372 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15373 PyObject
* obj0
= 0 ;
15374 char *kwnames
[] = {
15375 (char *) "self", NULL
15378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
15379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15382 wxListItemAttr_Destroy(arg1
);
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15387 Py_INCREF(Py_None
); resultobj
= Py_None
;
15394 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
15396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15397 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
15399 return Py_BuildValue((char *)"");
15401 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxListItem
*result
;
15404 char *kwnames
[] = {
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
15410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 result
= (wxListItem
*)new wxListItem();
15413 wxPyEndAllowThreads(__tstate
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15417 resultobj
= wxPyMake_wxObject(result
);
15425 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
;
15427 wxListItem
*arg1
= (wxListItem
*) 0 ;
15428 PyObject
* obj0
= 0 ;
15429 char *kwnames
[] = {
15430 (char *) "self", NULL
15433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
15434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15442 Py_INCREF(Py_None
); resultobj
= Py_None
;
15449 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
;
15451 wxListItem
*arg1
= (wxListItem
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
15458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15466 Py_INCREF(Py_None
); resultobj
= Py_None
;
15473 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxListItem
*arg1
= (wxListItem
*) 0 ;
15476 PyObject
* obj0
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "self", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
15482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 (arg1
)->ClearAttributes();
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15490 Py_INCREF(Py_None
); resultobj
= Py_None
;
15497 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
;
15499 wxListItem
*arg1
= (wxListItem
*) 0 ;
15501 PyObject
* obj0
= 0 ;
15502 char *kwnames
[] = {
15503 (char *) "self",(char *) "mask", NULL
15506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetMask",kwnames
,&obj0
,&arg2
)) goto fail
;
15507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 (arg1
)->SetMask(arg2
);
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 Py_INCREF(Py_None
); resultobj
= Py_None
;
15522 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxListItem
*arg1
= (wxListItem
*) 0 ;
15526 PyObject
* obj0
= 0 ;
15527 char *kwnames
[] = {
15528 (char *) "self",(char *) "id", NULL
15531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
15532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 (arg1
)->SetId(arg2
);
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 Py_INCREF(Py_None
); resultobj
= Py_None
;
15547 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
;
15549 wxListItem
*arg1
= (wxListItem
*) 0 ;
15551 PyObject
* obj0
= 0 ;
15552 char *kwnames
[] = {
15553 (char *) "self",(char *) "col", NULL
15556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
15557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 (arg1
)->SetColumn(arg2
);
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 Py_INCREF(Py_None
); resultobj
= Py_None
;
15572 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxListItem
*arg1
= (wxListItem
*) 0 ;
15576 PyObject
* obj0
= 0 ;
15577 char *kwnames
[] = {
15578 (char *) "self",(char *) "state", NULL
15581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetState",kwnames
,&obj0
,&arg2
)) goto fail
;
15582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 (arg1
)->SetState(arg2
);
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15590 Py_INCREF(Py_None
); resultobj
= Py_None
;
15597 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
;
15599 wxListItem
*arg1
= (wxListItem
*) 0 ;
15601 PyObject
* obj0
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self",(char *) "stateMask", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetStateMask",kwnames
,&obj0
,&arg2
)) goto fail
;
15607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 (arg1
)->SetStateMask(arg2
);
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 Py_INCREF(Py_None
); resultobj
= Py_None
;
15622 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
;
15624 wxListItem
*arg1
= (wxListItem
*) 0 ;
15625 wxString
*arg2
= 0 ;
15626 bool temp2
= False
;
15627 PyObject
* obj0
= 0 ;
15628 PyObject
* obj1
= 0 ;
15629 char *kwnames
[] = {
15630 (char *) "self",(char *) "text", NULL
15633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
15634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15636 arg2
= wxString_in_helper(obj1
);
15637 if (arg2
== NULL
) SWIG_fail
;
15641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15642 (arg1
)->SetText((wxString
const &)*arg2
);
15644 wxPyEndAllowThreads(__tstate
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15647 Py_INCREF(Py_None
); resultobj
= Py_None
;
15662 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
;
15664 wxListItem
*arg1
= (wxListItem
*) 0 ;
15666 PyObject
* obj0
= 0 ;
15667 char *kwnames
[] = {
15668 (char *) "self",(char *) "image", NULL
15671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetImage",kwnames
,&obj0
,&arg2
)) goto fail
;
15672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 (arg1
)->SetImage(arg2
);
15677 wxPyEndAllowThreads(__tstate
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15680 Py_INCREF(Py_None
); resultobj
= Py_None
;
15687 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
;
15689 wxListItem
*arg1
= (wxListItem
*) 0 ;
15691 PyObject
* obj0
= 0 ;
15692 char *kwnames
[] = {
15693 (char *) "self",(char *) "data", NULL
15696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetData",kwnames
,&obj0
,&arg2
)) goto fail
;
15697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 (arg1
)->SetData(arg2
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 Py_INCREF(Py_None
); resultobj
= Py_None
;
15712 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
;
15714 wxListItem
*arg1
= (wxListItem
*) 0 ;
15716 PyObject
* obj0
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "self",(char *) "width", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
15722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 (arg1
)->SetWidth(arg2
);
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15730 Py_INCREF(Py_None
); resultobj
= Py_None
;
15737 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
;
15739 wxListItem
*arg1
= (wxListItem
*) 0 ;
15741 PyObject
* obj0
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "self",(char *) "align", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetAlign",kwnames
,&obj0
,&arg2
)) goto fail
;
15747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 Py_INCREF(Py_None
); resultobj
= Py_None
;
15762 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
;
15764 wxListItem
*arg1
= (wxListItem
*) 0 ;
15765 wxColour
*arg2
= 0 ;
15767 PyObject
* obj0
= 0 ;
15768 PyObject
* obj1
= 0 ;
15769 char *kwnames
[] = {
15770 (char *) "self",(char *) "colText", NULL
15773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15777 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15786 Py_INCREF(Py_None
); resultobj
= Py_None
;
15793 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
;
15795 wxListItem
*arg1
= (wxListItem
*) 0 ;
15796 wxColour
*arg2
= 0 ;
15798 PyObject
* obj0
= 0 ;
15799 PyObject
* obj1
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self",(char *) "colBack", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15808 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 Py_INCREF(Py_None
); resultobj
= Py_None
;
15824 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15826 wxListItem
*arg1
= (wxListItem
*) 0 ;
15828 PyObject
* obj0
= 0 ;
15829 PyObject
* obj1
= 0 ;
15830 char *kwnames
[] = {
15831 (char *) "self",(char *) "font", NULL
15834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15836 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15837 if (arg2
== NULL
) {
15838 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15842 (arg1
)->SetFont((wxFont
const &)*arg2
);
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15847 Py_INCREF(Py_None
); resultobj
= Py_None
;
15854 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15855 PyObject
*resultobj
;
15856 wxListItem
*arg1
= (wxListItem
*) 0 ;
15858 PyObject
* obj0
= 0 ;
15859 char *kwnames
[] = {
15860 (char *) "self", NULL
15863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
15864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 result
= (long)(arg1
)->GetMask();
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15872 resultobj
= PyInt_FromLong((long)result
);
15879 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15880 PyObject
*resultobj
;
15881 wxListItem
*arg1
= (wxListItem
*) 0 ;
15883 PyObject
* obj0
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "self", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
15889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15892 result
= (long)(arg1
)->GetId();
15894 wxPyEndAllowThreads(__tstate
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15897 resultobj
= PyInt_FromLong((long)result
);
15904 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
;
15906 wxListItem
*arg1
= (wxListItem
*) 0 ;
15908 PyObject
* obj0
= 0 ;
15909 char *kwnames
[] = {
15910 (char *) "self", NULL
15913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
15914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 result
= (int)(arg1
)->GetColumn();
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= PyInt_FromLong((long)result
);
15929 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
;
15931 wxListItem
*arg1
= (wxListItem
*) 0 ;
15933 PyObject
* obj0
= 0 ;
15934 char *kwnames
[] = {
15935 (char *) "self", NULL
15938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
15939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 result
= (long)(arg1
)->GetState();
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 resultobj
= PyInt_FromLong((long)result
);
15954 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxListItem
*arg1
= (wxListItem
*) 0 ;
15958 PyObject
* obj0
= 0 ;
15959 char *kwnames
[] = {
15960 (char *) "self", NULL
15963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
15964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 wxString
const &_result_ref
= (arg1
)->GetText();
15969 result
= (wxString
*) &_result_ref
;
15972 wxPyEndAllowThreads(__tstate
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15979 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15988 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15989 PyObject
*resultobj
;
15990 wxListItem
*arg1
= (wxListItem
*) 0 ;
15992 PyObject
* obj0
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "self", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
15998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 result
= (int)(arg1
)->GetImage();
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16006 resultobj
= PyInt_FromLong((long)result
);
16013 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16014 PyObject
*resultobj
;
16015 wxListItem
*arg1
= (wxListItem
*) 0 ;
16017 PyObject
* obj0
= 0 ;
16018 char *kwnames
[] = {
16019 (char *) "self", NULL
16022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
16023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 result
= (long)(arg1
)->GetData();
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16031 resultobj
= PyInt_FromLong((long)result
);
16038 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16039 PyObject
*resultobj
;
16040 wxListItem
*arg1
= (wxListItem
*) 0 ;
16042 PyObject
* obj0
= 0 ;
16043 char *kwnames
[] = {
16044 (char *) "self", NULL
16047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
16048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16051 result
= (int)(arg1
)->GetWidth();
16053 wxPyEndAllowThreads(__tstate
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16056 resultobj
= PyInt_FromLong((long)result
);
16063 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
;
16065 wxListItem
*arg1
= (wxListItem
*) 0 ;
16067 PyObject
* obj0
= 0 ;
16068 char *kwnames
[] = {
16069 (char *) "self", NULL
16072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
16073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16076 result
= (int)(arg1
)->GetAlign();
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16081 resultobj
= PyInt_FromLong((long)result
);
16088 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
;
16090 wxListItem
*arg1
= (wxListItem
*) 0 ;
16091 wxListItemAttr
*result
;
16092 PyObject
* obj0
= 0 ;
16093 char *kwnames
[] = {
16094 (char *) "self", NULL
16097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
16098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16106 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
16113 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxListItem
*arg1
= (wxListItem
*) 0 ;
16117 PyObject
* obj0
= 0 ;
16118 char *kwnames
[] = {
16119 (char *) "self", NULL
16122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
16123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 result
= (bool)(arg1
)->HasAttributes();
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16131 resultobj
= PyInt_FromLong((long)result
);
16138 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16139 PyObject
*resultobj
;
16140 wxListItem
*arg1
= (wxListItem
*) 0 ;
16142 PyObject
* obj0
= 0 ;
16143 char *kwnames
[] = {
16144 (char *) "self", NULL
16147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
16148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 result
= ((wxListItem
const *)arg1
)->GetTextColour();
16153 wxPyEndAllowThreads(__tstate
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16157 wxColour
* resultptr
;
16158 resultptr
= new wxColour((wxColour
&) result
);
16159 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16167 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16168 PyObject
*resultobj
;
16169 wxListItem
*arg1
= (wxListItem
*) 0 ;
16171 PyObject
* obj0
= 0 ;
16172 char *kwnames
[] = {
16173 (char *) "self", NULL
16176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
16177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16180 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
16182 wxPyEndAllowThreads(__tstate
);
16183 if (PyErr_Occurred()) SWIG_fail
;
16186 wxColour
* resultptr
;
16187 resultptr
= new wxColour((wxColour
&) result
);
16188 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16196 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
;
16198 wxListItem
*arg1
= (wxListItem
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
16206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= ((wxListItem
const *)arg1
)->GetFont();
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16215 wxFont
* resultptr
;
16216 resultptr
= new wxFont((wxFont
&) result
);
16217 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
16225 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16226 PyObject
*resultobj
;
16227 wxListItem
*arg1
= (wxListItem
*) 0 ;
16229 PyObject
* obj0
= 0 ;
16230 char *kwnames
[] = {
16231 (char *) "self",(char *) "m_mask", NULL
16234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_mask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16236 if (arg1
) (arg1
)->m_mask
= arg2
;
16238 Py_INCREF(Py_None
); resultobj
= Py_None
;
16245 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
;
16247 wxListItem
*arg1
= (wxListItem
*) 0 ;
16249 PyObject
* obj0
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "self", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
16255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16256 result
= (long) ((arg1
)->m_mask
);
16258 resultobj
= PyInt_FromLong((long)result
);
16265 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
;
16267 wxListItem
*arg1
= (wxListItem
*) 0 ;
16269 PyObject
* obj0
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "self",(char *) "m_itemId", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_itemId_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16276 if (arg1
) (arg1
)->m_itemId
= arg2
;
16278 Py_INCREF(Py_None
); resultobj
= Py_None
;
16285 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxListItem
*arg1
= (wxListItem
*) 0 ;
16289 PyObject
* obj0
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
16295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16296 result
= (long) ((arg1
)->m_itemId
);
16298 resultobj
= PyInt_FromLong((long)result
);
16305 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxListItem
*arg1
= (wxListItem
*) 0 ;
16309 PyObject
* obj0
= 0 ;
16310 char *kwnames
[] = {
16311 (char *) "self",(char *) "m_col", NULL
16314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16316 if (arg1
) (arg1
)->m_col
= arg2
;
16318 Py_INCREF(Py_None
); resultobj
= Py_None
;
16325 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16326 PyObject
*resultobj
;
16327 wxListItem
*arg1
= (wxListItem
*) 0 ;
16329 PyObject
* obj0
= 0 ;
16330 char *kwnames
[] = {
16331 (char *) "self", NULL
16334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
16335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16336 result
= (int) ((arg1
)->m_col
);
16338 resultobj
= PyInt_FromLong((long)result
);
16345 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16346 PyObject
*resultobj
;
16347 wxListItem
*arg1
= (wxListItem
*) 0 ;
16349 PyObject
* obj0
= 0 ;
16350 char *kwnames
[] = {
16351 (char *) "self",(char *) "m_state", NULL
16354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_state_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16356 if (arg1
) (arg1
)->m_state
= arg2
;
16358 Py_INCREF(Py_None
); resultobj
= Py_None
;
16365 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
;
16367 wxListItem
*arg1
= (wxListItem
*) 0 ;
16369 PyObject
* obj0
= 0 ;
16370 char *kwnames
[] = {
16371 (char *) "self", NULL
16374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
16375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16376 result
= (long) ((arg1
)->m_state
);
16378 resultobj
= PyInt_FromLong((long)result
);
16385 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
;
16387 wxListItem
*arg1
= (wxListItem
*) 0 ;
16389 PyObject
* obj0
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "self",(char *) "m_stateMask", NULL
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_stateMask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16396 if (arg1
) (arg1
)->m_stateMask
= arg2
;
16398 Py_INCREF(Py_None
); resultobj
= Py_None
;
16405 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16406 PyObject
*resultobj
;
16407 wxListItem
*arg1
= (wxListItem
*) 0 ;
16409 PyObject
* obj0
= 0 ;
16410 char *kwnames
[] = {
16411 (char *) "self", NULL
16414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
16415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16416 result
= (long) ((arg1
)->m_stateMask
);
16418 resultobj
= PyInt_FromLong((long)result
);
16425 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
;
16427 wxListItem
*arg1
= (wxListItem
*) 0 ;
16429 PyObject
* obj0
= 0 ;
16430 PyObject
* obj1
= 0 ;
16431 char *kwnames
[] = {
16432 (char *) "self",(char *) "m_text", NULL
16435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16438 wxString
* sptr
= wxString_in_helper(obj1
);
16439 if (sptr
== NULL
) SWIG_fail
;
16443 if (arg1
) (arg1
)->m_text
= arg2
;
16445 Py_INCREF(Py_None
); resultobj
= Py_None
;
16452 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16453 PyObject
*resultobj
;
16454 wxListItem
*arg1
= (wxListItem
*) 0 ;
16456 PyObject
* obj0
= 0 ;
16457 char *kwnames
[] = {
16458 (char *) "self", NULL
16461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
16462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16463 result
= ((arg1
)->m_text
);
16467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16478 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16479 PyObject
*resultobj
;
16480 wxListItem
*arg1
= (wxListItem
*) 0 ;
16482 PyObject
* obj0
= 0 ;
16483 char *kwnames
[] = {
16484 (char *) "self",(char *) "m_image", NULL
16487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_image_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16489 if (arg1
) (arg1
)->m_image
= arg2
;
16491 Py_INCREF(Py_None
); resultobj
= Py_None
;
16498 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
;
16500 wxListItem
*arg1
= (wxListItem
*) 0 ;
16502 PyObject
* obj0
= 0 ;
16503 char *kwnames
[] = {
16504 (char *) "self", NULL
16507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
16508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16509 result
= (int) ((arg1
)->m_image
);
16511 resultobj
= PyInt_FromLong((long)result
);
16518 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
;
16520 wxListItem
*arg1
= (wxListItem
*) 0 ;
16522 PyObject
* obj0
= 0 ;
16523 char *kwnames
[] = {
16524 (char *) "self",(char *) "m_data", NULL
16527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_data_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16529 if (arg1
) (arg1
)->m_data
= arg2
;
16531 Py_INCREF(Py_None
); resultobj
= Py_None
;
16538 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16539 PyObject
*resultobj
;
16540 wxListItem
*arg1
= (wxListItem
*) 0 ;
16542 PyObject
* obj0
= 0 ;
16543 char *kwnames
[] = {
16544 (char *) "self", NULL
16547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
16548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16549 result
= (long) ((arg1
)->m_data
);
16551 resultobj
= PyInt_FromLong((long)result
);
16558 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
;
16560 wxListItem
*arg1
= (wxListItem
*) 0 ;
16562 PyObject
* obj0
= 0 ;
16563 char *kwnames
[] = {
16564 (char *) "self",(char *) "m_format", NULL
16567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_format_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16569 if (arg1
) (arg1
)->m_format
= arg2
;
16571 Py_INCREF(Py_None
); resultobj
= Py_None
;
16578 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxListItem
*arg1
= (wxListItem
*) 0 ;
16582 PyObject
* obj0
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
16588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16589 result
= (int) ((arg1
)->m_format
);
16591 resultobj
= PyInt_FromLong((long)result
);
16598 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16599 PyObject
*resultobj
;
16600 wxListItem
*arg1
= (wxListItem
*) 0 ;
16602 PyObject
* obj0
= 0 ;
16603 char *kwnames
[] = {
16604 (char *) "self",(char *) "m_width", NULL
16607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16609 if (arg1
) (arg1
)->m_width
= arg2
;
16611 Py_INCREF(Py_None
); resultobj
= Py_None
;
16618 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
;
16620 wxListItem
*arg1
= (wxListItem
*) 0 ;
16622 PyObject
* obj0
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "self", NULL
16627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
16628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16629 result
= (int) ((arg1
)->m_width
);
16631 resultobj
= PyInt_FromLong((long)result
);
16638 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
16640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16641 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
16643 return Py_BuildValue((char *)"");
16645 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16648 int arg2
= (int) 0 ;
16649 wxListEvent
*result
;
16650 char *kwnames
[] = {
16651 (char *) "commandType",(char *) "id", NULL
16654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_ListEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
16656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16657 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
16659 wxPyEndAllowThreads(__tstate
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16662 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
16669 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16670 PyObject
*resultobj
;
16671 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16673 PyObject
* obj0
= 0 ;
16674 char *kwnames
[] = {
16675 (char *) "self",(char *) "m_code", NULL
16678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_code_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16680 if (arg1
) (arg1
)->m_code
= arg2
;
16682 Py_INCREF(Py_None
); resultobj
= Py_None
;
16689 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16690 PyObject
*resultobj
;
16691 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16693 PyObject
* obj0
= 0 ;
16694 char *kwnames
[] = {
16695 (char *) "self", NULL
16698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
16699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16700 result
= (int) ((arg1
)->m_code
);
16702 resultobj
= PyInt_FromLong((long)result
);
16709 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
;
16711 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16713 PyObject
* obj0
= 0 ;
16714 char *kwnames
[] = {
16715 (char *) "self",(char *) "m_oldItemIndex", NULL
16718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16720 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
16722 Py_INCREF(Py_None
); resultobj
= Py_None
;
16729 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16730 PyObject
*resultobj
;
16731 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16733 PyObject
* obj0
= 0 ;
16734 char *kwnames
[] = {
16735 (char *) "self", NULL
16738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
16739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16740 result
= (long) ((arg1
)->m_oldItemIndex
);
16742 resultobj
= PyInt_FromLong((long)result
);
16749 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16753 PyObject
* obj0
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "self",(char *) "m_itemIndex", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16760 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
16762 Py_INCREF(Py_None
); resultobj
= Py_None
;
16769 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16770 PyObject
*resultobj
;
16771 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16773 PyObject
* obj0
= 0 ;
16774 char *kwnames
[] = {
16775 (char *) "self", NULL
16778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
16779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16780 result
= (long) ((arg1
)->m_itemIndex
);
16782 resultobj
= PyInt_FromLong((long)result
);
16789 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16790 PyObject
*resultobj
;
16791 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16793 PyObject
* obj0
= 0 ;
16794 char *kwnames
[] = {
16795 (char *) "self",(char *) "m_col", NULL
16798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16800 if (arg1
) (arg1
)->m_col
= arg2
;
16802 Py_INCREF(Py_None
); resultobj
= Py_None
;
16809 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16813 PyObject
* obj0
= 0 ;
16814 char *kwnames
[] = {
16815 (char *) "self", NULL
16818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
16819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16820 result
= (int) ((arg1
)->m_col
);
16822 resultobj
= PyInt_FromLong((long)result
);
16829 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16832 wxPoint
*arg2
= (wxPoint
*) 0 ;
16833 PyObject
* obj0
= 0 ;
16834 PyObject
* obj1
= 0 ;
16835 char *kwnames
[] = {
16836 (char *) "self",(char *) "m_pointDrag", NULL
16839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16841 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16842 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
16844 Py_INCREF(Py_None
); resultobj
= Py_None
;
16851 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16852 PyObject
*resultobj
;
16853 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16855 PyObject
* obj0
= 0 ;
16856 char *kwnames
[] = {
16857 (char *) "self", NULL
16860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
16861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16862 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
16864 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16871 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16872 PyObject
*resultobj
;
16873 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16874 wxListItem
*result
;
16875 PyObject
* obj0
= 0 ;
16876 char *kwnames
[] = {
16877 (char *) "self", NULL
16880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
16881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16882 result
= (wxListItem
*)& ((arg1
)->m_item
);
16885 resultobj
= wxPyMake_wxObject(result
);
16893 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16894 PyObject
*resultobj
;
16895 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16897 PyObject
* obj0
= 0 ;
16898 char *kwnames
[] = {
16899 (char *) "self", NULL
16902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
16903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 result
= (int)(arg1
)->GetKeyCode();
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16911 resultobj
= PyInt_FromLong((long)result
);
16918 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
;
16920 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16922 PyObject
* obj0
= 0 ;
16923 char *kwnames
[] = {
16924 (char *) "self", NULL
16927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
16928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 result
= (long)(arg1
)->GetIndex();
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16936 resultobj
= PyInt_FromLong((long)result
);
16943 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16947 PyObject
* obj0
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "self", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
16953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 result
= (int)(arg1
)->GetColumn();
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= PyInt_FromLong((long)result
);
16968 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
;
16970 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16972 PyObject
* obj0
= 0 ;
16973 char *kwnames
[] = {
16974 (char *) "self", NULL
16977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
16978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 result
= (arg1
)->GetPoint();
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16987 wxPoint
* resultptr
;
16988 resultptr
= new wxPoint((wxPoint
&) result
);
16989 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16997 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16998 PyObject
*resultobj
;
16999 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17001 PyObject
* obj0
= 0 ;
17002 char *kwnames
[] = {
17003 (char *) "self", NULL
17006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
17007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 wxString
const &_result_ref
= (arg1
)->GetLabel();
17012 result
= (wxString
*) &_result_ref
;
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17020 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17022 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17031 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17032 PyObject
*resultobj
;
17033 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17035 PyObject
* obj0
= 0 ;
17036 char *kwnames
[] = {
17037 (char *) "self", NULL
17040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
17041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 wxString
const &_result_ref
= (arg1
)->GetText();
17046 result
= (wxString
*) &_result_ref
;
17049 wxPyEndAllowThreads(__tstate
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17054 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17056 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17065 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
;
17067 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17069 PyObject
* obj0
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "self", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
17075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17078 result
= (int)(arg1
)->GetImage();
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17083 resultobj
= PyInt_FromLong((long)result
);
17090 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17091 PyObject
*resultobj
;
17092 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17094 PyObject
* obj0
= 0 ;
17095 char *kwnames
[] = {
17096 (char *) "self", NULL
17099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
17100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17103 result
= (long)(arg1
)->GetData();
17105 wxPyEndAllowThreads(__tstate
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17108 resultobj
= PyInt_FromLong((long)result
);
17115 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17116 PyObject
*resultobj
;
17117 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17119 PyObject
* obj0
= 0 ;
17120 char *kwnames
[] = {
17121 (char *) "self", NULL
17124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
17125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (long)(arg1
)->GetMask();
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= PyInt_FromLong((long)result
);
17140 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
;
17142 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17143 wxListItem
*result
;
17144 PyObject
* obj0
= 0 ;
17145 char *kwnames
[] = {
17146 (char *) "self", NULL
17149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
17150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 wxListItem
const &_result_ref
= (arg1
)->GetItem();
17155 result
= (wxListItem
*) &_result_ref
;
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17161 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
17168 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
;
17170 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17172 PyObject
* obj0
= 0 ;
17173 char *kwnames
[] = {
17174 (char *) "self", NULL
17177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
17178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 result
= (long)(arg1
)->GetCacheFrom();
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= PyInt_FromLong((long)result
);
17193 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17195 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17197 PyObject
* obj0
= 0 ;
17198 char *kwnames
[] = {
17199 (char *) "self", NULL
17202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
17203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 result
= (long)(arg1
)->GetCacheTo();
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17211 resultobj
= PyInt_FromLong((long)result
);
17218 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17219 PyObject
*resultobj
;
17220 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17222 PyObject
* obj0
= 0 ;
17223 char *kwnames
[] = {
17224 (char *) "self", NULL
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
17228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 resultobj
= PyInt_FromLong((long)result
);
17243 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17244 PyObject
*resultobj
;
17245 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17247 PyObject
* obj0
= 0 ;
17248 PyObject
* obj1
= 0 ;
17249 char *kwnames
[] = {
17250 (char *) "self",(char *) "editCancelled", NULL
17253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
17254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17255 arg2
= PyInt_AsLong(obj1
) ? true : false;
17256 if (PyErr_Occurred()) SWIG_fail
;
17258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17259 (arg1
)->SetEditCanceled(arg2
);
17261 wxPyEndAllowThreads(__tstate
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17264 Py_INCREF(Py_None
); resultobj
= Py_None
;
17271 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17274 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
17276 return Py_BuildValue((char *)"");
17278 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
;
17280 wxWindow
*arg1
= (wxWindow
*) 0 ;
17281 int arg2
= (int) -1 ;
17282 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17283 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17284 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17285 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17286 long arg5
= (long) wxLC_ICON
;
17287 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
17288 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
17289 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
17290 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17291 wxPyListCtrl
*result
;
17294 bool temp7
= False
;
17295 PyObject
* obj0
= 0 ;
17296 PyObject
* obj2
= 0 ;
17297 PyObject
* obj3
= 0 ;
17298 PyObject
* obj5
= 0 ;
17299 PyObject
* obj6
= 0 ;
17300 char *kwnames
[] = {
17301 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
17305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17309 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17315 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17319 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17320 if (arg6
== NULL
) {
17321 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17326 arg7
= wxString_in_helper(obj6
);
17327 if (arg7
== NULL
) SWIG_fail
;
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
17335 wxPyEndAllowThreads(__tstate
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17338 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17353 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
;
17355 wxPyListCtrl
*result
;
17356 char *kwnames
[] = {
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17363 result
= (wxPyListCtrl
*)new wxPyListCtrl();
17365 wxPyEndAllowThreads(__tstate
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17368 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17375 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17376 PyObject
*resultobj
;
17377 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17378 wxWindow
*arg2
= (wxWindow
*) 0 ;
17379 int arg3
= (int) -1 ;
17380 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17381 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17382 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17383 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17384 long arg6
= (long) wxLC_ICON
;
17385 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17386 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17387 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
17388 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17392 bool temp8
= False
;
17393 PyObject
* obj0
= 0 ;
17394 PyObject
* obj1
= 0 ;
17395 PyObject
* obj3
= 0 ;
17396 PyObject
* obj4
= 0 ;
17397 PyObject
* obj6
= 0 ;
17398 PyObject
* obj7
= 0 ;
17399 char *kwnames
[] = {
17400 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
17404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17405 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17409 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17415 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17419 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17420 if (arg7
== NULL
) {
17421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17426 arg8
= wxString_in_helper(obj7
);
17427 if (arg8
== NULL
) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= PyInt_FromLong((long)result
);
17453 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17456 PyObject
*arg2
= (PyObject
*) 0 ;
17457 PyObject
*arg3
= (PyObject
*) 0 ;
17458 PyObject
* obj0
= 0 ;
17459 PyObject
* obj1
= 0 ;
17460 PyObject
* obj2
= 0 ;
17461 char *kwnames
[] = {
17462 (char *) "self",(char *) "self",(char *) "_class", NULL
17465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 Py_INCREF(Py_None
); resultobj
= Py_None
;
17483 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17486 wxColour
*arg2
= 0 ;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "self",(char *) "col", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17499 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
17505 wxPyEndAllowThreads(__tstate
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17508 resultobj
= PyInt_FromLong((long)result
);
17515 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17518 wxColour
*arg2
= 0 ;
17521 PyObject
* obj0
= 0 ;
17522 PyObject
* obj1
= 0 ;
17523 char *kwnames
[] = {
17524 (char *) "self",(char *) "col", NULL
17527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17531 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17540 resultobj
= PyInt_FromLong((long)result
);
17547 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
;
17549 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17551 wxListItem
*result
;
17552 PyObject
* obj0
= 0 ;
17553 char *kwnames
[] = {
17554 (char *) "self",(char *) "col", NULL
17557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
17558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17567 resultobj
= wxPyMake_wxObject(result
);
17575 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17576 PyObject
*resultobj
;
17577 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17579 wxListItem
*arg3
= 0 ;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj2
= 0 ;
17583 char *kwnames
[] = {
17584 (char *) "self",(char *) "col",(char *) "item", NULL
17587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ListCtrl_SetColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17589 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17590 if (arg3
== NULL
) {
17591 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
17597 wxPyEndAllowThreads(__tstate
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17600 resultobj
= PyInt_FromLong((long)result
);
17607 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
;
17609 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17612 PyObject
* obj0
= 0 ;
17613 char *kwnames
[] = {
17614 (char *) "self",(char *) "col", NULL
17617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
17618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= PyInt_FromLong((long)result
);
17633 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17635 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17639 PyObject
* obj0
= 0 ;
17640 char *kwnames
[] = {
17641 (char *) "self",(char *) "col",(char *) "width", NULL
17644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= PyInt_FromLong((long)result
);
17660 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17664 PyObject
* obj0
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
17670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17673 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 resultobj
= PyInt_FromLong((long)result
);
17685 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17689 PyObject
* obj0
= 0 ;
17690 char *kwnames
[] = {
17691 (char *) "self", NULL
17694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
17695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
17700 wxPyEndAllowThreads(__tstate
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17704 wxRect
* resultptr
;
17705 resultptr
= new wxRect((wxRect
&) result
);
17706 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
17714 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
;
17716 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17718 int arg3
= (int) 0 ;
17719 wxListItem
*result
;
17720 PyObject
* obj0
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "self",(char *) "itemId",(char *) "col", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
17731 wxPyEndAllowThreads(__tstate
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17735 resultobj
= wxPyMake_wxObject(result
);
17743 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17744 PyObject
*resultobj
;
17745 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17746 wxListItem
*arg2
= 0 ;
17748 PyObject
* obj0
= 0 ;
17749 PyObject
* obj1
= 0 ;
17750 char *kwnames
[] = {
17751 (char *) "self",(char *) "info", NULL
17754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17756 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17757 if (arg2
== NULL
) {
17758 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 result
= (bool)(arg1
)->SetItem(*arg2
);
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 resultobj
= PyInt_FromLong((long)result
);
17774 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
;
17776 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17779 wxString
*arg4
= 0 ;
17780 int arg5
= (int) -1 ;
17782 bool temp4
= False
;
17783 PyObject
* obj0
= 0 ;
17784 PyObject
* obj3
= 0 ;
17785 char *kwnames
[] = {
17786 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
17790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17792 arg4
= wxString_in_helper(obj3
);
17793 if (arg4
== NULL
) SWIG_fail
;
17797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17798 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
17800 wxPyEndAllowThreads(__tstate
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17803 resultobj
= PyInt_FromLong((long)result
);
17818 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 char *kwnames
[] = {
17826 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_GetItemState",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 resultobj
= PyInt_FromLong((long)result
);
17845 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
;
17847 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17852 PyObject
* obj0
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olll:ListCtrl_SetItemState",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
17858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17866 resultobj
= PyInt_FromLong((long)result
);
17873 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17874 PyObject
*resultobj
;
17875 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olii:ListCtrl_SetItemImage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
17886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17894 resultobj
= PyInt_FromLong((long)result
);
17901 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17906 PyObject
* obj0
= 0 ;
17907 char *kwnames
[] = {
17908 (char *) "self",(char *) "item", NULL
17911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemText",kwnames
,&obj0
,&arg2
)) goto fail
;
17912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17922 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17924 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17933 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
;
17935 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17937 wxString
*arg3
= 0 ;
17938 bool temp3
= False
;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj2
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "self",(char *) "item",(char *) "str", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemText",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17948 arg3
= wxString_in_helper(obj2
);
17949 if (arg3
== NULL
) SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17959 Py_INCREF(Py_None
); resultobj
= Py_None
;
17974 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
;
17976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17979 PyObject
* obj0
= 0 ;
17980 char *kwnames
[] = {
17981 (char *) "self",(char *) "item", NULL
17984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemData",kwnames
,&obj0
,&arg2
)) goto fail
;
17985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 resultobj
= PyInt_FromLong((long)result
);
18000 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18001 PyObject
*resultobj
;
18002 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18006 PyObject
* obj0
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "self",(char *) "item",(char *) "data", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_SetItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18020 resultobj
= PyInt_FromLong((long)result
);
18027 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18028 PyObject
*resultobj
;
18029 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18032 PyObject
* obj0
= 0 ;
18033 char *kwnames
[] = {
18034 (char *) "self",(char *) "item", NULL
18037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
18038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18047 wxPoint
* resultptr
;
18048 resultptr
= new wxPoint((wxPoint
&) result
);
18049 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18057 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
;
18059 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18061 int arg3
= (int) wxLIST_RECT_BOUNDS
;
18063 PyObject
* obj0
= 0 ;
18064 char *kwnames
[] = {
18065 (char *) "self",(char *) "item",(char *) "code", NULL
18068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18078 wxRect
* resultptr
;
18079 resultptr
= new wxRect((wxRect
&) result
);
18080 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18088 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18092 wxPoint
*arg3
= 0 ;
18095 PyObject
* obj0
= 0 ;
18096 PyObject
* obj2
= 0 ;
18097 char *kwnames
[] = {
18098 (char *) "self",(char *) "item",(char *) "pos", NULL
18101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18105 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
18111 wxPyEndAllowThreads(__tstate
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18114 resultobj
= PyInt_FromLong((long)result
);
18121 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18125 PyObject
* obj0
= 0 ;
18126 char *kwnames
[] = {
18127 (char *) "self", NULL
18130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
18131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= PyInt_FromLong((long)result
);
18146 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18150 PyObject
* obj0
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
18156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= PyInt_FromLong((long)result
);
18171 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18175 PyObject
* obj0
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "self", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
18181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18184 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18190 wxSize
* resultptr
;
18191 resultptr
= new wxSize((wxSize
&) result
);
18192 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
18200 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18204 bool arg3
= (bool) False
;
18205 PyObject
* obj0
= 0 ;
18206 PyObject
* obj2
= 0 ;
18207 char *kwnames
[] = {
18208 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18214 arg3
= PyInt_AsLong(obj2
) ? true : false;
18215 if (PyErr_Occurred()) SWIG_fail
;
18218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 (arg1
)->SetItemSpacing(arg2
,arg3
);
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 Py_INCREF(Py_None
); resultobj
= Py_None
;
18231 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18235 PyObject
* obj0
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
18241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18249 resultobj
= PyInt_FromLong((long)result
);
18256 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
;
18258 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18260 PyObject
* obj0
= 0 ;
18261 char *kwnames
[] = {
18262 (char *) "self", NULL
18265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
18266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18275 wxColour
* resultptr
;
18276 resultptr
= new wxColour((wxColour
&) result
);
18277 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18285 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18288 wxColour
*arg2
= 0 ;
18290 PyObject
* obj0
= 0 ;
18291 PyObject
* obj1
= 0 ;
18292 char *kwnames
[] = {
18293 (char *) "self",(char *) "col", NULL
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18300 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18309 Py_INCREF(Py_None
); resultobj
= Py_None
;
18316 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18317 PyObject
*resultobj
;
18318 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18320 PyObject
* obj0
= 0 ;
18321 char *kwnames
[] = {
18322 (char *) "self", NULL
18325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
18326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 resultobj
= PyInt_FromLong((long)result
);
18341 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
;
18343 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18345 bool arg3
= (bool) True
;
18346 PyObject
* obj0
= 0 ;
18347 PyObject
* obj2
= 0 ;
18348 char *kwnames
[] = {
18349 (char *) "self",(char *) "style",(char *) "add", NULL
18352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18355 arg3
= PyInt_AsLong(obj2
) ? true : false;
18356 if (PyErr_Occurred()) SWIG_fail
;
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 (arg1
)->SetSingleStyle(arg2
,arg3
);
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 Py_INCREF(Py_None
); resultobj
= Py_None
;
18372 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18374 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18376 PyObject
* obj0
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "self",(char *) "style", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
18382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 (arg1
)->SetWindowStyleFlag(arg2
);
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 Py_INCREF(Py_None
); resultobj
= Py_None
;
18397 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18401 int arg3
= (int) wxLIST_NEXT_ALL
;
18402 int arg4
= (int) wxLIST_STATE_DONTCARE
;
18404 PyObject
* obj0
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18418 resultobj
= PyInt_FromLong((long)result
);
18425 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18426 PyObject
*resultobj
;
18427 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18429 wxImageList
*result
;
18430 PyObject
* obj0
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "self",(char *) "which", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetImageList",kwnames
,&obj0
,&arg2
)) goto fail
;
18436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18445 resultobj
= wxPyMake_wxObject(result
);
18453 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18456 wxImageList
*arg2
= (wxImageList
*) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 PyObject
* obj1
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self",(char *) "imageList",(char *) "which", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18466 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 (arg1
)->SetImageList(arg2
,arg3
);
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 Py_INCREF(Py_None
); resultobj
= Py_None
;
18481 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
;
18483 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18484 wxImageList
*arg2
= (wxImageList
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 PyObject
* obj1
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self",(char *) "imageList",(char *) "which", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18494 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18497 (arg1
)->AssignImageList(arg2
,arg3
);
18499 wxPyEndAllowThreads(__tstate
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18502 Py_INCREF(Py_None
); resultobj
= Py_None
;
18509 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18510 PyObject
*resultobj
;
18511 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18513 PyObject
* obj0
= 0 ;
18514 char *kwnames
[] = {
18515 (char *) "self", NULL
18518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
18519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
18524 wxPyEndAllowThreads(__tstate
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18527 resultobj
= PyInt_FromLong((long)result
);
18534 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
;
18536 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18538 PyObject
* obj0
= 0 ;
18539 char *kwnames
[] = {
18540 (char *) "self",(char *) "item", NULL
18543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_RefreshItem",kwnames
,&obj0
,&arg2
)) goto fail
;
18544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18547 (arg1
)->RefreshItem(arg2
);
18549 wxPyEndAllowThreads(__tstate
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18552 Py_INCREF(Py_None
); resultobj
= Py_None
;
18559 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
;
18561 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18564 PyObject
* obj0
= 0 ;
18565 char *kwnames
[] = {
18566 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_RefreshItems",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 (arg1
)->RefreshItems(arg2
,arg3
);
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 Py_INCREF(Py_None
); resultobj
= Py_None
;
18585 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18588 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
18590 PyObject
* obj0
= 0 ;
18591 char *kwnames
[] = {
18592 (char *) "self",(char *) "flag", NULL
18595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListCtrl_Arrange",kwnames
,&obj0
,&arg2
)) goto fail
;
18596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 result
= (bool)(arg1
)->Arrange(arg2
);
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18604 resultobj
= PyInt_FromLong((long)result
);
18611 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18612 PyObject
*resultobj
;
18613 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18616 PyObject
* obj0
= 0 ;
18617 char *kwnames
[] = {
18618 (char *) "self",(char *) "item", NULL
18621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_DeleteItem",kwnames
,&obj0
,&arg2
)) goto fail
;
18622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 result
= (bool)(arg1
)->DeleteItem(arg2
);
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 resultobj
= PyInt_FromLong((long)result
);
18637 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
;
18639 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18641 PyObject
* obj0
= 0 ;
18642 char *kwnames
[] = {
18643 (char *) "self", NULL
18646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
18647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 result
= (bool)(arg1
)->DeleteAllItems();
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 resultobj
= PyInt_FromLong((long)result
);
18662 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18663 PyObject
*resultobj
;
18664 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18667 PyObject
* obj0
= 0 ;
18668 char *kwnames
[] = {
18669 (char *) "self",(char *) "col", NULL
18672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_DeleteColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
18673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 result
= (bool)(arg1
)->DeleteColumn(arg2
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 resultobj
= PyInt_FromLong((long)result
);
18688 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18692 PyObject
* obj0
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "self", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
18698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18701 result
= (bool)(arg1
)->DeleteAllColumns();
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18706 resultobj
= PyInt_FromLong((long)result
);
18713 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
;
18715 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18716 PyObject
* obj0
= 0 ;
18717 char *kwnames
[] = {
18718 (char *) "self", NULL
18721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
18722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 (arg1
)->ClearAll();
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 Py_INCREF(Py_None
); resultobj
= Py_None
;
18737 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18741 PyObject
* obj0
= 0 ;
18742 char *kwnames
[] = {
18743 (char *) "self",(char *) "item", NULL
18746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EditLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
18747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 (arg1
)->EditLabel(arg2
);
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18755 Py_INCREF(Py_None
); resultobj
= Py_None
;
18762 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18767 PyObject
* obj0
= 0 ;
18768 char *kwnames
[] = {
18769 (char *) "self",(char *) "item", NULL
18772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
18773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (bool)(arg1
)->EnsureVisible(arg2
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= PyInt_FromLong((long)result
);
18788 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18792 wxString
*arg3
= 0 ;
18793 bool arg4
= (bool) False
;
18795 bool temp3
= False
;
18796 PyObject
* obj0
= 0 ;
18797 PyObject
* obj2
= 0 ;
18798 PyObject
* obj3
= 0 ;
18799 char *kwnames
[] = {
18800 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|O:ListCtrl_FindItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
18804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18806 arg3
= wxString_in_helper(obj2
);
18807 if (arg3
== NULL
) SWIG_fail
;
18811 arg4
= PyInt_AsLong(obj3
) ? true : false;
18812 if (PyErr_Occurred()) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18821 resultobj
= PyInt_FromLong((long)result
);
18836 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
;
18838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18842 PyObject
* obj0
= 0 ;
18843 char *kwnames
[] = {
18844 (char *) "self",(char *) "start",(char *) "data", NULL
18847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_FindItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18851 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= PyInt_FromLong((long)result
);
18863 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
;
18865 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18867 wxPoint
*arg3
= 0 ;
18871 PyObject
* obj0
= 0 ;
18872 PyObject
* obj2
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
18878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18881 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18890 resultobj
= PyInt_FromLong((long)result
);
18897 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
;
18899 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18900 wxPoint
*arg2
= 0 ;
18905 PyObject
* obj0
= 0 ;
18906 PyObject
* obj1
= 0 ;
18907 char *kwnames
[] = {
18908 (char *) "self",(char *) "point", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
18913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18916 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
18922 wxPyEndAllowThreads(__tstate
);
18923 if (PyErr_Occurred()) SWIG_fail
;
18925 resultobj
= PyInt_FromLong((long)result
);
18927 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18928 resultobj
= t_output_helper(resultobj
,o
);
18936 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
;
18938 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18939 wxListItem
*arg2
= 0 ;
18941 PyObject
* obj0
= 0 ;
18942 PyObject
* obj1
= 0 ;
18943 char *kwnames
[] = {
18944 (char *) "self",(char *) "info", NULL
18947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18949 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18950 if (arg2
== NULL
) {
18951 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 result
= (long)(arg1
)->InsertItem(*arg2
);
18957 wxPyEndAllowThreads(__tstate
);
18958 if (PyErr_Occurred()) SWIG_fail
;
18960 resultobj
= PyInt_FromLong((long)result
);
18967 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18969 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18971 wxString
*arg3
= 0 ;
18973 bool temp3
= False
;
18974 PyObject
* obj0
= 0 ;
18975 PyObject
* obj2
= 0 ;
18976 char *kwnames
[] = {
18977 (char *) "self",(char *) "index",(char *) "label", NULL
18980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18983 arg3
= wxString_in_helper(obj2
);
18984 if (arg3
== NULL
) SWIG_fail
;
18988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18989 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
18991 wxPyEndAllowThreads(__tstate
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18994 resultobj
= PyInt_FromLong((long)result
);
19009 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19011 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19015 PyObject
* obj0
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oli:ListCtrl_InsertImageItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 resultobj
= PyInt_FromLong((long)result
);
19036 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
;
19038 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19040 wxString
*arg3
= 0 ;
19043 bool temp3
= False
;
19044 PyObject
* obj0
= 0 ;
19045 PyObject
* obj2
= 0 ;
19046 char *kwnames
[] = {
19047 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19053 arg3
= wxString_in_helper(obj2
);
19054 if (arg3
== NULL
) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 resultobj
= PyInt_FromLong((long)result
);
19079 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19083 wxListItem
*arg3
= 0 ;
19085 PyObject
* obj0
= 0 ;
19086 PyObject
* obj2
= 0 ;
19087 char *kwnames
[] = {
19088 (char *) "self",(char *) "col",(char *) "info", NULL
19091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19093 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19094 if (arg3
== NULL
) {
19095 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19104 resultobj
= PyInt_FromLong((long)result
);
19111 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19112 PyObject
*resultobj
;
19113 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19115 wxString
*arg3
= 0 ;
19116 int arg4
= (int) wxLIST_FORMAT_LEFT
;
19117 int arg5
= (int) -1 ;
19119 bool temp3
= False
;
19120 PyObject
* obj0
= 0 ;
19121 PyObject
* obj2
= 0 ;
19122 char *kwnames
[] = {
19123 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
)) goto fail
;
19127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19129 arg3
= wxString_in_helper(obj2
);
19130 if (arg3
== NULL
) SWIG_fail
;
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19137 wxPyEndAllowThreads(__tstate
);
19138 if (PyErr_Occurred()) SWIG_fail
;
19140 resultobj
= PyInt_FromLong((long)result
);
19155 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19156 PyObject
*resultobj
;
19157 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19159 PyObject
* obj0
= 0 ;
19160 char *kwnames
[] = {
19161 (char *) "self",(char *) "count", NULL
19164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetItemCount",kwnames
,&obj0
,&arg2
)) goto fail
;
19165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19168 (arg1
)->SetItemCount(arg2
);
19170 wxPyEndAllowThreads(__tstate
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19173 Py_INCREF(Py_None
); resultobj
= Py_None
;
19180 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19182 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19186 PyObject
* obj0
= 0 ;
19187 char *kwnames
[] = {
19188 (char *) "self",(char *) "dx",(char *) "dy", NULL
19191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_ScrollList",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19200 resultobj
= PyInt_FromLong((long)result
);
19207 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
;
19209 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19211 wxColour
*arg3
= 0 ;
19213 PyObject
* obj0
= 0 ;
19214 PyObject
* obj2
= 0 ;
19215 char *kwnames
[] = {
19216 (char *) "self",(char *) "item",(char *) "col", NULL
19219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19223 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19227 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
19229 wxPyEndAllowThreads(__tstate
);
19230 if (PyErr_Occurred()) SWIG_fail
;
19232 Py_INCREF(Py_None
); resultobj
= Py_None
;
19239 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
;
19241 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19244 PyObject
* obj0
= 0 ;
19245 char *kwnames
[] = {
19246 (char *) "self",(char *) "item", NULL
19249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
19255 wxPyEndAllowThreads(__tstate
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19259 wxColour
* resultptr
;
19260 resultptr
= new wxColour((wxColour
&) result
);
19261 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19269 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
;
19271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19273 wxColour
*arg3
= 0 ;
19275 PyObject
* obj0
= 0 ;
19276 PyObject
* obj2
= 0 ;
19277 char *kwnames
[] = {
19278 (char *) "self",(char *) "item",(char *) "col", NULL
19281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19285 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19289 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19294 Py_INCREF(Py_None
); resultobj
= Py_None
;
19301 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19302 PyObject
*resultobj
;
19303 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19306 PyObject
* obj0
= 0 ;
19307 char *kwnames
[] = {
19308 (char *) "self",(char *) "item", NULL
19311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19321 wxColour
* resultptr
;
19322 resultptr
= new wxColour((wxColour
&) result
);
19323 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19331 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
;
19333 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19334 PyObject
*arg2
= (PyObject
*) 0 ;
19336 PyObject
* obj0
= 0 ;
19337 PyObject
* obj1
= 0 ;
19338 char *kwnames
[] = {
19339 (char *) "self",(char *) "func", NULL
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
19343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19352 resultobj
= PyInt_FromLong((long)result
);
19359 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19363 PyObject
* obj0
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
19369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19378 resultobj
= wxPyMake_wxObject(result
);
19386 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
19388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19389 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
19391 return Py_BuildValue((char *)"");
19393 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
;
19395 wxWindow
*arg1
= (wxWindow
*) 0 ;
19396 int arg2
= (int) -1 ;
19397 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19398 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19399 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19400 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19401 long arg5
= (long) wxLC_REPORT
;
19402 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19403 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19404 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19405 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19406 wxListView
*result
;
19409 bool temp7
= False
;
19410 PyObject
* obj0
= 0 ;
19411 PyObject
* obj2
= 0 ;
19412 PyObject
* obj3
= 0 ;
19413 PyObject
* obj5
= 0 ;
19414 PyObject
* obj6
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListView",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19424 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19430 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19434 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19435 if (arg6
== NULL
) {
19436 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19441 arg7
= wxString_in_helper(obj6
);
19442 if (arg7
== NULL
) SWIG_fail
;
19447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19448 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19450 wxPyEndAllowThreads(__tstate
);
19451 if (PyErr_Occurred()) SWIG_fail
;
19453 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19468 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
;
19470 wxListView
*result
;
19471 char *kwnames
[] = {
19475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
19477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19478 result
= (wxListView
*)new wxListView();
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19490 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
;
19492 wxListView
*arg1
= (wxListView
*) 0 ;
19493 wxWindow
*arg2
= (wxWindow
*) 0 ;
19494 int arg3
= (int) -1 ;
19495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19499 long arg6
= (long) wxLC_REPORT
;
19500 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19501 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19502 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19503 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19507 bool temp8
= False
;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 PyObject
* obj3
= 0 ;
19511 PyObject
* obj4
= 0 ;
19512 PyObject
* obj6
= 0 ;
19513 PyObject
* obj7
= 0 ;
19514 char *kwnames
[] = {
19515 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListView_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
19519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19520 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19524 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19530 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19534 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19535 if (arg7
== NULL
) {
19536 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19541 arg8
= wxString_in_helper(obj7
);
19542 if (arg8
== NULL
) SWIG_fail
;
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19553 resultobj
= PyInt_FromLong((long)result
);
19568 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19569 PyObject
*resultobj
;
19570 wxListView
*arg1
= (wxListView
*) 0 ;
19572 bool arg3
= (bool) True
;
19573 PyObject
* obj0
= 0 ;
19574 PyObject
* obj2
= 0 ;
19575 char *kwnames
[] = {
19576 (char *) "self",(char *) "n",(char *) "on", NULL
19579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListView_Select",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19582 arg3
= PyInt_AsLong(obj2
) ? true : false;
19583 if (PyErr_Occurred()) SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 (arg1
)->Select(arg2
,arg3
);
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19592 Py_INCREF(Py_None
); resultobj
= Py_None
;
19599 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19601 wxListView
*arg1
= (wxListView
*) 0 ;
19603 PyObject
* obj0
= 0 ;
19604 char *kwnames
[] = {
19605 (char *) "self",(char *) "index", NULL
19608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_Focus",kwnames
,&obj0
,&arg2
)) goto fail
;
19609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 (arg1
)->Focus(arg2
);
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19617 Py_INCREF(Py_None
); resultobj
= Py_None
;
19624 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
;
19626 wxListView
*arg1
= (wxListView
*) 0 ;
19628 PyObject
* obj0
= 0 ;
19629 char *kwnames
[] = {
19630 (char *) "self", NULL
19633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
19634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19637 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
19639 wxPyEndAllowThreads(__tstate
);
19640 if (PyErr_Occurred()) SWIG_fail
;
19642 resultobj
= PyInt_FromLong((long)result
);
19649 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxListView
*arg1
= (wxListView
*) 0 ;
19654 PyObject
* obj0
= 0 ;
19655 char *kwnames
[] = {
19656 (char *) "self",(char *) "item", NULL
19659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_GetNextSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
19660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19668 resultobj
= PyInt_FromLong((long)result
);
19675 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19677 wxListView
*arg1
= (wxListView
*) 0 ;
19679 PyObject
* obj0
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "self", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
19685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= PyInt_FromLong((long)result
);
19700 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxListView
*arg1
= (wxListView
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self",(char *) "index", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 result
= (bool)(arg1
)->IsSelected(arg2
);
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 resultobj
= PyInt_FromLong((long)result
);
19726 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
;
19728 wxListView
*arg1
= (wxListView
*) 0 ;
19731 PyObject
* obj0
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "self",(char *) "col",(char *) "image", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListView_SetColumnImage",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 (arg1
)->SetColumnImage(arg2
,arg3
);
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19745 Py_INCREF(Py_None
); resultobj
= Py_None
;
19752 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19753 PyObject
*resultobj
;
19754 wxListView
*arg1
= (wxListView
*) 0 ;
19756 PyObject
* obj0
= 0 ;
19757 char *kwnames
[] = {
19758 (char *) "self",(char *) "col", NULL
19761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListView_ClearColumnImage",kwnames
,&obj0
,&arg2
)) goto fail
;
19762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 (arg1
)->ClearColumnImage(arg2
);
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19770 Py_INCREF(Py_None
); resultobj
= Py_None
;
19777 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
19779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19780 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
19782 return Py_BuildValue((char *)"");
19784 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19785 PyObject
*resultobj
;
19786 wxTreeItemId
*result
;
19787 char *kwnames
[] = {
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 result
= (wxTreeItemId
*)new wxTreeItemId();
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
19806 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
;
19808 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19809 PyObject
* obj0
= 0 ;
19810 char *kwnames
[] = {
19811 (char *) "self", NULL
19814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
19815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 Py_INCREF(Py_None
); resultobj
= Py_None
;
19830 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19834 PyObject
* obj0
= 0 ;
19835 char *kwnames
[] = {
19836 (char *) "self", NULL
19839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
19840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19848 resultobj
= PyInt_FromLong((long)result
);
19855 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
;
19857 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19858 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
19860 PyObject
* obj0
= 0 ;
19861 PyObject
* obj1
= 0 ;
19862 char *kwnames
[] = {
19863 (char *) "self",(char *) "other", NULL
19866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
19867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19868 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 resultobj
= PyInt_FromLong((long)result
);
19883 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19886 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
19888 PyObject
* obj0
= 0 ;
19889 PyObject
* obj1
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "self",(char *) "other", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
19895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19896 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19904 resultobj
= PyInt_FromLong((long)result
);
19911 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
;
19913 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19914 wxTreeItemIdValue arg2
= (wxTreeItemIdValue
) 0 ;
19915 PyObject
* obj0
= 0 ;
19916 PyObject
* obj1
= 0 ;
19917 char *kwnames
[] = {
19918 (char *) "self",(char *) "m_pItem", NULL
19921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19923 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
19924 if (arg1
) (arg1
)->m_pItem
= arg2
;
19926 Py_INCREF(Py_None
); resultobj
= Py_None
;
19933 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19934 PyObject
*resultobj
;
19935 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19936 wxTreeItemIdValue result
;
19937 PyObject
* obj0
= 0 ;
19938 char *kwnames
[] = {
19939 (char *) "self", NULL
19942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
19943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19944 result
= (wxTreeItemIdValue
) ((arg1
)->m_pItem
);
19946 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_wxTreeItemIdValue
, 0);
19953 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
19955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19956 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
19958 return Py_BuildValue((char *)"");
19960 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
;
19962 PyObject
*arg1
= (PyObject
*) NULL
;
19963 wxPyTreeItemData
*result
;
19964 PyObject
* obj0
= 0 ;
19965 char *kwnames
[] = {
19966 (char *) "obj", NULL
19969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19980 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
19987 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19988 PyObject
*resultobj
;
19989 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
19991 PyObject
* obj0
= 0 ;
19992 char *kwnames
[] = {
19993 (char *) "self", NULL
19996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
19997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 result
= (PyObject
*)(arg1
)->GetData();
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= result
;
20012 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
;
20014 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20015 PyObject
*arg2
= (PyObject
*) 0 ;
20016 PyObject
* obj0
= 0 ;
20017 PyObject
* obj1
= 0 ;
20018 char *kwnames
[] = {
20019 (char *) "self",(char *) "obj", NULL
20022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
20023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 (arg1
)->SetData(arg2
);
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20032 Py_INCREF(Py_None
); resultobj
= Py_None
;
20039 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
;
20041 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20042 wxTreeItemId
*result
;
20043 PyObject
* obj0
= 0 ;
20044 char *kwnames
[] = {
20045 (char *) "self", NULL
20048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
20049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20053 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
20054 result
= (wxTreeItemId
*) &_result_ref
;
20057 wxPyEndAllowThreads(__tstate
);
20058 if (PyErr_Occurred()) SWIG_fail
;
20060 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
20067 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20068 PyObject
*resultobj
;
20069 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20070 wxTreeItemId
*arg2
= 0 ;
20071 PyObject
* obj0
= 0 ;
20072 PyObject
* obj1
= 0 ;
20073 char *kwnames
[] = {
20074 (char *) "self",(char *) "id", NULL
20077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
20078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20079 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20080 if (arg2
== NULL
) {
20081 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20090 Py_INCREF(Py_None
); resultobj
= Py_None
;
20097 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
;
20099 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20100 PyObject
* obj0
= 0 ;
20101 char *kwnames
[] = {
20102 (char *) "self", NULL
20105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
20106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 wxPyTreeItemData_Destroy(arg1
);
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 Py_INCREF(Py_None
); resultobj
= Py_None
;
20121 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
20123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20124 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
20126 return Py_BuildValue((char *)"");
20128 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
;
20130 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20131 int arg2
= (int) 0 ;
20132 wxTreeEvent
*result
;
20133 char *kwnames
[] = {
20134 (char *) "commandType",(char *) "id", NULL
20137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TreeEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
20139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20140 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
20142 wxPyEndAllowThreads(__tstate
);
20143 if (PyErr_Occurred()) SWIG_fail
;
20145 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
20152 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20153 PyObject
*resultobj
;
20154 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20155 wxTreeItemId result
;
20156 PyObject
* obj0
= 0 ;
20157 char *kwnames
[] = {
20158 (char *) "self", NULL
20161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20165 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20171 wxTreeItemId
* resultptr
;
20172 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20173 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20181 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20182 PyObject
*resultobj
;
20183 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20184 wxTreeItemId
*arg2
= 0 ;
20185 PyObject
* obj0
= 0 ;
20186 PyObject
* obj1
= 0 ;
20187 char *kwnames
[] = {
20188 (char *) "self",(char *) "item", NULL
20191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20193 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20194 if (arg2
== NULL
) {
20195 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 Py_INCREF(Py_None
); resultobj
= Py_None
;
20211 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
;
20213 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20214 wxTreeItemId result
;
20215 PyObject
* obj0
= 0 ;
20216 char *kwnames
[] = {
20217 (char *) "self", NULL
20220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
20221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
20226 wxPyEndAllowThreads(__tstate
);
20227 if (PyErr_Occurred()) SWIG_fail
;
20230 wxTreeItemId
* resultptr
;
20231 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20232 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20240 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20241 PyObject
*resultobj
;
20242 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20243 wxTreeItemId
*arg2
= 0 ;
20244 PyObject
* obj0
= 0 ;
20245 PyObject
* obj1
= 0 ;
20246 char *kwnames
[] = {
20247 (char *) "self",(char *) "item", NULL
20250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20252 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20253 if (arg2
== NULL
) {
20254 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20258 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 Py_INCREF(Py_None
); resultobj
= Py_None
;
20270 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20271 PyObject
*resultobj
;
20272 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20274 PyObject
* obj0
= 0 ;
20275 char *kwnames
[] = {
20276 (char *) "self", NULL
20279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20289 wxPoint
* resultptr
;
20290 resultptr
= new wxPoint((wxPoint
&) result
);
20291 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20299 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20300 PyObject
*resultobj
;
20301 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20302 wxPoint
*arg2
= 0 ;
20304 PyObject
* obj0
= 0 ;
20305 PyObject
* obj1
= 0 ;
20306 char *kwnames
[] = {
20307 (char *) "self",(char *) "pt", NULL
20310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
20311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20314 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 Py_INCREF(Py_None
); resultobj
= Py_None
;
20330 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
;
20332 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20333 wxKeyEvent
*result
;
20334 PyObject
* obj0
= 0 ;
20335 char *kwnames
[] = {
20336 (char *) "self", NULL
20339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
20340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20344 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
20345 result
= (wxKeyEvent
*) &_result_ref
;
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20351 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
20358 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
;
20360 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20362 PyObject
* obj0
= 0 ;
20363 char *kwnames
[] = {
20364 (char *) "self", NULL
20367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20371 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
20373 wxPyEndAllowThreads(__tstate
);
20374 if (PyErr_Occurred()) SWIG_fail
;
20376 resultobj
= PyInt_FromLong((long)result
);
20383 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20384 PyObject
*resultobj
;
20385 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20386 wxKeyEvent
*arg2
= 0 ;
20387 PyObject
* obj0
= 0 ;
20388 PyObject
* obj1
= 0 ;
20389 char *kwnames
[] = {
20390 (char *) "self",(char *) "evt", NULL
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20395 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20396 if (arg2
== NULL
) {
20397 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20401 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20406 Py_INCREF(Py_None
); resultobj
= Py_None
;
20413 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20414 PyObject
*resultobj
;
20415 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20417 PyObject
* obj0
= 0 ;
20418 char *kwnames
[] = {
20419 (char *) "self", NULL
20422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
20428 result
= (wxString
*) &_result_ref
;
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20436 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20438 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20447 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
;
20449 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20450 wxString
*arg2
= 0 ;
20451 bool temp2
= False
;
20452 PyObject
* obj0
= 0 ;
20453 PyObject
* obj1
= 0 ;
20454 char *kwnames
[] = {
20455 (char *) "self",(char *) "label", NULL
20458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20461 arg2
= wxString_in_helper(obj1
);
20462 if (arg2
== NULL
) SWIG_fail
;
20466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20467 (arg1
)->SetLabel((wxString
const &)*arg2
);
20469 wxPyEndAllowThreads(__tstate
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 Py_INCREF(Py_None
); resultobj
= Py_None
;
20487 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
;
20489 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20491 PyObject
* obj0
= 0 ;
20492 char *kwnames
[] = {
20493 (char *) "self", NULL
20496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20505 resultobj
= PyInt_FromLong((long)result
);
20512 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
;
20514 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20516 PyObject
* obj0
= 0 ;
20517 PyObject
* obj1
= 0 ;
20518 char *kwnames
[] = {
20519 (char *) "self",(char *) "editCancelled", NULL
20522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20524 arg2
= PyInt_AsLong(obj1
) ? true : false;
20525 if (PyErr_Occurred()) SWIG_fail
;
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 (arg1
)->SetEditCanceled(arg2
);
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20533 Py_INCREF(Py_None
); resultobj
= Py_None
;
20540 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20541 PyObject
*resultobj
;
20542 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20543 wxString
*arg2
= 0 ;
20544 bool temp2
= False
;
20545 PyObject
* obj0
= 0 ;
20546 PyObject
* obj1
= 0 ;
20547 char *kwnames
[] = {
20548 (char *) "self",(char *) "toolTip", NULL
20551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
20552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20554 arg2
= wxString_in_helper(obj1
);
20555 if (arg2
== NULL
) SWIG_fail
;
20559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20560 (arg1
)->SetToolTip((wxString
const &)*arg2
);
20562 wxPyEndAllowThreads(__tstate
);
20563 if (PyErr_Occurred()) SWIG_fail
;
20565 Py_INCREF(Py_None
); resultobj
= Py_None
;
20580 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20583 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
20585 return Py_BuildValue((char *)"");
20587 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20588 PyObject
*resultobj
;
20589 wxWindow
*arg1
= (wxWindow
*) 0 ;
20590 int arg2
= (int) -1 ;
20591 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20592 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20593 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20594 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20595 long arg5
= (long) wxTR_DEFAULT_STYLE
;
20596 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20597 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20598 wxString
const &arg7_defvalue
= wxPy_TreeCtrlNameStr
;
20599 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20600 wxPyTreeCtrl
*result
;
20603 bool temp7
= False
;
20604 PyObject
* obj0
= 0 ;
20605 PyObject
* obj2
= 0 ;
20606 PyObject
* obj3
= 0 ;
20607 PyObject
* obj5
= 0 ;
20608 PyObject
* obj6
= 0 ;
20609 char *kwnames
[] = {
20610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_TreeCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
20614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20618 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20624 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20628 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20629 if (arg6
== NULL
) {
20630 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20635 arg7
= wxString_in_helper(obj6
);
20636 if (arg7
== NULL
) SWIG_fail
;
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20647 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeCtrl
, 1);
20662 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
;
20664 wxPyTreeCtrl
*result
;
20665 char *kwnames
[] = {
20669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20677 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeCtrl
, 1);
20684 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
;
20686 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20687 wxWindow
*arg2
= (wxWindow
*) 0 ;
20688 int arg3
= (int) -1 ;
20689 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20690 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20691 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20692 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20693 long arg6
= (long) wxTR_DEFAULT_STYLE
;
20694 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20695 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20696 wxString
const &arg8_defvalue
= wxPy_TreeCtrlNameStr
;
20697 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20701 bool temp8
= False
;
20702 PyObject
* obj0
= 0 ;
20703 PyObject
* obj1
= 0 ;
20704 PyObject
* obj3
= 0 ;
20705 PyObject
* obj4
= 0 ;
20706 PyObject
* obj6
= 0 ;
20707 PyObject
* obj7
= 0 ;
20708 char *kwnames
[] = {
20709 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
20713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20714 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20718 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20724 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20728 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20729 if (arg7
== NULL
) {
20730 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20735 arg8
= wxString_in_helper(obj7
);
20736 if (arg8
== NULL
) SWIG_fail
;
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20747 resultobj
= PyInt_FromLong((long)result
);
20762 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20763 PyObject
*resultobj
;
20764 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20765 PyObject
*arg2
= (PyObject
*) 0 ;
20766 PyObject
*arg3
= (PyObject
*) 0 ;
20767 PyObject
* obj0
= 0 ;
20768 PyObject
* obj1
= 0 ;
20769 PyObject
* obj2
= 0 ;
20770 char *kwnames
[] = {
20771 (char *) "self",(char *) "self",(char *) "_class", NULL
20774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20780 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20782 wxPyEndAllowThreads(__tstate
);
20783 if (PyErr_Occurred()) SWIG_fail
;
20785 Py_INCREF(Py_None
); resultobj
= Py_None
;
20792 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20793 PyObject
*resultobj
;
20794 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20796 PyObject
* obj0
= 0 ;
20797 char *kwnames
[] = {
20798 (char *) "self", NULL
20801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
20802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= PyInt_FromLong((long)result
);
20817 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20818 PyObject
*resultobj
;
20819 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20820 unsigned int result
;
20821 PyObject
* obj0
= 0 ;
20822 char *kwnames
[] = {
20823 (char *) "self", NULL
20826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
20827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20835 resultobj
= PyInt_FromLong((long)result
);
20842 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20843 PyObject
*resultobj
;
20844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20845 unsigned int arg2
;
20846 PyObject
* obj0
= 0 ;
20847 PyObject
* obj1
= 0 ;
20848 char *kwnames
[] = {
20849 (char *) "self",(char *) "indent", NULL
20852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
20853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20854 arg2
= (unsigned int) PyInt_AsLong(obj1
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20858 (arg1
)->SetIndent(arg2
);
20860 wxPyEndAllowThreads(__tstate
);
20861 if (PyErr_Occurred()) SWIG_fail
;
20863 Py_INCREF(Py_None
); resultobj
= Py_None
;
20870 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20871 PyObject
*resultobj
;
20872 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20873 unsigned int result
;
20874 PyObject
* obj0
= 0 ;
20875 char *kwnames
[] = {
20876 (char *) "self", NULL
20879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
20880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20888 resultobj
= PyInt_FromLong((long)result
);
20895 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20896 PyObject
*resultobj
;
20897 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20898 unsigned int arg2
;
20899 PyObject
* obj0
= 0 ;
20900 PyObject
* obj1
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "self",(char *) "spacing", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
20906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20907 arg2
= (unsigned int) PyInt_AsLong(obj1
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 (arg1
)->SetSpacing(arg2
);
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 Py_INCREF(Py_None
); resultobj
= Py_None
;
20923 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20924 PyObject
*resultobj
;
20925 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20926 wxImageList
*result
;
20927 PyObject
* obj0
= 0 ;
20928 char *kwnames
[] = {
20929 (char *) "self", NULL
20932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
20933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20942 resultobj
= wxPyMake_wxObject(result
);
20950 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
;
20952 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20953 wxImageList
*result
;
20954 PyObject
* obj0
= 0 ;
20955 char *kwnames
[] = {
20956 (char *) "self", NULL
20959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
20960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20969 resultobj
= wxPyMake_wxObject(result
);
20977 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20978 PyObject
*resultobj
;
20979 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20980 wxImageList
*arg2
= (wxImageList
*) 0 ;
20981 PyObject
* obj0
= 0 ;
20982 PyObject
* obj1
= 0 ;
20983 char *kwnames
[] = {
20984 (char *) "self",(char *) "imageList", NULL
20987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20989 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20992 (arg1
)->SetImageList(arg2
);
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20997 Py_INCREF(Py_None
); resultobj
= Py_None
;
21004 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
;
21006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21007 wxImageList
*arg2
= (wxImageList
*) 0 ;
21008 PyObject
* obj0
= 0 ;
21009 PyObject
* obj1
= 0 ;
21010 char *kwnames
[] = {
21011 (char *) "self",(char *) "imageList", NULL
21014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21016 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 (arg1
)->SetStateImageList(arg2
);
21021 wxPyEndAllowThreads(__tstate
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21024 Py_INCREF(Py_None
); resultobj
= Py_None
;
21031 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21032 PyObject
*resultobj
;
21033 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21034 wxImageList
*arg2
= (wxImageList
*) 0 ;
21035 PyObject
* obj0
= 0 ;
21036 PyObject
* obj1
= 0 ;
21037 char *kwnames
[] = {
21038 (char *) "self",(char *) "imageList", NULL
21041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21043 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 (arg1
)->AssignImageList(arg2
);
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21051 Py_INCREF(Py_None
); resultobj
= Py_None
;
21058 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21059 PyObject
*resultobj
;
21060 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21061 wxImageList
*arg2
= (wxImageList
*) 0 ;
21062 PyObject
* obj0
= 0 ;
21063 PyObject
* obj1
= 0 ;
21064 char *kwnames
[] = {
21065 (char *) "self",(char *) "imageList", NULL
21068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21070 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21073 (arg1
)->AssignStateImageList(arg2
);
21075 wxPyEndAllowThreads(__tstate
);
21076 if (PyErr_Occurred()) SWIG_fail
;
21078 Py_INCREF(Py_None
); resultobj
= Py_None
;
21085 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21086 PyObject
*resultobj
;
21087 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21088 wxTreeItemId
*arg2
= 0 ;
21090 PyObject
* obj0
= 0 ;
21091 PyObject
* obj1
= 0 ;
21092 char *kwnames
[] = {
21093 (char *) "self",(char *) "item", NULL
21096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21098 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21099 if (arg2
== NULL
) {
21100 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21122 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21123 PyObject
*resultobj
;
21124 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21125 wxTreeItemId
*arg2
= 0 ;
21126 int arg3
= (int) wxTreeItemIcon_Normal
;
21128 PyObject
* obj0
= 0 ;
21129 PyObject
* obj1
= 0 ;
21130 char *kwnames
[] = {
21131 (char *) "self",(char *) "item",(char *) "which", NULL
21134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21136 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21137 if (arg2
== NULL
) {
21138 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
21144 wxPyEndAllowThreads(__tstate
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21147 resultobj
= PyInt_FromLong((long)result
);
21154 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
;
21156 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21157 wxTreeItemId
*arg2
= 0 ;
21158 wxPyTreeItemData
*result
;
21159 PyObject
* obj0
= 0 ;
21160 PyObject
* obj1
= 0 ;
21161 char *kwnames
[] = {
21162 (char *) "self",(char *) "item", NULL
21165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21167 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21168 if (arg2
== NULL
) {
21169 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21178 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
21185 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21186 PyObject
*resultobj
;
21187 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21188 wxTreeItemId
*arg2
= 0 ;
21190 PyObject
* obj0
= 0 ;
21191 PyObject
* obj1
= 0 ;
21192 char *kwnames
[] = {
21193 (char *) "self",(char *) "item", NULL
21196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
21197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21198 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21199 if (arg2
== NULL
) {
21200 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= result
;
21216 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21219 wxTreeItemId
*arg2
= 0 ;
21221 PyObject
* obj0
= 0 ;
21222 PyObject
* obj1
= 0 ;
21223 char *kwnames
[] = {
21224 (char *) "self",(char *) "item", NULL
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21229 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21230 if (arg2
== NULL
) {
21231 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21235 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
21237 wxPyEndAllowThreads(__tstate
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21241 wxColour
* resultptr
;
21242 resultptr
= new wxColour((wxColour
&) result
);
21243 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21251 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21252 PyObject
*resultobj
;
21253 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21254 wxTreeItemId
*arg2
= 0 ;
21256 PyObject
* obj0
= 0 ;
21257 PyObject
* obj1
= 0 ;
21258 char *kwnames
[] = {
21259 (char *) "self",(char *) "item", NULL
21262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21264 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21265 if (arg2
== NULL
) {
21266 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21276 wxColour
* resultptr
;
21277 resultptr
= new wxColour((wxColour
&) result
);
21278 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21286 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21289 wxTreeItemId
*arg2
= 0 ;
21291 PyObject
* obj0
= 0 ;
21292 PyObject
* obj1
= 0 ;
21293 char *kwnames
[] = {
21294 (char *) "self",(char *) "item", NULL
21297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21299 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21300 if (arg2
== NULL
) {
21301 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21305 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21311 wxFont
* resultptr
;
21312 resultptr
= new wxFont((wxFont
&) result
);
21313 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
21321 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21322 PyObject
*resultobj
;
21323 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21324 wxTreeItemId
*arg2
= 0 ;
21325 wxString
*arg3
= 0 ;
21326 bool temp3
= False
;
21327 PyObject
* obj0
= 0 ;
21328 PyObject
* obj1
= 0 ;
21329 PyObject
* obj2
= 0 ;
21330 char *kwnames
[] = {
21331 (char *) "self",(char *) "item",(char *) "text", NULL
21334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21336 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21337 if (arg2
== NULL
) {
21338 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21341 arg3
= wxString_in_helper(obj2
);
21342 if (arg3
== NULL
) SWIG_fail
;
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21352 Py_INCREF(Py_None
); resultobj
= Py_None
;
21367 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
;
21369 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21370 wxTreeItemId
*arg2
= 0 ;
21372 int arg4
= (int) wxTreeItemIcon_Normal
;
21373 PyObject
* obj0
= 0 ;
21374 PyObject
* obj1
= 0 ;
21375 char *kwnames
[] = {
21376 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
21380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21381 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21382 if (arg2
== NULL
) {
21383 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
21389 wxPyEndAllowThreads(__tstate
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21392 Py_INCREF(Py_None
); resultobj
= Py_None
;
21399 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21402 wxTreeItemId
*arg2
= 0 ;
21403 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
21404 PyObject
* obj0
= 0 ;
21405 PyObject
* obj1
= 0 ;
21406 PyObject
* obj2
= 0 ;
21407 char *kwnames
[] = {
21408 (char *) "self",(char *) "item",(char *) "data", NULL
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
21417 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21425 Py_INCREF(Py_None
); resultobj
= Py_None
;
21432 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21434 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21435 wxTreeItemId
*arg2
= 0 ;
21436 PyObject
*arg3
= (PyObject
*) 0 ;
21437 PyObject
* obj0
= 0 ;
21438 PyObject
* obj1
= 0 ;
21439 PyObject
* obj2
= 0 ;
21440 char *kwnames
[] = {
21441 (char *) "self",(char *) "item",(char *) "obj", NULL
21444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21446 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21447 if (arg2
== NULL
) {
21448 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21453 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21455 wxPyEndAllowThreads(__tstate
);
21456 if (PyErr_Occurred()) SWIG_fail
;
21458 Py_INCREF(Py_None
); resultobj
= Py_None
;
21465 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21466 PyObject
*resultobj
;
21467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21468 wxTreeItemId
*arg2
= 0 ;
21469 bool arg3
= (bool) True
;
21470 PyObject
* obj0
= 0 ;
21471 PyObject
* obj1
= 0 ;
21472 PyObject
* obj2
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "self",(char *) "item",(char *) "has", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21479 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21480 if (arg2
== NULL
) {
21481 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21484 arg3
= PyInt_AsLong(obj2
) ? true : false;
21485 if (PyErr_Occurred()) SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 Py_INCREF(Py_None
); resultobj
= Py_None
;
21501 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
;
21503 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21504 wxTreeItemId
*arg2
= 0 ;
21505 bool arg3
= (bool) True
;
21506 PyObject
* obj0
= 0 ;
21507 PyObject
* obj1
= 0 ;
21508 PyObject
* obj2
= 0 ;
21509 char *kwnames
[] = {
21510 (char *) "self",(char *) "item",(char *) "bold", NULL
21513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21515 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21516 if (arg2
== NULL
) {
21517 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21520 arg3
= PyInt_AsLong(obj2
) ? true : false;
21521 if (PyErr_Occurred()) SWIG_fail
;
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21530 Py_INCREF(Py_None
); resultobj
= Py_None
;
21537 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
;
21539 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21540 wxTreeItemId
*arg2
= 0 ;
21541 wxColour
*arg3
= 0 ;
21543 PyObject
* obj0
= 0 ;
21544 PyObject
* obj1
= 0 ;
21545 PyObject
* obj2
= 0 ;
21546 char *kwnames
[] = {
21547 (char *) "self",(char *) "item",(char *) "col", NULL
21550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21552 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21553 if (arg2
== NULL
) {
21554 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21558 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21567 Py_INCREF(Py_None
); resultobj
= Py_None
;
21574 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21575 PyObject
*resultobj
;
21576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21577 wxTreeItemId
*arg2
= 0 ;
21578 wxColour
*arg3
= 0 ;
21580 PyObject
* obj0
= 0 ;
21581 PyObject
* obj1
= 0 ;
21582 PyObject
* obj2
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "self",(char *) "item",(char *) "col", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21589 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21590 if (arg2
== NULL
) {
21591 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21595 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 Py_INCREF(Py_None
); resultobj
= Py_None
;
21611 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
;
21613 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21614 wxTreeItemId
*arg2
= 0 ;
21616 PyObject
* obj0
= 0 ;
21617 PyObject
* obj1
= 0 ;
21618 PyObject
* obj2
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self",(char *) "item",(char *) "font", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21625 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21626 if (arg2
== NULL
) {
21627 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21629 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21630 if (arg3
== NULL
) {
21631 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21635 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
21637 wxPyEndAllowThreads(__tstate
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21640 Py_INCREF(Py_None
); resultobj
= Py_None
;
21647 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21648 PyObject
*resultobj
;
21649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21650 wxTreeItemId
*arg2
= 0 ;
21652 PyObject
* obj0
= 0 ;
21653 PyObject
* obj1
= 0 ;
21654 char *kwnames
[] = {
21655 (char *) "self",(char *) "item", NULL
21658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21660 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21661 if (arg2
== NULL
) {
21662 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21666 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
21668 wxPyEndAllowThreads(__tstate
);
21669 if (PyErr_Occurred()) SWIG_fail
;
21671 resultobj
= PyInt_FromLong((long)result
);
21678 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21679 PyObject
*resultobj
;
21680 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21681 wxTreeItemId
*arg2
= 0 ;
21683 PyObject
* obj0
= 0 ;
21684 PyObject
* obj1
= 0 ;
21685 char *kwnames
[] = {
21686 (char *) "self",(char *) "item", NULL
21689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
21690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21691 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21692 if (arg2
== NULL
) {
21693 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 resultobj
= PyInt_FromLong((long)result
);
21709 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
;
21711 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21712 wxTreeItemId
*arg2
= 0 ;
21714 PyObject
* obj0
= 0 ;
21715 PyObject
* obj1
= 0 ;
21716 char *kwnames
[] = {
21717 (char *) "self",(char *) "item", NULL
21720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
21721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21723 if (arg2
== NULL
) {
21724 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21733 resultobj
= PyInt_FromLong((long)result
);
21740 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21741 PyObject
*resultobj
;
21742 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21743 wxTreeItemId
*arg2
= 0 ;
21745 PyObject
* obj0
= 0 ;
21746 PyObject
* obj1
= 0 ;
21747 char *kwnames
[] = {
21748 (char *) "self",(char *) "item", NULL
21751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
21752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21753 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21754 if (arg2
== NULL
) {
21755 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21764 resultobj
= PyInt_FromLong((long)result
);
21771 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
;
21773 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21774 wxTreeItemId
*arg2
= 0 ;
21776 PyObject
* obj0
= 0 ;
21777 PyObject
* obj1
= 0 ;
21778 char *kwnames
[] = {
21779 (char *) "self",(char *) "item", NULL
21782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
21783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21784 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21785 if (arg2
== NULL
) {
21786 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 resultobj
= PyInt_FromLong((long)result
);
21802 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21804 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21805 wxTreeItemId
*arg2
= 0 ;
21806 bool arg3
= (bool) True
;
21808 PyObject
* obj0
= 0 ;
21809 PyObject
* obj1
= 0 ;
21810 PyObject
* obj2
= 0 ;
21811 char *kwnames
[] = {
21812 (char *) "self",(char *) "item",(char *) "recursively", NULL
21815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21817 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21818 if (arg2
== NULL
) {
21819 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21822 arg3
= PyInt_AsLong(obj2
) ? true : false;
21823 if (PyErr_Occurred()) SWIG_fail
;
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21832 resultobj
= PyInt_FromLong((long)result
);
21839 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
;
21841 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21842 wxTreeItemId result
;
21843 PyObject
* obj0
= 0 ;
21844 char *kwnames
[] = {
21845 (char *) "self", NULL
21848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
21849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21858 wxTreeItemId
* resultptr
;
21859 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21860 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21868 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
;
21870 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21871 wxTreeItemId result
;
21872 PyObject
* obj0
= 0 ;
21873 char *kwnames
[] = {
21874 (char *) "self", NULL
21877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
21878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21881 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21887 wxTreeItemId
* resultptr
;
21888 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21889 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21897 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21898 PyObject
*resultobj
;
21899 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21901 PyObject
* obj0
= 0 ;
21902 char *kwnames
[] = {
21903 (char *) "self", NULL
21906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
21907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
21912 wxPyEndAllowThreads(__tstate
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21915 resultobj
= result
;
21922 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21923 PyObject
*resultobj
;
21924 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21925 wxTreeItemId
*arg2
= 0 ;
21926 wxTreeItemId result
;
21927 PyObject
* obj0
= 0 ;
21928 PyObject
* obj1
= 0 ;
21929 char *kwnames
[] = {
21930 (char *) "self",(char *) "item", NULL
21933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
21934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21935 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21936 if (arg2
== NULL
) {
21937 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21947 wxTreeItemId
* resultptr
;
21948 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21949 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21957 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21958 PyObject
*resultobj
;
21959 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21960 wxTreeItemId
*arg2
= 0 ;
21962 PyObject
* obj0
= 0 ;
21963 PyObject
* obj1
= 0 ;
21964 char *kwnames
[] = {
21965 (char *) "self",(char *) "item", NULL
21968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21970 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21971 if (arg2
== NULL
) {
21972 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21976 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 resultobj
= result
;
21988 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21989 PyObject
*resultobj
;
21990 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21991 wxTreeItemId
*arg2
= 0 ;
21992 wxTreeItemIdValue
*arg3
= 0 ;
21994 PyObject
* obj0
= 0 ;
21995 PyObject
* obj1
= 0 ;
21996 PyObject
* obj2
= 0 ;
21997 char *kwnames
[] = {
21998 (char *) "self",(char *) "item",(char *) "cookie", NULL
22001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22003 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22004 if (arg2
== NULL
) {
22005 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22007 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemIdValue
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22008 if (arg3
== NULL
) {
22009 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,*arg3
);
22015 wxPyEndAllowThreads(__tstate
);
22016 if (PyErr_Occurred()) SWIG_fail
;
22018 resultobj
= result
;
22025 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
;
22027 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22028 wxTreeItemId
*arg2
= 0 ;
22029 wxTreeItemId result
;
22030 PyObject
* obj0
= 0 ;
22031 PyObject
* obj1
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self",(char *) "item", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22038 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22039 if (arg2
== NULL
) {
22040 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22050 wxTreeItemId
* resultptr
;
22051 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22052 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22060 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
;
22062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22063 wxTreeItemId
*arg2
= 0 ;
22064 wxTreeItemId result
;
22065 PyObject
* obj0
= 0 ;
22066 PyObject
* obj1
= 0 ;
22067 char *kwnames
[] = {
22068 (char *) "self",(char *) "item", NULL
22071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22073 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22074 if (arg2
== NULL
) {
22075 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22085 wxTreeItemId
* resultptr
;
22086 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22087 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22095 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22096 PyObject
*resultobj
;
22097 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22098 wxTreeItemId
*arg2
= 0 ;
22099 wxTreeItemId result
;
22100 PyObject
* obj0
= 0 ;
22101 PyObject
* obj1
= 0 ;
22102 char *kwnames
[] = {
22103 (char *) "self",(char *) "item", NULL
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22108 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22109 if (arg2
== NULL
) {
22110 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22120 wxTreeItemId
* resultptr
;
22121 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22122 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22130 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22131 PyObject
*resultobj
;
22132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22133 wxTreeItemId result
;
22134 PyObject
* obj0
= 0 ;
22135 char *kwnames
[] = {
22136 (char *) "self", NULL
22139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
22140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22149 wxTreeItemId
* resultptr
;
22150 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22151 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22159 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22160 PyObject
*resultobj
;
22161 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22162 wxTreeItemId
*arg2
= 0 ;
22163 wxTreeItemId result
;
22164 PyObject
* obj0
= 0 ;
22165 PyObject
* obj1
= 0 ;
22166 char *kwnames
[] = {
22167 (char *) "self",(char *) "item", NULL
22170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22172 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22173 if (arg2
== NULL
) {
22174 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22184 wxTreeItemId
* resultptr
;
22185 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22186 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22194 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22195 PyObject
*resultobj
;
22196 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22197 wxTreeItemId
*arg2
= 0 ;
22198 wxTreeItemId result
;
22199 PyObject
* obj0
= 0 ;
22200 PyObject
* obj1
= 0 ;
22201 char *kwnames
[] = {
22202 (char *) "self",(char *) "item", NULL
22205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22207 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22208 if (arg2
== NULL
) {
22209 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
22215 wxPyEndAllowThreads(__tstate
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22219 wxTreeItemId
* resultptr
;
22220 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22221 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22229 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
;
22231 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22232 wxString
*arg2
= 0 ;
22233 int arg3
= (int) -1 ;
22234 int arg4
= (int) -1 ;
22235 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
22236 wxTreeItemId result
;
22237 bool temp2
= False
;
22238 PyObject
* obj0
= 0 ;
22239 PyObject
* obj1
= 0 ;
22240 PyObject
* obj4
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
22246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22248 arg2
= wxString_in_helper(obj1
);
22249 if (arg2
== NULL
) SWIG_fail
;
22253 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22263 wxTreeItemId
* resultptr
;
22264 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22265 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22281 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22284 wxTreeItemId
*arg2
= 0 ;
22285 wxString
*arg3
= 0 ;
22286 int arg4
= (int) -1 ;
22287 int arg5
= (int) -1 ;
22288 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22289 wxTreeItemId result
;
22290 bool temp3
= False
;
22291 PyObject
* obj0
= 0 ;
22292 PyObject
* obj1
= 0 ;
22293 PyObject
* obj2
= 0 ;
22294 PyObject
* obj5
= 0 ;
22295 char *kwnames
[] = {
22296 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22301 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22302 if (arg2
== NULL
) {
22303 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22306 arg3
= wxString_in_helper(obj2
);
22307 if (arg3
== NULL
) SWIG_fail
;
22311 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22321 wxTreeItemId
* resultptr
;
22322 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22323 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22339 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22340 PyObject
*resultobj
;
22341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22342 wxTreeItemId
*arg2
= 0 ;
22343 wxTreeItemId
*arg3
= 0 ;
22344 wxString
*arg4
= 0 ;
22345 int arg5
= (int) -1 ;
22346 int arg6
= (int) -1 ;
22347 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22348 wxTreeItemId result
;
22349 bool temp4
= False
;
22350 PyObject
* obj0
= 0 ;
22351 PyObject
* obj1
= 0 ;
22352 PyObject
* obj2
= 0 ;
22353 PyObject
* obj3
= 0 ;
22354 PyObject
* obj6
= 0 ;
22355 char *kwnames
[] = {
22356 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22361 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22362 if (arg2
== NULL
) {
22363 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22365 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22366 if (arg3
== NULL
) {
22367 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22370 arg4
= wxString_in_helper(obj3
);
22371 if (arg4
== NULL
) SWIG_fail
;
22375 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22379 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22385 wxTreeItemId
* resultptr
;
22386 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22387 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22403 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22404 PyObject
*resultobj
;
22405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22406 wxTreeItemId
*arg2
= 0 ;
22408 wxString
*arg4
= 0 ;
22409 int arg5
= (int) -1 ;
22410 int arg6
= (int) -1 ;
22411 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22412 wxTreeItemId result
;
22413 bool temp4
= False
;
22414 PyObject
* obj0
= 0 ;
22415 PyObject
* obj1
= 0 ;
22416 PyObject
* obj2
= 0 ;
22417 PyObject
* obj3
= 0 ;
22418 PyObject
* obj6
= 0 ;
22419 char *kwnames
[] = {
22420 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22425 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22426 if (arg2
== NULL
) {
22427 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22429 arg3
= (size_t) PyInt_AsLong(obj2
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 arg4
= wxString_in_helper(obj3
);
22433 if (arg4
== NULL
) SWIG_fail
;
22437 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22441 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22447 wxTreeItemId
* resultptr
;
22448 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22449 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22465 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22466 PyObject
*resultobj
;
22467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22468 wxTreeItemId
*arg2
= 0 ;
22469 wxString
*arg3
= 0 ;
22470 int arg4
= (int) -1 ;
22471 int arg5
= (int) -1 ;
22472 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22473 wxTreeItemId result
;
22474 bool temp3
= False
;
22475 PyObject
* obj0
= 0 ;
22476 PyObject
* obj1
= 0 ;
22477 PyObject
* obj2
= 0 ;
22478 PyObject
* obj5
= 0 ;
22479 char *kwnames
[] = {
22480 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22485 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22486 if (arg2
== NULL
) {
22487 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22490 arg3
= wxString_in_helper(obj2
);
22491 if (arg3
== NULL
) SWIG_fail
;
22495 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22505 wxTreeItemId
* resultptr
;
22506 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22507 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22523 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22524 PyObject
*resultobj
;
22525 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22526 wxTreeItemId
*arg2
= 0 ;
22527 PyObject
* obj0
= 0 ;
22528 PyObject
* obj1
= 0 ;
22529 char *kwnames
[] = {
22530 (char *) "self",(char *) "item", NULL
22533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
22534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22535 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22536 if (arg2
== NULL
) {
22537 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 Py_INCREF(Py_None
); resultobj
= Py_None
;
22553 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
;
22555 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22556 wxTreeItemId
*arg2
= 0 ;
22557 PyObject
* obj0
= 0 ;
22558 PyObject
* obj1
= 0 ;
22559 char *kwnames
[] = {
22560 (char *) "self",(char *) "item", NULL
22563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22565 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22566 if (arg2
== NULL
) {
22567 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22576 Py_INCREF(Py_None
); resultobj
= Py_None
;
22583 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
;
22585 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22586 PyObject
* obj0
= 0 ;
22587 char *kwnames
[] = {
22588 (char *) "self", NULL
22591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22595 (arg1
)->DeleteAllItems();
22597 wxPyEndAllowThreads(__tstate
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22600 Py_INCREF(Py_None
); resultobj
= Py_None
;
22607 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22608 PyObject
*resultobj
;
22609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22610 wxTreeItemId
*arg2
= 0 ;
22611 PyObject
* obj0
= 0 ;
22612 PyObject
* obj1
= 0 ;
22613 char *kwnames
[] = {
22614 (char *) "self",(char *) "item", NULL
22617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
22618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22619 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22620 if (arg2
== NULL
) {
22621 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
22627 wxPyEndAllowThreads(__tstate
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22630 Py_INCREF(Py_None
); resultobj
= Py_None
;
22637 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
;
22639 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22640 wxTreeItemId
*arg2
= 0 ;
22641 PyObject
* obj0
= 0 ;
22642 PyObject
* obj1
= 0 ;
22643 char *kwnames
[] = {
22644 (char *) "self",(char *) "item", NULL
22647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
22648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22649 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22650 if (arg2
== NULL
) {
22651 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22660 Py_INCREF(Py_None
); resultobj
= Py_None
;
22667 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
;
22669 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22670 wxTreeItemId
*arg2
= 0 ;
22671 PyObject
* obj0
= 0 ;
22672 PyObject
* obj1
= 0 ;
22673 char *kwnames
[] = {
22674 (char *) "self",(char *) "item", NULL
22677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
22678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22679 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22680 if (arg2
== NULL
) {
22681 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22685 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 Py_INCREF(Py_None
); resultobj
= Py_None
;
22697 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
;
22699 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22700 wxTreeItemId
*arg2
= 0 ;
22701 PyObject
* obj0
= 0 ;
22702 PyObject
* obj1
= 0 ;
22703 char *kwnames
[] = {
22704 (char *) "self",(char *) "item", NULL
22707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
22708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22709 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22710 if (arg2
== NULL
) {
22711 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22720 Py_INCREF(Py_None
); resultobj
= Py_None
;
22727 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22728 PyObject
*resultobj
;
22729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22730 PyObject
* obj0
= 0 ;
22731 char *kwnames
[] = {
22732 (char *) "self", NULL
22735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
22736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 (arg1
)->Unselect();
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22744 Py_INCREF(Py_None
); resultobj
= Py_None
;
22751 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22754 PyObject
* obj0
= 0 ;
22755 char *kwnames
[] = {
22756 (char *) "self", NULL
22759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
22760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22763 (arg1
)->UnselectAll();
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22768 Py_INCREF(Py_None
); resultobj
= Py_None
;
22775 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22776 PyObject
*resultobj
;
22777 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22778 wxTreeItemId
*arg2
= 0 ;
22779 PyObject
* obj0
= 0 ;
22780 PyObject
* obj1
= 0 ;
22781 char *kwnames
[] = {
22782 (char *) "self",(char *) "item", NULL
22785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22787 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22788 if (arg2
== NULL
) {
22789 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22798 Py_INCREF(Py_None
); resultobj
= Py_None
;
22805 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22806 PyObject
*resultobj
;
22807 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22808 wxTreeItemId
*arg2
= 0 ;
22809 PyObject
* obj0
= 0 ;
22810 PyObject
* obj1
= 0 ;
22811 char *kwnames
[] = {
22812 (char *) "self",(char *) "item", NULL
22815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22817 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22818 if (arg2
== NULL
) {
22819 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22823 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
22825 wxPyEndAllowThreads(__tstate
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22828 Py_INCREF(Py_None
); resultobj
= Py_None
;
22835 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22836 PyObject
*resultobj
;
22837 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22838 wxTreeItemId
*arg2
= 0 ;
22839 PyObject
* obj0
= 0 ;
22840 PyObject
* obj1
= 0 ;
22841 char *kwnames
[] = {
22842 (char *) "self",(char *) "item", NULL
22845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22847 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22848 if (arg2
== NULL
) {
22849 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 Py_INCREF(Py_None
); resultobj
= Py_None
;
22865 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22866 PyObject
*resultobj
;
22867 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22868 wxTreeItemId
*arg2
= 0 ;
22869 PyObject
* obj0
= 0 ;
22870 PyObject
* obj1
= 0 ;
22871 char *kwnames
[] = {
22872 (char *) "self",(char *) "item", NULL
22875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22877 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22878 if (arg2
== NULL
) {
22879 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 Py_INCREF(Py_None
); resultobj
= Py_None
;
22895 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22898 wxTextCtrl
*result
;
22899 PyObject
* obj0
= 0 ;
22900 char *kwnames
[] = {
22901 (char *) "self", NULL
22904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
22905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= wxPyMake_wxObject(result
);
22922 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22924 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22925 wxTreeItemId
*arg2
= 0 ;
22926 PyObject
* obj0
= 0 ;
22927 PyObject
* obj1
= 0 ;
22928 char *kwnames
[] = {
22929 (char *) "self",(char *) "item", NULL
22932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22934 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22935 if (arg2
== NULL
) {
22936 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22940 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
22942 wxPyEndAllowThreads(__tstate
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22945 Py_INCREF(Py_None
); resultobj
= Py_None
;
22952 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22953 PyObject
*resultobj
;
22954 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22955 wxPoint
*arg2
= 0 ;
22957 wxTreeItemId result
;
22960 PyObject
* obj0
= 0 ;
22961 PyObject
* obj1
= 0 ;
22962 char *kwnames
[] = {
22963 (char *) "self",(char *) "point", NULL
22967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22971 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22981 wxTreeItemId
* resultptr
;
22982 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22983 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22986 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22987 resultobj
= t_output_helper(resultobj
,o
);
22995 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22998 wxTreeItemId
*arg2
= 0 ;
22999 bool arg3
= (bool) False
;
23001 PyObject
* obj0
= 0 ;
23002 PyObject
* obj1
= 0 ;
23003 PyObject
* obj2
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23010 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23011 if (arg2
== NULL
) {
23012 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23015 arg3
= PyInt_AsLong(obj2
) ? true : false;
23016 if (PyErr_Occurred()) SWIG_fail
;
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 resultobj
= result
;
23032 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23035 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
23037 return Py_BuildValue((char *)"");
23039 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23040 PyObject
*resultobj
;
23041 wxWindow
*arg1
= (wxWindow
*) 0 ;
23042 int arg2
= (int) (int)-1 ;
23043 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
23044 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23049 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23050 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23051 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23052 int arg8
= (int) 0 ;
23053 wxString
const &arg9_defvalue
= wxPy_TreeCtrlNameStr
;
23054 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23055 wxGenericDirCtrl
*result
;
23056 bool temp3
= False
;
23059 bool temp7
= False
;
23060 bool temp9
= False
;
23061 PyObject
* obj0
= 0 ;
23062 PyObject
* obj2
= 0 ;
23063 PyObject
* obj3
= 0 ;
23064 PyObject
* obj4
= 0 ;
23065 PyObject
* obj6
= 0 ;
23066 PyObject
* obj8
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&obj8
)) goto fail
;
23072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23075 arg3
= wxString_in_helper(obj2
);
23076 if (arg3
== NULL
) SWIG_fail
;
23083 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23089 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23094 arg7
= wxString_in_helper(obj6
);
23095 if (arg7
== NULL
) SWIG_fail
;
23101 arg9
= wxString_in_helper(obj8
);
23102 if (arg9
== NULL
) SWIG_fail
;
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23144 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
;
23146 wxGenericDirCtrl
*result
;
23147 char *kwnames
[] = {
23151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
23153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23154 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
23156 wxPyEndAllowThreads(__tstate
);
23157 if (PyErr_Occurred()) SWIG_fail
;
23159 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23166 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23167 PyObject
*resultobj
;
23168 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23169 wxWindow
*arg2
= (wxWindow
*) 0 ;
23170 int arg3
= (int) (int)-1 ;
23171 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
23172 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23173 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23174 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23175 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23176 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23177 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23178 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23179 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23180 int arg9
= (int) 0 ;
23181 wxString
const &arg10_defvalue
= wxPy_TreeCtrlNameStr
;
23182 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
23184 bool temp4
= False
;
23187 bool temp8
= False
;
23188 bool temp10
= False
;
23189 PyObject
* obj0
= 0 ;
23190 PyObject
* obj1
= 0 ;
23191 PyObject
* obj3
= 0 ;
23192 PyObject
* obj4
= 0 ;
23193 PyObject
* obj5
= 0 ;
23194 PyObject
* obj7
= 0 ;
23195 PyObject
* obj9
= 0 ;
23196 char *kwnames
[] = {
23197 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&arg9
,&obj9
)) goto fail
;
23201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23202 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23205 arg4
= wxString_in_helper(obj3
);
23206 if (arg4
== NULL
) SWIG_fail
;
23213 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23219 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23224 arg8
= wxString_in_helper(obj7
);
23225 if (arg8
== NULL
) SWIG_fail
;
23231 arg10
= wxString_in_helper(obj9
);
23232 if (arg10
== NULL
) SWIG_fail
;
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= PyInt_FromLong((long)result
);
23274 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
;
23276 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23277 wxString
*arg2
= 0 ;
23279 bool temp2
= False
;
23280 PyObject
* obj0
= 0 ;
23281 PyObject
* obj1
= 0 ;
23282 char *kwnames
[] = {
23283 (char *) "self",(char *) "path", NULL
23286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23289 arg2
= wxString_in_helper(obj1
);
23290 if (arg2
== NULL
) SWIG_fail
;
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23300 resultobj
= PyInt_FromLong((long)result
);
23315 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23316 PyObject
*resultobj
;
23317 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23319 PyObject
* obj0
= 0 ;
23320 char *kwnames
[] = {
23321 (char *) "self", NULL
23324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
23325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23346 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
;
23348 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23349 wxString
*arg2
= 0 ;
23350 bool temp2
= False
;
23351 PyObject
* obj0
= 0 ;
23352 PyObject
* obj1
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "self",(char *) "path", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23360 arg2
= wxString_in_helper(obj1
);
23361 if (arg2
== NULL
) SWIG_fail
;
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
23368 wxPyEndAllowThreads(__tstate
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23371 Py_INCREF(Py_None
); resultobj
= Py_None
;
23386 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
;
23388 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23390 PyObject
* obj0
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "self", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
23396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
23401 wxPyEndAllowThreads(__tstate
);
23402 if (PyErr_Occurred()) SWIG_fail
;
23406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23417 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
;
23419 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23421 PyObject
* obj0
= 0 ;
23422 char *kwnames
[] = {
23423 (char *) "self", NULL
23426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
23427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23448 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23451 wxString
*arg2
= 0 ;
23452 bool temp2
= False
;
23453 PyObject
* obj0
= 0 ;
23454 PyObject
* obj1
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "self",(char *) "path", NULL
23459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23462 arg2
= wxString_in_helper(obj1
);
23463 if (arg2
== NULL
) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 (arg1
)->SetPath((wxString
const &)*arg2
);
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 Py_INCREF(Py_None
); resultobj
= Py_None
;
23488 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23489 PyObject
*resultobj
;
23490 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23492 PyObject
* obj0
= 0 ;
23493 PyObject
* obj1
= 0 ;
23494 char *kwnames
[] = {
23495 (char *) "self",(char *) "show", NULL
23498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
23499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23500 arg2
= PyInt_AsLong(obj1
) ? true : false;
23501 if (PyErr_Occurred()) SWIG_fail
;
23503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23504 (arg1
)->ShowHidden(arg2
);
23506 wxPyEndAllowThreads(__tstate
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23509 Py_INCREF(Py_None
); resultobj
= Py_None
;
23516 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23517 PyObject
*resultobj
;
23518 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23520 PyObject
* obj0
= 0 ;
23521 char *kwnames
[] = {
23522 (char *) "self", NULL
23525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
23526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 result
= (bool)(arg1
)->GetShowHidden();
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= PyInt_FromLong((long)result
);
23541 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
;
23543 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23545 PyObject
* obj0
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "self", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
23551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23572 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23573 PyObject
*resultobj
;
23574 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23575 wxString
*arg2
= 0 ;
23576 bool temp2
= False
;
23577 PyObject
* obj0
= 0 ;
23578 PyObject
* obj1
= 0 ;
23579 char *kwnames
[] = {
23580 (char *) "self",(char *) "filter", NULL
23583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
23584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23586 arg2
= wxString_in_helper(obj1
);
23587 if (arg2
== NULL
) SWIG_fail
;
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 (arg1
)->SetFilter((wxString
const &)*arg2
);
23594 wxPyEndAllowThreads(__tstate
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23597 Py_INCREF(Py_None
); resultobj
= Py_None
;
23612 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
;
23614 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23616 PyObject
* obj0
= 0 ;
23617 char *kwnames
[] = {
23618 (char *) "self", NULL
23621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
23622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23630 resultobj
= PyInt_FromLong((long)result
);
23637 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
;
23639 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23641 PyObject
* obj0
= 0 ;
23642 char *kwnames
[] = {
23643 (char *) "self",(char *) "n", NULL
23646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
23647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 (arg1
)->SetFilterIndex(arg2
);
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 Py_INCREF(Py_None
); resultobj
= Py_None
;
23662 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
;
23664 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23665 wxTreeItemId result
;
23666 PyObject
* obj0
= 0 ;
23667 char *kwnames
[] = {
23668 (char *) "self", NULL
23671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
23672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 result
= (arg1
)->GetRootId();
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23681 wxTreeItemId
* resultptr
;
23682 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23683 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23691 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23692 PyObject
*resultobj
;
23693 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23694 wxTreeCtrl
*result
;
23695 PyObject
* obj0
= 0 ;
23696 char *kwnames
[] = {
23697 (char *) "self", NULL
23700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
23701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23704 result
= (wxTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
23706 wxPyEndAllowThreads(__tstate
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= wxPyMake_wxObject(result
);
23718 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23719 PyObject
*resultobj
;
23720 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23721 wxDirFilterListCtrl
*result
;
23722 PyObject
* obj0
= 0 ;
23723 char *kwnames
[] = {
23724 (char *) "self", NULL
23727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
23728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
23733 wxPyEndAllowThreads(__tstate
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23736 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
23743 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
;
23745 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23746 wxTreeItemId arg2
;
23747 wxString
*arg3
= 0 ;
23749 wxTreeItemId result
;
23750 wxTreeItemId
*argp2
;
23751 bool temp3
= False
;
23753 PyObject
* obj0
= 0 ;
23754 PyObject
* obj1
= 0 ;
23755 PyObject
* obj2
= 0 ;
23756 char *kwnames
[] = {
23757 (char *) "self",(char *) "parentId",(char *) "path", NULL
23761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23763 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
23766 arg3
= wxString_in_helper(obj2
);
23767 if (arg3
== NULL
) SWIG_fail
;
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23778 wxTreeItemId
* resultptr
;
23779 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23780 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23783 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
23784 resultobj
= t_output_helper(resultobj
,o
);
23800 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23801 PyObject
*resultobj
;
23802 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23803 PyObject
* obj0
= 0 ;
23804 char *kwnames
[] = {
23805 (char *) "self", NULL
23808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
23809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 (arg1
)->DoResize();
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23817 Py_INCREF(Py_None
); resultobj
= Py_None
;
23824 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23825 PyObject
*resultobj
;
23826 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23827 PyObject
* obj0
= 0 ;
23828 char *kwnames
[] = {
23829 (char *) "self", NULL
23832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
23833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 (arg1
)->ReCreateTree();
23838 wxPyEndAllowThreads(__tstate
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23841 Py_INCREF(Py_None
); resultobj
= Py_None
;
23848 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23851 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
23853 return Py_BuildValue((char *)"");
23855 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23856 PyObject
*resultobj
;
23857 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23858 int arg2
= (int) (int)-1 ;
23859 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23860 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23861 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23862 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23863 long arg5
= (long) 0 ;
23864 wxDirFilterListCtrl
*result
;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj2
= 0 ;
23869 PyObject
* obj3
= 0 ;
23870 char *kwnames
[] = {
23871 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
23875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23879 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23885 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
23892 wxPyEndAllowThreads(__tstate
);
23893 if (PyErr_Occurred()) SWIG_fail
;
23895 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
23902 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23903 PyObject
*resultobj
;
23904 wxDirFilterListCtrl
*result
;
23905 char *kwnames
[] = {
23909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
23924 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
;
23926 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
23927 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
23928 int arg3
= (int) (int)-1 ;
23929 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23930 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23931 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23932 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23933 long arg6
= (long) 0 ;
23937 PyObject
* obj0
= 0 ;
23938 PyObject
* obj1
= 0 ;
23939 PyObject
* obj3
= 0 ;
23940 PyObject
* obj4
= 0 ;
23941 char *kwnames
[] = {
23942 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
23946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23947 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23951 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23957 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23967 resultobj
= PyInt_FromLong((long)result
);
23974 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23975 PyObject
*resultobj
;
23976 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
23977 wxString
*arg2
= 0 ;
23979 bool temp2
= False
;
23980 PyObject
* obj0
= 0 ;
23981 PyObject
* obj1
= 0 ;
23982 char *kwnames
[] = {
23983 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
23986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
23987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23989 arg2
= wxString_in_helper(obj1
);
23990 if (arg2
== NULL
) SWIG_fail
;
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
23997 wxPyEndAllowThreads(__tstate
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24000 Py_INCREF(Py_None
); resultobj
= Py_None
;
24015 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24018 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
24020 return Py_BuildValue((char *)"");
24022 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
;
24024 wxWindow
*arg1
= (wxWindow
*) 0 ;
24026 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24027 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24028 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24029 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24030 long arg5
= (long) 0 ;
24031 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24032 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24033 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
24034 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24035 wxPyControl
*result
;
24038 bool temp7
= False
;
24039 PyObject
* obj0
= 0 ;
24040 PyObject
* obj2
= 0 ;
24041 PyObject
* obj3
= 0 ;
24042 PyObject
* obj5
= 0 ;
24043 PyObject
* obj6
= 0 ;
24044 char *kwnames
[] = {
24045 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_PyControl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
24049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24053 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24059 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24063 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24064 if (arg6
== NULL
) {
24065 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24070 arg7
= wxString_in_helper(obj6
);
24071 if (arg7
== NULL
) SWIG_fail
;
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24082 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
24097 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
;
24099 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24100 PyObject
*arg2
= (PyObject
*) 0 ;
24101 PyObject
*arg3
= (PyObject
*) 0 ;
24102 PyObject
* obj0
= 0 ;
24103 PyObject
* obj1
= 0 ;
24104 PyObject
* obj2
= 0 ;
24105 char *kwnames
[] = {
24106 (char *) "self",(char *) "self",(char *) "_class", NULL
24109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24120 Py_INCREF(Py_None
); resultobj
= Py_None
;
24127 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24128 PyObject
*resultobj
;
24129 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24134 PyObject
* obj0
= 0 ;
24135 char *kwnames
[] = {
24136 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24143 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24145 wxPyEndAllowThreads(__tstate
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24148 Py_INCREF(Py_None
); resultobj
= Py_None
;
24155 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24156 PyObject
*resultobj
;
24157 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24162 int arg6
= (int) wxSIZE_AUTO
;
24163 PyObject
* obj0
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 Py_INCREF(Py_None
); resultobj
= Py_None
;
24184 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24186 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24189 PyObject
* obj0
= 0 ;
24190 char *kwnames
[] = {
24191 (char *) "self",(char *) "width",(char *) "height", NULL
24194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
24200 wxPyEndAllowThreads(__tstate
);
24201 if (PyErr_Occurred()) SWIG_fail
;
24203 Py_INCREF(Py_None
); resultobj
= Py_None
;
24210 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24211 PyObject
*resultobj
;
24212 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24215 PyObject
* obj0
= 0 ;
24216 char *kwnames
[] = {
24217 (char *) "self",(char *) "x",(char *) "y", NULL
24220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 Py_INCREF(Py_None
); resultobj
= Py_None
;
24236 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
;
24238 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24239 int *arg2
= (int *) 0 ;
24240 int *arg3
= (int *) 0 ;
24243 PyObject
* obj0
= 0 ;
24244 char *kwnames
[] = {
24245 (char *) "self", NULL
24250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
24251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24254 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
24256 wxPyEndAllowThreads(__tstate
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24259 Py_INCREF(Py_None
); resultobj
= Py_None
;
24261 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24262 resultobj
= t_output_helper(resultobj
,o
);
24265 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24266 resultobj
= t_output_helper(resultobj
,o
);
24274 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
;
24276 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24277 int *arg2
= (int *) 0 ;
24278 int *arg3
= (int *) 0 ;
24281 PyObject
* obj0
= 0 ;
24282 char *kwnames
[] = {
24283 (char *) "self", NULL
24288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
24289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 Py_INCREF(Py_None
); resultobj
= Py_None
;
24299 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24300 resultobj
= t_output_helper(resultobj
,o
);
24303 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24304 resultobj
= t_output_helper(resultobj
,o
);
24312 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
;
24314 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24315 int *arg2
= (int *) 0 ;
24316 int *arg3
= (int *) 0 ;
24319 PyObject
* obj0
= 0 ;
24320 char *kwnames
[] = {
24321 (char *) "self", NULL
24326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
24327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24330 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24335 Py_INCREF(Py_None
); resultobj
= Py_None
;
24337 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24338 resultobj
= t_output_helper(resultobj
,o
);
24341 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24342 resultobj
= t_output_helper(resultobj
,o
);
24350 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24351 PyObject
*resultobj
;
24352 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24354 PyObject
* obj0
= 0 ;
24355 char *kwnames
[] = {
24356 (char *) "self", NULL
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
24360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24363 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
24365 wxPyEndAllowThreads(__tstate
);
24366 if (PyErr_Occurred()) SWIG_fail
;
24369 wxSize
* resultptr
;
24370 resultptr
= new wxSize((wxSize
&) result
);
24371 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24379 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24380 PyObject
*resultobj
;
24381 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24383 PyObject
* obj0
= 0 ;
24384 char *kwnames
[] = {
24385 (char *) "self", NULL
24388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
24389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24398 wxSize
* resultptr
;
24399 resultptr
= new wxSize((wxSize
&) result
);
24400 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24408 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
;
24410 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24411 PyObject
* obj0
= 0 ;
24412 char *kwnames
[] = {
24413 (char *) "self", NULL
24416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
24417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 (arg1
)->base_InitDialog();
24422 wxPyEndAllowThreads(__tstate
);
24423 if (PyErr_Occurred()) SWIG_fail
;
24425 Py_INCREF(Py_None
); resultobj
= Py_None
;
24432 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24433 PyObject
*resultobj
;
24434 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24436 PyObject
* obj0
= 0 ;
24437 char *kwnames
[] = {
24438 (char *) "self", NULL
24441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (bool)(arg1
)->base_TransferDataToWindow();
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 resultobj
= PyInt_FromLong((long)result
);
24457 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24458 PyObject
*resultobj
;
24459 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24461 PyObject
* obj0
= 0 ;
24462 char *kwnames
[] = {
24463 (char *) "self", NULL
24466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 result
= (bool)(arg1
)->base_TransferDataFromWindow();
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= PyInt_FromLong((long)result
);
24482 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
;
24484 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24486 PyObject
* obj0
= 0 ;
24487 char *kwnames
[] = {
24488 (char *) "self", NULL
24491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
24492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24495 result
= (bool)(arg1
)->base_Validate();
24497 wxPyEndAllowThreads(__tstate
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24500 resultobj
= PyInt_FromLong((long)result
);
24507 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24508 PyObject
*resultobj
;
24509 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24511 PyObject
* obj0
= 0 ;
24512 char *kwnames
[] = {
24513 (char *) "self", NULL
24516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24520 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
24522 wxPyEndAllowThreads(__tstate
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24525 resultobj
= PyInt_FromLong((long)result
);
24532 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24533 PyObject
*resultobj
;
24534 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24536 PyObject
* obj0
= 0 ;
24537 char *kwnames
[] = {
24538 (char *) "self", NULL
24541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24550 resultobj
= PyInt_FromLong((long)result
);
24557 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24558 PyObject
*resultobj
;
24559 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24561 PyObject
* obj0
= 0 ;
24562 char *kwnames
[] = {
24563 (char *) "self", NULL
24566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24570 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
24572 wxPyEndAllowThreads(__tstate
);
24573 if (PyErr_Occurred()) SWIG_fail
;
24576 wxSize
* resultptr
;
24577 resultptr
= new wxSize((wxSize
&) result
);
24578 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24586 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24587 PyObject
*resultobj
;
24588 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24589 wxWindow
*arg2
= (wxWindow
*) 0 ;
24590 PyObject
* obj0
= 0 ;
24591 PyObject
* obj1
= 0 ;
24592 char *kwnames
[] = {
24593 (char *) "self",(char *) "child", NULL
24596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24598 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 (arg1
)->base_AddChild(arg2
);
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24606 Py_INCREF(Py_None
); resultobj
= Py_None
;
24613 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24614 PyObject
*resultobj
;
24615 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24616 wxWindow
*arg2
= (wxWindow
*) 0 ;
24617 PyObject
* obj0
= 0 ;
24618 PyObject
* obj1
= 0 ;
24619 char *kwnames
[] = {
24620 (char *) "self",(char *) "child", NULL
24623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24625 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 (arg1
)->base_RemoveChild(arg2
);
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24633 Py_INCREF(Py_None
); resultobj
= Py_None
;
24640 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
24642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24643 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
24645 return Py_BuildValue((char *)"");
24647 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24650 int arg2
= (int) 0 ;
24651 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24652 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24653 wxHelpEvent
*result
;
24655 PyObject
* obj2
= 0 ;
24656 char *kwnames
[] = {
24657 (char *) "type",(char *) "winid",(char *) "pt", NULL
24660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_HelpEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
24664 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24674 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
24681 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
;
24683 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24685 PyObject
* obj0
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
24691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
24696 result
= (wxPoint
*) &_result_ref
;
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24702 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
24709 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
;
24711 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24712 wxPoint
*arg2
= 0 ;
24714 PyObject
* obj0
= 0 ;
24715 PyObject
* obj1
= 0 ;
24716 char *kwnames
[] = {
24717 (char *) "self",(char *) "pos", NULL
24720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24724 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 Py_INCREF(Py_None
); resultobj
= Py_None
;
24740 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
;
24742 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24744 PyObject
* obj0
= 0 ;
24745 char *kwnames
[] = {
24746 (char *) "self", NULL
24749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
24750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24754 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
24755 result
= (wxString
*) &_result_ref
;
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24765 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24774 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24775 PyObject
*resultobj
;
24776 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24777 wxString
*arg2
= 0 ;
24778 bool temp2
= False
;
24779 PyObject
* obj0
= 0 ;
24780 PyObject
* obj1
= 0 ;
24781 char *kwnames
[] = {
24782 (char *) "self",(char *) "link", NULL
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
24786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24788 arg2
= wxString_in_helper(obj1
);
24789 if (arg2
== NULL
) SWIG_fail
;
24793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24794 (arg1
)->SetLink((wxString
const &)*arg2
);
24796 wxPyEndAllowThreads(__tstate
);
24797 if (PyErr_Occurred()) SWIG_fail
;
24799 Py_INCREF(Py_None
); resultobj
= Py_None
;
24814 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24815 PyObject
*resultobj
;
24816 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24818 PyObject
* obj0
= 0 ;
24819 char *kwnames
[] = {
24820 (char *) "self", NULL
24823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
24824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24828 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
24829 result
= (wxString
*) &_result_ref
;
24832 wxPyEndAllowThreads(__tstate
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24837 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24839 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24848 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24849 PyObject
*resultobj
;
24850 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24851 wxString
*arg2
= 0 ;
24852 bool temp2
= False
;
24853 PyObject
* obj0
= 0 ;
24854 PyObject
* obj1
= 0 ;
24855 char *kwnames
[] = {
24856 (char *) "self",(char *) "target", NULL
24859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
24860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24862 arg2
= wxString_in_helper(obj1
);
24863 if (arg2
== NULL
) SWIG_fail
;
24867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24868 (arg1
)->SetTarget((wxString
const &)*arg2
);
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24873 Py_INCREF(Py_None
); resultobj
= Py_None
;
24888 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24891 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
24893 return Py_BuildValue((char *)"");
24895 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
;
24897 wxWindow
*arg1
= (wxWindow
*) NULL
;
24898 bool arg2
= (bool) True
;
24899 wxContextHelp
*result
;
24900 PyObject
* obj0
= 0 ;
24901 PyObject
* obj1
= 0 ;
24902 char *kwnames
[] = {
24903 (char *) "window",(char *) "doNow", NULL
24906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24911 arg2
= PyInt_AsLong(obj1
) ? true : false;
24912 if (PyErr_Occurred()) SWIG_fail
;
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
24928 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
24931 PyObject
* obj0
= 0 ;
24932 char *kwnames
[] = {
24933 (char *) "self", NULL
24936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
24937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 wxPyEndAllowThreads(__tstate
);
24943 if (PyErr_Occurred()) SWIG_fail
;
24945 Py_INCREF(Py_None
); resultobj
= Py_None
;
24952 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24953 PyObject
*resultobj
;
24954 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
24955 wxWindow
*arg2
= (wxWindow
*) NULL
;
24957 PyObject
* obj0
= 0 ;
24958 PyObject
* obj1
= 0 ;
24959 char *kwnames
[] = {
24960 (char *) "self",(char *) "window", NULL
24963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24966 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= PyInt_FromLong((long)result
);
24982 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24983 PyObject
*resultobj
;
24984 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
24986 PyObject
* obj0
= 0 ;
24987 char *kwnames
[] = {
24988 (char *) "self", NULL
24991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
24992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 result
= (bool)(arg1
)->EndContextHelp();
24997 wxPyEndAllowThreads(__tstate
);
24998 if (PyErr_Occurred()) SWIG_fail
;
25000 resultobj
= PyInt_FromLong((long)result
);
25007 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
25009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25010 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
25012 return Py_BuildValue((char *)"");
25014 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25015 PyObject
*resultobj
;
25016 wxWindow
*arg1
= (wxWindow
*) 0 ;
25017 int arg2
= (int) wxID_CONTEXT_HELP
;
25018 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25019 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25020 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25021 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25022 long arg5
= (long) wxBU_AUTODRAW
;
25023 wxContextHelpButton
*result
;
25026 PyObject
* obj0
= 0 ;
25027 PyObject
* obj2
= 0 ;
25028 PyObject
* obj3
= 0 ;
25029 char *kwnames
[] = {
25030 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_ContextHelpButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25038 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25044 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25054 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
25061 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
25063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25064 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
25066 return Py_BuildValue((char *)"");
25068 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
;
25070 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25071 wxHelpProvider
*result
;
25072 PyObject
* obj0
= 0 ;
25073 char *kwnames
[] = {
25074 (char *) "helpProvider", NULL
25077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
25078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
25083 wxPyEndAllowThreads(__tstate
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25086 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25093 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
;
25095 wxHelpProvider
*result
;
25096 char *kwnames
[] = {
25100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25103 result
= (wxHelpProvider
*)wxHelpProvider::Get();
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25108 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25115 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25116 PyObject
*resultobj
;
25117 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25118 wxWindow
*arg2
= (wxWindow
*) 0 ;
25120 PyObject
* obj0
= 0 ;
25121 PyObject
* obj1
= 0 ;
25122 char *kwnames
[] = {
25123 (char *) "self",(char *) "window", NULL
25126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25128 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25131 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
25133 wxPyEndAllowThreads(__tstate
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25149 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25150 PyObject
*resultobj
;
25151 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25152 wxWindow
*arg2
= (wxWindow
*) 0 ;
25154 PyObject
* obj0
= 0 ;
25155 PyObject
* obj1
= 0 ;
25156 char *kwnames
[] = {
25157 (char *) "self",(char *) "window", NULL
25160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25162 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 result
= (bool)(arg1
)->ShowHelp(arg2
);
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25170 resultobj
= PyInt_FromLong((long)result
);
25177 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25178 PyObject
*resultobj
;
25179 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25180 wxWindow
*arg2
= (wxWindow
*) 0 ;
25181 wxString
*arg3
= 0 ;
25182 bool temp3
= False
;
25183 PyObject
* obj0
= 0 ;
25184 PyObject
* obj1
= 0 ;
25185 PyObject
* obj2
= 0 ;
25186 char *kwnames
[] = {
25187 (char *) "self",(char *) "window",(char *) "text", NULL
25190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25192 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25194 arg3
= wxString_in_helper(obj2
);
25195 if (arg3
== NULL
) SWIG_fail
;
25199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25200 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25202 wxPyEndAllowThreads(__tstate
);
25203 if (PyErr_Occurred()) SWIG_fail
;
25205 Py_INCREF(Py_None
); resultobj
= Py_None
;
25220 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25221 PyObject
*resultobj
;
25222 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25224 wxString
*arg3
= 0 ;
25225 bool temp3
= False
;
25226 PyObject
* obj0
= 0 ;
25227 PyObject
* obj2
= 0 ;
25228 char *kwnames
[] = {
25229 (char *) "self",(char *) "id",(char *) "text", NULL
25232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:HelpProvider_AddHelpById",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25235 arg3
= wxString_in_helper(obj2
);
25236 if (arg3
== NULL
) SWIG_fail
;
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25246 Py_INCREF(Py_None
); resultobj
= Py_None
;
25261 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
;
25263 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25264 PyObject
* obj0
= 0 ;
25265 char *kwnames
[] = {
25266 (char *) "self", NULL
25269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
25270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 wxHelpProvider_Destroy(arg1
);
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25278 Py_INCREF(Py_None
); resultobj
= Py_None
;
25285 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25288 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
25290 return Py_BuildValue((char *)"");
25292 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
;
25294 wxSimpleHelpProvider
*result
;
25295 char *kwnames
[] = {
25299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25307 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
25314 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25317 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
25319 return Py_BuildValue((char *)"");
25321 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25322 PyObject
*resultobj
;
25323 wxBitmap
*arg1
= 0 ;
25324 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25325 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25326 wxGenericDragImage
*result
;
25327 PyObject
* obj0
= 0 ;
25328 PyObject
* obj1
= 0 ;
25329 char *kwnames
[] = {
25330 (char *) "image",(char *) "cursor", NULL
25333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
25334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25335 if (arg1
== NULL
) {
25336 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25339 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25340 if (arg2
== NULL
) {
25341 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25346 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
25348 wxPyEndAllowThreads(__tstate
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25358 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25359 PyObject
*resultobj
;
25361 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25362 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25363 wxGenericDragImage
*result
;
25364 PyObject
* obj0
= 0 ;
25365 PyObject
* obj1
= 0 ;
25366 char *kwnames
[] = {
25367 (char *) "image",(char *) "cursor", NULL
25370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
25371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25372 if (arg1
== NULL
) {
25373 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25376 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25377 if (arg2
== NULL
) {
25378 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
25385 wxPyEndAllowThreads(__tstate
);
25386 if (PyErr_Occurred()) SWIG_fail
;
25388 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25395 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25396 PyObject
*resultobj
;
25397 wxString
*arg1
= 0 ;
25398 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25399 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25400 wxGenericDragImage
*result
;
25401 bool temp1
= False
;
25402 PyObject
* obj0
= 0 ;
25403 PyObject
* obj1
= 0 ;
25404 char *kwnames
[] = {
25405 (char *) "str",(char *) "cursor", NULL
25408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
25410 arg1
= wxString_in_helper(obj0
);
25411 if (arg1
== NULL
) SWIG_fail
;
25415 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25416 if (arg2
== NULL
) {
25417 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25442 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25443 PyObject
*resultobj
;
25444 wxPyTreeCtrl
*arg1
= 0 ;
25445 wxTreeItemId
*arg2
= 0 ;
25446 wxGenericDragImage
*result
;
25447 PyObject
* obj0
= 0 ;
25448 PyObject
* obj1
= 0 ;
25449 char *kwnames
[] = {
25450 (char *) "treeCtrl",(char *) "id", NULL
25453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25455 if (arg1
== NULL
) {
25456 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25458 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25459 if (arg2
== NULL
) {
25460 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25469 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25476 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
;
25478 wxPyListCtrl
*arg1
= 0 ;
25480 wxGenericDragImage
*result
;
25481 PyObject
* obj0
= 0 ;
25482 char *kwnames
[] = {
25483 (char *) "listCtrl",(char *) "id", NULL
25486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_DragListItem",kwnames
,&obj0
,&arg2
)) goto fail
;
25487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25488 if (arg1
== NULL
) {
25489 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
25495 wxPyEndAllowThreads(__tstate
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25498 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25505 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25506 PyObject
*resultobj
;
25507 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25508 PyObject
* obj0
= 0 ;
25509 char *kwnames
[] = {
25510 (char *) "self", NULL
25513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
25514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25519 wxPyEndAllowThreads(__tstate
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25522 Py_INCREF(Py_None
); resultobj
= Py_None
;
25529 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
;
25531 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25532 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
25533 PyObject
* obj0
= 0 ;
25534 PyObject
* obj1
= 0 ;
25535 char *kwnames
[] = {
25536 (char *) "self",(char *) "bitmap", NULL
25539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25541 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 (arg1
)->SetBackingBitmap(arg2
);
25546 wxPyEndAllowThreads(__tstate
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25549 Py_INCREF(Py_None
); resultobj
= Py_None
;
25556 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
;
25558 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25559 wxPoint
*arg2
= 0 ;
25560 wxWindow
*arg3
= (wxWindow
*) 0 ;
25561 bool arg4
= (bool) False
;
25562 wxRect
*arg5
= (wxRect
*) NULL
;
25565 PyObject
* obj0
= 0 ;
25566 PyObject
* obj1
= 0 ;
25567 PyObject
* obj2
= 0 ;
25568 PyObject
* obj3
= 0 ;
25569 PyObject
* obj4
= 0 ;
25570 char *kwnames
[] = {
25571 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25578 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25580 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25582 arg4
= PyInt_AsLong(obj3
) ? true : false;
25583 if (PyErr_Occurred()) SWIG_fail
;
25586 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25590 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
25592 wxPyEndAllowThreads(__tstate
);
25593 if (PyErr_Occurred()) SWIG_fail
;
25595 resultobj
= PyInt_FromLong((long)result
);
25602 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25603 PyObject
*resultobj
;
25604 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25605 wxPoint
*arg2
= 0 ;
25606 wxWindow
*arg3
= (wxWindow
*) 0 ;
25607 wxWindow
*arg4
= (wxWindow
*) 0 ;
25610 PyObject
* obj0
= 0 ;
25611 PyObject
* obj1
= 0 ;
25612 PyObject
* obj2
= 0 ;
25613 PyObject
* obj3
= 0 ;
25614 char *kwnames
[] = {
25615 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25622 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25624 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25625 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25628 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
25630 wxPyEndAllowThreads(__tstate
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25633 resultobj
= PyInt_FromLong((long)result
);
25640 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25641 PyObject
*resultobj
;
25642 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25644 PyObject
* obj0
= 0 ;
25645 char *kwnames
[] = {
25646 (char *) "self", NULL
25649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
25650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 result
= (bool)(arg1
)->EndDrag();
25655 wxPyEndAllowThreads(__tstate
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25658 resultobj
= PyInt_FromLong((long)result
);
25665 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25666 PyObject
*resultobj
;
25667 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25668 wxPoint
*arg2
= 0 ;
25671 PyObject
* obj0
= 0 ;
25672 PyObject
* obj1
= 0 ;
25673 char *kwnames
[] = {
25674 (char *) "self",(char *) "pt", NULL
25677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
25678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25681 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25685 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
25687 wxPyEndAllowThreads(__tstate
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25690 resultobj
= PyInt_FromLong((long)result
);
25697 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25698 PyObject
*resultobj
;
25699 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25701 PyObject
* obj0
= 0 ;
25702 char *kwnames
[] = {
25703 (char *) "self", NULL
25706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
25707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 result
= (bool)(arg1
)->Show();
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25715 resultobj
= PyInt_FromLong((long)result
);
25722 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25723 PyObject
*resultobj
;
25724 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25726 PyObject
* obj0
= 0 ;
25727 char *kwnames
[] = {
25728 (char *) "self", NULL
25731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
25732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 result
= (bool)(arg1
)->Hide();
25737 wxPyEndAllowThreads(__tstate
);
25738 if (PyErr_Occurred()) SWIG_fail
;
25740 resultobj
= PyInt_FromLong((long)result
);
25747 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25748 PyObject
*resultobj
;
25749 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25750 wxPoint
*arg2
= 0 ;
25753 PyObject
* obj0
= 0 ;
25754 PyObject
* obj1
= 0 ;
25755 char *kwnames
[] = {
25756 (char *) "self",(char *) "pos", NULL
25759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25763 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
25769 wxPyEndAllowThreads(__tstate
);
25770 if (PyErr_Occurred()) SWIG_fail
;
25773 wxRect
* resultptr
;
25774 resultptr
= new wxRect((wxRect
&) result
);
25775 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
25783 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25784 PyObject
*resultobj
;
25785 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25787 wxPoint
*arg3
= 0 ;
25790 PyObject
* obj0
= 0 ;
25791 PyObject
* obj1
= 0 ;
25792 PyObject
* obj2
= 0 ;
25793 char *kwnames
[] = {
25794 (char *) "self",(char *) "dc",(char *) "pos", NULL
25797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25799 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25800 if (arg2
== NULL
) {
25801 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25805 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25809 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
25811 wxPyEndAllowThreads(__tstate
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25814 resultobj
= PyInt_FromLong((long)result
);
25821 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25822 PyObject
*resultobj
;
25823 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25825 wxMemoryDC
*arg3
= 0 ;
25831 PyObject
* obj0
= 0 ;
25832 PyObject
* obj1
= 0 ;
25833 PyObject
* obj2
= 0 ;
25834 PyObject
* obj3
= 0 ;
25835 PyObject
* obj4
= 0 ;
25836 char *kwnames
[] = {
25837 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25842 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25843 if (arg2
== NULL
) {
25844 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25846 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25847 if (arg3
== NULL
) {
25848 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25852 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25856 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
25859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25860 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
25862 wxPyEndAllowThreads(__tstate
);
25863 if (PyErr_Occurred()) SWIG_fail
;
25865 resultobj
= PyInt_FromLong((long)result
);
25872 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25873 PyObject
*resultobj
;
25874 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25875 wxPoint
*arg2
= 0 ;
25876 wxPoint
*arg3
= 0 ;
25882 PyObject
* obj0
= 0 ;
25883 PyObject
* obj1
= 0 ;
25884 PyObject
* obj2
= 0 ;
25885 PyObject
* obj3
= 0 ;
25886 PyObject
* obj4
= 0 ;
25887 char *kwnames
[] = {
25888 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
25891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25895 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25899 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25901 arg4
= PyInt_AsLong(obj3
) ? true : false;
25902 if (PyErr_Occurred()) SWIG_fail
;
25903 arg5
= PyInt_AsLong(obj4
) ? true : false;
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25907 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= PyInt_FromLong((long)result
);
25919 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
25921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25922 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
25924 return Py_BuildValue((char *)"");
25926 static PyMethodDef SwigMethods
[] = {
25927 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
25928 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
25929 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
25930 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
25931 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
25932 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
25933 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
25934 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
25935 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
25936 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
25937 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
25938 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
25939 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
25940 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
25941 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
25942 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
25943 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
25944 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25945 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
25946 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
25947 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
25948 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
25949 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
25950 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25951 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25952 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
25953 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25954 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
25955 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
25956 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
25957 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
25958 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
25959 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
25960 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
25961 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
25962 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
25963 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
25964 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25965 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25966 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
25967 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
25968 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
25969 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
25970 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25971 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25972 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25973 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
25974 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
25975 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
25976 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
25977 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
25978 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
25979 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
25980 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25981 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
25982 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
25983 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
25984 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
25985 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
25986 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
25987 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
25988 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
25989 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25990 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
25991 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25992 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25993 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
25994 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
25995 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
25996 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
25997 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
25998 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
25999 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26000 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26001 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26002 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
26003 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26004 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26005 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
26006 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26007 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26008 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
26009 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
26010 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
26011 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
26012 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
26013 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26014 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26015 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
26016 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26017 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26018 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
26019 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
26020 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
26021 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
26022 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26023 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
26024 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
26025 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
26026 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26027 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26028 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
26029 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
26030 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
26031 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26032 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
26033 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
26034 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
26035 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26036 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26037 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
26038 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
26039 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26040 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26041 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26042 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26043 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
26044 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
26045 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26046 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
26047 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
26048 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
26049 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
26050 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26051 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26052 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26053 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26054 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26055 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26056 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26057 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26058 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26059 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26060 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26061 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26062 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
26063 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26064 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26065 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
26066 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26067 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26068 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26069 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26070 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26071 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26072 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26073 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26074 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
26075 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
26076 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
26077 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26078 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26079 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26080 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26081 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26082 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26083 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
26084 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
26085 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
26086 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
26087 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
26088 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
26089 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
26090 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26091 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26092 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26093 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26094 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26095 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
26096 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
26097 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
26098 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
26099 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
26100 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
26101 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
26102 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
26103 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26104 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26105 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26106 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26107 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
26108 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
26109 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
26110 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26111 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26112 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26113 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
26114 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
26115 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
26116 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
26117 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
26118 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
26119 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
26120 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26121 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26122 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26123 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26124 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26125 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
26126 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26127 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
26128 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26129 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
26130 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26131 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
26132 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
26133 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
26134 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
26135 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26136 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26137 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26138 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26139 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
26140 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26141 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26142 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26143 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26144 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
26145 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
26146 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26147 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26148 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26149 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26150 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26151 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26152 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26153 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26154 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26155 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26156 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26157 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
26158 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26159 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26160 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26161 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26162 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26163 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
26164 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26165 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26166 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26167 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26168 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
26169 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26170 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26171 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26172 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26173 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26174 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26175 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26176 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26177 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
26178 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26179 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26180 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
26181 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
26182 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26183 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26184 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26185 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
26186 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26187 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26188 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26189 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26190 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26191 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
26192 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
26193 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
26194 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
26195 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26196 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26197 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26198 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26199 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26200 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26201 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26202 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26203 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26204 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26205 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26206 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26207 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26208 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26209 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26210 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
26211 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
26212 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
26213 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
26214 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
26215 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26216 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
26217 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26218 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26219 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26220 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26221 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26222 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26223 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
26224 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
26225 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
26226 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26227 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26228 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26229 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26230 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26231 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26232 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26233 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26234 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26235 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26236 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
26237 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
26238 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
26239 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
26240 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
26241 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26242 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
26243 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
26244 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26245 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26246 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26247 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26248 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26249 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
26250 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
26251 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26252 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26253 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26254 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
26255 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
26256 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26257 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26258 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
26259 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26260 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
26261 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
26262 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
26263 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26264 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26265 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
26266 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26267 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
26268 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
26269 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26270 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26271 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26272 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
26273 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
26274 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26275 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26276 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26277 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
26278 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26279 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26280 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26281 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
26282 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
26283 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26284 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26285 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
26286 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26287 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
26288 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
26289 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26290 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26291 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26292 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26293 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26294 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26295 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
26296 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
26297 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26298 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26299 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26300 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26301 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26302 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26303 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
26304 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
26305 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26306 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26307 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
26308 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
26309 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
26310 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
26311 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
26312 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
26313 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
26314 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
26315 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26316 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26317 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
26318 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
26319 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
26320 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
26321 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
26322 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
26323 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
26324 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26325 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26326 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26327 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
26328 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
26329 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26330 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26331 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26332 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26333 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26334 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
26335 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26336 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26337 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26338 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
26339 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26340 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26341 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26342 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
26343 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
26344 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
26345 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
26346 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26347 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26348 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
26349 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26350 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
26351 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26352 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
26353 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26354 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26355 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26356 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26357 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
26358 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
26359 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26360 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26361 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26362 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26363 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26364 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26365 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26366 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26367 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26368 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26369 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
26370 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
26371 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
26372 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26373 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26374 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
26375 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26376 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26377 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
26378 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
26379 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
26380 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
26381 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
26382 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26383 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
26384 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26385 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26386 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26387 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
26388 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26389 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26390 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
26391 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26392 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
26393 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26394 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26395 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
26396 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26397 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26398 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26399 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26400 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26401 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
26402 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
26403 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
26404 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
26405 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
26406 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
26407 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
26408 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
26409 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
26410 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
26411 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
26412 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
26413 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
26414 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
26415 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
26416 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
26417 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
26418 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
26419 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
26420 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
26421 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
26422 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
26423 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
26424 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
26425 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
26426 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
26427 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
26428 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
26429 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
26430 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
26431 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
26432 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
26433 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
26434 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
26435 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
26436 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26437 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26438 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26439 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26440 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
26441 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26442 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
26443 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26444 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
26445 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
26446 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
26447 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
26448 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
26449 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26450 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26451 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26452 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26453 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26454 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26455 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26456 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26457 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
26458 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
26459 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
26460 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
26461 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26462 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
26463 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26464 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
26465 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
26466 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26467 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26468 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26469 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26470 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26471 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
26472 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
26473 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
26474 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26475 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26476 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26477 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26478 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26479 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26480 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26481 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
26482 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
26483 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
26484 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26485 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26486 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26487 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26488 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
26489 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
26490 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
26491 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
26492 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
26493 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
26494 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
26495 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
26496 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
26497 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26498 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26499 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
26500 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
26501 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
26502 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26503 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
26504 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26505 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
26506 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26507 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
26508 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
26509 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26510 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
26511 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26512 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26513 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26514 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26515 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
26516 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
26517 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
26518 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
26519 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
26520 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
26521 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
26522 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
26523 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
26524 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
26525 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
26526 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26527 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
26528 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
26529 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
26530 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
26531 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
26532 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26533 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
26534 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
26535 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
26536 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
26537 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
26538 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
26539 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26540 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
26541 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26542 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26543 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26544 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
26545 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
26546 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26547 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
26548 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
26549 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
26550 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26551 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26552 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
26553 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
26554 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
26555 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26556 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26557 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
26558 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
26559 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
26560 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
26561 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26562 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26563 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26564 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26565 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26566 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
26567 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
26568 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26569 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26570 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26571 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26572 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26573 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26574 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26575 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26576 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26577 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26578 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26579 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
26580 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26581 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26582 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
26583 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26584 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26585 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26586 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
26587 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
26588 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
26589 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26590 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26591 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
26592 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
26593 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
26594 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
26595 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26596 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
26597 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
26598 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
26599 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26600 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
26601 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
26602 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
26603 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
26604 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
26605 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
26606 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
26607 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
26608 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
26609 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
26610 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
26611 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
26612 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
26613 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
26614 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
26615 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
26616 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
26617 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
26618 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
26619 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
26620 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
26621 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
26622 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
26623 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
26624 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
26625 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26626 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
26627 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26628 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
26629 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
26630 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26631 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
26632 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
26633 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26634 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26635 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26636 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
26637 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
26638 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
26639 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
26640 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
26641 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
26642 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
26643 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
26644 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
26645 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
26646 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
26647 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
26648 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
26649 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26650 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26651 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
26652 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
26653 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
26654 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
26655 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26656 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26657 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26658 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
26659 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
26660 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
26661 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26662 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
26663 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
26664 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
26665 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
26666 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
26667 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
26668 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26669 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
26670 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
26673 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
26674 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
26675 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
26676 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
26677 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
26678 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
26679 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
26680 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
26681 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
26682 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26683 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26684 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
26685 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
26686 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
26687 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
26688 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
26689 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26690 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26691 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26692 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26693 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
26694 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
26695 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
26696 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
26697 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
26698 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
26699 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
26700 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
26701 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
26702 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26703 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
26704 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
26705 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
26706 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
26707 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
26708 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
26709 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
26710 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
26711 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
26712 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26713 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
26714 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
26715 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
26716 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
26717 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
26718 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
26719 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
26720 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
26721 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
26722 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
26723 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
26728 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26730 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
26731 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
26733 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
26734 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
26736 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
26737 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
26739 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
26740 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26742 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
26743 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26745 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
26746 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
26748 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
26749 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26751 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
26752 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
26754 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
26755 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
26757 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
26758 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
26760 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
26761 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26763 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
26764 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
26766 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
26767 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
26769 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
26770 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
26772 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
26773 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
26775 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
26776 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
26778 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
26779 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
26781 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
26782 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
26784 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
26785 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
26787 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
26788 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
26790 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
26791 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
26793 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
26794 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
26796 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
26797 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26799 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
26800 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
26802 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
26803 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
26805 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
26806 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
26808 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
26809 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
26811 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
26812 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
26814 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
26815 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26817 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
26818 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26820 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26821 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26823 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26824 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26826 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26827 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26829 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26830 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26832 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26833 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26835 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26836 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26838 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26839 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26841 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26842 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26844 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26845 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26847 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26848 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26850 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26851 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26853 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26854 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26856 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26857 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26859 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26860 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26862 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26863 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26865 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26866 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26868 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26869 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26871 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26872 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26874 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26875 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26877 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26878 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26880 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26881 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26883 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26884 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26886 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
26887 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
26889 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
26890 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26892 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
26893 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
26895 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
26896 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
26898 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
26899 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
26901 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
26902 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
26904 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
26905 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
26907 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
26908 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
26910 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
26911 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
26913 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
26914 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
26916 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
26917 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
26919 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
26920 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
26922 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
26923 return (void *)((wxControl
*) ((wxComboBox
*) x
));
26925 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
26926 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
26928 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
26929 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
26931 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
26932 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
26934 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
26935 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
26937 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
26938 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26940 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
26941 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
26943 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
26944 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
26946 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
26947 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
26949 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
26950 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
26952 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
26953 return (void *)((wxControl
*) ((wxGauge
*) x
));
26955 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
26956 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
26958 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
26959 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
26961 static void *_p_wxButtonTo_p_wxControl(void *x
) {
26962 return (void *)((wxControl
*) ((wxButton
*) x
));
26964 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
26965 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
26967 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
26968 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
26970 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
26971 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
26973 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
26974 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
26976 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
26977 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
26979 static void *_p_wxListbookTo_p_wxControl(void *x
) {
26980 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
26982 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
26983 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
26985 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
26986 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
26988 static void *_p_wxListViewTo_p_wxControl(void *x
) {
26989 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
26991 static void *_p_wxSliderTo_p_wxControl(void *x
) {
26992 return (void *)((wxControl
*) ((wxSlider
*) x
));
26994 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
26995 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
26997 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
26998 return (void *)((wxControl
*) ((wxPyControl
*) x
));
27000 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
27001 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
27003 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
27004 return (void *)((wxControl
*) ((wxStaticText
*) x
));
27006 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
27007 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
27009 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
27010 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27012 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
27013 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27015 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
27016 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27018 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
27019 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
27021 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
27022 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27024 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
27025 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27027 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
27028 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27030 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27031 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27033 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27034 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27036 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27037 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27039 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
27040 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27042 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27043 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27045 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
27046 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27048 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
27049 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27051 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27052 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27054 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27055 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27057 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
27058 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27060 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
27061 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27063 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
27064 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
27066 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
27067 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27069 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
27070 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27072 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27073 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27075 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
27076 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27078 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
27079 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27081 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27082 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27084 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
27085 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27087 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
27088 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27090 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
27091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27093 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
27094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27096 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
27097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27099 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
27100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27102 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
27103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27105 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
27106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27108 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
27109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27111 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
27112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27114 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
27115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27117 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
27118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27120 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
27121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27123 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
27124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
27126 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
27127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27129 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
27130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27132 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
27133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27135 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
27136 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27138 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
27139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27141 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
27142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27144 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
27145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27147 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
27148 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
27150 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
27151 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
27153 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
27154 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
27156 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
27157 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
27159 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
27160 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27162 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
27163 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27165 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
27166 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
27168 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27169 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27171 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27172 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27174 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27175 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27177 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27178 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27180 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27181 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27183 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
27184 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27186 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
27187 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27189 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27190 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27192 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27193 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27195 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27196 return (void *)((wxObject
*) ((wxSizer
*) x
));
27198 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27199 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27201 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
27202 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27204 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
27205 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27207 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27208 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27210 static void *_p_wxEventTo_p_wxObject(void *x
) {
27211 return (void *)((wxObject
*) ((wxEvent
*) x
));
27213 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27214 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27216 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27217 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27219 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27220 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27222 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
27223 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27225 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
27226 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27228 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
27229 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27231 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27232 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27234 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27235 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27237 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27238 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27240 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27241 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27243 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27244 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27246 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27247 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27249 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
27250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27252 static void *_p_wxControlTo_p_wxObject(void *x
) {
27253 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27255 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
27256 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27258 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
27259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27261 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
27262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27264 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
27265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27267 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
27268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27270 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27271 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27273 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
27274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27276 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27277 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27279 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27280 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27282 static void *_p_wxListViewTo_p_wxObject(void *x
) {
27283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27285 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
27286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27288 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
27289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27291 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27292 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27294 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27295 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27297 static void *_p_wxListbookTo_p_wxObject(void *x
) {
27298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27300 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27301 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27303 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
27304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27306 static void *_p_wxSliderTo_p_wxObject(void *x
) {
27307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27309 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27310 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27312 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27313 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27315 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27316 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27318 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27319 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27321 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27322 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27324 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27325 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27327 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27328 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27330 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27331 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27333 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27334 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27336 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
27337 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27339 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
27340 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
27342 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27343 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27345 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27346 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27348 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27349 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27351 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27352 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27354 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27355 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27357 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27358 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27360 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27361 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27363 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27364 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27366 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27367 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27369 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27370 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27372 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27373 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27375 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27376 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27378 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27379 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27381 static void *_p_wxListEventTo_p_wxObject(void *x
) {
27382 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
27384 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
27385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27387 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
27388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27390 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
27391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27393 static void *_p_wxButtonTo_p_wxObject(void *x
) {
27394 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27396 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
27397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27399 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
27400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27402 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
27403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27405 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
27406 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
27408 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
27409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27411 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
27412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27414 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
27415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
27417 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
27418 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
27420 static void *_p_wxListItemTo_p_wxObject(void *x
) {
27421 return (void *)((wxObject
*) ((wxListItem
*) x
));
27423 static void *_p_wxImageTo_p_wxObject(void *x
) {
27424 return (void *)((wxObject
*) ((wxImage
*) x
));
27426 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
27427 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
27429 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27430 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27432 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
27433 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
27435 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
27436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27438 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
27439 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27441 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
27442 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27444 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27445 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27447 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27448 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27450 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27451 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27453 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27454 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27456 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27457 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27459 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27462 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27463 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27465 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27466 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27468 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
27469 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
27471 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
27472 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
27474 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
27475 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
27477 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
27478 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
27480 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
27481 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
27483 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
27484 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27486 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
27487 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27489 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
27490 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
27492 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
27493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
27495 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
27496 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
27498 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
27499 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
27501 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
27502 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27504 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
27505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27507 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
27508 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
27510 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
27511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27513 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
27514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
27516 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
27517 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
27519 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
27520 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
27522 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
27523 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
27525 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
27526 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
27528 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
27529 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27531 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
27532 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
27534 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
27535 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
27537 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
27538 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
27540 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27541 return (void *)((wxWindow
*) ((wxControl
*) x
));
27543 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
27544 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
27546 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
27547 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27549 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
27550 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
27552 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
27553 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
27555 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
27556 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
27558 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
27559 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
27561 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27562 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27564 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
27565 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
27567 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
27568 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
27570 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
27571 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27573 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
27574 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
27576 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
27577 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
27579 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
27580 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
27582 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
27583 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27585 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
27586 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27588 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
27589 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27591 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
27592 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27594 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
27595 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27597 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
27598 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
27600 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
27601 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
27603 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
27604 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
27606 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
27607 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
27609 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
27610 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
27612 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
27613 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
27615 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
27616 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
27618 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
27619 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27621 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
27622 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27624 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
27625 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
27627 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
27628 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27630 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
27631 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27633 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
27634 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27636 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
27637 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
27639 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
27640 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27642 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
27643 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27645 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
27646 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27648 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
27649 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27651 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
27652 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27654 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
27655 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
27657 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
27658 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27660 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
27661 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27663 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
27664 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
27666 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
27667 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27669 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
27670 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27672 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
27673 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27675 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
27676 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
27678 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
27679 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
27681 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
27682 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
27684 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
27685 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
27687 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27688 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}};
27689 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}};
27690 static swig_type_info _swigt__p_wxTreeItemIdValue
[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27691 static swig_type_info _swigt__wxTreeItemIdValue
[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27692 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27693 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27694 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}};
27695 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27696 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27697 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27698 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}};
27699 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27700 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
27701 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27702 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}};
27703 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27704 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27705 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
27706 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27707 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27708 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27709 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
27710 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27711 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27712 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27713 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27714 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27715 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27716 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27717 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27718 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27719 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}};
27720 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27721 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27722 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27723 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27724 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27725 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27726 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27727 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27728 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}};
27729 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27730 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
27731 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27732 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}};
27733 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27734 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}};
27735 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
27736 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27737 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27738 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27739 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27740 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27741 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27742 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27743 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27744 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27745 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27746 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27747 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27748 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
27749 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27750 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27751 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27752 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27753 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27754 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}};
27755 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27756 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27757 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}};
27758 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27759 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27760 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27761 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27762 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}};
27763 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27764 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}};
27765 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27766 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27767 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27768 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27769 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
27771 static swig_type_info
*swig_types_initial
[] = {
27772 _swigt__p_wxTextUrlEvent
,
27773 _swigt__p_wxBookCtrlEvent
,
27775 _swigt__p_wxTreeItemIdValue
,
27776 _swigt__wxTreeItemIdValue
,
27777 _swigt__p_wxCheckBox
,
27778 _swigt__p_wxPyTreeCtrl
,
27780 _swigt__p_wxGenericDirCtrl
,
27782 _swigt__p_wxPyTreeItemData
,
27783 _swigt__p_wxItemContainer
,
27784 _swigt__p_wxDirFilterListCtrl
,
27785 _swigt__p_wxPyListCtrl
,
27786 _swigt__p_wxStaticLine
,
27787 _swigt__p_wxControl
,
27788 _swigt__p_wxPyControl
,
27790 _swigt__p_wxToolBarBase
,
27792 _swigt__p_wxToggleButton
,
27793 _swigt__p_wxRadioButton
,
27794 _swigt__p_wxChoice
,
27795 _swigt__p_wxMemoryDC
,
27796 _swigt__p_wxListItemAttr
,
27800 _swigt__p_wxListView
,
27802 _swigt__p_wxTextCtrl
,
27803 _swigt__p_wxNotebook
,
27804 _swigt__p_wxNotifyEvent
,
27805 _swigt__p_wxArrayString
,
27806 _swigt__p_wxListbook
,
27807 _swigt__p_wxStaticBitmap
,
27808 _swigt__p_wxSlider
,
27809 _swigt__p_wxStaticBox
,
27810 _swigt__p_wxArrayInt
,
27811 _swigt__p_wxContextHelp
,
27813 _swigt__p_wxEvtHandler
,
27814 _swigt__p_wxListEvent
,
27815 _swigt__p_wxListBox
,
27816 _swigt__p_wxCheckListBox
,
27817 _swigt__p_wxBookCtrl
,
27818 _swigt__p_wxSpinButton
,
27819 _swigt__p_wxButton
,
27820 _swigt__p_wxBitmapButton
,
27822 _swigt__p_wxContextHelpButton
,
27823 _swigt__p_wxRadioBox
,
27824 _swigt__p_wxScrollBar
,
27825 _swigt__p_wxTreeItemId
,
27826 _swigt__p_wxComboBox
,
27827 _swigt__p_wxHelpEvent
,
27828 _swigt__p_wxListItem
,
27829 _swigt__p_wxNotebookSizer
,
27830 _swigt__p_wxGenericDragImage
,
27831 _swigt__p_wxSpinCtrl
,
27832 _swigt__p_wxImageList
,
27833 _swigt__p_wxHelpProvider
,
27834 _swigt__p_wxTextAttr
,
27835 _swigt__p_wxSimpleHelpProvider
,
27837 _swigt__p_wxListbookEvent
,
27838 _swigt__p_wxNotebookEvent
,
27839 _swigt__p_wxObject
,
27840 _swigt__p_wxCursor
,
27841 _swigt__p_wxKeyEvent
,
27842 _swigt__p_wxWindow
,
27843 _swigt__p_wxString
,
27844 _swigt__p_wxBitmap
,
27845 _swigt__p_wxTreeEvent
,
27846 _swigt__p_wxMouseEvent
,
27847 _swigt__p_wxCommandEvent
,
27848 _swigt__p_wxStaticText
,
27849 _swigt__p_wxControlWithItems
,
27850 _swigt__p_wxToolBarToolBase
,
27851 _swigt__p_wxColour
,
27852 _swigt__p_wxToolBar
,
27853 _swigt__p_wxBookCtrlSizer
,
27854 _swigt__p_wxValidator
,
27859 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27861 static swig_const_info swig_const_table
[] = {
27862 { SWIG_PY_INT
, (char *)"BU_LEFT", (long) wxBU_LEFT
, 0, 0, 0},
27863 { SWIG_PY_INT
, (char *)"BU_TOP", (long) wxBU_TOP
, 0, 0, 0},
27864 { SWIG_PY_INT
, (char *)"BU_RIGHT", (long) wxBU_RIGHT
, 0, 0, 0},
27865 { SWIG_PY_INT
, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM
, 0, 0, 0},
27866 { SWIG_PY_INT
, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT
, 0, 0, 0},
27867 { SWIG_PY_INT
, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW
, 0, 0, 0},
27868 { SWIG_PY_INT
, (char *)"CHK_2STATE", (long) wxCHK_2STATE
, 0, 0, 0},
27869 { SWIG_PY_INT
, (char *)"CHK_3STATE", (long) wxCHK_3STATE
, 0, 0, 0},
27870 { SWIG_PY_INT
, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER
, 0, 0, 0},
27871 { SWIG_PY_INT
, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED
, 0, 0, 0},
27872 { SWIG_PY_INT
, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED
, 0, 0, 0},
27873 { SWIG_PY_INT
, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED
, 0, 0, 0},
27874 { SWIG_PY_INT
, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL
, 0, 0, 0},
27875 { SWIG_PY_INT
, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL
, 0, 0, 0},
27876 { SWIG_PY_INT
, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH
, 0, 0, 0},
27877 { SWIG_PY_INT
, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR
, 0, 0, 0},
27878 { SWIG_PY_INT
, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL
, 0, 0, 0},
27879 { SWIG_PY_INT
, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL
, 0, 0, 0},
27880 { SWIG_PY_INT
, (char *)"TE_READONLY", (long) wxTE_READONLY
, 0, 0, 0},
27881 { SWIG_PY_INT
, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE
, 0, 0, 0},
27882 { SWIG_PY_INT
, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB
, 0, 0, 0},
27883 { SWIG_PY_INT
, (char *)"TE_LEFT", (long) wxTE_LEFT
, 0, 0, 0},
27884 { SWIG_PY_INT
, (char *)"TE_CENTER", (long) wxTE_CENTER
, 0, 0, 0},
27885 { SWIG_PY_INT
, (char *)"TE_RIGHT", (long) wxTE_RIGHT
, 0, 0, 0},
27886 { SWIG_PY_INT
, (char *)"TE_CENTRE", (long) wxTE_CENTRE
, 0, 0, 0},
27887 { SWIG_PY_INT
, (char *)"TE_RICH", (long) wxTE_RICH
, 0, 0, 0},
27888 { SWIG_PY_INT
, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER
, 0, 0, 0},
27889 { SWIG_PY_INT
, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD
, 0, 0, 0},
27890 { SWIG_PY_INT
, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL
, 0, 0, 0},
27891 { SWIG_PY_INT
, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL
, 0, 0, 0},
27892 { SWIG_PY_INT
, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP
, 0, 0, 0},
27893 { SWIG_PY_INT
, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP
, 0, 0, 0},
27894 { SWIG_PY_INT
, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP
, 0, 0, 0},
27895 { SWIG_PY_INT
, (char *)"TE_RICH2", (long) wxTE_RICH2
, 0, 0, 0},
27896 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT
, 0, 0, 0},
27897 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT
, 0, 0, 0},
27898 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE
, 0, 0, 0},
27899 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER
, 0, 0, 0},
27900 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT
, 0, 0, 0},
27901 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED
, 0, 0, 0},
27902 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR
, 0, 0, 0},
27903 { SWIG_PY_INT
, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR
, 0, 0, 0},
27904 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE
, 0, 0, 0},
27905 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE
, 0, 0, 0},
27906 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT
, 0, 0, 0},
27907 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC
, 0, 0, 0},
27908 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE
, 0, 0, 0},
27909 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT
, 0, 0, 0},
27910 { SWIG_PY_INT
, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT
, 0, 0, 0},
27911 { SWIG_PY_INT
, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT
, 0, 0, 0},
27912 { SWIG_PY_INT
, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT
, 0, 0, 0},
27913 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS
, 0, 0, 0},
27914 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED
, 0, 0, 0},
27915 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER
, 0, 0, 0},
27916 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL
, 0, 0, 0},
27917 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN
, 0, 0, 0},
27918 { SWIG_PY_INT
, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL
, 0, 0, 0},
27919 { SWIG_PY_INT
, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL
, 0, 0, 0},
27920 { SWIG_PY_INT
, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS
, 0, 0, 0},
27921 { SWIG_PY_INT
, (char *)"SP_WRAP", (long) wxSP_WRAP
, 0, 0, 0},
27922 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED
, 0, 0, 0},
27923 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, 0, 0, 0},
27924 { SWIG_PY_INT
, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH
, 0, 0, 0},
27925 { SWIG_PY_INT
, (char *)"NB_TOP", (long) wxNB_TOP
, 0, 0, 0},
27926 { SWIG_PY_INT
, (char *)"NB_LEFT", (long) wxNB_LEFT
, 0, 0, 0},
27927 { SWIG_PY_INT
, (char *)"NB_RIGHT", (long) wxNB_RIGHT
, 0, 0, 0},
27928 { SWIG_PY_INT
, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM
, 0, 0, 0},
27929 { SWIG_PY_INT
, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE
, 0, 0, 0},
27930 { SWIG_PY_INT
, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE
, 0, 0, 0},
27931 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON
, 0, 0, 0},
27932 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL
, 0, 0, 0},
27933 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM
, 0, 0, 0},
27934 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, 0, 0, 0},
27935 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, 0, 0, 0},
27936 { SWIG_PY_INT
, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT
, 0, 0, 0},
27937 { SWIG_PY_INT
, (char *)"LB_TOP", (long) wxLB_TOP
, 0, 0, 0},
27938 { SWIG_PY_INT
, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM
, 0, 0, 0},
27939 { SWIG_PY_INT
, (char *)"LB_LEFT", (long) wxLB_LEFT
, 0, 0, 0},
27940 { SWIG_PY_INT
, (char *)"LB_RIGHT", (long) wxLB_RIGHT
, 0, 0, 0},
27941 { SWIG_PY_INT
, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK
, 0, 0, 0},
27942 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
, 0, 0, 0},
27943 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
, 0, 0, 0},
27944 { SWIG_PY_INT
, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON
, 0, 0, 0},
27945 { SWIG_PY_INT
, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR
, 0, 0, 0},
27946 { SWIG_PY_INT
, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL
, 0, 0, 0},
27947 { SWIG_PY_INT
, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL
, 0, 0, 0},
27948 { SWIG_PY_INT
, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL
, 0, 0, 0},
27949 { SWIG_PY_INT
, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS
, 0, 0, 0},
27950 { SWIG_PY_INT
, (char *)"TB_FLAT", (long) wxTB_FLAT
, 0, 0, 0},
27951 { SWIG_PY_INT
, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE
, 0, 0, 0},
27952 { SWIG_PY_INT
, (char *)"TB_NOICONS", (long) wxTB_NOICONS
, 0, 0, 0},
27953 { SWIG_PY_INT
, (char *)"TB_TEXT", (long) wxTB_TEXT
, 0, 0, 0},
27954 { SWIG_PY_INT
, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER
, 0, 0, 0},
27955 { SWIG_PY_INT
, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN
, 0, 0, 0},
27956 { SWIG_PY_INT
, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT
, 0, 0, 0},
27957 { SWIG_PY_INT
, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT
, 0, 0, 0},
27958 { SWIG_PY_INT
, (char *)"LC_VRULES", (long) wxLC_VRULES
, 0, 0, 0},
27959 { SWIG_PY_INT
, (char *)"LC_HRULES", (long) wxLC_HRULES
, 0, 0, 0},
27960 { SWIG_PY_INT
, (char *)"LC_ICON", (long) wxLC_ICON
, 0, 0, 0},
27961 { SWIG_PY_INT
, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON
, 0, 0, 0},
27962 { SWIG_PY_INT
, (char *)"LC_LIST", (long) wxLC_LIST
, 0, 0, 0},
27963 { SWIG_PY_INT
, (char *)"LC_REPORT", (long) wxLC_REPORT
, 0, 0, 0},
27964 { SWIG_PY_INT
, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP
, 0, 0, 0},
27965 { SWIG_PY_INT
, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT
, 0, 0, 0},
27966 { SWIG_PY_INT
, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE
, 0, 0, 0},
27967 { SWIG_PY_INT
, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL
, 0, 0, 0},
27968 { SWIG_PY_INT
, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS
, 0, 0, 0},
27969 { SWIG_PY_INT
, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER
, 0, 0, 0},
27970 { SWIG_PY_INT
, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER
, 0, 0, 0},
27971 { SWIG_PY_INT
, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL
, 0, 0, 0},
27972 { SWIG_PY_INT
, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING
, 0, 0, 0},
27973 { SWIG_PY_INT
, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING
, 0, 0, 0},
27974 { SWIG_PY_INT
, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE
, 0, 0, 0},
27975 { SWIG_PY_INT
, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN
, 0, 0, 0},
27976 { SWIG_PY_INT
, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT
, 0, 0, 0},
27977 { SWIG_PY_INT
, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE
, 0, 0, 0},
27978 { SWIG_PY_INT
, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT
, 0, 0, 0},
27979 { SWIG_PY_INT
, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE
, 0, 0, 0},
27980 { SWIG_PY_INT
, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA
, 0, 0, 0},
27981 { SWIG_PY_INT
, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM
, 0, 0, 0},
27982 { SWIG_PY_INT
, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH
, 0, 0, 0},
27983 { SWIG_PY_INT
, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT
, 0, 0, 0},
27984 { SWIG_PY_INT
, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE
, 0, 0, 0},
27985 { SWIG_PY_INT
, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED
, 0, 0, 0},
27986 { SWIG_PY_INT
, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED
, 0, 0, 0},
27987 { SWIG_PY_INT
, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED
, 0, 0, 0},
27988 { SWIG_PY_INT
, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT
, 0, 0, 0},
27989 { SWIG_PY_INT
, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED
, 0, 0, 0},
27990 { SWIG_PY_INT
, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED
, 0, 0, 0},
27991 { SWIG_PY_INT
, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE
, 0, 0, 0},
27992 { SWIG_PY_INT
, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED
, 0, 0, 0},
27993 { SWIG_PY_INT
, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE
, 0, 0, 0},
27994 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE
, 0, 0, 0},
27995 { SWIG_PY_INT
, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW
, 0, 0, 0},
27996 { SWIG_PY_INT
, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE
, 0, 0, 0},
27997 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON
, 0, 0, 0},
27998 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL
, 0, 0, 0},
27999 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28000 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28001 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT
, 0, 0, 0},
28002 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT
, 0, 0, 0},
28003 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM
, 0, 0, 0},
28004 { SWIG_PY_INT
, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE
, 0, 0, 0},
28005 { SWIG_PY_INT
, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL
, 0, 0, 0},
28006 { SWIG_PY_INT
, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW
, 0, 0, 0},
28007 { SWIG_PY_INT
, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT
, 0, 0, 0},
28008 { SWIG_PY_INT
, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT
, 0, 0, 0},
28009 { SWIG_PY_INT
, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT
, 0, 0, 0},
28010 { SWIG_PY_INT
, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT
, 0, 0, 0},
28011 { SWIG_PY_INT
, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP
, 0, 0, 0},
28012 { SWIG_PY_INT
, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID
, 0, 0, 0},
28013 { SWIG_PY_INT
, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT
, 0, 0, 0},
28014 { SWIG_PY_INT
, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT
, 0, 0, 0},
28015 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE
, 0, 0, 0},
28016 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER
, 0, 0, 0},
28017 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE
, 0, 0, 0},
28018 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER
, 0, 0, 0},
28019 { SWIG_PY_INT
, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS
, 0, 0, 0},
28020 { SWIG_PY_INT
, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON
, 0, 0, 0},
28021 { SWIG_PY_INT
, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL
, 0, 0, 0},
28022 { SWIG_PY_INT
, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP
, 0, 0, 0},
28023 { SWIG_PY_INT
, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN
, 0, 0, 0},
28024 { SWIG_PY_INT
, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT
, 0, 0, 0},
28025 { SWIG_PY_INT
, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT
, 0, 0, 0},
28026 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG
, 0, 0, 0},
28027 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
, 0, 0, 0},
28028 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, 0, 0, 0},
28029 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
, 0, 0, 0},
28030 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM
, 0, 0, 0},
28031 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, 0, 0, 0},
28032 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO
, 0, 0, 0},
28033 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO
, 0, 0, 0},
28034 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED
, 0, 0, 0},
28035 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
, 0, 0, 0},
28036 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN
, 0, 0, 0},
28037 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM
, 0, 0, 0},
28038 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK
, 0, 0, 0},
28039 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
, 0, 0, 0},
28040 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28041 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, 0, 0, 0},
28042 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT
, 0, 0, 0},
28043 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
, 0, 0, 0},
28044 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
, 0, 0, 0},
28045 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING
, 0, 0, 0},
28046 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG
, 0, 0, 0},
28047 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
, 0, 0, 0},
28048 { SWIG_PY_INT
, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS
, 0, 0, 0},
28049 { SWIG_PY_INT
, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS
, 0, 0, 0},
28050 { SWIG_PY_INT
, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES
, 0, 0, 0},
28051 { SWIG_PY_INT
, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT
, 0, 0, 0},
28052 { SWIG_PY_INT
, (char *)"TR_SINGLE", (long) wxTR_SINGLE
, 0, 0, 0},
28053 { SWIG_PY_INT
, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE
, 0, 0, 0},
28054 { SWIG_PY_INT
, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED
, 0, 0, 0},
28055 { SWIG_PY_INT
, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT
, 0, 0, 0},
28056 { SWIG_PY_INT
, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS
, 0, 0, 0},
28057 { SWIG_PY_INT
, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT
, 0, 0, 0},
28058 { SWIG_PY_INT
, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES
, 0, 0, 0},
28059 { SWIG_PY_INT
, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT
, 0, 0, 0},
28060 { SWIG_PY_INT
, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE
, 0, 0, 0},
28061 { SWIG_PY_INT
, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS
, 0, 0, 0},
28062 { SWIG_PY_INT
, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS
, 0, 0, 0},
28063 { SWIG_PY_INT
, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS
, 0, 0, 0},
28064 { SWIG_PY_INT
, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal
, 0, 0, 0},
28065 { SWIG_PY_INT
, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected
, 0, 0, 0},
28066 { SWIG_PY_INT
, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded
, 0, 0, 0},
28067 { SWIG_PY_INT
, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded
, 0, 0, 0},
28068 { SWIG_PY_INT
, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max
, 0, 0, 0},
28069 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE
, 0, 0, 0},
28070 { SWIG_PY_INT
, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW
, 0, 0, 0},
28071 { SWIG_PY_INT
, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE
, 0, 0, 0},
28072 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON
, 0, 0, 0},
28073 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON
, 0, 0, 0},
28074 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT
, 0, 0, 0},
28075 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL
, 0, 0, 0},
28076 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28077 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28078 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT
, 0, 0, 0},
28079 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT
, 0, 0, 0},
28080 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART
, 0, 0, 0},
28081 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART
, 0, 0, 0},
28082 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM
, 0, 0, 0},
28083 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG
, 0, 0, 0},
28084 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
, 0, 0, 0},
28085 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, 0, 0, 0},
28086 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
, 0, 0, 0},
28087 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM
, 0, 0, 0},
28088 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO
, 0, 0, 0},
28089 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO
, 0, 0, 0},
28090 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
, 0, 0, 0},
28091 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
, 0, 0, 0},
28092 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, 0, 0, 0},
28093 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, 0, 0, 0},
28094 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED
, 0, 0, 0},
28095 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING
, 0, 0, 0},
28096 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN
, 0, 0, 0},
28097 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
, 0, 0, 0},
28098 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
, 0, 0, 0},
28099 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28100 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG
, 0, 0, 0},
28101 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
, 0, 0, 0},
28102 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
, 0, 0, 0},
28103 { SWIG_PY_INT
, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY
, 0, 0, 0},
28104 { SWIG_PY_INT
, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST
, 0, 0, 0},
28105 { SWIG_PY_INT
, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS
, 0, 0, 0},
28106 { SWIG_PY_INT
, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL
, 0, 0, 0},
28107 { SWIG_PY_INT
, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS
, 0, 0, 0},
28108 { SWIG_PY_INT
, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP
, 0, 0, 0},
28109 { SWIG_PY_INT
, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP
, 0, 0, 0},
28110 { SWIG_PY_INT
, (char *)"wxEVT_HELP", (long) wxEVT_HELP
, 0, 0, 0},
28111 { SWIG_PY_INT
, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP
, 0, 0, 0},
28121 SWIGEXPORT(void) SWIG_init(void) {
28122 static PyObject
*SWIG_globals
= 0;
28123 static int typeinit
= 0;
28126 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28127 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28128 d
= PyModule_GetDict(m
);
28131 for (i
= 0; swig_types_initial
[i
]; i
++) {
28132 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28136 SWIG_InstallConstants(d
,swig_const_table
);
28138 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
28139 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
28140 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
28141 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
28142 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
28143 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
28144 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
28145 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
28146 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
28147 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
28148 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
28149 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
28150 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
28151 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
28152 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
28153 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
28154 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
28155 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
28156 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
28157 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
28158 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
28159 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
28160 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
28161 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
28162 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
28163 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
28164 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
28165 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
28166 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
28167 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
28168 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
28169 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
28171 // Map renamed classes back to their common name for OOR
28172 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28174 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
28175 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
28176 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
28177 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
28178 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
28179 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
28180 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
28181 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
28182 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
28183 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
28184 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
28185 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
28186 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
28187 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
28188 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
28189 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
28190 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
28191 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
28192 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
28193 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
28195 // Map renamed classes back to their common name for OOR
28196 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28197 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28199 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
28200 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
28202 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");