1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
150 /* Flags for pointer conversion */
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
158 /* Constant information structure */
159 typedef struct swig_const_info
{
165 swig_type_info
**ptype
;
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
200 /* Contract support */
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
210 /* -------- TYPES TABLE (BEGIN) -------- */
212 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
213 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
214 #define SWIGTYPE_p_wxSizer swig_types[2]
215 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
216 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
217 #define SWIGTYPE_p_wxCheckBox swig_types[5]
218 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
221 #define SWIGTYPE_p_bool swig_types[9]
222 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
223 #define SWIGTYPE_p_wxItemContainer swig_types[11]
224 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
225 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
226 #define SWIGTYPE_p_wxStaticLine swig_types[14]
227 #define SWIGTYPE_p_wxControl swig_types[15]
228 #define SWIGTYPE_p_wxPyControl swig_types[16]
229 #define SWIGTYPE_p_wxGauge swig_types[17]
230 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
231 #define SWIGTYPE_p_wxFont swig_types[19]
232 #define SWIGTYPE_p_wxToggleButton swig_types[20]
233 #define SWIGTYPE_p_wxRadioButton swig_types[21]
234 #define SWIGTYPE_p_wxChoice swig_types[22]
235 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
236 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
237 #define SWIGTYPE_p_int swig_types[25]
238 #define SWIGTYPE_p_wxSize swig_types[26]
239 #define SWIGTYPE_p_wxDC swig_types[27]
240 #define SWIGTYPE_p_wxListView swig_types[28]
241 #define SWIGTYPE_p_wxIcon swig_types[29]
242 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
243 #define SWIGTYPE_p_wxNotebook swig_types[31]
244 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
245 #define SWIGTYPE_p_wxArrayString swig_types[33]
246 #define SWIGTYPE_p_wxListbook swig_types[34]
247 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
248 #define SWIGTYPE_p_wxSlider swig_types[36]
249 #define SWIGTYPE_p_wxStaticBox swig_types[37]
250 #define SWIGTYPE_p_wxArrayInt swig_types[38]
251 #define SWIGTYPE_p_wxContextHelp swig_types[39]
252 #define SWIGTYPE_p_long swig_types[40]
253 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
254 #define SWIGTYPE_p_wxListEvent swig_types[42]
255 #define SWIGTYPE_p_wxListBox swig_types[43]
256 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
257 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
258 #define SWIGTYPE_p_wxSpinButton swig_types[46]
259 #define SWIGTYPE_p_wxButton swig_types[47]
260 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
261 #define SWIGTYPE_p_wxRect swig_types[49]
262 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
263 #define SWIGTYPE_p_wxRadioBox swig_types[51]
264 #define SWIGTYPE_p_wxScrollBar swig_types[52]
265 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
266 #define SWIGTYPE_p_wxComboBox swig_types[54]
267 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
268 #define SWIGTYPE_p_wxListItem swig_types[56]
269 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
270 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
271 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
272 #define SWIGTYPE_p_wxImageList swig_types[60]
273 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
274 #define SWIGTYPE_p_wxTextAttr swig_types[62]
275 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
276 #define SWIGTYPE_p_wxPoint swig_types[64]
277 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
278 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
279 #define SWIGTYPE_p_wxObject swig_types[67]
280 #define SWIGTYPE_p_wxCursor swig_types[68]
281 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
282 #define SWIGTYPE_p_wxWindow swig_types[70]
283 #define SWIGTYPE_p_wxString swig_types[71]
284 #define SWIGTYPE_p_wxBitmap swig_types[72]
285 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
286 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
288 #define SWIGTYPE_p_wxStaticText swig_types[76]
289 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
290 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
291 #define SWIGTYPE_p_wxColour swig_types[79]
292 #define SWIGTYPE_p_wxToolBar swig_types[80]
293 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
294 #define SWIGTYPE_p_wxValidator swig_types[82]
295 static swig_type_info
*swig_types
[84];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _controls.so
302 ------------------------------------------------*/
303 #define SWIG_init init_controls
305 #define SWIG_name "_controls"
307 #include "wx/wxPython/wxPython.h"
308 #include "wx/wxPython/pyclasses.h"
310 DECLARE_DEF_STRING(PanelNameStr
);
311 DECLARE_DEF_STRING(EmptyString
);
312 DECLARE_DEF_STRING(ControlNameStr
);
316 DECLARE_DEF_STRING(ButtonNameStr
);
319 DECLARE_DEF_STRING(CheckBoxNameStr
);
322 DECLARE_DEF_STRING(ChoiceNameStr
);
325 DECLARE_DEF_STRING(ComboBoxNameStr
);
328 DECLARE_DEF_STRING(GaugeNameStr
);
331 DECLARE_DEF_STRING(StaticBitmapNameStr
);
332 DECLARE_DEF_STRING(StaticBoxNameStr
);
333 DECLARE_DEF_STRING(StaticTextNameStr
);
336 #include <wx/checklst.h>
338 DECLARE_DEF_STRING(ListBoxNameStr
);
340 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
342 wxPyClientData
* data
= new wxPyClientData(clientData
);
343 self
->Insert(item
, pos
, data
);
345 self
->Insert(item
, pos
);
347 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
349 self
->GetSelections(lst
);
350 PyObject
*tup
= PyTuple_New(lst
.GetCount());
351 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
352 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
357 DECLARE_DEF_STRING(TextCtrlNameStr
);
360 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
366 } else if (target
== Py_None
) {
370 if (!PyTuple_Check(target
)) {
372 target
= PyTuple_New(1);
373 PyTuple_SetItem(target
, 0, o2
);
376 PyTuple_SetItem(o3
, 0, o
);
379 target
= PySequence_Concat(o2
, o3
);
386 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
387 self
->AppendText(text
);
389 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
390 return self
->GetValue().Mid(from
, to
- from
);
393 DECLARE_DEF_STRING(ScrollBarNameStr
);
396 DECLARE_DEF_STRING(SPIN_BUTTON_NAME
);
397 wxChar
* wxSpinCtrlNameStr
= _T("wxSpinCtrl");
398 DECLARE_DEF_STRING(SpinCtrlNameStr
);
401 DECLARE_DEF_STRING(RadioBoxNameStr
);
402 DECLARE_DEF_STRING(RadioButtonNameStr
);
405 #include <wx/slider.h>
407 DECLARE_DEF_STRING(SliderNameStr
);
410 wxChar
* wxToggleButtonNameStr
= _T("wxToggleButton");
411 DECLARE_DEF_STRING(ToggleButtonNameStr
);
415 // implement dummy classes and such for wxMac
417 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
419 class wxToggleButton
: public wxControl
422 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
423 const wxPoint
&, const wxSize
&, long,
424 const wxValidator
&, const wxString
&)
425 { PyErr_SetNone(PyExc_NotImplementedError
); }
428 { PyErr_SetNone(PyExc_NotImplementedError
); }
433 DECLARE_DEF_STRING(NOTEBOOK_NAME
);
436 DECLARE_DEF_STRING(ToolBarNameStr
);
438 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
439 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
441 Py_INCREF(udata
->m_obj
);
448 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
449 self
->SetClientData(new wxPyUserData(clientData
));
451 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
452 wxPyUserData
* udata
= NULL
;
453 if (clientData
&& clientData
!= Py_None
)
454 udata
= new wxPyUserData(clientData
);
455 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
456 shortHelp
, longHelp
, udata
);
458 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
459 wxPyUserData
* udata
= NULL
;
460 if (clientData
&& clientData
!= Py_None
)
461 udata
= new wxPyUserData(clientData
);
462 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
463 shortHelp
, longHelp
, udata
);
465 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
466 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
468 Py_INCREF(udata
->m_obj
);
475 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
476 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
479 #include <wx/listctrl.h>
481 const wxChar
* wxListCtrlNameStr
= _T("wxListCtrl");
482 DECLARE_DEF_STRING(ListCtrlNameStr
);
484 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
485 // Python aware sorting function for wxPyListCtrl
486 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
488 PyObject
* func
= (PyObject
*)funcPtr
;
489 wxPyBeginBlockThreads();
491 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
492 PyObject
* result
= PyEval_CallObject(func
, args
);
495 retval
= PyInt_AsLong(result
);
499 wxPyEndBlockThreads();
503 // C++ Version of a Python aware class
504 class wxPyListCtrl
: public wxListCtrl
{
505 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
507 wxPyListCtrl() : wxListCtrl() {}
508 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
512 const wxValidator
& validator
,
513 const wxString
& name
) :
514 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
516 bool Create(wxWindow
* parent
, wxWindowID id
,
520 const wxValidator
& validator
,
521 const wxString
& name
) {
522 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
525 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
526 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
527 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
532 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
534 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
535 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
536 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
538 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
540 item
.SetMask( wxLIST_MASK_STATE
|
548 if (self
->GetColumn(col
, item
))
549 return new wxListItem(item
);
553 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
554 wxListItem
* info
= new wxListItem
;
555 info
->m_itemId
= itemId
;
557 info
->m_mask
= 0xFFFF;
558 self
->GetItem(*info
);
561 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
563 self
->GetItemPosition(item
, pos
);
566 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
568 self
->GetItemRect(item
, rect
, code
);
571 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
572 if (!PyCallable_Check(func
))
574 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
576 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
584 #include <wx/treectrl.h>
585 #include "wx/wxPython/pytree.h"
587 const wxChar
* wx_TreeCtrlNameStr
= _T("wxTreeCtrl");
588 DECLARE_DEF_STRING(_TreeCtrlNameStr
);
590 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
591 if (!other
) return False
;
592 return *self
== *other
;
594 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
595 if (!other
) return True
;
596 return *self
!= *other
;
598 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
599 // C++ version of Python aware wxTreeCtrl
600 class wxPyTreeCtrl
: public wxTreeCtrl
{
601 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
603 wxPyTreeCtrl() : wxTreeCtrl() {}
604 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
608 const wxValidator
& validator
,
609 const wxString
& name
) :
610 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
612 bool Create(wxWindow
*parent
, wxWindowID id
,
616 const wxValidator
& validator
,
617 const wxString
& name
) {
618 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
622 int OnCompareItems(const wxTreeItemId
& item1
,
623 const wxTreeItemId
& item2
) {
626 wxPyBeginBlockThreads();
627 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
628 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
629 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
630 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
634 wxPyEndBlockThreads();
636 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
642 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
645 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
646 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
648 data
= new wxPyTreeItemData();
649 data
->SetId(item
); // set the id
650 self
->SetItemData(item
, data
);
654 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
655 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
657 data
= new wxPyTreeItemData();
658 data
->SetId(item
); // set the id
659 self
->SetItemData(item
, data
);
661 return data
->GetData();
663 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
664 data
->SetId(item
); // set the id
665 self
->SetItemData(item
, data
);
667 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
668 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
670 data
= new wxPyTreeItemData(obj
);
671 data
->SetId(item
); // set the id
672 self
->SetItemData(item
, data
);
676 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
677 wxPyBeginBlockThreads();
678 PyObject
* rval
= PyList_New(0);
679 wxArrayTreeItemIds array
;
681 num
= self
->GetSelections(array
);
682 for (x
=0; x
< num
; x
++) {
683 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
684 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
685 PyList_Append(rval
, item
);
687 wxPyEndBlockThreads();
690 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
691 wxTreeItemIdValue cookie
= 0;
692 wxTreeItemId ritem
= self
->GetFirstChild(item
, cookie
);
693 wxPyBeginBlockThreads();
694 PyObject
* tup
= PyTuple_New(2);
695 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
696 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
697 wxPyEndBlockThreads();
700 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxTreeItemIdValue
&cookie
){
701 wxTreeItemId ritem
= self
->GetNextChild(item
, cookie
);
702 wxPyBeginBlockThreads();
703 PyObject
* tup
= PyTuple_New(2);
704 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
705 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
706 wxPyEndBlockThreads();
709 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
711 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
712 wxPyBeginBlockThreads();
713 wxRect
* r
= new wxRect(rect
);
714 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
715 wxPyEndBlockThreads();
722 DECLARE_DEF_STRING(DirDialogDefaultFolderStr
);
724 // C++ version of Python aware wxControl
725 class wxPyControl
: public wxControl
727 DECLARE_DYNAMIC_CLASS(wxPyControl
)
729 wxPyControl() : wxControl() {}
730 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
731 const wxPoint
& pos
= wxDefaultPosition
,
732 const wxSize
& size
= wxDefaultSize
,
734 const wxValidator
& validator
=wxDefaultValidator
,
735 const wxString
& name
= wxPyControlNameStr
)
736 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
739 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
740 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
741 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
742 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
744 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
745 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
746 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
748 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
749 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
751 DEC_PYCALLBACK__(InitDialog
);
752 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
753 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
754 DEC_PYCALLBACK_BOOL_(Validate
);
756 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
757 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
758 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
760 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
761 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
766 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
768 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
769 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
770 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
771 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
773 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
774 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
775 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
777 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
778 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
780 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
781 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
782 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
783 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
785 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
786 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
787 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
789 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
790 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
795 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
797 #include <wx/generic/dragimgg.h>
802 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
804 wxWindow
*arg1
= (wxWindow
*) 0 ;
807 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
808 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
809 wxSize
const &arg5_defvalue
= wxDefaultSize
;
810 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
811 long arg6
= (long) 0 ;
812 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
813 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
814 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
815 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
821 PyObject
* obj0
= 0 ;
822 PyObject
* obj2
= 0 ;
823 PyObject
* obj3
= 0 ;
824 PyObject
* obj4
= 0 ;
825 PyObject
* obj6
= 0 ;
826 PyObject
* obj7
= 0 ;
828 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_Button",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
834 arg3
= wxString_in_helper(obj2
);
835 if (arg3
== NULL
) SWIG_fail
;
841 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
847 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
851 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
853 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
858 arg8
= wxString_in_helper(obj7
);
859 if (arg8
== NULL
) SWIG_fail
;
864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
865 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
867 wxPyEndAllowThreads(__tstate
);
868 if (PyErr_Occurred()) SWIG_fail
;
871 resultobj
= wxPyMake_wxObject(result
);
895 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
905 result
= (wxButton
*)new wxButton();
907 wxPyEndAllowThreads(__tstate
);
908 if (PyErr_Occurred()) SWIG_fail
;
911 resultobj
= wxPyMake_wxObject(result
);
919 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
921 wxButton
*arg1
= (wxButton
*) 0 ;
922 wxWindow
*arg2
= (wxWindow
*) 0 ;
925 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
926 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
927 wxSize
const &arg6_defvalue
= wxDefaultSize
;
928 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
929 long arg7
= (long) 0 ;
930 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
931 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
932 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
933 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
939 PyObject
* obj0
= 0 ;
940 PyObject
* obj1
= 0 ;
941 PyObject
* obj3
= 0 ;
942 PyObject
* obj4
= 0 ;
943 PyObject
* obj5
= 0 ;
944 PyObject
* obj7
= 0 ;
945 PyObject
* obj8
= 0 ;
947 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:Button_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
952 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
954 arg4
= wxString_in_helper(obj3
);
955 if (arg4
== NULL
) SWIG_fail
;
961 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
967 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
971 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
973 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
978 arg9
= wxString_in_helper(obj8
);
979 if (arg9
== NULL
) SWIG_fail
;
984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
985 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
987 wxPyEndAllowThreads(__tstate
);
988 if (PyErr_Occurred()) SWIG_fail
;
990 resultobj
= PyInt_FromLong((long)result
);
1013 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1014 PyObject
*resultobj
;
1015 wxButton
*arg1
= (wxButton
*) 0 ;
1016 PyObject
* obj0
= 0 ;
1018 (char *) "self", NULL
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 (arg1
)->SetDefault();
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) SWIG_fail
;
1030 Py_INCREF(Py_None
); resultobj
= Py_None
;
1037 static PyObject
*_wrap_Button_SetImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1038 PyObject
*resultobj
;
1039 wxButton
*arg1
= (wxButton
*) 0 ;
1040 wxBitmap
*arg2
= 0 ;
1041 PyObject
* obj0
= 0 ;
1042 PyObject
* obj1
= 0 ;
1044 (char *) "self",(char *) "bitmap", NULL
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Button_SetImageLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1049 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1051 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1055 (arg1
)->SetImageLabel((wxBitmap
const &)*arg2
);
1057 wxPyEndAllowThreads(__tstate
);
1058 if (PyErr_Occurred()) SWIG_fail
;
1060 Py_INCREF(Py_None
); resultobj
= Py_None
;
1067 static PyObject
*_wrap_Button_SetImageMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
*resultobj
;
1069 wxButton
*arg1
= (wxButton
*) 0 ;
1072 PyObject
* obj0
= 0 ;
1074 (char *) "self",(char *) "x",(char *) "y", NULL
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Button_SetImageMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1081 (arg1
)->SetImageMargins(arg2
,arg3
);
1083 wxPyEndAllowThreads(__tstate
);
1084 if (PyErr_Occurred()) SWIG_fail
;
1086 Py_INCREF(Py_None
); resultobj
= Py_None
;
1093 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1094 PyObject
*resultobj
;
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1103 result
= wxButton::GetDefaultSize();
1105 wxPyEndAllowThreads(__tstate
);
1106 if (PyErr_Occurred()) SWIG_fail
;
1110 resultptr
= new wxSize((wxSize
&) result
);
1111 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1119 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1122 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1124 return Py_BuildValue((char *)"");
1126 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1127 PyObject
*resultobj
;
1128 wxWindow
*arg1
= (wxWindow
*) 0 ;
1130 wxBitmap
*arg3
= 0 ;
1131 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1132 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1133 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1134 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1135 long arg6
= (long) wxBU_AUTODRAW
;
1136 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1137 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1138 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1139 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1140 wxBitmapButton
*result
;
1143 bool temp8
= False
;
1144 PyObject
* obj0
= 0 ;
1145 PyObject
* obj2
= 0 ;
1146 PyObject
* obj3
= 0 ;
1147 PyObject
* obj4
= 0 ;
1148 PyObject
* obj6
= 0 ;
1149 PyObject
* obj7
= 0 ;
1151 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_BitmapButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1156 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1158 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1163 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1169 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1173 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1175 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1180 arg8
= wxString_in_helper(obj7
);
1181 if (arg8
== NULL
) SWIG_fail
;
1186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1187 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1189 wxPyEndAllowThreads(__tstate
);
1190 if (PyErr_Occurred()) SWIG_fail
;
1193 resultobj
= wxPyMake_wxObject(result
);
1209 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1210 PyObject
*resultobj
;
1211 wxBitmapButton
*result
;
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1219 result
= (wxBitmapButton
*)new wxBitmapButton();
1221 wxPyEndAllowThreads(__tstate
);
1222 if (PyErr_Occurred()) SWIG_fail
;
1225 resultobj
= wxPyMake_wxObject(result
);
1233 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1234 PyObject
*resultobj
;
1235 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1236 wxWindow
*arg2
= (wxWindow
*) 0 ;
1238 wxBitmap
*arg4
= 0 ;
1239 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1240 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1241 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1242 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1243 long arg7
= (long) wxBU_AUTODRAW
;
1244 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1245 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1246 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1247 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1251 bool temp9
= False
;
1252 PyObject
* obj0
= 0 ;
1253 PyObject
* obj1
= 0 ;
1254 PyObject
* obj3
= 0 ;
1255 PyObject
* obj4
= 0 ;
1256 PyObject
* obj5
= 0 ;
1257 PyObject
* obj7
= 0 ;
1258 PyObject
* obj8
= 0 ;
1260 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1265 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1266 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1268 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1273 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1279 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1283 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1285 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1290 arg9
= wxString_in_helper(obj8
);
1291 if (arg9
== NULL
) SWIG_fail
;
1296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1297 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1299 wxPyEndAllowThreads(__tstate
);
1300 if (PyErr_Occurred()) SWIG_fail
;
1302 resultobj
= PyInt_FromLong((long)result
);
1317 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
*resultobj
;
1319 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1321 PyObject
* obj0
= 0 ;
1323 (char *) "self", NULL
1326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 result
= (arg1
)->GetBitmapLabel();
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) SWIG_fail
;
1336 wxBitmap
* resultptr
;
1337 resultptr
= new wxBitmap((wxBitmap
&) result
);
1338 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1346 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
*resultobj
;
1348 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1350 PyObject
* obj0
= 0 ;
1352 (char *) "self", NULL
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1359 result
= (arg1
)->GetBitmapDisabled();
1361 wxPyEndAllowThreads(__tstate
);
1362 if (PyErr_Occurred()) SWIG_fail
;
1365 wxBitmap
* resultptr
;
1366 resultptr
= new wxBitmap((wxBitmap
&) result
);
1367 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1375 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
*resultobj
;
1377 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1379 PyObject
* obj0
= 0 ;
1381 (char *) "self", NULL
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1388 result
= (arg1
)->GetBitmapFocus();
1390 wxPyEndAllowThreads(__tstate
);
1391 if (PyErr_Occurred()) SWIG_fail
;
1394 wxBitmap
* resultptr
;
1395 resultptr
= new wxBitmap((wxBitmap
&) result
);
1396 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1404 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
*resultobj
;
1406 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1408 PyObject
* obj0
= 0 ;
1410 (char *) "self", NULL
1413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1417 result
= (arg1
)->GetBitmapSelected();
1419 wxPyEndAllowThreads(__tstate
);
1420 if (PyErr_Occurred()) SWIG_fail
;
1423 wxBitmap
* resultptr
;
1424 resultptr
= new wxBitmap((wxBitmap
&) result
);
1425 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1433 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1434 PyObject
*resultobj
;
1435 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1436 wxBitmap
*arg2
= 0 ;
1437 PyObject
* obj0
= 0 ;
1438 PyObject
* obj1
= 0 ;
1440 (char *) "self",(char *) "bitmap", NULL
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1445 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1447 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) SWIG_fail
;
1456 Py_INCREF(Py_None
); resultobj
= Py_None
;
1463 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
*resultobj
;
1465 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1466 wxBitmap
*arg2
= 0 ;
1467 PyObject
* obj0
= 0 ;
1468 PyObject
* obj1
= 0 ;
1470 (char *) "self",(char *) "bitmap", NULL
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1475 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1477 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1481 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1483 wxPyEndAllowThreads(__tstate
);
1484 if (PyErr_Occurred()) SWIG_fail
;
1486 Py_INCREF(Py_None
); resultobj
= Py_None
;
1493 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
*resultobj
;
1495 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1496 wxBitmap
*arg2
= 0 ;
1497 PyObject
* obj0
= 0 ;
1498 PyObject
* obj1
= 0 ;
1500 (char *) "self",(char *) "bitmap", NULL
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1505 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1507 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1511 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1513 wxPyEndAllowThreads(__tstate
);
1514 if (PyErr_Occurred()) SWIG_fail
;
1516 Py_INCREF(Py_None
); resultobj
= Py_None
;
1523 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
*resultobj
;
1525 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1526 wxBitmap
*arg2
= 0 ;
1527 PyObject
* obj0
= 0 ;
1528 PyObject
* obj1
= 0 ;
1530 (char *) "self",(char *) "bitmap", NULL
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1535 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1537 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1541 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1543 wxPyEndAllowThreads(__tstate
);
1544 if (PyErr_Occurred()) SWIG_fail
;
1546 Py_INCREF(Py_None
); resultobj
= Py_None
;
1553 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1554 PyObject
*resultobj
;
1555 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1558 PyObject
* obj0
= 0 ;
1560 (char *) "self",(char *) "x",(char *) "y", NULL
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:BitmapButton_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1567 (arg1
)->SetMargins(arg2
,arg3
);
1569 wxPyEndAllowThreads(__tstate
);
1570 if (PyErr_Occurred()) SWIG_fail
;
1572 Py_INCREF(Py_None
); resultobj
= Py_None
;
1579 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1580 PyObject
*resultobj
;
1581 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1583 PyObject
* obj0
= 0 ;
1585 (char *) "self", NULL
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1592 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1594 wxPyEndAllowThreads(__tstate
);
1595 if (PyErr_Occurred()) SWIG_fail
;
1597 resultobj
= PyInt_FromLong((long)result
);
1604 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
*resultobj
;
1606 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1608 PyObject
* obj0
= 0 ;
1610 (char *) "self", NULL
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1617 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1619 wxPyEndAllowThreads(__tstate
);
1620 if (PyErr_Occurred()) SWIG_fail
;
1622 resultobj
= PyInt_FromLong((long)result
);
1629 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1632 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1634 return Py_BuildValue((char *)"");
1636 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
*resultobj
;
1638 wxWindow
*arg1
= (wxWindow
*) 0 ;
1640 wxString
*arg3
= 0 ;
1641 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1642 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1643 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1644 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1645 long arg6
= (long) 0 ;
1646 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1647 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1648 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1649 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1651 bool temp3
= False
;
1654 bool temp8
= False
;
1655 PyObject
* obj0
= 0 ;
1656 PyObject
* obj2
= 0 ;
1657 PyObject
* obj3
= 0 ;
1658 PyObject
* obj4
= 0 ;
1659 PyObject
* obj6
= 0 ;
1660 PyObject
* obj7
= 0 ;
1662 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_CheckBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1668 arg3
= wxString_in_helper(obj2
);
1669 if (arg3
== NULL
) SWIG_fail
;
1675 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1681 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1685 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1687 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1692 arg8
= wxString_in_helper(obj7
);
1693 if (arg8
== NULL
) SWIG_fail
;
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1704 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1727 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
*resultobj
;
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1737 result
= (wxCheckBox
*)new wxCheckBox();
1739 wxPyEndAllowThreads(__tstate
);
1740 if (PyErr_Occurred()) SWIG_fail
;
1742 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1749 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1750 PyObject
*resultobj
;
1751 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1752 wxWindow
*arg2
= (wxWindow
*) 0 ;
1754 wxString
*arg4
= 0 ;
1755 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1756 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1757 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1758 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1759 long arg7
= (long) 0 ;
1760 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1761 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1762 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1763 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1765 bool temp4
= False
;
1768 bool temp9
= False
;
1769 PyObject
* obj0
= 0 ;
1770 PyObject
* obj1
= 0 ;
1771 PyObject
* obj3
= 0 ;
1772 PyObject
* obj4
= 0 ;
1773 PyObject
* obj5
= 0 ;
1774 PyObject
* obj7
= 0 ;
1775 PyObject
* obj8
= 0 ;
1777 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1782 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1784 arg4
= wxString_in_helper(obj3
);
1785 if (arg4
== NULL
) SWIG_fail
;
1791 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1797 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1801 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1803 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1808 arg9
= wxString_in_helper(obj8
);
1809 if (arg9
== NULL
) SWIG_fail
;
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1820 resultobj
= PyInt_FromLong((long)result
);
1843 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
*resultobj
;
1845 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1847 PyObject
* obj0
= 0 ;
1849 (char *) "self", NULL
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
1853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1856 result
= (bool)(arg1
)->GetValue();
1858 wxPyEndAllowThreads(__tstate
);
1859 if (PyErr_Occurred()) SWIG_fail
;
1861 resultobj
= PyInt_FromLong((long)result
);
1868 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
*resultobj
;
1870 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1872 PyObject
* obj0
= 0 ;
1874 (char *) "self", NULL
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
1878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 result
= (bool)(arg1
)->IsChecked();
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1886 resultobj
= PyInt_FromLong((long)result
);
1893 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
*resultobj
;
1895 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1897 PyObject
* obj0
= 0 ;
1898 PyObject
* obj1
= 0 ;
1900 (char *) "self",(char *) "state", NULL
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
1904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1905 arg2
= PyInt_AsLong(obj1
) ? true : false;
1906 if (PyErr_Occurred()) SWIG_fail
;
1908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1909 (arg1
)->SetValue(arg2
);
1911 wxPyEndAllowThreads(__tstate
);
1912 if (PyErr_Occurred()) SWIG_fail
;
1914 Py_INCREF(Py_None
); resultobj
= Py_None
;
1921 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
*resultobj
;
1923 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1925 PyObject
* obj0
= 0 ;
1927 (char *) "self", NULL
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
1931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1934 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
1936 wxPyEndAllowThreads(__tstate
);
1937 if (PyErr_Occurred()) SWIG_fail
;
1939 resultobj
= PyInt_FromLong((long)result
);
1946 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
*resultobj
;
1948 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1950 PyObject
* obj0
= 0 ;
1952 (char *) "self",(char *) "state", NULL
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckBox_Set3StateValue",kwnames
,&obj0
,&arg2
)) goto fail
;
1956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1959 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
1961 wxPyEndAllowThreads(__tstate
);
1962 if (PyErr_Occurred()) SWIG_fail
;
1964 Py_INCREF(Py_None
); resultobj
= Py_None
;
1971 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
*resultobj
;
1973 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1975 PyObject
* obj0
= 0 ;
1977 (char *) "self", NULL
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
1981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1989 resultobj
= PyInt_FromLong((long)result
);
1996 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
*resultobj
;
1998 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2000 PyObject
* obj0
= 0 ;
2002 (char *) "self", NULL
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2014 resultobj
= PyInt_FromLong((long)result
);
2021 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2024 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2026 return Py_BuildValue((char *)"");
2028 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
*resultobj
;
2030 wxWindow
*arg1
= (wxWindow
*) 0 ;
2032 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2033 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2034 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2035 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2036 int arg5
= (int) 0 ;
2037 wxString
*arg6
= (wxString
*) NULL
;
2038 long arg7
= (long) 0 ;
2039 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2040 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2041 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2042 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2046 bool temp8
= False
;
2047 PyObject
* obj0
= 0 ;
2048 PyObject
* obj2
= 0 ;
2049 PyObject
* obj3
= 0 ;
2050 PyObject
* obj4
= 0 ;
2051 PyObject
* obj6
= 0 ;
2052 PyObject
* obj7
= 0 ;
2054 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_Choice",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
2058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2062 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2068 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2073 arg5
= PyList_Size(obj4
);
2074 arg6
= wxString_LIST_helper(obj4
);
2075 if (arg6
== NULL
) SWIG_fail
;
2079 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2081 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2086 arg9
= wxString_in_helper(obj7
);
2087 if (arg9
== NULL
) SWIG_fail
;
2092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2093 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2095 wxPyEndAllowThreads(__tstate
);
2096 if (PyErr_Occurred()) SWIG_fail
;
2098 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2100 if (arg6
) delete [] arg6
;
2109 if (arg6
) delete [] arg6
;
2119 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 result
= (wxChoice
*)new wxChoice();
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2134 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2141 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
*resultobj
;
2143 wxChoice
*arg1
= (wxChoice
*) 0 ;
2144 wxWindow
*arg2
= (wxWindow
*) 0 ;
2146 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2147 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2148 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2149 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2150 int arg6
= (int) 0 ;
2151 wxString
*arg7
= (wxString
*) NULL
;
2152 long arg8
= (long) 0 ;
2153 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2154 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2155 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2156 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2160 bool temp9
= False
;
2161 PyObject
* obj0
= 0 ;
2162 PyObject
* obj1
= 0 ;
2163 PyObject
* obj3
= 0 ;
2164 PyObject
* obj4
= 0 ;
2165 PyObject
* obj5
= 0 ;
2166 PyObject
* obj7
= 0 ;
2167 PyObject
* obj8
= 0 ;
2169 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:Choice_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2174 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2178 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2184 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2189 arg6
= PyList_Size(obj5
);
2190 arg7
= wxString_LIST_helper(obj5
);
2191 if (arg7
== NULL
) SWIG_fail
;
2195 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2197 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2202 arg10
= wxString_in_helper(obj8
);
2203 if (arg10
== NULL
) SWIG_fail
;
2208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2209 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2211 wxPyEndAllowThreads(__tstate
);
2212 if (PyErr_Occurred()) SWIG_fail
;
2214 resultobj
= PyInt_FromLong((long)result
);
2216 if (arg7
) delete [] arg7
;
2225 if (arg7
) delete [] arg7
;
2235 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
*resultobj
;
2237 wxChoice
*arg1
= (wxChoice
*) 0 ;
2239 PyObject
* obj0
= 0 ;
2241 (char *) "self", NULL
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 result
= (int)(arg1
)->GetColumns();
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2253 resultobj
= PyInt_FromLong((long)result
);
2260 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
*resultobj
;
2262 wxChoice
*arg1
= (wxChoice
*) 0 ;
2263 int arg2
= (int) (int)1 ;
2264 PyObject
* obj0
= 0 ;
2266 (char *) "self",(char *) "n", NULL
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Choice_SetColumns",kwnames
,&obj0
,&arg2
)) goto fail
;
2270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 (arg1
)->SetColumns(arg2
);
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2278 Py_INCREF(Py_None
); resultobj
= Py_None
;
2285 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
*resultobj
;
2287 wxChoice
*arg1
= (wxChoice
*) 0 ;
2289 PyObject
* obj0
= 0 ;
2291 (char *) "self",(char *) "n", NULL
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Choice_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 (arg1
)->SetSelection(arg2
);
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) SWIG_fail
;
2303 Py_INCREF(Py_None
); resultobj
= Py_None
;
2310 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
*resultobj
;
2312 wxChoice
*arg1
= (wxChoice
*) 0 ;
2313 wxString
*arg2
= 0 ;
2314 bool temp2
= False
;
2315 PyObject
* obj0
= 0 ;
2316 PyObject
* obj1
= 0 ;
2318 (char *) "self",(char *) "string", NULL
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2324 arg2
= wxString_in_helper(obj1
);
2325 if (arg2
== NULL
) SWIG_fail
;
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) SWIG_fail
;
2335 Py_INCREF(Py_None
); resultobj
= Py_None
;
2350 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
*resultobj
;
2352 wxChoice
*arg1
= (wxChoice
*) 0 ;
2354 wxString
*arg3
= 0 ;
2355 bool temp3
= False
;
2356 PyObject
* obj0
= 0 ;
2357 PyObject
* obj2
= 0 ;
2359 (char *) "self",(char *) "n",(char *) "s", NULL
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Choice_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
2363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2365 arg3
= wxString_in_helper(obj2
);
2366 if (arg3
== NULL
) SWIG_fail
;
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) SWIG_fail
;
2376 Py_INCREF(Py_None
); resultobj
= Py_None
;
2391 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2394 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2396 return Py_BuildValue((char *)"");
2398 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
*resultobj
;
2400 wxWindow
*arg1
= (wxWindow
*) 0 ;
2402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2408 int arg6
= (int) 0 ;
2409 wxString
*arg7
= (wxString
*) NULL
;
2410 long arg8
= (long) 0 ;
2411 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2412 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2413 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2414 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2416 bool temp3
= False
;
2419 bool temp9
= False
;
2420 PyObject
* obj0
= 0 ;
2421 PyObject
* obj2
= 0 ;
2422 PyObject
* obj3
= 0 ;
2423 PyObject
* obj4
= 0 ;
2424 PyObject
* obj5
= 0 ;
2425 PyObject
* obj7
= 0 ;
2426 PyObject
* obj8
= 0 ;
2428 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2435 arg3
= wxString_in_helper(obj2
);
2436 if (arg3
== NULL
) SWIG_fail
;
2443 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2449 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2454 arg6
= PyList_Size(obj5
);
2455 arg7
= wxString_LIST_helper(obj5
);
2456 if (arg7
== NULL
) SWIG_fail
;
2460 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2462 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2467 arg10
= wxString_in_helper(obj8
);
2468 if (arg10
== NULL
) SWIG_fail
;
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2476 wxPyEndAllowThreads(__tstate
);
2477 if (PyErr_Occurred()) SWIG_fail
;
2479 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2485 if (arg7
) delete [] arg7
;
2498 if (arg7
) delete [] arg7
;
2508 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
*resultobj
;
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 result
= (wxComboBox
*)new wxComboBox();
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2523 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2530 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2532 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2533 wxWindow
*arg2
= (wxWindow
*) 0 ;
2535 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2536 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2537 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2538 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2539 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2540 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2541 int arg7
= (int) 0 ;
2542 wxString
*arg8
= (wxString
*) NULL
;
2543 long arg9
= (long) 0 ;
2544 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
2545 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
2546 wxString
const &arg11_defvalue
= wxPyComboBoxNameStr
;
2547 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
2549 bool temp4
= False
;
2552 bool temp10
= False
;
2553 PyObject
* obj0
= 0 ;
2554 PyObject
* obj1
= 0 ;
2555 PyObject
* obj3
= 0 ;
2556 PyObject
* obj4
= 0 ;
2557 PyObject
* obj5
= 0 ;
2558 PyObject
* obj6
= 0 ;
2559 PyObject
* obj8
= 0 ;
2560 PyObject
* obj9
= 0 ;
2562 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&obj8
,&obj9
)) goto fail
;
2566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2567 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2570 arg4
= wxString_in_helper(obj3
);
2571 if (arg4
== NULL
) SWIG_fail
;
2578 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2584 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2589 arg7
= PyList_Size(obj6
);
2590 arg8
= wxString_LIST_helper(obj6
);
2591 if (arg8
== NULL
) SWIG_fail
;
2595 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2596 if (arg10
== NULL
) {
2597 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2602 arg11
= wxString_in_helper(obj9
);
2603 if (arg11
== NULL
) SWIG_fail
;
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) SWIG_fail
;
2614 resultobj
= PyInt_FromLong((long)result
);
2620 if (arg8
) delete [] arg8
;
2633 if (arg8
) delete [] arg8
;
2643 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
*resultobj
;
2645 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2647 PyObject
* obj0
= 0 ;
2649 (char *) "self", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 result
= ((wxComboBox
const *)arg1
)->GetValue();
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) SWIG_fail
;
2663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2674 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2676 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2677 wxString
*arg2
= 0 ;
2678 bool temp2
= False
;
2679 PyObject
* obj0
= 0 ;
2680 PyObject
* obj1
= 0 ;
2682 (char *) "self",(char *) "value", NULL
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2688 arg2
= wxString_in_helper(obj1
);
2689 if (arg2
== NULL
) SWIG_fail
;
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 (arg1
)->SetValue((wxString
const &)*arg2
);
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2699 Py_INCREF(Py_None
); resultobj
= Py_None
;
2714 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
*resultobj
;
2716 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2717 PyObject
* obj0
= 0 ;
2719 (char *) "self", NULL
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 wxPyEndAllowThreads(__tstate
);
2729 if (PyErr_Occurred()) SWIG_fail
;
2731 Py_INCREF(Py_None
); resultobj
= Py_None
;
2738 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
*resultobj
;
2740 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2741 PyObject
* obj0
= 0 ;
2743 (char *) "self", NULL
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
2747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 wxPyEndAllowThreads(__tstate
);
2753 if (PyErr_Occurred()) SWIG_fail
;
2755 Py_INCREF(Py_None
); resultobj
= Py_None
;
2762 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
*resultobj
;
2764 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2765 PyObject
* obj0
= 0 ;
2767 (char *) "self", NULL
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
2771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2779 Py_INCREF(Py_None
); resultobj
= Py_None
;
2786 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
*resultobj
;
2788 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2790 PyObject
* obj0
= 0 ;
2792 (char *) "self",(char *) "pos", NULL
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
2796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2799 (arg1
)->SetInsertionPoint(arg2
);
2801 wxPyEndAllowThreads(__tstate
);
2802 if (PyErr_Occurred()) SWIG_fail
;
2804 Py_INCREF(Py_None
); resultobj
= Py_None
;
2811 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2812 PyObject
*resultobj
;
2813 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2815 PyObject
* obj0
= 0 ;
2817 (char *) "self", NULL
2820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
2821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2824 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
2826 wxPyEndAllowThreads(__tstate
);
2827 if (PyErr_Occurred()) SWIG_fail
;
2829 resultobj
= PyInt_FromLong((long)result
);
2836 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
*resultobj
;
2838 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2840 PyObject
* obj0
= 0 ;
2842 (char *) "self", NULL
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
2846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2849 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
2851 wxPyEndAllowThreads(__tstate
);
2852 if (PyErr_Occurred()) SWIG_fail
;
2854 resultobj
= PyInt_FromLong((long)result
);
2861 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2862 PyObject
*resultobj
;
2863 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2866 wxString
*arg4
= 0 ;
2867 bool temp4
= False
;
2868 PyObject
* obj0
= 0 ;
2869 PyObject
* obj3
= 0 ;
2871 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:ComboBox_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2877 arg4
= wxString_in_helper(obj3
);
2878 if (arg4
== NULL
) SWIG_fail
;
2882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2883 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
2885 wxPyEndAllowThreads(__tstate
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2888 Py_INCREF(Py_None
); resultobj
= Py_None
;
2903 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
*resultobj
;
2905 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2907 PyObject
* obj0
= 0 ;
2909 (char *) "self",(char *) "n", NULL
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ComboBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2916 (arg1
)->SetSelection(arg2
);
2918 wxPyEndAllowThreads(__tstate
);
2919 if (PyErr_Occurred()) SWIG_fail
;
2921 Py_INCREF(Py_None
); resultobj
= Py_None
;
2928 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
*resultobj
;
2930 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2933 PyObject
* obj0
= 0 ;
2935 (char *) "self",(char *) "from",(char *) "to", NULL
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_SetMark",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 (arg1
)->SetSelection(arg2
,arg3
);
2944 wxPyEndAllowThreads(__tstate
);
2945 if (PyErr_Occurred()) SWIG_fail
;
2947 Py_INCREF(Py_None
); resultobj
= Py_None
;
2954 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
*resultobj
;
2956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2958 PyObject
* obj0
= 0 ;
2959 PyObject
* obj1
= 0 ;
2961 (char *) "self",(char *) "editable", NULL
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
2965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2966 arg2
= PyInt_AsLong(obj1
) ? true : false;
2967 if (PyErr_Occurred()) SWIG_fail
;
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 (arg1
)->SetEditable(arg2
);
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) SWIG_fail
;
2975 Py_INCREF(Py_None
); resultobj
= Py_None
;
2982 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2983 PyObject
*resultobj
;
2984 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2985 PyObject
* obj0
= 0 ;
2987 (char *) "self", NULL
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
2991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2994 (arg1
)->SetInsertionPointEnd();
2996 wxPyEndAllowThreads(__tstate
);
2997 if (PyErr_Occurred()) SWIG_fail
;
2999 Py_INCREF(Py_None
); resultobj
= Py_None
;
3006 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
*resultobj
;
3008 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3011 PyObject
* obj0
= 0 ;
3013 (char *) "self",(char *) "from",(char *) "to", NULL
3016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 (arg1
)->Remove(arg2
,arg3
);
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3025 Py_INCREF(Py_None
); resultobj
= Py_None
;
3032 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3035 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3037 return Py_BuildValue((char *)"");
3039 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
*resultobj
;
3041 wxWindow
*arg1
= (wxWindow
*) 0 ;
3044 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3045 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3046 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3047 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3048 long arg6
= (long) wxGA_HORIZONTAL
;
3049 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3050 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3051 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3052 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3056 bool temp8
= False
;
3057 PyObject
* obj0
= 0 ;
3058 PyObject
* obj3
= 0 ;
3059 PyObject
* obj4
= 0 ;
3060 PyObject
* obj6
= 0 ;
3061 PyObject
* obj7
= 0 ;
3063 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|OOlOO:new_Gauge",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
3067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3071 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3077 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3081 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3083 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3088 arg8
= wxString_in_helper(obj7
);
3089 if (arg8
== NULL
) SWIG_fail
;
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3095 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) SWIG_fail
;
3100 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3115 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
*resultobj
;
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 result
= (wxGauge
*)new wxGauge();
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3130 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3137 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
*resultobj
;
3139 wxGauge
*arg1
= (wxGauge
*) 0 ;
3140 wxWindow
*arg2
= (wxWindow
*) 0 ;
3143 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3144 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3145 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3146 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3147 long arg7
= (long) wxGA_HORIZONTAL
;
3148 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3149 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3150 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3151 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3155 bool temp9
= False
;
3156 PyObject
* obj0
= 0 ;
3157 PyObject
* obj1
= 0 ;
3158 PyObject
* obj4
= 0 ;
3159 PyObject
* obj5
= 0 ;
3160 PyObject
* obj7
= 0 ;
3161 PyObject
* obj8
= 0 ;
3163 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|OOlOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
3167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3168 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3172 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3178 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3182 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3184 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3189 arg9
= wxString_in_helper(obj8
);
3190 if (arg9
== NULL
) SWIG_fail
;
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3201 resultobj
= PyInt_FromLong((long)result
);
3216 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
*resultobj
;
3218 wxGauge
*arg1
= (wxGauge
*) 0 ;
3220 PyObject
* obj0
= 0 ;
3222 (char *) "self",(char *) "range", NULL
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetRange",kwnames
,&obj0
,&arg2
)) goto fail
;
3226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3229 (arg1
)->SetRange(arg2
);
3231 wxPyEndAllowThreads(__tstate
);
3232 if (PyErr_Occurred()) SWIG_fail
;
3234 Py_INCREF(Py_None
); resultobj
= Py_None
;
3241 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
*resultobj
;
3243 wxGauge
*arg1
= (wxGauge
*) 0 ;
3245 PyObject
* obj0
= 0 ;
3247 (char *) "self", NULL
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) SWIG_fail
;
3259 resultobj
= PyInt_FromLong((long)result
);
3266 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
*resultobj
;
3268 wxGauge
*arg1
= (wxGauge
*) 0 ;
3270 PyObject
* obj0
= 0 ;
3272 (char *) "self",(char *) "pos", NULL
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
3276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 (arg1
)->SetValue(arg2
);
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3284 Py_INCREF(Py_None
); resultobj
= Py_None
;
3291 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
*resultobj
;
3293 wxGauge
*arg1
= (wxGauge
*) 0 ;
3295 PyObject
* obj0
= 0 ;
3297 (char *) "self", NULL
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) SWIG_fail
;
3309 resultobj
= PyInt_FromLong((long)result
);
3316 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
*resultobj
;
3318 wxGauge
*arg1
= (wxGauge
*) 0 ;
3320 PyObject
* obj0
= 0 ;
3322 (char *) "self", NULL
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3334 resultobj
= PyInt_FromLong((long)result
);
3341 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxGauge
*arg1
= (wxGauge
*) 0 ;
3345 PyObject
* obj0
= 0 ;
3347 (char *) "self",(char *) "w", NULL
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetShadowWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 (arg1
)->SetShadowWidth(arg2
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 Py_INCREF(Py_None
); resultobj
= Py_None
;
3366 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxGauge
*arg1
= (wxGauge
*) 0 ;
3370 PyObject
* obj0
= 0 ;
3372 (char *) "self", NULL
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3384 resultobj
= PyInt_FromLong((long)result
);
3391 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxGauge
*arg1
= (wxGauge
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3397 (char *) "self",(char *) "w", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetBezelFace",kwnames
,&obj0
,&arg2
)) goto fail
;
3401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3404 (arg1
)->SetBezelFace(arg2
);
3406 wxPyEndAllowThreads(__tstate
);
3407 if (PyErr_Occurred()) SWIG_fail
;
3409 Py_INCREF(Py_None
); resultobj
= Py_None
;
3416 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
;
3418 wxGauge
*arg1
= (wxGauge
*) 0 ;
3420 PyObject
* obj0
= 0 ;
3422 (char *) "self", NULL
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3429 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3431 wxPyEndAllowThreads(__tstate
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3434 resultobj
= PyInt_FromLong((long)result
);
3441 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3444 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3446 return Py_BuildValue((char *)"");
3448 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
*resultobj
;
3450 wxWindow
*arg1
= (wxWindow
*) 0 ;
3452 wxString
*arg3
= 0 ;
3453 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3454 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3455 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3456 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3457 long arg6
= (long) 0 ;
3458 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3459 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3460 wxStaticBox
*result
;
3461 bool temp3
= False
;
3464 bool temp7
= False
;
3465 PyObject
* obj0
= 0 ;
3466 PyObject
* obj2
= 0 ;
3467 PyObject
* obj3
= 0 ;
3468 PyObject
* obj4
= 0 ;
3469 PyObject
* obj6
= 0 ;
3471 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3477 arg3
= wxString_in_helper(obj2
);
3478 if (arg3
== NULL
) SWIG_fail
;
3484 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3490 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3495 arg7
= wxString_in_helper(obj6
);
3496 if (arg7
== NULL
) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3508 resultobj
= wxPyMake_wxObject(result
);
3532 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxStaticBox
*result
;
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 result
= (wxStaticBox
*)new wxStaticBox();
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= wxPyMake_wxObject(result
);
3556 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
3559 wxWindow
*arg2
= (wxWindow
*) 0 ;
3561 wxString
*arg4
= 0 ;
3562 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3563 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3564 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3565 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3566 long arg7
= (long) 0 ;
3567 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
3568 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3570 bool temp4
= False
;
3573 bool temp8
= False
;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3576 PyObject
* obj3
= 0 ;
3577 PyObject
* obj4
= 0 ;
3578 PyObject
* obj5
= 0 ;
3579 PyObject
* obj7
= 0 ;
3581 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3586 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3588 arg4
= wxString_in_helper(obj3
);
3589 if (arg4
== NULL
) SWIG_fail
;
3595 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3601 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3606 arg8
= wxString_in_helper(obj7
);
3607 if (arg8
== NULL
) SWIG_fail
;
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3618 resultobj
= PyInt_FromLong((long)result
);
3641 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
3643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3644 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
3646 return Py_BuildValue((char *)"");
3648 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3650 wxWindow
*arg1
= (wxWindow
*) 0 ;
3652 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3653 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3654 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3655 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3656 long arg5
= (long) wxLI_HORIZONTAL
;
3657 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
3658 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3659 wxStaticLine
*result
;
3662 bool temp6
= False
;
3663 PyObject
* obj0
= 0 ;
3664 PyObject
* obj2
= 0 ;
3665 PyObject
* obj3
= 0 ;
3666 PyObject
* obj5
= 0 ;
3668 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_StaticLine",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
3672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3676 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3682 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3687 arg6
= wxString_in_helper(obj5
);
3688 if (arg6
== NULL
) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3714 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
*resultobj
;
3716 wxStaticLine
*result
;
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 result
= (wxStaticLine
*)new wxStaticLine();
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3729 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3736 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
*resultobj
;
3738 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3739 wxWindow
*arg2
= (wxWindow
*) 0 ;
3741 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3742 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3743 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3744 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3745 long arg6
= (long) wxLI_HORIZONTAL
;
3746 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3747 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3751 bool temp7
= False
;
3752 PyObject
* obj0
= 0 ;
3753 PyObject
* obj1
= 0 ;
3754 PyObject
* obj3
= 0 ;
3755 PyObject
* obj4
= 0 ;
3756 PyObject
* obj6
= 0 ;
3758 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3763 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3767 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3773 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3778 arg7
= wxString_in_helper(obj6
);
3779 if (arg7
== NULL
) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 resultobj
= PyInt_FromLong((long)result
);
3805 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
*resultobj
;
3807 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3809 PyObject
* obj0
= 0 ;
3811 (char *) "self", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
3815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3823 resultobj
= PyInt_FromLong((long)result
);
3830 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
*resultobj
;
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (int)wxStaticLine::GetDefaultSize();
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3845 resultobj
= PyInt_FromLong((long)result
);
3852 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
3854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3855 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
3857 return Py_BuildValue((char *)"");
3859 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxWindow
*arg1
= (wxWindow
*) 0 ;
3863 wxString
*arg3
= 0 ;
3864 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3865 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3866 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3867 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3868 long arg6
= (long) 0 ;
3869 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3870 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3871 wxStaticText
*result
;
3872 bool temp3
= False
;
3875 bool temp7
= False
;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj2
= 0 ;
3878 PyObject
* obj3
= 0 ;
3879 PyObject
* obj4
= 0 ;
3880 PyObject
* obj6
= 0 ;
3882 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticText",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3888 arg3
= wxString_in_helper(obj2
);
3889 if (arg3
== NULL
) SWIG_fail
;
3895 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3901 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3906 arg7
= wxString_in_helper(obj6
);
3907 if (arg7
== NULL
) SWIG_fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
3941 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
*resultobj
;
3943 wxStaticText
*result
;
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= (wxStaticText
*)new wxStaticText();
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
3963 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3965 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
3966 wxWindow
*arg2
= (wxWindow
*) 0 ;
3968 wxString
*arg4
= 0 ;
3969 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3970 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3971 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3972 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3973 long arg7
= (long) 0 ;
3974 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
3975 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3977 bool temp4
= False
;
3980 bool temp8
= False
;
3981 PyObject
* obj0
= 0 ;
3982 PyObject
* obj1
= 0 ;
3983 PyObject
* obj3
= 0 ;
3984 PyObject
* obj4
= 0 ;
3985 PyObject
* obj5
= 0 ;
3986 PyObject
* obj7
= 0 ;
3988 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticText_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3993 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3995 arg4
= wxString_in_helper(obj3
);
3996 if (arg4
== NULL
) SWIG_fail
;
4002 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4008 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4013 arg8
= wxString_in_helper(obj7
);
4014 if (arg8
== NULL
) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= PyInt_FromLong((long)result
);
4048 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4051 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4053 return Py_BuildValue((char *)"");
4055 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
*resultobj
;
4057 wxWindow
*arg1
= (wxWindow
*) 0 ;
4059 wxBitmap
*arg3
= 0 ;
4060 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4061 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4062 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4063 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4064 long arg6
= (long) 0 ;
4065 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4066 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4067 wxStaticBitmap
*result
;
4070 bool temp7
= False
;
4071 PyObject
* obj0
= 0 ;
4072 PyObject
* obj2
= 0 ;
4073 PyObject
* obj3
= 0 ;
4074 PyObject
* obj4
= 0 ;
4075 PyObject
* obj6
= 0 ;
4077 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBitmap",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4082 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4084 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4100 arg7
= wxString_in_helper(obj6
);
4101 if (arg7
== NULL
) SWIG_fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4127 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
;
4129 wxStaticBitmap
*result
;
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4149 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
;
4151 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4152 wxWindow
*arg2
= (wxWindow
*) 0 ;
4154 wxBitmap
*arg4
= 0 ;
4155 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4156 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4157 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4158 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4159 long arg7
= (long) 0 ;
4160 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4161 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4165 bool temp8
= False
;
4166 PyObject
* obj0
= 0 ;
4167 PyObject
* obj1
= 0 ;
4168 PyObject
* obj3
= 0 ;
4169 PyObject
* obj4
= 0 ;
4170 PyObject
* obj5
= 0 ;
4171 PyObject
* obj7
= 0 ;
4173 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4178 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4179 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4181 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4186 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4192 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4197 arg8
= wxString_in_helper(obj7
);
4198 if (arg8
== NULL
) SWIG_fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 resultobj
= PyInt_FromLong((long)result
);
4224 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
*resultobj
;
4226 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4228 PyObject
* obj0
= 0 ;
4230 (char *) "self", NULL
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4237 result
= (arg1
)->GetBitmap();
4239 wxPyEndAllowThreads(__tstate
);
4240 if (PyErr_Occurred()) SWIG_fail
;
4243 wxBitmap
* resultptr
;
4244 resultptr
= new wxBitmap((wxBitmap
&) result
);
4245 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4253 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
;
4255 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4256 wxBitmap
*arg2
= 0 ;
4257 PyObject
* obj0
= 0 ;
4258 PyObject
* obj1
= 0 ;
4260 (char *) "self",(char *) "bitmap", NULL
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4265 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4267 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4276 Py_INCREF(Py_None
); resultobj
= Py_None
;
4283 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
;
4285 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4287 PyObject
* obj0
= 0 ;
4288 PyObject
* obj1
= 0 ;
4290 (char *) "self",(char *) "icon", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4295 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4297 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4306 Py_INCREF(Py_None
); resultobj
= Py_None
;
4313 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4316 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4318 return Py_BuildValue((char *)"");
4320 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4322 wxWindow
*arg1
= (wxWindow
*) 0 ;
4324 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4325 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4326 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4327 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4328 int arg5
= (int) 0 ;
4329 wxString
*arg6
= (wxString
*) NULL
;
4330 long arg7
= (long) 0 ;
4331 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4332 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4333 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
4334 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4338 bool temp8
= False
;
4339 PyObject
* obj0
= 0 ;
4340 PyObject
* obj2
= 0 ;
4341 PyObject
* obj3
= 0 ;
4342 PyObject
* obj4
= 0 ;
4343 PyObject
* obj6
= 0 ;
4344 PyObject
* obj7
= 0 ;
4346 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_ListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
4350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4354 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4360 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4365 arg5
= PyList_Size(obj4
);
4366 arg6
= wxString_LIST_helper(obj4
);
4367 if (arg6
== NULL
) SWIG_fail
;
4371 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4373 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4378 arg9
= wxString_in_helper(obj7
);
4379 if (arg9
== NULL
) SWIG_fail
;
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4390 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4392 if (arg6
) delete [] arg6
;
4401 if (arg6
) delete [] arg6
;
4411 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
;
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (wxListBox
*)new wxListBox();
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4433 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxListBox
*arg1
= (wxListBox
*) 0 ;
4436 wxWindow
*arg2
= (wxWindow
*) 0 ;
4438 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4439 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4440 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4441 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4442 int arg6
= (int) 0 ;
4443 wxString
*arg7
= (wxString
*) NULL
;
4444 long arg8
= (long) 0 ;
4445 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4446 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4447 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
4448 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4452 bool temp9
= False
;
4453 PyObject
* obj0
= 0 ;
4454 PyObject
* obj1
= 0 ;
4455 PyObject
* obj3
= 0 ;
4456 PyObject
* obj4
= 0 ;
4457 PyObject
* obj5
= 0 ;
4458 PyObject
* obj7
= 0 ;
4459 PyObject
* obj8
= 0 ;
4461 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
4465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4466 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4470 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4476 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4481 arg6
= PyList_Size(obj5
);
4482 arg7
= wxString_LIST_helper(obj5
);
4483 if (arg7
== NULL
) SWIG_fail
;
4487 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4489 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4494 arg10
= wxString_in_helper(obj8
);
4495 if (arg10
== NULL
) SWIG_fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= PyInt_FromLong((long)result
);
4508 if (arg7
) delete [] arg7
;
4517 if (arg7
) delete [] arg7
;
4527 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
*resultobj
;
4529 wxListBox
*arg1
= (wxListBox
*) 0 ;
4530 wxString
*arg2
= 0 ;
4532 PyObject
*arg4
= (PyObject
*) NULL
;
4533 bool temp2
= False
;
4534 PyObject
* obj0
= 0 ;
4535 PyObject
* obj1
= 0 ;
4536 PyObject
* obj3
= 0 ;
4538 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4544 arg2
= wxString_in_helper(obj1
);
4545 if (arg2
== NULL
) SWIG_fail
;
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4558 Py_INCREF(Py_None
); resultobj
= Py_None
;
4573 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
;
4575 wxListBox
*arg1
= (wxListBox
*) 0 ;
4576 wxArrayString
*arg2
= 0 ;
4578 PyObject
* obj0
= 0 ;
4579 PyObject
* obj1
= 0 ;
4581 (char *) "self",(char *) "items",(char *) "pos", NULL
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&arg3
)) 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
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
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_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
;
4627 wxListBox
*arg1
= (wxListBox
*) 0 ;
4628 wxArrayString
*arg2
= 0 ;
4629 PyObject
* obj0
= 0 ;
4630 PyObject
* obj1
= 0 ;
4632 (char *) "self",(char *) "items", NULL
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
4636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4638 if (! PySequence_Check(obj1
)) {
4639 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4642 arg2
= new wxArrayString
;
4643 int i
, len
=PySequence_Length(obj1
);
4644 for (i
=0; i
<len
; i
++) {
4645 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4647 PyObject
* str
= PyObject_Unicode(item
);
4649 PyObject
* str
= PyObject_Str(item
);
4651 arg2
->Add(Py2wxString(str
));
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 (arg1
)->Set((wxArrayString
const &)*arg2
);
4660 wxPyEndAllowThreads(__tstate
);
4661 if (PyErr_Occurred()) SWIG_fail
;
4663 Py_INCREF(Py_None
); resultobj
= Py_None
;
4665 if (arg2
) delete arg2
;
4670 if (arg2
) delete arg2
;
4676 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
*resultobj
;
4678 wxListBox
*arg1
= (wxListBox
*) 0 ;
4681 PyObject
* obj0
= 0 ;
4683 (char *) "self",(char *) "n", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
4687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 resultobj
= PyInt_FromLong((long)result
);
4702 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
*resultobj
;
4704 wxListBox
*arg1
= (wxListBox
*) 0 ;
4706 bool arg3
= (bool) True
;
4707 PyObject
* obj0
= 0 ;
4708 PyObject
* obj2
= 0 ;
4710 (char *) "self",(char *) "n",(char *) "select", NULL
4713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListBox_SetSelection",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4716 arg3
= PyInt_AsLong(obj2
) ? true : false;
4717 if (PyErr_Occurred()) SWIG_fail
;
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 (arg1
)->SetSelection(arg2
,arg3
);
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4726 Py_INCREF(Py_None
); resultobj
= Py_None
;
4733 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
*resultobj
;
4735 wxListBox
*arg1
= (wxListBox
*) 0 ;
4737 PyObject
* obj0
= 0 ;
4739 (char *) "self",(char *) "n", NULL
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
4743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 (arg1
)->Select(arg2
);
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4751 Py_INCREF(Py_None
); resultobj
= Py_None
;
4758 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
;
4760 wxListBox
*arg1
= (wxListBox
*) 0 ;
4762 PyObject
* obj0
= 0 ;
4764 (char *) "self",(char *) "n", NULL
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Deselect",kwnames
,&obj0
,&arg2
)) goto fail
;
4768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 (arg1
)->Deselect(arg2
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4776 Py_INCREF(Py_None
); resultobj
= Py_None
;
4783 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
*resultobj
;
4785 wxListBox
*arg1
= (wxListBox
*) 0 ;
4786 int arg2
= (int) -1 ;
4787 PyObject
* obj0
= 0 ;
4789 (char *) "self",(char *) "itemToLeaveSelected", NULL
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListBox_DeselectAll",kwnames
,&obj0
,&arg2
)) goto fail
;
4793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 (arg1
)->DeselectAll(arg2
);
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 Py_INCREF(Py_None
); resultobj
= Py_None
;
4808 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
*resultobj
;
4810 wxListBox
*arg1
= (wxListBox
*) 0 ;
4811 wxString
*arg2
= 0 ;
4812 bool arg3
= (bool) True
;
4814 bool temp2
= False
;
4815 PyObject
* obj0
= 0 ;
4816 PyObject
* obj1
= 0 ;
4817 PyObject
* obj2
= 0 ;
4819 (char *) "self",(char *) "s",(char *) "select", NULL
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4825 arg2
= wxString_in_helper(obj1
);
4826 if (arg2
== NULL
) SWIG_fail
;
4830 arg3
= PyInt_AsLong(obj2
) ? true : false;
4831 if (PyErr_Occurred()) SWIG_fail
;
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4840 resultobj
= PyInt_FromLong((long)result
);
4855 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
;
4857 wxListBox
*arg1
= (wxListBox
*) 0 ;
4859 PyObject
* obj0
= 0 ;
4861 (char *) "self", NULL
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
4865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4880 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
;
4882 wxListBox
*arg1
= (wxListBox
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4886 (char *) "self",(char *) "n", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_SetFirstItem",kwnames
,&obj0
,&arg2
)) goto fail
;
4890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 (arg1
)->SetFirstItem(arg2
);
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 Py_INCREF(Py_None
); resultobj
= Py_None
;
4905 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4907 wxListBox
*arg1
= (wxListBox
*) 0 ;
4908 wxString
*arg2
= 0 ;
4909 bool temp2
= False
;
4910 PyObject
* obj0
= 0 ;
4911 PyObject
* obj1
= 0 ;
4913 (char *) "self",(char *) "s", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
4917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4919 arg2
= wxString_in_helper(obj1
);
4920 if (arg2
== NULL
) SWIG_fail
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 Py_INCREF(Py_None
); resultobj
= Py_None
;
4945 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
*resultobj
;
4947 wxListBox
*arg1
= (wxListBox
*) 0 ;
4949 PyObject
* obj0
= 0 ;
4951 (char *) "self",(char *) "n", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
4955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 (arg1
)->EnsureVisible(arg2
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 Py_INCREF(Py_None
); resultobj
= Py_None
;
4970 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4972 wxListBox
*arg1
= (wxListBox
*) 0 ;
4973 wxString
*arg2
= 0 ;
4974 bool temp2
= False
;
4975 PyObject
* obj0
= 0 ;
4976 PyObject
* obj1
= 0 ;
4978 (char *) "self",(char *) "s", NULL
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
4982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4984 arg2
= wxString_in_helper(obj1
);
4985 if (arg2
== NULL
) SWIG_fail
;
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4990 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4995 Py_INCREF(Py_None
); resultobj
= Py_None
;
5010 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
*resultobj
;
5012 wxListBox
*arg1
= (wxListBox
*) 0 ;
5014 PyObject
* obj0
= 0 ;
5016 (char *) "self", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5028 resultobj
= PyInt_FromLong((long)result
);
5035 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5038 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5040 return Py_BuildValue((char *)"");
5042 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
*resultobj
;
5044 wxWindow
*arg1
= (wxWindow
*) 0 ;
5046 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5047 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5048 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5049 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5050 int arg5
= (int) 0 ;
5051 wxString
*arg6
= (wxString
*) NULL
;
5052 long arg7
= (long) 0 ;
5053 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5054 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5055 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5056 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5057 wxCheckListBox
*result
;
5060 bool temp8
= False
;
5061 PyObject
* obj0
= 0 ;
5062 PyObject
* obj2
= 0 ;
5063 PyObject
* obj3
= 0 ;
5064 PyObject
* obj4
= 0 ;
5065 PyObject
* obj6
= 0 ;
5066 PyObject
* obj7
= 0 ;
5068 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
5072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5076 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5082 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5087 arg5
= PyList_Size(obj4
);
5088 arg6
= wxString_LIST_helper(obj4
);
5089 if (arg6
== NULL
) SWIG_fail
;
5093 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5095 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5100 arg9
= wxString_in_helper(obj7
);
5101 if (arg9
== NULL
) SWIG_fail
;
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5112 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5114 if (arg6
) delete [] arg6
;
5123 if (arg6
) delete [] arg6
;
5133 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5134 PyObject
*resultobj
;
5135 wxCheckListBox
*result
;
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5143 result
= (wxCheckListBox
*)new wxCheckListBox();
5145 wxPyEndAllowThreads(__tstate
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5148 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5155 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
*resultobj
;
5157 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5158 wxWindow
*arg2
= (wxWindow
*) 0 ;
5160 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5161 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5162 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5163 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5164 int arg6
= (int) 0 ;
5165 wxString
*arg7
= (wxString
*) NULL
;
5166 long arg8
= (long) 0 ;
5167 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5168 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5169 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5170 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5174 bool temp9
= False
;
5175 PyObject
* obj0
= 0 ;
5176 PyObject
* obj1
= 0 ;
5177 PyObject
* obj3
= 0 ;
5178 PyObject
* obj4
= 0 ;
5179 PyObject
* obj5
= 0 ;
5180 PyObject
* obj7
= 0 ;
5181 PyObject
* obj8
= 0 ;
5183 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
5187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5188 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5192 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5198 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5203 arg6
= PyList_Size(obj5
);
5204 arg7
= wxString_LIST_helper(obj5
);
5205 if (arg7
== NULL
) SWIG_fail
;
5209 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5211 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5216 arg10
= wxString_in_helper(obj8
);
5217 if (arg10
== NULL
) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 resultobj
= PyInt_FromLong((long)result
);
5230 if (arg7
) delete [] arg7
;
5239 if (arg7
) delete [] arg7
;
5249 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
;
5251 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5254 PyObject
* obj0
= 0 ;
5256 (char *) "self",(char *) "index", NULL
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckListBox_IsChecked",kwnames
,&obj0
,&arg2
)) 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
= (bool)(arg1
)->IsChecked(arg2
);
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= PyInt_FromLong((long)result
);
5275 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5279 int arg3
= (int) True
;
5280 PyObject
* obj0
= 0 ;
5282 (char *) "self",(char *) "index",(char *) "check", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:CheckListBox_Check",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 (arg1
)->Check(arg2
,arg3
);
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5294 Py_INCREF(Py_None
); resultobj
= Py_None
;
5301 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
*resultobj
;
5303 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5305 PyObject
* obj0
= 0 ;
5307 (char *) "self", NULL
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
5311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 result
= (int)(arg1
)->GetItemHeight();
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5319 resultobj
= PyInt_FromLong((long)result
);
5326 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5328 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5332 PyObject
* obj0
= 0 ;
5333 PyObject
* obj1
= 0 ;
5335 (char *) "self",(char *) "pt", NULL
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
5339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5342 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5351 resultobj
= PyInt_FromLong((long)result
);
5358 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
*resultobj
;
5360 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5364 PyObject
* obj0
= 0 ;
5366 (char *) "self",(char *) "x",(char *) "y", NULL
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:CheckListBox_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5378 resultobj
= PyInt_FromLong((long)result
);
5385 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5388 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
5390 return Py_BuildValue((char *)"");
5392 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
5393 PyObject
*resultobj
;
5396 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 result
= (wxTextAttr
*)new wxTextAttr();
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5411 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
5412 PyObject
*resultobj
;
5413 wxColour
*arg1
= 0 ;
5414 wxColour
const &arg2_defvalue
= wxNullColour
;
5415 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5416 wxFont
const &arg3_defvalue
= wxNullFont
;
5417 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
5418 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
5422 PyObject
* obj0
= 0 ;
5423 PyObject
* obj1
= 0 ;
5424 PyObject
* obj2
= 0 ;
5426 if(!PyArg_ParseTuple(args
,(char *)"O|OOi:new_TextAttr",&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5429 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5434 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5438 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5440 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5457 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
5462 argc
= PyObject_Length(args
);
5463 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
5464 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5467 return _wrap_new_TextAttr__SWIG_0(self
,args
);
5469 if ((argc
>= 1) && (argc
<= 4)) {
5472 _v
= wxColour_typecheck(argv
[0]);
5476 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5479 _v
= wxColour_typecheck(argv
[1]);
5483 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5487 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
5496 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5499 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
5502 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5509 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
5514 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
;
5516 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5517 PyObject
* obj0
= 0 ;
5519 (char *) "self", NULL
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
5523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 Py_INCREF(Py_None
); resultobj
= Py_None
;
5538 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5540 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5541 wxColour
*arg2
= 0 ;
5543 PyObject
* obj0
= 0 ;
5544 PyObject
* obj1
= 0 ;
5546 (char *) "self",(char *) "colText", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5553 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 Py_INCREF(Py_None
); resultobj
= Py_None
;
5569 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
;
5571 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5572 wxColour
*arg2
= 0 ;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5577 (char *) "self",(char *) "colBack", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5584 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5593 Py_INCREF(Py_None
); resultobj
= Py_None
;
5600 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
;
5602 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5604 long arg3
= (long) wxTEXT_ATTR_FONT
;
5605 PyObject
* obj0
= 0 ;
5606 PyObject
* obj1
= 0 ;
5608 (char *) "self",(char *) "font",(char *) "flags", NULL
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5613 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5615 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5624 Py_INCREF(Py_None
); resultobj
= Py_None
;
5631 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
*resultobj
;
5633 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5635 PyObject
* obj0
= 0 ;
5637 (char *) "self",(char *) "alignment", NULL
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
5641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 Py_INCREF(Py_None
); resultobj
= Py_None
;
5656 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
;
5658 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5659 wxArrayInt
*arg2
= 0 ;
5660 PyObject
* obj0
= 0 ;
5661 PyObject
* obj1
= 0 ;
5663 (char *) "self",(char *) "tabs", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
5667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5669 if (! PySequence_Check(obj1
)) {
5670 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
5673 arg2
= new wxArrayInt
;
5674 int i
, len
=PySequence_Length(obj1
);
5675 for (i
=0; i
<len
; i
++) {
5676 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5677 PyObject
* number
= PyNumber_Int(item
);
5678 arg2
->Add(PyInt_AS_LONG(number
));
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 Py_INCREF(Py_None
); resultobj
= Py_None
;
5692 if (arg2
) delete arg2
;
5697 if (arg2
) delete arg2
;
5703 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
*resultobj
;
5705 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5707 PyObject
* obj0
= 0 ;
5709 (char *) "self",(char *) "indent", NULL
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetLeftIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 (arg1
)->SetLeftIndent(arg2
);
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5721 Py_INCREF(Py_None
); resultobj
= Py_None
;
5728 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
*resultobj
;
5730 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5732 PyObject
* obj0
= 0 ;
5734 (char *) "self",(char *) "indent", NULL
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetRightIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 (arg1
)->SetRightIndent(arg2
);
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5746 Py_INCREF(Py_None
); resultobj
= Py_None
;
5753 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
;
5755 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5757 PyObject
* obj0
= 0 ;
5759 (char *) "self",(char *) "flags", NULL
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
5763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 (arg1
)->SetFlags(arg2
);
5768 wxPyEndAllowThreads(__tstate
);
5769 if (PyErr_Occurred()) SWIG_fail
;
5771 Py_INCREF(Py_None
); resultobj
= Py_None
;
5778 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
*resultobj
;
5780 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5782 PyObject
* obj0
= 0 ;
5784 (char *) "self", NULL
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
5788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5796 resultobj
= PyInt_FromLong((long)result
);
5803 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
*resultobj
;
5805 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5807 PyObject
* obj0
= 0 ;
5809 (char *) "self", NULL
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
5813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 resultobj
= PyInt_FromLong((long)result
);
5828 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
;
5830 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5832 PyObject
* obj0
= 0 ;
5834 (char *) "self", NULL
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
5838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5846 resultobj
= PyInt_FromLong((long)result
);
5853 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
*resultobj
;
5855 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5857 PyObject
* obj0
= 0 ;
5859 (char *) "self", NULL
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
5863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5871 resultobj
= PyInt_FromLong((long)result
);
5878 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
;
5880 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5882 PyObject
* obj0
= 0 ;
5884 (char *) "self", NULL
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
5888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5896 resultobj
= PyInt_FromLong((long)result
);
5903 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
*resultobj
;
5905 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5907 PyObject
* obj0
= 0 ;
5909 (char *) "self", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) 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
)->HasLeftIndent();
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= PyInt_FromLong((long)result
);
5928 static PyObject
*_wrap_TextAttr_HasRightIndent(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_HasRightIndent",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();
5941 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= PyInt_FromLong((long)result
);
5953 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
;
5955 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5958 PyObject
* obj0
= 0 ;
5960 (char *) "self",(char *) "flag", NULL
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
5964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= PyInt_FromLong((long)result
);
5979 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5980 PyObject
*resultobj
;
5981 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5983 PyObject
* obj0
= 0 ;
5985 (char *) "self", NULL
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
5989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
5994 result
= (wxColour
*) &_result_ref
;
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6007 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6011 PyObject
* obj0
= 0 ;
6013 (char *) "self", NULL
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6022 result
= (wxColour
*) &_result_ref
;
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6035 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
;
6037 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6039 PyObject
* obj0
= 0 ;
6041 (char *) "self", NULL
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6050 result
= (wxFont
*) &_result_ref
;
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6063 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6067 PyObject
* obj0
= 0 ;
6069 (char *) "self", NULL
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6081 resultobj
= PyInt_FromLong((long)result
);
6088 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
*resultobj
;
6090 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6092 PyObject
* obj0
= 0 ;
6094 (char *) "self", NULL
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6103 result
= (wxArrayInt
*) &_result_ref
;
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6110 resultobj
= PyList_New(0);
6112 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
6113 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
6114 PyList_Append(resultobj
, val
);
6124 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6126 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6128 PyObject
* obj0
= 0 ;
6130 (char *) "self", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 resultobj
= PyInt_FromLong((long)result
);
6149 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
*resultobj
;
6151 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6153 PyObject
* obj0
= 0 ;
6155 (char *) "self", NULL
6158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
6159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6162 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
6164 wxPyEndAllowThreads(__tstate
);
6165 if (PyErr_Occurred()) SWIG_fail
;
6167 resultobj
= PyInt_FromLong((long)result
);
6174 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
*resultobj
;
6176 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6178 PyObject
* obj0
= 0 ;
6180 (char *) "self", NULL
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
6184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= PyInt_FromLong((long)result
);
6199 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
*resultobj
;
6201 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6203 PyObject
* obj0
= 0 ;
6205 (char *) "self", NULL
6208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
6209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 resultobj
= PyInt_FromLong((long)result
);
6224 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
;
6226 wxTextAttr
*arg1
= 0 ;
6227 wxTextAttr
*arg2
= 0 ;
6228 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
6230 PyObject
* obj0
= 0 ;
6231 PyObject
* obj1
= 0 ;
6232 PyObject
* obj2
= 0 ;
6234 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6240 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6242 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6244 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6246 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6255 wxTextAttr
* resultptr
;
6256 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
6257 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
6265 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
6267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6268 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
6270 return Py_BuildValue((char *)"");
6272 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
;
6274 wxWindow
*arg1
= (wxWindow
*) 0 ;
6276 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6277 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6278 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6279 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6280 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6281 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6282 long arg6
= (long) 0 ;
6283 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6284 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6285 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
6286 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6288 bool temp3
= False
;
6291 bool temp8
= False
;
6292 PyObject
* obj0
= 0 ;
6293 PyObject
* obj2
= 0 ;
6294 PyObject
* obj3
= 0 ;
6295 PyObject
* obj4
= 0 ;
6296 PyObject
* obj6
= 0 ;
6297 PyObject
* obj7
= 0 ;
6299 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
6303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6306 arg3
= wxString_in_helper(obj2
);
6307 if (arg3
== NULL
) SWIG_fail
;
6314 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6320 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6324 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6331 arg8
= wxString_in_helper(obj7
);
6332 if (arg8
== NULL
) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6344 resultobj
= wxPyMake_wxObject(result
);
6368 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
;
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 result
= (wxTextCtrl
*)new wxTextCtrl();
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6384 resultobj
= wxPyMake_wxObject(result
);
6392 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6393 PyObject
*resultobj
;
6394 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6395 wxWindow
*arg2
= (wxWindow
*) 0 ;
6397 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6398 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6399 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6400 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6401 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6402 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6403 long arg7
= (long) 0 ;
6404 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6405 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6406 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
6407 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6409 bool temp4
= False
;
6412 bool temp9
= False
;
6413 PyObject
* obj0
= 0 ;
6414 PyObject
* obj1
= 0 ;
6415 PyObject
* obj3
= 0 ;
6416 PyObject
* obj4
= 0 ;
6417 PyObject
* obj5
= 0 ;
6418 PyObject
* obj7
= 0 ;
6419 PyObject
* obj8
= 0 ;
6421 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
6425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6426 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6429 arg4
= wxString_in_helper(obj3
);
6430 if (arg4
== NULL
) SWIG_fail
;
6437 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6443 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6447 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6449 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6454 arg9
= wxString_in_helper(obj8
);
6455 if (arg9
== NULL
) SWIG_fail
;
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 resultobj
= PyInt_FromLong((long)result
);
6489 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
*resultobj
;
6491 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6493 PyObject
* obj0
= 0 ;
6495 (char *) "self", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
6499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6520 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
;
6522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6523 wxString
*arg2
= 0 ;
6524 bool temp2
= False
;
6525 PyObject
* obj0
= 0 ;
6526 PyObject
* obj1
= 0 ;
6528 (char *) "self",(char *) "value", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6534 arg2
= wxString_in_helper(obj1
);
6535 if (arg2
== NULL
) SWIG_fail
;
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6540 (arg1
)->SetValue((wxString
const &)*arg2
);
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6545 Py_INCREF(Py_None
); resultobj
= Py_None
;
6560 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
;
6562 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6566 PyObject
* obj0
= 0 ;
6568 (char *) "self",(char *) "from",(char *) "to", NULL
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6582 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6584 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6593 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
;
6595 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6598 PyObject
* obj0
= 0 ;
6600 (char *) "self",(char *) "lineNo", NULL
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6612 resultobj
= PyInt_FromLong((long)result
);
6619 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
*resultobj
;
6621 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6624 PyObject
* obj0
= 0 ;
6626 (char *) "self",(char *) "lineNo", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineText",kwnames
,&obj0
,&arg2
)) goto fail
;
6630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6651 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
;
6653 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6655 PyObject
* obj0
= 0 ;
6657 (char *) "self", NULL
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
6661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6669 resultobj
= PyInt_FromLong((long)result
);
6676 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
;
6678 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6680 PyObject
* obj0
= 0 ;
6682 (char *) "self", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
6686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 resultobj
= PyInt_FromLong((long)result
);
6701 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6703 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6705 PyObject
* obj0
= 0 ;
6707 (char *) "self", NULL
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
6711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= PyInt_FromLong((long)result
);
6726 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
;
6728 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6730 PyObject
* obj0
= 0 ;
6732 (char *) "self", NULL
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
6736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6744 resultobj
= PyInt_FromLong((long)result
);
6751 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
;
6753 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6755 PyObject
* obj0
= 0 ;
6757 (char *) "self", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= PyInt_FromLong((long)result
);
6776 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6779 long *arg2
= (long *) 0 ;
6780 long *arg3
= (long *) 0 ;
6783 PyObject
* obj0
= 0 ;
6785 (char *) "self", NULL
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
6791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6799 Py_INCREF(Py_None
); resultobj
= Py_None
;
6801 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
6802 resultobj
= t_output_helper(resultobj
,o
);
6805 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6806 resultobj
= t_output_helper(resultobj
,o
);
6814 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
*resultobj
;
6816 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6818 PyObject
* obj0
= 0 ;
6820 (char *) "self", NULL
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
6824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6845 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6848 PyObject
* obj0
= 0 ;
6850 (char *) "self", NULL
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
6854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 Py_INCREF(Py_None
); resultobj
= Py_None
;
6869 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
*resultobj
;
6871 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6874 wxString
*arg4
= 0 ;
6875 bool temp4
= False
;
6876 PyObject
* obj0
= 0 ;
6877 PyObject
* obj3
= 0 ;
6879 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
6883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6885 arg4
= wxString_in_helper(obj3
);
6886 if (arg4
== NULL
) SWIG_fail
;
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 Py_INCREF(Py_None
); resultobj
= Py_None
;
6911 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6913 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6916 PyObject
* obj0
= 0 ;
6918 (char *) "self",(char *) "from",(char *) "to", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 (arg1
)->Remove(arg2
,arg3
);
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 Py_INCREF(Py_None
); resultobj
= Py_None
;
6937 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
;
6939 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6940 wxString
*arg2
= 0 ;
6942 bool temp2
= False
;
6943 PyObject
* obj0
= 0 ;
6944 PyObject
* obj1
= 0 ;
6946 (char *) "self",(char *) "file", NULL
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6952 arg2
= wxString_in_helper(obj1
);
6953 if (arg2
== NULL
) SWIG_fail
;
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= PyInt_FromLong((long)result
);
6978 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
;
6980 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6981 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6982 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6984 bool temp2
= False
;
6985 PyObject
* obj0
= 0 ;
6986 PyObject
* obj1
= 0 ;
6988 (char *) "self",(char *) "file", NULL
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6995 arg2
= wxString_in_helper(obj1
);
6996 if (arg2
== NULL
) SWIG_fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7007 resultobj
= PyInt_FromLong((long)result
);
7022 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
;
7024 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7027 (char *) "self", NULL
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
7031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 (arg1
)->MarkDirty();
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 Py_INCREF(Py_None
); resultobj
= Py_None
;
7046 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
;
7048 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7049 PyObject
* obj0
= 0 ;
7051 (char *) "self", NULL
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
7055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 (arg1
)->DiscardEdits();
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 Py_INCREF(Py_None
); resultobj
= Py_None
;
7070 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7073 unsigned long arg2
;
7074 PyObject
* obj0
= 0 ;
7075 PyObject
* obj1
= 0 ;
7077 (char *) "self",(char *) "len", NULL
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7082 arg2
= (unsigned long) PyInt_AsLong(obj1
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 (arg1
)->SetMaxLength(arg2
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 Py_INCREF(Py_None
); resultobj
= Py_None
;
7098 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
;
7100 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7101 wxString
*arg2
= 0 ;
7102 bool temp2
= False
;
7103 PyObject
* obj0
= 0 ;
7104 PyObject
* obj1
= 0 ;
7106 (char *) "self",(char *) "text", NULL
7109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
7110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7112 arg2
= wxString_in_helper(obj1
);
7113 if (arg2
== NULL
) SWIG_fail
;
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 (arg1
)->WriteText((wxString
const &)*arg2
);
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7123 Py_INCREF(Py_None
); resultobj
= Py_None
;
7138 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7140 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7141 wxString
*arg2
= 0 ;
7142 bool temp2
= False
;
7143 PyObject
* obj0
= 0 ;
7144 PyObject
* obj1
= 0 ;
7146 (char *) "self",(char *) "text", NULL
7149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
7150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7152 arg2
= wxString_in_helper(obj1
);
7153 if (arg2
== NULL
) SWIG_fail
;
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 (arg1
)->AppendText((wxString
const &)*arg2
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 Py_INCREF(Py_None
); resultobj
= Py_None
;
7178 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
;
7180 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7181 wxKeyEvent
*arg2
= 0 ;
7183 PyObject
* obj0
= 0 ;
7184 PyObject
* obj1
= 0 ;
7186 (char *) "self",(char *) "event", NULL
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
7190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7191 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7193 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7197 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
7199 wxPyEndAllowThreads(__tstate
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7202 resultobj
= PyInt_FromLong((long)result
);
7209 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
*resultobj
;
7211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7214 wxTextAttr
*arg4
= 0 ;
7216 PyObject
* obj0
= 0 ;
7217 PyObject
* obj3
= 0 ;
7219 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_SetStyle",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7224 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7226 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7235 resultobj
= PyInt_FromLong((long)result
);
7242 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7243 PyObject
*resultobj
;
7244 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7246 wxTextAttr
*arg3
= 0 ;
7248 PyObject
* obj0
= 0 ;
7249 PyObject
* obj2
= 0 ;
7251 (char *) "self",(char *) "position",(char *) "style", NULL
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:TextCtrl_GetStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7256 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7258 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= PyInt_FromLong((long)result
);
7274 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
;
7276 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7277 wxTextAttr
*arg2
= 0 ;
7279 PyObject
* obj0
= 0 ;
7280 PyObject
* obj1
= 0 ;
7282 (char *) "self",(char *) "style", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7287 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7289 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7298 resultobj
= PyInt_FromLong((long)result
);
7305 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
*resultobj
;
7307 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7309 PyObject
* obj0
= 0 ;
7311 (char *) "self", NULL
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
7315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
7320 result
= (wxTextAttr
*) &_result_ref
;
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7326 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
7333 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
;
7335 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7339 PyObject
* obj0
= 0 ;
7341 (char *) "self",(char *) "x",(char *) "y", NULL
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_XYToPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= PyInt_FromLong((long)result
);
7360 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7362 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7364 long *arg3
= (long *) 0 ;
7365 long *arg4
= (long *) 0 ;
7368 PyObject
* obj0
= 0 ;
7370 (char *) "self",(char *) "pos", NULL
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_PositionToXY",kwnames
,&obj0
,&arg2
)) goto fail
;
7376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 Py_INCREF(Py_None
); resultobj
= Py_None
;
7386 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7387 resultobj
= t_output_helper(resultobj
,o
);
7390 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7391 resultobj
= t_output_helper(resultobj
,o
);
7399 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7403 PyObject
* obj0
= 0 ;
7405 (char *) "self",(char *) "pos", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_ShowPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
7409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 (arg1
)->ShowPosition(arg2
);
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 Py_INCREF(Py_None
); resultobj
= Py_None
;
7424 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7427 PyObject
* obj0
= 0 ;
7429 (char *) "self", NULL
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
7433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 Py_INCREF(Py_None
); resultobj
= Py_None
;
7448 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
;
7450 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7451 PyObject
* obj0
= 0 ;
7453 (char *) "self", NULL
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
7457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 Py_INCREF(Py_None
); resultobj
= Py_None
;
7472 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7475 PyObject
* obj0
= 0 ;
7477 (char *) "self", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
7481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 Py_INCREF(Py_None
); resultobj
= Py_None
;
7496 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7498 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7500 PyObject
* obj0
= 0 ;
7502 (char *) "self", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
7506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 resultobj
= PyInt_FromLong((long)result
);
7521 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7525 PyObject
* obj0
= 0 ;
7527 (char *) "self", NULL
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
7531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= PyInt_FromLong((long)result
);
7546 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
*resultobj
;
7548 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7550 PyObject
* obj0
= 0 ;
7552 (char *) "self", NULL
7555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
7556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 resultobj
= PyInt_FromLong((long)result
);
7571 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
*resultobj
;
7573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7574 PyObject
* obj0
= 0 ;
7576 (char *) "self", NULL
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
7580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 Py_INCREF(Py_None
); resultobj
= Py_None
;
7595 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7598 PyObject
* obj0
= 0 ;
7600 (char *) "self", NULL
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
7604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7612 Py_INCREF(Py_None
); resultobj
= Py_None
;
7619 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
*resultobj
;
7621 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7623 PyObject
* obj0
= 0 ;
7625 (char *) "self", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
7629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 resultobj
= PyInt_FromLong((long)result
);
7644 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
;
7646 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7650 (char *) "self", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
7654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7662 resultobj
= PyInt_FromLong((long)result
);
7669 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
*resultobj
;
7671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7673 PyObject
* obj0
= 0 ;
7675 (char *) "self",(char *) "pos", NULL
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
7679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7682 (arg1
)->SetInsertionPoint(arg2
);
7684 wxPyEndAllowThreads(__tstate
);
7685 if (PyErr_Occurred()) SWIG_fail
;
7687 Py_INCREF(Py_None
); resultobj
= Py_None
;
7694 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
;
7696 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7697 PyObject
* obj0
= 0 ;
7699 (char *) "self", NULL
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
7703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 (arg1
)->SetInsertionPointEnd();
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 Py_INCREF(Py_None
); resultobj
= Py_None
;
7718 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7722 PyObject
* obj0
= 0 ;
7724 (char *) "self", NULL
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
7728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= PyInt_FromLong((long)result
);
7743 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7745 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7747 PyObject
* obj0
= 0 ;
7749 (char *) "self", NULL
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
7753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7756 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
7758 wxPyEndAllowThreads(__tstate
);
7759 if (PyErr_Occurred()) SWIG_fail
;
7761 resultobj
= PyInt_FromLong((long)result
);
7768 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
*resultobj
;
7770 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7773 PyObject
* obj0
= 0 ;
7775 (char *) "self",(char *) "from",(char *) "to", NULL
7778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 (arg1
)->SetSelection(arg2
,arg3
);
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 Py_INCREF(Py_None
); resultobj
= Py_None
;
7794 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
*resultobj
;
7796 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7797 PyObject
* obj0
= 0 ;
7799 (char *) "self", NULL
7802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
7803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 (arg1
)->SelectAll();
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 Py_INCREF(Py_None
); resultobj
= Py_None
;
7818 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
*resultobj
;
7820 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7822 PyObject
* obj0
= 0 ;
7823 PyObject
* obj1
= 0 ;
7825 (char *) "self",(char *) "editable", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
7829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7830 arg2
= PyInt_AsLong(obj1
) ? true : false;
7831 if (PyErr_Occurred()) SWIG_fail
;
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 (arg1
)->SetEditable(arg2
);
7836 wxPyEndAllowThreads(__tstate
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7839 Py_INCREF(Py_None
); resultobj
= Py_None
;
7846 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
*resultobj
;
7848 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7849 bool arg2
= (bool) True
;
7851 PyObject
* obj0
= 0 ;
7852 PyObject
* obj1
= 0 ;
7854 (char *) "self",(char *) "show", NULL
7857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
7858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7860 arg2
= PyInt_AsLong(obj1
) ? true : false;
7861 if (PyErr_Occurred()) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= PyInt_FromLong((long)result
);
7877 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7879 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7881 PyObject
* obj0
= 0 ;
7883 (char *) "self", NULL
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
7887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 result
= (bool)(arg1
)->HideNativeCaret();
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= PyInt_FromLong((long)result
);
7902 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
;
7904 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7905 wxString
*arg2
= 0 ;
7906 bool temp2
= False
;
7907 PyObject
* obj0
= 0 ;
7908 PyObject
* obj1
= 0 ;
7910 (char *) "self",(char *) "text", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7916 arg2
= wxString_in_helper(obj1
);
7917 if (arg2
== NULL
) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 Py_INCREF(Py_None
); resultobj
= Py_None
;
7942 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
*resultobj
;
7944 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7948 PyObject
* obj0
= 0 ;
7950 (char *) "self",(char *) "from",(char *) "to", NULL
7953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetString",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7975 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7978 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
7980 return Py_BuildValue((char *)"");
7982 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7985 wxMouseEvent
*arg2
= 0 ;
7988 wxTextUrlEvent
*result
;
7989 PyObject
* obj1
= 0 ;
7991 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOll:new_TextUrlEvent",kwnames
,&arg1
,&obj1
,&arg3
,&arg4
)) goto fail
;
7995 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7997 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
8003 wxPyEndAllowThreads(__tstate
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8006 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
8013 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8014 PyObject
*resultobj
;
8015 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8016 wxMouseEvent
*result
;
8017 PyObject
* obj0
= 0 ;
8019 (char *) "self", NULL
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
8023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
8028 result
= (wxMouseEvent
*) &_result_ref
;
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8034 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
8041 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
*resultobj
;
8043 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8045 PyObject
* obj0
= 0 ;
8047 (char *) "self", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
8051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 resultobj
= PyInt_FromLong((long)result
);
8066 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
;
8068 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8070 PyObject
* obj0
= 0 ;
8072 (char *) "self", NULL
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
8076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
8081 wxPyEndAllowThreads(__tstate
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8084 resultobj
= PyInt_FromLong((long)result
);
8091 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8094 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
8096 return Py_BuildValue((char *)"");
8098 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
*resultobj
;
8100 wxWindow
*arg1
= (wxWindow
*) 0 ;
8101 int arg2
= (int) -1 ;
8102 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8103 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8104 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8105 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8106 long arg5
= (long) wxSB_HORIZONTAL
;
8107 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
8108 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
8109 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
8110 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8111 wxScrollBar
*result
;
8114 bool temp7
= False
;
8115 PyObject
* obj0
= 0 ;
8116 PyObject
* obj2
= 0 ;
8117 PyObject
* obj3
= 0 ;
8118 PyObject
* obj5
= 0 ;
8119 PyObject
* obj6
= 0 ;
8121 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ScrollBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
8125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8129 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8135 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8139 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8141 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8146 arg7
= wxString_in_helper(obj6
);
8147 if (arg7
== NULL
) SWIG_fail
;
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8153 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8158 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8173 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
*resultobj
;
8175 wxScrollBar
*result
;
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 result
= (wxScrollBar
*)new wxScrollBar();
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8195 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
;
8197 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8198 wxWindow
*arg2
= (wxWindow
*) 0 ;
8199 int arg3
= (int) -1 ;
8200 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8201 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8202 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8203 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8204 long arg6
= (long) wxSB_HORIZONTAL
;
8205 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8206 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8207 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
8208 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8212 bool temp8
= False
;
8213 PyObject
* obj0
= 0 ;
8214 PyObject
* obj1
= 0 ;
8215 PyObject
* obj3
= 0 ;
8216 PyObject
* obj4
= 0 ;
8217 PyObject
* obj6
= 0 ;
8218 PyObject
* obj7
= 0 ;
8220 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
8224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8225 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8229 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8235 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8239 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8241 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8246 arg8
= wxString_in_helper(obj7
);
8247 if (arg8
== NULL
) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= PyInt_FromLong((long)result
);
8273 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8277 PyObject
* obj0
= 0 ;
8279 (char *) "self", NULL
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
8283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= PyInt_FromLong((long)result
);
8298 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
*resultobj
;
8300 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8302 PyObject
* obj0
= 0 ;
8304 (char *) "self", NULL
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
8308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
8313 wxPyEndAllowThreads(__tstate
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8316 resultobj
= PyInt_FromLong((long)result
);
8323 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
*resultobj
;
8325 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8327 PyObject
* obj0
= 0 ;
8329 (char *) "self", NULL
8332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
8333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8341 resultobj
= PyInt_FromLong((long)result
);
8348 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
;
8350 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8352 PyObject
* obj0
= 0 ;
8354 (char *) "self", NULL
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
8358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 resultobj
= PyInt_FromLong((long)result
);
8373 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8377 PyObject
* obj0
= 0 ;
8379 (char *) "self", NULL
8382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
8383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= PyInt_FromLong((long)result
);
8398 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8402 PyObject
* obj0
= 0 ;
8404 (char *) "self",(char *) "viewStart", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
8408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 (arg1
)->SetThumbPosition(arg2
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 Py_INCREF(Py_None
); resultobj
= Py_None
;
8423 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
;
8425 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8430 bool arg6
= (bool) True
;
8431 PyObject
* obj0
= 0 ;
8432 PyObject
* obj5
= 0 ;
8434 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
8438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8440 arg6
= PyInt_AsLong(obj5
) ? true : false;
8441 if (PyErr_Occurred()) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 Py_INCREF(Py_None
); resultobj
= Py_None
;
8457 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
8459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8460 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
8462 return Py_BuildValue((char *)"");
8464 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 wxWindow
*arg1
= (wxWindow
*) 0 ;
8467 int arg2
= (int) -1 ;
8468 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8469 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8470 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8471 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8472 long arg5
= (long) wxSP_HORIZONTAL
;
8473 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
8474 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8475 wxSpinButton
*result
;
8478 bool temp6
= False
;
8479 PyObject
* obj0
= 0 ;
8480 PyObject
* obj2
= 0 ;
8481 PyObject
* obj3
= 0 ;
8482 PyObject
* obj5
= 0 ;
8484 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_SpinButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8492 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8498 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8503 arg6
= wxString_in_helper(obj5
);
8504 if (arg6
== NULL
) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8530 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxSpinButton
*result
;
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
8539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8540 result
= (wxSpinButton
*)new wxSpinButton();
8542 wxPyEndAllowThreads(__tstate
);
8543 if (PyErr_Occurred()) SWIG_fail
;
8545 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8552 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8553 PyObject
*resultobj
;
8554 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8555 wxWindow
*arg2
= (wxWindow
*) 0 ;
8556 int arg3
= (int) -1 ;
8557 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8558 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8559 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8560 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8561 long arg6
= (long) wxSP_HORIZONTAL
;
8562 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
8563 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8567 bool temp7
= False
;
8568 PyObject
* obj0
= 0 ;
8569 PyObject
* obj1
= 0 ;
8570 PyObject
* obj3
= 0 ;
8571 PyObject
* obj4
= 0 ;
8572 PyObject
* obj6
= 0 ;
8574 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8579 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8594 arg7
= wxString_in_helper(obj6
);
8595 if (arg7
== NULL
) SWIG_fail
;
8600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8601 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8603 wxPyEndAllowThreads(__tstate
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= PyInt_FromLong((long)result
);
8621 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8622 PyObject
*resultobj
;
8623 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8625 PyObject
* obj0
= 0 ;
8627 (char *) "self", NULL
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
8631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= PyInt_FromLong((long)result
);
8646 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8650 PyObject
* obj0
= 0 ;
8652 (char *) "self", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
8656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= PyInt_FromLong((long)result
);
8671 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8675 PyObject
* obj0
= 0 ;
8677 (char *) "self", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
8681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 resultobj
= PyInt_FromLong((long)result
);
8696 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
;
8698 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8700 PyObject
* obj0
= 0 ;
8702 (char *) "self",(char *) "val", NULL
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
8706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 (arg1
)->SetValue(arg2
);
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 Py_INCREF(Py_None
); resultobj
= Py_None
;
8721 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
*resultobj
;
8723 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8725 PyObject
* obj0
= 0 ;
8727 (char *) "self",(char *) "minVal", NULL
8730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
8731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 (arg1
)->SetMin(arg2
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 Py_INCREF(Py_None
); resultobj
= Py_None
;
8746 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
;
8748 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8750 PyObject
* obj0
= 0 ;
8752 (char *) "self",(char *) "maxVal", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
8756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 (arg1
)->SetMax(arg2
);
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8764 Py_INCREF(Py_None
); resultobj
= Py_None
;
8771 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
*resultobj
;
8773 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8776 PyObject
* obj0
= 0 ;
8778 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinButton_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 (arg1
)->SetRange(arg2
,arg3
);
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8790 Py_INCREF(Py_None
); resultobj
= Py_None
;
8797 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
;
8799 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8801 PyObject
* obj0
= 0 ;
8803 (char *) "self", NULL
8806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
8807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 resultobj
= PyInt_FromLong((long)result
);
8822 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
8824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8825 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
8827 return Py_BuildValue((char *)"");
8829 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxWindow
*arg1
= (wxWindow
*) 0 ;
8832 int arg2
= (int) -1 ;
8833 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8834 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8835 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8836 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8837 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8838 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8839 long arg6
= (long) wxSP_ARROW_KEYS
;
8840 int arg7
= (int) 0 ;
8841 int arg8
= (int) 100 ;
8842 int arg9
= (int) 0 ;
8843 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
8844 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
8846 bool temp3
= False
;
8849 bool temp10
= False
;
8850 PyObject
* obj0
= 0 ;
8851 PyObject
* obj2
= 0 ;
8852 PyObject
* obj3
= 0 ;
8853 PyObject
* obj4
= 0 ;
8854 PyObject
* obj9
= 0 ;
8856 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
)) goto fail
;
8860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8863 arg3
= wxString_in_helper(obj2
);
8864 if (arg3
== NULL
) SWIG_fail
;
8871 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8877 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8882 arg10
= wxString_in_helper(obj9
);
8883 if (arg10
== NULL
) SWIG_fail
;
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
8891 wxPyEndAllowThreads(__tstate
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8894 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
8917 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8918 PyObject
*resultobj
;
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 result
= (wxSpinCtrl
*)new wxSpinCtrl();
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
8939 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8941 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8942 wxWindow
*arg2
= (wxWindow
*) 0 ;
8943 int arg3
= (int) -1 ;
8944 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8945 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8946 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8947 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8948 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8949 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8950 long arg7
= (long) wxSP_ARROW_KEYS
;
8951 int arg8
= (int) 0 ;
8952 int arg9
= (int) 100 ;
8953 int arg10
= (int) 0 ;
8954 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
8955 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
8957 bool temp4
= False
;
8960 bool temp11
= False
;
8961 PyObject
* obj0
= 0 ;
8962 PyObject
* obj1
= 0 ;
8963 PyObject
* obj3
= 0 ;
8964 PyObject
* obj4
= 0 ;
8965 PyObject
* obj5
= 0 ;
8966 PyObject
* obj10
= 0 ;
8968 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&arg8
,&arg9
,&arg10
,&obj10
)) goto fail
;
8972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8973 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8976 arg4
= wxString_in_helper(obj3
);
8977 if (arg4
== NULL
) SWIG_fail
;
8984 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8990 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8995 arg11
= wxString_in_helper(obj10
);
8996 if (arg11
== NULL
) SWIG_fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 resultobj
= PyInt_FromLong((long)result
);
9030 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
*resultobj
;
9032 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9034 PyObject
* obj0
= 0 ;
9036 (char *) "self", NULL
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 resultobj
= PyInt_FromLong((long)result
);
9055 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
;
9057 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9059 PyObject
* obj0
= 0 ;
9061 (char *) "self",(char *) "value", NULL
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinCtrl_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 (arg1
)->SetValue(arg2
);
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 Py_INCREF(Py_None
); resultobj
= Py_None
;
9080 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9083 wxString
*arg2
= 0 ;
9084 bool temp2
= False
;
9085 PyObject
* obj0
= 0 ;
9086 PyObject
* obj1
= 0 ;
9088 (char *) "self",(char *) "text", NULL
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
9092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9094 arg2
= wxString_in_helper(obj1
);
9095 if (arg2
== NULL
) SWIG_fail
;
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 (arg1
)->SetValue((wxString
const &)*arg2
);
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9105 Py_INCREF(Py_None
); resultobj
= Py_None
;
9120 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
;
9122 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9125 PyObject
* obj0
= 0 ;
9127 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinCtrl_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 (arg1
)->SetRange(arg2
,arg3
);
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9139 Py_INCREF(Py_None
); resultobj
= Py_None
;
9146 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
;
9148 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9150 PyObject
* obj0
= 0 ;
9152 (char *) "self", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
9156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= PyInt_FromLong((long)result
);
9171 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9175 PyObject
* obj0
= 0 ;
9177 (char *) "self", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
9181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 resultobj
= PyInt_FromLong((long)result
);
9196 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9201 PyObject
* obj0
= 0 ;
9203 (char *) "self",(char *) "from",(char *) "to", NULL
9206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:SpinCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9210 (arg1
)->SetSelection(arg2
,arg3
);
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9215 Py_INCREF(Py_None
); resultobj
= Py_None
;
9222 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9225 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
9227 return Py_BuildValue((char *)"");
9229 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
;
9231 wxWindow
*arg1
= (wxWindow
*) 0 ;
9233 wxString
*arg3
= 0 ;
9234 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9235 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9236 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9237 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9238 int arg6
= (int) 0 ;
9239 wxString
*arg7
= (wxString
*) NULL
;
9240 int arg8
= (int) 0 ;
9241 long arg9
= (long) wxRA_HORIZONTAL
;
9242 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
9243 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
9244 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
9245 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9247 bool temp3
= False
;
9250 bool temp10
= False
;
9251 PyObject
* obj0
= 0 ;
9252 PyObject
* obj2
= 0 ;
9253 PyObject
* obj3
= 0 ;
9254 PyObject
* obj4
= 0 ;
9255 PyObject
* obj5
= 0 ;
9256 PyObject
* obj8
= 0 ;
9257 PyObject
* obj9
= 0 ;
9259 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOOilOO:new_RadioBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&arg9
,&obj8
,&obj9
)) goto fail
;
9263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9265 arg3
= wxString_in_helper(obj2
);
9266 if (arg3
== NULL
) SWIG_fail
;
9272 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9278 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9283 arg6
= PyList_Size(obj5
);
9284 arg7
= wxString_LIST_helper(obj5
);
9285 if (arg7
== NULL
) SWIG_fail
;
9289 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9290 if (arg10
== NULL
) {
9291 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9296 arg11
= wxString_in_helper(obj9
);
9297 if (arg11
== NULL
) SWIG_fail
;
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 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
);
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9314 if (arg7
) delete [] arg7
;
9327 if (arg7
) delete [] arg7
;
9337 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
;
9344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 result
= (wxRadioBox
*)new wxRadioBox();
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9359 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9362 wxWindow
*arg2
= (wxWindow
*) 0 ;
9364 wxString
*arg4
= 0 ;
9365 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9366 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9367 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9368 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9369 int arg7
= (int) 0 ;
9370 wxString
*arg8
= (wxString
*) NULL
;
9371 int arg9
= (int) 0 ;
9372 long arg10
= (long) wxRA_HORIZONTAL
;
9373 wxValidator
const &arg11_defvalue
= wxDefaultValidator
;
9374 wxValidator
*arg11
= (wxValidator
*) &arg11_defvalue
;
9375 wxString
const &arg12_defvalue
= wxPyRadioBoxNameStr
;
9376 wxString
*arg12
= (wxString
*) &arg12_defvalue
;
9378 bool temp4
= False
;
9381 bool temp11
= False
;
9382 PyObject
* obj0
= 0 ;
9383 PyObject
* obj1
= 0 ;
9384 PyObject
* obj3
= 0 ;
9385 PyObject
* obj4
= 0 ;
9386 PyObject
* obj5
= 0 ;
9387 PyObject
* obj6
= 0 ;
9388 PyObject
* obj9
= 0 ;
9389 PyObject
* obj10
= 0 ;
9391 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&arg10
,&obj9
,&obj10
)) goto fail
;
9395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9396 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9398 arg4
= wxString_in_helper(obj3
);
9399 if (arg4
== NULL
) SWIG_fail
;
9405 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9411 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9416 arg7
= PyList_Size(obj6
);
9417 arg8
= wxString_LIST_helper(obj6
);
9418 if (arg8
== NULL
) SWIG_fail
;
9422 if ((SWIG_ConvertPtr(obj9
,(void **) &arg11
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9423 if (arg11
== NULL
) {
9424 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9429 arg12
= wxString_in_helper(obj10
);
9430 if (arg12
== NULL
) SWIG_fail
;
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 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
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= PyInt_FromLong((long)result
);
9447 if (arg8
) delete [] arg8
;
9460 if (arg8
) delete [] arg8
;
9470 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9474 PyObject
* obj0
= 0 ;
9476 (char *) "self",(char *) "n", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
9480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 (arg1
)->SetSelection(arg2
);
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9488 Py_INCREF(Py_None
); resultobj
= Py_None
;
9495 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
;
9497 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9499 PyObject
* obj0
= 0 ;
9501 (char *) "self", NULL
9504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= PyInt_FromLong((long)result
);
9520 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
;
9522 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9524 PyObject
* obj0
= 0 ;
9526 (char *) "self", NULL
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
9530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9551 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
;
9553 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9554 wxString
*arg2
= 0 ;
9556 bool temp2
= False
;
9557 PyObject
* obj0
= 0 ;
9558 PyObject
* obj1
= 0 ;
9560 (char *) "self",(char *) "s", NULL
9563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9566 arg2
= wxString_in_helper(obj1
);
9567 if (arg2
== NULL
) SWIG_fail
;
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9577 resultobj
= PyInt_FromLong((long)result
);
9592 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9594 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9596 PyObject
* obj0
= 0 ;
9598 (char *) "self", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
9602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 resultobj
= PyInt_FromLong((long)result
);
9617 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
*resultobj
;
9619 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9620 wxString
*arg2
= 0 ;
9622 bool temp2
= False
;
9623 PyObject
* obj0
= 0 ;
9624 PyObject
* obj1
= 0 ;
9626 (char *) "self",(char *) "s", NULL
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
9630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9632 arg2
= wxString_in_helper(obj1
);
9633 if (arg2
== NULL
) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= PyInt_FromLong((long)result
);
9658 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
;
9660 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9663 PyObject
* obj0
= 0 ;
9665 (char *) "self",(char *) "n", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
9669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9690 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
*resultobj
;
9692 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9694 wxString
*arg3
= 0 ;
9695 bool temp3
= False
;
9696 PyObject
* obj0
= 0 ;
9697 PyObject
* obj2
= 0 ;
9699 (char *) "self",(char *) "n",(char *) "label", NULL
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:RadioBox_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9705 arg3
= wxString_in_helper(obj2
);
9706 if (arg3
== NULL
) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9716 Py_INCREF(Py_None
); resultobj
= Py_None
;
9731 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
;
9733 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9735 bool arg3
= (bool) True
;
9736 PyObject
* obj0
= 0 ;
9737 PyObject
* obj2
= 0 ;
9739 (char *) "self",(char *) "n",(char *) "enable", NULL
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_EnableItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9745 arg3
= PyInt_AsLong(obj2
) ? true : false;
9746 if (PyErr_Occurred()) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 (arg1
)->Enable(arg2
,arg3
);
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9755 Py_INCREF(Py_None
); resultobj
= Py_None
;
9762 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
*resultobj
;
9764 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9766 bool arg3
= (bool) True
;
9767 PyObject
* obj0
= 0 ;
9768 PyObject
* obj2
= 0 ;
9770 (char *) "self",(char *) "n",(char *) "show", NULL
9773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_ShowItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9776 arg3
= PyInt_AsLong(obj2
) ? true : false;
9777 if (PyErr_Occurred()) SWIG_fail
;
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 (arg1
)->Show(arg2
,arg3
);
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9786 Py_INCREF(Py_None
); resultobj
= Py_None
;
9793 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9794 PyObject
*resultobj
;
9795 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9797 PyObject
* obj0
= 0 ;
9799 (char *) "self", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
9803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= PyInt_FromLong((long)result
);
9818 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9820 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9822 PyObject
* obj0
= 0 ;
9824 (char *) "self", NULL
9827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
9828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9836 resultobj
= PyInt_FromLong((long)result
);
9843 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
*resultobj
;
9845 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9850 PyObject
* obj0
= 0 ;
9852 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:RadioBox_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
9856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= PyInt_FromLong((long)result
);
9871 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
9873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9874 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
9876 return Py_BuildValue((char *)"");
9878 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
*resultobj
;
9880 wxWindow
*arg1
= (wxWindow
*) 0 ;
9882 wxString
*arg3
= 0 ;
9883 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9884 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9885 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9886 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9887 long arg6
= (long) 0 ;
9888 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9889 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9890 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
9891 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9892 wxRadioButton
*result
;
9893 bool temp3
= False
;
9896 bool temp8
= False
;
9897 PyObject
* obj0
= 0 ;
9898 PyObject
* obj2
= 0 ;
9899 PyObject
* obj3
= 0 ;
9900 PyObject
* obj4
= 0 ;
9901 PyObject
* obj6
= 0 ;
9902 PyObject
* obj7
= 0 ;
9904 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_RadioButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
9908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9910 arg3
= wxString_in_helper(obj2
);
9911 if (arg3
== NULL
) SWIG_fail
;
9917 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9923 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9927 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9929 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9934 arg8
= wxString_in_helper(obj7
);
9935 if (arg8
== NULL
) SWIG_fail
;
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
9969 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
*resultobj
;
9971 wxRadioButton
*result
;
9976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 result
= (wxRadioButton
*)new wxRadioButton();
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
9991 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9992 PyObject
*resultobj
;
9993 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
9994 wxWindow
*arg2
= (wxWindow
*) 0 ;
9996 wxString
*arg4
= 0 ;
9997 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9998 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9999 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10000 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10001 long arg7
= (long) 0 ;
10002 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10003 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10004 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
10005 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10007 bool temp4
= False
;
10010 bool temp9
= False
;
10011 PyObject
* obj0
= 0 ;
10012 PyObject
* obj1
= 0 ;
10013 PyObject
* obj3
= 0 ;
10014 PyObject
* obj4
= 0 ;
10015 PyObject
* obj5
= 0 ;
10016 PyObject
* obj7
= 0 ;
10017 PyObject
* obj8
= 0 ;
10018 char *kwnames
[] = {
10019 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
10023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10024 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10026 arg4
= wxString_in_helper(obj3
);
10027 if (arg4
== NULL
) SWIG_fail
;
10033 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10039 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10043 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10044 if (arg8
== NULL
) {
10045 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10050 arg9
= wxString_in_helper(obj8
);
10051 if (arg9
== NULL
) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= PyInt_FromLong((long)result
);
10085 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
;
10087 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10089 PyObject
* obj0
= 0 ;
10090 char *kwnames
[] = {
10091 (char *) "self", NULL
10094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
10095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 result
= (bool)(arg1
)->GetValue();
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10103 resultobj
= PyInt_FromLong((long)result
);
10110 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10111 PyObject
*resultobj
;
10112 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10114 PyObject
* obj0
= 0 ;
10115 PyObject
* obj1
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "self",(char *) "value", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10122 arg2
= PyInt_AsLong(obj1
) ? true : false;
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 (arg1
)->SetValue(arg2
);
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10131 Py_INCREF(Py_None
); resultobj
= Py_None
;
10138 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
10140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10141 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
10143 return Py_BuildValue((char *)"");
10145 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10146 PyObject
*resultobj
;
10147 wxWindow
*arg1
= (wxWindow
*) 0 ;
10152 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
10153 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
10154 wxSize
const &arg7_defvalue
= wxDefaultSize
;
10155 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
10156 long arg8
= (long) wxSL_HORIZONTAL
;
10157 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10158 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10159 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
10160 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10164 bool temp10
= False
;
10165 PyObject
* obj0
= 0 ;
10166 PyObject
* obj5
= 0 ;
10167 PyObject
* obj6
= 0 ;
10168 PyObject
* obj8
= 0 ;
10169 PyObject
* obj9
= 0 ;
10170 char *kwnames
[] = {
10171 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOlOO:new_Slider",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
,&obj8
,&obj9
)) goto fail
;
10175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10179 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
10185 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
10189 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10190 if (arg9
== NULL
) {
10191 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10196 arg10
= wxString_in_helper(obj9
);
10197 if (arg10
== NULL
) SWIG_fail
;
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10223 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
*resultobj
;
10226 char *kwnames
[] = {
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (wxSlider
*)new wxSlider();
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10238 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10245 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxSlider
*arg1
= (wxSlider
*) 0 ;
10248 wxWindow
*arg2
= (wxWindow
*) 0 ;
10253 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10254 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10255 wxSize
const &arg8_defvalue
= wxDefaultSize
;
10256 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
10257 long arg9
= (long) wxSL_HORIZONTAL
;
10258 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10259 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10260 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
10261 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10265 bool temp11
= False
;
10266 PyObject
* obj0
= 0 ;
10267 PyObject
* obj1
= 0 ;
10268 PyObject
* obj6
= 0 ;
10269 PyObject
* obj7
= 0 ;
10270 PyObject
* obj9
= 0 ;
10271 PyObject
* obj10
= 0 ;
10272 char *kwnames
[] = {
10273 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiiii|OOlOO:Slider_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&arg9
,&obj9
,&obj10
)) goto fail
;
10277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10278 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10282 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10288 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
10292 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10293 if (arg10
== NULL
) {
10294 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10299 arg11
= wxString_in_helper(obj10
);
10300 if (arg11
== NULL
) SWIG_fail
;
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= PyInt_FromLong((long)result
);
10326 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
;
10328 wxSlider
*arg1
= (wxSlider
*) 0 ;
10330 PyObject
* obj0
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "self", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
10336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (int)((wxSlider
const *)arg1
)->GetValue();
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= PyInt_FromLong((long)result
);
10351 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10352 PyObject
*resultobj
;
10353 wxSlider
*arg1
= (wxSlider
*) 0 ;
10355 PyObject
* obj0
= 0 ;
10356 char *kwnames
[] = {
10357 (char *) "self",(char *) "value", NULL
10360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
10361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 (arg1
)->SetValue(arg2
);
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 Py_INCREF(Py_None
); resultobj
= Py_None
;
10376 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxSlider
*arg1
= (wxSlider
*) 0 ;
10381 PyObject
* obj0
= 0 ;
10382 char *kwnames
[] = {
10383 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 (arg1
)->SetRange(arg2
,arg3
);
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 Py_INCREF(Py_None
); resultobj
= Py_None
;
10402 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
*resultobj
;
10404 wxSlider
*arg1
= (wxSlider
*) 0 ;
10406 PyObject
* obj0
= 0 ;
10407 char *kwnames
[] = {
10408 (char *) "self", NULL
10411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
10412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10415 result
= (int)((wxSlider
const *)arg1
)->GetMin();
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10420 resultobj
= PyInt_FromLong((long)result
);
10427 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
;
10429 wxSlider
*arg1
= (wxSlider
*) 0 ;
10431 PyObject
* obj0
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 result
= (int)((wxSlider
const *)arg1
)->GetMax();
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10445 resultobj
= PyInt_FromLong((long)result
);
10452 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10453 PyObject
*resultobj
;
10454 wxSlider
*arg1
= (wxSlider
*) 0 ;
10456 PyObject
* obj0
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self",(char *) "minValue", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
10462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 (arg1
)->SetMin(arg2
);
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10470 Py_INCREF(Py_None
); resultobj
= Py_None
;
10477 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
*resultobj
;
10479 wxSlider
*arg1
= (wxSlider
*) 0 ;
10481 PyObject
* obj0
= 0 ;
10482 char *kwnames
[] = {
10483 (char *) "self",(char *) "maxValue", NULL
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
10487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 (arg1
)->SetMax(arg2
);
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 Py_INCREF(Py_None
); resultobj
= Py_None
;
10502 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxSlider
*arg1
= (wxSlider
*) 0 ;
10506 PyObject
* obj0
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self",(char *) "lineSize", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetLineSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 (arg1
)->SetLineSize(arg2
);
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10520 Py_INCREF(Py_None
); resultobj
= Py_None
;
10527 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10528 PyObject
*resultobj
;
10529 wxSlider
*arg1
= (wxSlider
*) 0 ;
10531 PyObject
* obj0
= 0 ;
10532 char *kwnames
[] = {
10533 (char *) "self",(char *) "pageSize", NULL
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 (arg1
)->SetPageSize(arg2
);
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10545 Py_INCREF(Py_None
); resultobj
= Py_None
;
10552 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
;
10554 wxSlider
*arg1
= (wxSlider
*) 0 ;
10556 PyObject
* obj0
= 0 ;
10557 char *kwnames
[] = {
10558 (char *) "self", NULL
10561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
10562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 resultobj
= PyInt_FromLong((long)result
);
10577 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
;
10579 wxSlider
*arg1
= (wxSlider
*) 0 ;
10581 PyObject
* obj0
= 0 ;
10582 char *kwnames
[] = {
10583 (char *) "self", NULL
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
10587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= PyInt_FromLong((long)result
);
10602 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxSlider
*arg1
= (wxSlider
*) 0 ;
10606 PyObject
* obj0
= 0 ;
10607 char *kwnames
[] = {
10608 (char *) "self",(char *) "lenPixels", NULL
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetThumbLength",kwnames
,&obj0
,&arg2
)) goto fail
;
10612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 (arg1
)->SetThumbLength(arg2
);
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10620 Py_INCREF(Py_None
); resultobj
= Py_None
;
10627 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10628 PyObject
*resultobj
;
10629 wxSlider
*arg1
= (wxSlider
*) 0 ;
10631 PyObject
* obj0
= 0 ;
10632 char *kwnames
[] = {
10633 (char *) "self", NULL
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
10637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= PyInt_FromLong((long)result
);
10652 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
*resultobj
;
10654 wxSlider
*arg1
= (wxSlider
*) 0 ;
10657 PyObject
* obj0
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "self",(char *) "n",(char *) "pos", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetTickFreq",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10666 (arg1
)->SetTickFreq(arg2
,arg3
);
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 Py_INCREF(Py_None
); resultobj
= Py_None
;
10678 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
*resultobj
;
10680 wxSlider
*arg1
= (wxSlider
*) 0 ;
10682 PyObject
* obj0
= 0 ;
10683 char *kwnames
[] = {
10684 (char *) "self", NULL
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
10688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10696 resultobj
= PyInt_FromLong((long)result
);
10703 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
*resultobj
;
10705 wxSlider
*arg1
= (wxSlider
*) 0 ;
10706 PyObject
* obj0
= 0 ;
10707 char *kwnames
[] = {
10708 (char *) "self", NULL
10711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
10712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 (arg1
)->ClearTicks();
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 Py_INCREF(Py_None
); resultobj
= Py_None
;
10727 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
;
10729 wxSlider
*arg1
= (wxSlider
*) 0 ;
10731 PyObject
* obj0
= 0 ;
10732 char *kwnames
[] = {
10733 (char *) "self",(char *) "tickPos", NULL
10736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetTick",kwnames
,&obj0
,&arg2
)) goto fail
;
10737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10740 (arg1
)->SetTick(arg2
);
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 Py_INCREF(Py_None
); resultobj
= Py_None
;
10752 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
;
10754 wxSlider
*arg1
= (wxSlider
*) 0 ;
10755 PyObject
* obj0
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "self", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
10761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 (arg1
)->ClearSel();
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10769 Py_INCREF(Py_None
); resultobj
= Py_None
;
10776 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxSlider
*arg1
= (wxSlider
*) 0 ;
10780 PyObject
* obj0
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
10786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10794 resultobj
= PyInt_FromLong((long)result
);
10801 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
;
10803 wxSlider
*arg1
= (wxSlider
*) 0 ;
10805 PyObject
* obj0
= 0 ;
10806 char *kwnames
[] = {
10807 (char *) "self", NULL
10810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
10811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= PyInt_FromLong((long)result
);
10826 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxSlider
*arg1
= (wxSlider
*) 0 ;
10831 PyObject
* obj0
= 0 ;
10832 char *kwnames
[] = {
10833 (char *) "self",(char *) "min",(char *) "max", NULL
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 (arg1
)->SetSelection(arg2
,arg3
);
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 Py_INCREF(Py_None
); resultobj
= Py_None
;
10852 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
10854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10855 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
10857 return Py_BuildValue((char *)"");
10859 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
;
10861 wxWindow
*arg1
= (wxWindow
*) 0 ;
10863 wxString
*arg3
= 0 ;
10864 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10865 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10866 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10867 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10868 long arg6
= (long) 0 ;
10869 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10870 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10871 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
10872 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10873 wxToggleButton
*result
;
10874 bool temp3
= False
;
10877 bool temp8
= False
;
10878 PyObject
* obj0
= 0 ;
10879 PyObject
* obj2
= 0 ;
10880 PyObject
* obj3
= 0 ;
10881 PyObject
* obj4
= 0 ;
10882 PyObject
* obj6
= 0 ;
10883 PyObject
* obj7
= 0 ;
10884 char *kwnames
[] = {
10885 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_ToggleButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10891 arg3
= wxString_in_helper(obj2
);
10892 if (arg3
== NULL
) SWIG_fail
;
10898 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10904 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10908 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10909 if (arg7
== NULL
) {
10910 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10915 arg8
= wxString_in_helper(obj7
);
10916 if (arg8
== NULL
) SWIG_fail
;
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10927 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
10950 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10951 PyObject
*resultobj
;
10952 wxToggleButton
*result
;
10953 char *kwnames
[] = {
10957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= (wxToggleButton
*)new wxToggleButton();
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
10972 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
10975 wxWindow
*arg2
= (wxWindow
*) 0 ;
10977 wxString
*arg4
= 0 ;
10978 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10979 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10980 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10981 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10982 long arg7
= (long) 0 ;
10983 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10984 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10985 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
10986 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10988 bool temp4
= False
;
10991 bool temp9
= False
;
10992 PyObject
* obj0
= 0 ;
10993 PyObject
* obj1
= 0 ;
10994 PyObject
* obj3
= 0 ;
10995 PyObject
* obj4
= 0 ;
10996 PyObject
* obj5
= 0 ;
10997 PyObject
* obj7
= 0 ;
10998 PyObject
* obj8
= 0 ;
10999 char *kwnames
[] = {
11000 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
11004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11005 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11007 arg4
= wxString_in_helper(obj3
);
11008 if (arg4
== NULL
) SWIG_fail
;
11014 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11020 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11024 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11025 if (arg8
== NULL
) {
11026 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11031 arg9
= wxString_in_helper(obj8
);
11032 if (arg9
== NULL
) SWIG_fail
;
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11043 resultobj
= PyInt_FromLong((long)result
);
11066 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11070 PyObject
* obj0
= 0 ;
11071 PyObject
* obj1
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self",(char *) "value", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11078 arg2
= PyInt_AsLong(obj1
) ? true : false;
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 (arg1
)->SetValue(arg2
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 Py_INCREF(Py_None
); resultobj
= Py_None
;
11094 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11096 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11098 PyObject
* obj0
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "self", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
11104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 resultobj
= PyInt_FromLong((long)result
);
11119 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11122 wxString
*arg2
= 0 ;
11123 bool temp2
= False
;
11124 PyObject
* obj0
= 0 ;
11125 PyObject
* obj1
= 0 ;
11126 char *kwnames
[] = {
11127 (char *) "self",(char *) "label", NULL
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
11131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11133 arg2
= wxString_in_helper(obj1
);
11134 if (arg2
== NULL
) SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 (arg1
)->SetLabel((wxString
const &)*arg2
);
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 Py_INCREF(Py_None
); resultobj
= Py_None
;
11159 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
11161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11162 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
11164 return Py_BuildValue((char *)"");
11166 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
*resultobj
;
11168 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11170 PyObject
* obj0
= 0 ;
11171 char *kwnames
[] = {
11172 (char *) "self", NULL
11175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
11176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 resultobj
= PyInt_FromLong((long)result
);
11191 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11196 PyObject
* obj0
= 0 ;
11197 PyObject
* obj1
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "self",(char *) "n", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11204 arg2
= (size_t) PyInt_AsLong(obj1
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11214 resultobj
= wxPyMake_wxObject(result
);
11222 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
;
11224 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11226 PyObject
* obj0
= 0 ;
11227 char *kwnames
[] = {
11228 (char *) "self", NULL
11231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
11232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 resultobj
= PyInt_FromLong((long)result
);
11247 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11251 wxString
*arg3
= 0 ;
11253 bool temp3
= False
;
11254 PyObject
* obj0
= 0 ;
11255 PyObject
* obj1
= 0 ;
11256 PyObject
* obj2
= 0 ;
11257 char *kwnames
[] = {
11258 (char *) "self",(char *) "n",(char *) "strText", NULL
11261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11263 arg2
= (size_t) PyInt_AsLong(obj1
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11266 arg3
= wxString_in_helper(obj2
);
11267 if (arg3
== NULL
) SWIG_fail
;
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11277 resultobj
= PyInt_FromLong((long)result
);
11292 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
*resultobj
;
11294 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11297 PyObject
* obj0
= 0 ;
11298 PyObject
* obj1
= 0 ;
11299 char *kwnames
[] = {
11300 (char *) "self",(char *) "n", NULL
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
11304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11305 arg2
= (size_t) PyInt_AsLong(obj1
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11327 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
;
11329 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11330 wxImageList
*arg2
= (wxImageList
*) 0 ;
11331 PyObject
* obj0
= 0 ;
11332 PyObject
* obj1
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self",(char *) "imageList", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11339 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 (arg1
)->SetImageList(arg2
);
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 Py_INCREF(Py_None
); resultobj
= Py_None
;
11354 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
;
11356 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11357 wxImageList
*arg2
= (wxImageList
*) 0 ;
11358 PyObject
* obj0
= 0 ;
11359 PyObject
* obj1
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self",(char *) "imageList", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11366 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11369 (arg1
)->AssignImageList(arg2
);
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 Py_INCREF(Py_None
); resultobj
= Py_None
;
11381 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
;
11383 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11384 wxImageList
*result
;
11385 PyObject
* obj0
= 0 ;
11386 char *kwnames
[] = {
11387 (char *) "self", NULL
11390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
11391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11400 resultobj
= wxPyMake_wxObject(result
);
11408 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
;
11410 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11413 PyObject
* obj0
= 0 ;
11414 PyObject
* obj1
= 0 ;
11415 char *kwnames
[] = {
11416 (char *) "self",(char *) "n", NULL
11419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
11420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11421 arg2
= (size_t) PyInt_AsLong(obj1
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 resultobj
= PyInt_FromLong((long)result
);
11437 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11438 PyObject
*resultobj
;
11439 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11443 PyObject
* obj0
= 0 ;
11444 PyObject
* obj1
= 0 ;
11445 char *kwnames
[] = {
11446 (char *) "self",(char *) "n",(char *) "imageId", NULL
11449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11451 arg2
= (size_t) PyInt_AsLong(obj1
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= PyInt_FromLong((long)result
);
11467 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
;
11469 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11472 PyObject
* obj0
= 0 ;
11473 PyObject
* obj1
= 0 ;
11474 char *kwnames
[] = {
11475 (char *) "self",(char *) "size", NULL
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11482 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11491 Py_INCREF(Py_None
); resultobj
= Py_None
;
11498 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11499 PyObject
*resultobj
;
11500 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11504 PyObject
* obj0
= 0 ;
11505 PyObject
* obj1
= 0 ;
11506 char *kwnames
[] = {
11507 (char *) "self",(char *) "sizePage", NULL
11510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11514 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11524 wxSize
* resultptr
;
11525 resultptr
= new wxSize((wxSize
&) result
);
11526 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11534 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11535 PyObject
*resultobj
;
11536 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11539 PyObject
* obj0
= 0 ;
11540 PyObject
* obj1
= 0 ;
11541 char *kwnames
[] = {
11542 (char *) "self",(char *) "n", NULL
11545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11547 arg2
= (size_t) PyInt_AsLong(obj1
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 result
= (bool)(arg1
)->DeletePage(arg2
);
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 resultobj
= PyInt_FromLong((long)result
);
11563 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11564 PyObject
*resultobj
;
11565 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11568 PyObject
* obj0
= 0 ;
11569 PyObject
* obj1
= 0 ;
11570 char *kwnames
[] = {
11571 (char *) "self",(char *) "n", NULL
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11576 arg2
= (size_t) PyInt_AsLong(obj1
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 result
= (bool)(arg1
)->RemovePage(arg2
);
11582 wxPyEndAllowThreads(__tstate
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11585 resultobj
= PyInt_FromLong((long)result
);
11592 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11593 PyObject
*resultobj
;
11594 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11596 PyObject
* obj0
= 0 ;
11597 char *kwnames
[] = {
11598 (char *) "self", NULL
11601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
11602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 result
= (bool)(arg1
)->DeleteAllPages();
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= PyInt_FromLong((long)result
);
11617 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
;
11619 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11620 wxWindow
*arg2
= (wxWindow
*) 0 ;
11621 wxString
*arg3
= 0 ;
11622 bool arg4
= (bool) False
;
11623 int arg5
= (int) -1 ;
11625 bool temp3
= False
;
11626 PyObject
* obj0
= 0 ;
11627 PyObject
* obj1
= 0 ;
11628 PyObject
* obj2
= 0 ;
11629 PyObject
* obj3
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
11635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11636 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11638 arg3
= wxString_in_helper(obj2
);
11639 if (arg3
== NULL
) SWIG_fail
;
11643 arg4
= PyInt_AsLong(obj3
) ? true : false;
11644 if (PyErr_Occurred()) SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 resultobj
= PyInt_FromLong((long)result
);
11668 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
*resultobj
;
11670 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11672 wxWindow
*arg3
= (wxWindow
*) 0 ;
11673 wxString
*arg4
= 0 ;
11674 bool arg5
= (bool) False
;
11675 int arg6
= (int) -1 ;
11677 bool temp4
= False
;
11678 PyObject
* obj0
= 0 ;
11679 PyObject
* obj1
= 0 ;
11680 PyObject
* obj2
= 0 ;
11681 PyObject
* obj3
= 0 ;
11682 PyObject
* obj4
= 0 ;
11683 char *kwnames
[] = {
11684 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
)) goto fail
;
11688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11689 arg2
= (size_t) PyInt_AsLong(obj1
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11691 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11693 arg4
= wxString_in_helper(obj3
);
11694 if (arg4
== NULL
) SWIG_fail
;
11698 arg5
= PyInt_AsLong(obj4
) ? true : false;
11699 if (PyErr_Occurred()) SWIG_fail
;
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11708 resultobj
= PyInt_FromLong((long)result
);
11723 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
;
11725 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11728 PyObject
* obj0
= 0 ;
11729 PyObject
* obj1
= 0 ;
11730 char *kwnames
[] = {
11731 (char *) "self",(char *) "n", NULL
11734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11736 arg2
= (size_t) PyInt_AsLong(obj1
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 result
= (int)(arg1
)->SetSelection(arg2
);
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= PyInt_FromLong((long)result
);
11752 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
;
11754 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11755 bool arg2
= (bool) True
;
11756 PyObject
* obj0
= 0 ;
11757 PyObject
* obj1
= 0 ;
11758 char *kwnames
[] = {
11759 (char *) "self",(char *) "forward", NULL
11762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11765 arg2
= PyInt_AsLong(obj1
) ? true : false;
11766 if (PyErr_Occurred()) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 (arg1
)->AdvanceSelection(arg2
);
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11775 Py_INCREF(Py_None
); resultobj
= Py_None
;
11782 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11785 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
11787 return Py_BuildValue((char *)"");
11789 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11792 int arg2
= (int) 0 ;
11793 int arg3
= (int) -1 ;
11794 int arg4
= (int) -1 ;
11795 wxBookCtrlEvent
*result
;
11796 char *kwnames
[] = {
11797 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_BookCtrlEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
11815 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11816 PyObject
*resultobj
;
11817 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11819 PyObject
* obj0
= 0 ;
11820 char *kwnames
[] = {
11821 (char *) "self", NULL
11824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
11825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
11830 wxPyEndAllowThreads(__tstate
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11833 resultobj
= PyInt_FromLong((long)result
);
11840 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11841 PyObject
*resultobj
;
11842 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11844 PyObject
* obj0
= 0 ;
11845 char *kwnames
[] = {
11846 (char *) "self",(char *) "nSel", NULL
11849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 (arg1
)->SetSelection(arg2
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 Py_INCREF(Py_None
); resultobj
= Py_None
;
11865 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
;
11867 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11869 PyObject
* obj0
= 0 ;
11870 char *kwnames
[] = {
11871 (char *) "self", NULL
11874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
11875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= PyInt_FromLong((long)result
);
11890 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
;
11892 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11894 PyObject
* obj0
= 0 ;
11895 char *kwnames
[] = {
11896 (char *) "self",(char *) "nOldSel", NULL
11899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 (arg1
)->SetOldSelection(arg2
);
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11908 Py_INCREF(Py_None
); resultobj
= Py_None
;
11915 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11918 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
11920 return Py_BuildValue((char *)"");
11922 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
;
11924 wxWindow
*arg1
= (wxWindow
*) 0 ;
11926 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11927 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11928 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11929 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11930 long arg5
= (long) 0 ;
11931 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
11932 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11933 wxNotebook
*result
;
11936 bool temp6
= False
;
11937 PyObject
* obj0
= 0 ;
11938 PyObject
* obj2
= 0 ;
11939 PyObject
* obj3
= 0 ;
11940 PyObject
* obj5
= 0 ;
11941 char *kwnames
[] = {
11942 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Notebook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11950 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11956 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11961 arg6
= wxString_in_helper(obj5
);
11962 if (arg6
== NULL
) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= wxPyMake_wxObject(result
);
11990 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
;
11992 wxNotebook
*result
;
11993 char *kwnames
[] = {
11997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 result
= (wxNotebook
*)new wxNotebook();
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12006 resultobj
= wxPyMake_wxObject(result
);
12014 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12015 PyObject
*resultobj
;
12016 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12017 wxWindow
*arg2
= (wxWindow
*) 0 ;
12019 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12020 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12021 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12022 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12023 long arg6
= (long) 0 ;
12024 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
12025 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12029 bool temp7
= False
;
12030 PyObject
* obj0
= 0 ;
12031 PyObject
* obj1
= 0 ;
12032 PyObject
* obj3
= 0 ;
12033 PyObject
* obj4
= 0 ;
12034 PyObject
* obj6
= 0 ;
12035 char *kwnames
[] = {
12036 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Notebook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12041 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12045 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12051 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12056 arg7
= wxString_in_helper(obj6
);
12057 if (arg7
== NULL
) SWIG_fail
;
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12068 resultobj
= PyInt_FromLong((long)result
);
12083 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
;
12085 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12087 PyObject
* obj0
= 0 ;
12088 char *kwnames
[] = {
12089 (char *) "self", NULL
12092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
12093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= PyInt_FromLong((long)result
);
12108 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12113 PyObject
* obj0
= 0 ;
12114 PyObject
* obj1
= 0 ;
12115 char *kwnames
[] = {
12116 (char *) "self",(char *) "padding", NULL
12119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
12120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12123 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 (arg1
)->SetPadding((wxSize
const &)*arg2
);
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12132 Py_INCREF(Py_None
); resultobj
= Py_None
;
12139 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
;
12141 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12144 PyObject
* obj0
= 0 ;
12145 PyObject
* obj1
= 0 ;
12146 char *kwnames
[] = {
12147 (char *) "self",(char *) "sz", NULL
12150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12154 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12163 Py_INCREF(Py_None
); resultobj
= Py_None
;
12170 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
;
12172 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12173 wxPoint
*arg2
= 0 ;
12174 long *arg3
= (long *) 0 ;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self",(char *) "pt", NULL
12185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
12186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12189 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
12195 wxPyEndAllowThreads(__tstate
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= PyInt_FromLong((long)result
);
12200 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12201 resultobj
= t_output_helper(resultobj
,o
);
12209 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12210 PyObject
*resultobj
;
12211 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12215 PyObject
* obj0
= 0 ;
12216 PyObject
* obj1
= 0 ;
12217 char *kwnames
[] = {
12218 (char *) "self",(char *) "sizePage", NULL
12221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12225 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12235 wxSize
* resultptr
;
12236 resultptr
= new wxSize((wxSize
&) result
);
12237 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12245 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12246 PyObject
*resultobj
;
12247 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12248 wxWindow
*arg2
= (wxWindow
*) 0 ;
12249 wxColour
*arg3
= 0 ;
12251 PyObject
* obj0
= 0 ;
12252 PyObject
* obj1
= 0 ;
12253 PyObject
* obj2
= 0 ;
12254 char *kwnames
[] = {
12255 (char *) "self",(char *) "window",(char *) "colour", NULL
12258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12263 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
12269 wxPyEndAllowThreads(__tstate
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12272 Py_INCREF(Py_None
); resultobj
= Py_None
;
12279 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
12281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12282 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
12284 return Py_BuildValue((char *)"");
12286 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
*resultobj
;
12288 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12289 int arg2
= (int) 0 ;
12290 int arg3
= (int) -1 ;
12291 int arg4
= (int) -1 ;
12292 wxNotebookEvent
*result
;
12293 char *kwnames
[] = {
12294 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_NotebookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12305 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
12312 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12315 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
12317 return Py_BuildValue((char *)"");
12319 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12320 PyObject
*resultobj
;
12321 wxWindow
*arg1
= (wxWindow
*) 0 ;
12323 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12324 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12325 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12326 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12327 long arg5
= (long) 0 ;
12328 wxString
const &arg6_defvalue
= wxPyEmptyString
;
12329 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12330 wxListbook
*result
;
12333 bool temp6
= False
;
12334 PyObject
* obj0
= 0 ;
12335 PyObject
* obj2
= 0 ;
12336 PyObject
* obj3
= 0 ;
12337 PyObject
* obj5
= 0 ;
12338 char *kwnames
[] = {
12339 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Listbook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12347 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12353 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12358 arg6
= wxString_in_helper(obj5
);
12359 if (arg6
== NULL
) SWIG_fail
;
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12385 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
;
12387 wxListbook
*result
;
12388 char *kwnames
[] = {
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (wxListbook
*)new wxListbook();
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12407 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxListbook
*arg1
= (wxListbook
*) 0 ;
12410 wxWindow
*arg2
= (wxWindow
*) 0 ;
12412 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12413 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12414 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12415 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12416 long arg6
= (long) 0 ;
12417 wxString
const &arg7_defvalue
= wxPyEmptyString
;
12418 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12422 bool temp7
= False
;
12423 PyObject
* obj0
= 0 ;
12424 PyObject
* obj1
= 0 ;
12425 PyObject
* obj3
= 0 ;
12426 PyObject
* obj4
= 0 ;
12427 PyObject
* obj6
= 0 ;
12428 char *kwnames
[] = {
12429 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Listbook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12434 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12438 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12444 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12449 arg7
= wxString_in_helper(obj6
);
12450 if (arg7
== NULL
) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12461 resultobj
= PyInt_FromLong((long)result
);
12476 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxListbook
*arg1
= (wxListbook
*) 0 ;
12480 PyObject
* obj0
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "self", NULL
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
12486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12494 resultobj
= PyInt_FromLong((long)result
);
12501 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
12503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12504 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
12506 return Py_BuildValue((char *)"");
12508 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
;
12510 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12511 int arg2
= (int) 0 ;
12512 int arg3
= (int) -1 ;
12513 int arg4
= (int) -1 ;
12514 wxListbookEvent
*result
;
12515 char *kwnames
[] = {
12516 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ListbookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12527 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
12534 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12537 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
12539 return Py_BuildValue((char *)"");
12541 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12544 wxBookCtrlSizer
*result
;
12545 PyObject
* obj0
= 0 ;
12546 char *kwnames
[] = {
12547 (char *) "nb", NULL
12550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
12551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
12566 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
;
12568 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12569 PyObject
* obj0
= 0 ;
12570 char *kwnames
[] = {
12571 (char *) "self", NULL
12574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 (arg1
)->RecalcSizes();
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 Py_INCREF(Py_None
); resultobj
= Py_None
;
12590 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12591 PyObject
*resultobj
;
12592 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12594 PyObject
* obj0
= 0 ;
12595 char *kwnames
[] = {
12596 (char *) "self", NULL
12599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 result
= (arg1
)->CalcMin();
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12609 wxSize
* resultptr
;
12610 resultptr
= new wxSize((wxSize
&) result
);
12611 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12619 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12622 wxBookCtrl
*result
;
12623 PyObject
* obj0
= 0 ;
12624 char *kwnames
[] = {
12625 (char *) "self", NULL
12628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
12629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= (wxBookCtrl
*)(arg1
)->GetControl();
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
12644 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12647 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
12649 return Py_BuildValue((char *)"");
12651 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12652 PyObject
*resultobj
;
12653 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12654 wxNotebookSizer
*result
;
12655 PyObject
* obj0
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "nb", NULL
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
12661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
12676 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
*resultobj
;
12678 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12679 PyObject
* obj0
= 0 ;
12680 char *kwnames
[] = {
12681 (char *) "self", NULL
12684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 (arg1
)->RecalcSizes();
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 Py_INCREF(Py_None
); resultobj
= Py_None
;
12700 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
;
12702 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12704 PyObject
* obj0
= 0 ;
12705 char *kwnames
[] = {
12706 (char *) "self", NULL
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 result
= (arg1
)->CalcMin();
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12719 wxSize
* resultptr
;
12720 resultptr
= new wxSize((wxSize
&) result
);
12721 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12729 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12732 wxNotebook
*result
;
12733 PyObject
* obj0
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "self", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
12739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= (wxNotebook
*)(arg1
)->GetNotebook();
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= wxPyMake_wxObject(result
);
12756 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12759 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
12761 return Py_BuildValue((char *)"");
12763 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12767 PyObject
* obj0
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "self", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
12773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 result
= (int)(arg1
)->GetId();
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12781 resultobj
= PyInt_FromLong((long)result
);
12788 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12789 PyObject
*resultobj
;
12790 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12792 PyObject
* obj0
= 0 ;
12793 char *kwnames
[] = {
12794 (char *) "self", NULL
12797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
12798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 result
= (wxControl
*)(arg1
)->GetControl();
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= wxPyMake_wxObject(result
);
12815 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12818 wxToolBarBase
*result
;
12819 PyObject
* obj0
= 0 ;
12820 char *kwnames
[] = {
12821 (char *) "self", NULL
12824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
12825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12834 resultobj
= wxPyMake_wxObject(result
);
12842 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
*resultobj
;
12844 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12846 PyObject
* obj0
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
12852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 result
= (int)(arg1
)->IsButton();
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12860 resultobj
= PyInt_FromLong((long)result
);
12867 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
;
12869 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12871 PyObject
* obj0
= 0 ;
12872 char *kwnames
[] = {
12873 (char *) "self", NULL
12876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
12877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 result
= (int)(arg1
)->IsControl();
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12885 resultobj
= PyInt_FromLong((long)result
);
12892 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12893 PyObject
*resultobj
;
12894 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12896 PyObject
* obj0
= 0 ;
12897 char *kwnames
[] = {
12898 (char *) "self", NULL
12901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
12902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (int)(arg1
)->IsSeparator();
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= PyInt_FromLong((long)result
);
12917 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
;
12919 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12921 PyObject
* obj0
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "self", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
12927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 result
= (int)(arg1
)->GetStyle();
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12935 resultobj
= PyInt_FromLong((long)result
);
12942 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
;
12944 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12946 PyObject
* obj0
= 0 ;
12947 char *kwnames
[] = {
12948 (char *) "self", NULL
12951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
12952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 result
= (int)(arg1
)->GetKind();
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= PyInt_FromLong((long)result
);
12967 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
;
12969 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12971 PyObject
* obj0
= 0 ;
12972 char *kwnames
[] = {
12973 (char *) "self", NULL
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
12977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 result
= (bool)(arg1
)->IsEnabled();
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 resultobj
= PyInt_FromLong((long)result
);
12992 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12996 PyObject
* obj0
= 0 ;
12997 char *kwnames
[] = {
12998 (char *) "self", NULL
13001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
13002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 result
= (bool)(arg1
)->IsToggled();
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13010 resultobj
= PyInt_FromLong((long)result
);
13017 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(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_CanBeToggled",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
= (bool)(arg1
)->CanBeToggled();
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= PyInt_FromLong((long)result
);
13042 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 char *kwnames
[] = {
13048 (char *) "self", NULL
13051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
13052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
13057 result
= (wxBitmap
*) &_result_ref
;
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13063 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13070 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
;
13072 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13074 PyObject
* obj0
= 0 ;
13075 char *kwnames
[] = {
13076 (char *) "self", NULL
13079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
13080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
13085 result
= (wxBitmap
*) &_result_ref
;
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13098 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13099 PyObject
*resultobj
;
13100 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13102 PyObject
* obj0
= 0 ;
13103 char *kwnames
[] = {
13104 (char *) "self", NULL
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
13108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13111 result
= (arg1
)->GetBitmap();
13113 wxPyEndAllowThreads(__tstate
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13117 wxBitmap
* resultptr
;
13118 resultptr
= new wxBitmap((wxBitmap
&) result
);
13119 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13127 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
;
13129 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13131 PyObject
* obj0
= 0 ;
13132 char *kwnames
[] = {
13133 (char *) "self", NULL
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
13137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13140 result
= (arg1
)->GetLabel();
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13158 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
;
13160 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13162 PyObject
* obj0
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "self", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
13168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 result
= (arg1
)->GetShortHelp();
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13189 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
;
13191 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13193 PyObject
* obj0
= 0 ;
13194 char *kwnames
[] = {
13195 (char *) "self", NULL
13198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
13199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 result
= (arg1
)->GetLongHelp();
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13220 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13221 PyObject
*resultobj
;
13222 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13225 PyObject
* obj0
= 0 ;
13226 PyObject
* obj1
= 0 ;
13227 char *kwnames
[] = {
13228 (char *) "self",(char *) "enable", NULL
13231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
13232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13233 arg2
= PyInt_AsLong(obj1
) ? true : false;
13234 if (PyErr_Occurred()) SWIG_fail
;
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 result
= (bool)(arg1
)->Enable(arg2
);
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13242 resultobj
= PyInt_FromLong((long)result
);
13249 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
;
13251 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13252 PyObject
* obj0
= 0 ;
13253 char *kwnames
[] = {
13254 (char *) "self", NULL
13257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
13258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 wxPyEndAllowThreads(__tstate
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13266 Py_INCREF(Py_None
); resultobj
= Py_None
;
13273 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13274 PyObject
*resultobj
;
13275 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13278 PyObject
* obj0
= 0 ;
13279 PyObject
* obj1
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self",(char *) "toggle", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13286 arg2
= PyInt_AsLong(obj1
) ? true : false;
13287 if (PyErr_Occurred()) SWIG_fail
;
13289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13290 result
= (bool)(arg1
)->SetToggle(arg2
);
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= PyInt_FromLong((long)result
);
13302 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13305 wxString
*arg2
= 0 ;
13307 bool temp2
= False
;
13308 PyObject
* obj0
= 0 ;
13309 PyObject
* obj1
= 0 ;
13310 char *kwnames
[] = {
13311 (char *) "self",(char *) "help", NULL
13314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",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 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= PyInt_FromLong((long)result
);
13343 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
;
13345 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13346 wxString
*arg2
= 0 ;
13348 bool temp2
= False
;
13349 PyObject
* obj0
= 0 ;
13350 PyObject
* obj1
= 0 ;
13351 char *kwnames
[] = {
13352 (char *) "self",(char *) "help", NULL
13355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13358 arg2
= wxString_in_helper(obj1
);
13359 if (arg2
== NULL
) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= PyInt_FromLong((long)result
);
13384 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13387 wxBitmap
*arg2
= 0 ;
13388 PyObject
* obj0
= 0 ;
13389 PyObject
* obj1
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self",(char *) "bmp", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13396 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13397 if (arg2
== NULL
) {
13398 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13407 Py_INCREF(Py_None
); resultobj
= Py_None
;
13414 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
;
13416 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13417 wxBitmap
*arg2
= 0 ;
13418 PyObject
* obj0
= 0 ;
13419 PyObject
* obj1
= 0 ;
13420 char *kwnames
[] = {
13421 (char *) "self",(char *) "bmp", NULL
13424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13426 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13427 if (arg2
== NULL
) {
13428 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 Py_INCREF(Py_None
); resultobj
= Py_None
;
13444 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13447 wxString
*arg2
= 0 ;
13448 bool temp2
= False
;
13449 PyObject
* obj0
= 0 ;
13450 PyObject
* obj1
= 0 ;
13451 char *kwnames
[] = {
13452 (char *) "self",(char *) "label", NULL
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13458 arg2
= wxString_in_helper(obj1
);
13459 if (arg2
== NULL
) SWIG_fail
;
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 (arg1
)->SetLabel((wxString
const &)*arg2
);
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13469 Py_INCREF(Py_None
); resultobj
= Py_None
;
13484 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
;
13486 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13487 PyObject
* obj0
= 0 ;
13488 char *kwnames
[] = {
13489 (char *) "self", NULL
13492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
13493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13501 Py_INCREF(Py_None
); resultobj
= Py_None
;
13508 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13509 PyObject
*resultobj
;
13510 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13511 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
13512 PyObject
* obj0
= 0 ;
13513 PyObject
* obj1
= 0 ;
13514 char *kwnames
[] = {
13515 (char *) "self",(char *) "tbar", NULL
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
13519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13520 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 (arg1
)->Attach(arg2
);
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 Py_INCREF(Py_None
); resultobj
= Py_None
;
13535 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13539 PyObject
* obj0
= 0 ;
13540 char *kwnames
[] = {
13541 (char *) "self", NULL
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
13545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= result
;
13560 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
;
13562 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13563 PyObject
*arg2
= (PyObject
*) 0 ;
13564 PyObject
* obj0
= 0 ;
13565 PyObject
* obj1
= 0 ;
13566 char *kwnames
[] = {
13567 (char *) "self",(char *) "clientData", NULL
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
13571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 wxToolBarToolBase_SetClientData(arg1
,arg2
);
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 Py_INCREF(Py_None
); resultobj
= Py_None
;
13587 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
13589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13590 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
13592 return Py_BuildValue((char *)"");
13594 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13595 PyObject
*resultobj
;
13596 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13598 wxString
*arg3
= 0 ;
13599 wxBitmap
*arg4
= 0 ;
13600 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
13601 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
13602 int arg6
= (int) wxITEM_NORMAL
;
13603 wxString
const &arg7_defvalue
= wxPyEmptyString
;
13604 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13605 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13606 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13607 PyObject
*arg9
= (PyObject
*) NULL
;
13608 wxToolBarToolBase
*result
;
13609 bool temp3
= False
;
13610 bool temp7
= False
;
13611 bool temp8
= False
;
13612 PyObject
* obj0
= 0 ;
13613 PyObject
* obj2
= 0 ;
13614 PyObject
* obj3
= 0 ;
13615 PyObject
* obj4
= 0 ;
13616 PyObject
* obj6
= 0 ;
13617 PyObject
* obj7
= 0 ;
13618 PyObject
* obj8
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
,&obj8
)) goto fail
;
13624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13626 arg3
= wxString_in_helper(obj2
);
13627 if (arg3
== NULL
) SWIG_fail
;
13630 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13631 if (arg4
== NULL
) {
13632 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13635 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13636 if (arg5
== NULL
) {
13637 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13642 arg7
= wxString_in_helper(obj6
);
13643 if (arg7
== NULL
) SWIG_fail
;
13649 arg8
= wxString_in_helper(obj7
);
13650 if (arg8
== NULL
) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= wxPyMake_wxObject(result
);
13697 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
;
13699 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13702 wxString
*arg4
= 0 ;
13703 wxBitmap
*arg5
= 0 ;
13704 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
13705 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
13706 int arg7
= (int) wxITEM_NORMAL
;
13707 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13708 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13709 wxString
const &arg9_defvalue
= wxPyEmptyString
;
13710 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13711 PyObject
*arg10
= (PyObject
*) NULL
;
13712 wxToolBarToolBase
*result
;
13713 bool temp4
= False
;
13714 bool temp8
= False
;
13715 bool temp9
= False
;
13716 PyObject
* obj0
= 0 ;
13717 PyObject
* obj1
= 0 ;
13718 PyObject
* obj3
= 0 ;
13719 PyObject
* obj4
= 0 ;
13720 PyObject
* obj5
= 0 ;
13721 PyObject
* obj7
= 0 ;
13722 PyObject
* obj8
= 0 ;
13723 PyObject
* obj9
= 0 ;
13724 char *kwnames
[] = {
13725 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
13729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13730 arg2
= (size_t) PyInt_AsLong(obj1
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13733 arg4
= wxString_in_helper(obj3
);
13734 if (arg4
== NULL
) SWIG_fail
;
13737 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13738 if (arg5
== NULL
) {
13739 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13742 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13743 if (arg6
== NULL
) {
13744 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13749 arg8
= wxString_in_helper(obj7
);
13750 if (arg8
== NULL
) SWIG_fail
;
13756 arg9
= wxString_in_helper(obj8
);
13757 if (arg9
== NULL
) SWIG_fail
;
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 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
);
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13772 resultobj
= wxPyMake_wxObject(result
);
13804 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13807 wxControl
*arg2
= (wxControl
*) 0 ;
13808 wxToolBarToolBase
*result
;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 char *kwnames
[] = {
13812 (char *) "self",(char *) "control", NULL
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
13816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13817 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13826 resultobj
= wxPyMake_wxObject(result
);
13834 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13835 PyObject
*resultobj
;
13836 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13838 wxControl
*arg3
= (wxControl
*) 0 ;
13839 wxToolBarToolBase
*result
;
13840 PyObject
* obj0
= 0 ;
13841 PyObject
* obj1
= 0 ;
13842 PyObject
* obj2
= 0 ;
13843 char *kwnames
[] = {
13844 (char *) "self",(char *) "pos",(char *) "control", NULL
13847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13849 arg2
= (size_t) PyInt_AsLong(obj1
);
13850 if (PyErr_Occurred()) SWIG_fail
;
13851 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13860 resultobj
= wxPyMake_wxObject(result
);
13868 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13873 PyObject
* obj0
= 0 ;
13874 char *kwnames
[] = {
13875 (char *) "self",(char *) "id", NULL
13878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindControl",kwnames
,&obj0
,&arg2
)) goto fail
;
13879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13888 resultobj
= wxPyMake_wxObject(result
);
13896 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
;
13898 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13899 wxToolBarToolBase
*result
;
13900 PyObject
* obj0
= 0 ;
13901 char *kwnames
[] = {
13902 (char *) "self", NULL
13905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
13906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
13911 wxPyEndAllowThreads(__tstate
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13915 resultobj
= wxPyMake_wxObject(result
);
13923 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13924 PyObject
*resultobj
;
13925 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13927 wxToolBarToolBase
*result
;
13928 PyObject
* obj0
= 0 ;
13929 PyObject
* obj1
= 0 ;
13930 char *kwnames
[] = {
13931 (char *) "self",(char *) "pos", NULL
13934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
13935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13936 arg2
= (size_t) PyInt_AsLong(obj1
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13946 resultobj
= wxPyMake_wxObject(result
);
13954 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
*resultobj
;
13956 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13958 wxToolBarToolBase
*result
;
13959 PyObject
* obj0
= 0 ;
13960 char *kwnames
[] = {
13961 (char *) "self",(char *) "id", NULL
13964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_RemoveTool",kwnames
,&obj0
,&arg2
)) goto fail
;
13965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13974 resultobj
= wxPyMake_wxObject(result
);
13982 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
*resultobj
;
13984 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13987 PyObject
* obj0
= 0 ;
13988 PyObject
* obj1
= 0 ;
13989 char *kwnames
[] = {
13990 (char *) "self",(char *) "pos", NULL
13993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
13994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13995 arg2
= (size_t) PyInt_AsLong(obj1
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13999 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
14001 wxPyEndAllowThreads(__tstate
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14004 resultobj
= PyInt_FromLong((long)result
);
14011 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14012 PyObject
*resultobj
;
14013 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14016 PyObject
* obj0
= 0 ;
14017 char *kwnames
[] = {
14018 (char *) "self",(char *) "id", NULL
14021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_DeleteTool",kwnames
,&obj0
,&arg2
)) goto fail
;
14022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 result
= (bool)(arg1
)->DeleteTool(arg2
);
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= PyInt_FromLong((long)result
);
14037 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14040 PyObject
* obj0
= 0 ;
14041 char *kwnames
[] = {
14042 (char *) "self", NULL
14045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
14046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 (arg1
)->ClearTools();
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14054 Py_INCREF(Py_None
); resultobj
= Py_None
;
14061 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
;
14063 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14065 PyObject
* obj0
= 0 ;
14066 char *kwnames
[] = {
14067 (char *) "self", NULL
14070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
14071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 result
= (bool)(arg1
)->Realize();
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 resultobj
= PyInt_FromLong((long)result
);
14086 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14087 PyObject
*resultobj
;
14088 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14091 PyObject
* obj0
= 0 ;
14092 PyObject
* obj2
= 0 ;
14093 char *kwnames
[] = {
14094 (char *) "self",(char *) "id",(char *) "enable", NULL
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_EnableTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14099 arg3
= PyInt_AsLong(obj2
) ? true : false;
14100 if (PyErr_Occurred()) SWIG_fail
;
14102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 (arg1
)->EnableTool(arg2
,arg3
);
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 Py_INCREF(Py_None
); resultobj
= Py_None
;
14115 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14116 PyObject
*resultobj
;
14117 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14120 PyObject
* obj0
= 0 ;
14121 PyObject
* obj2
= 0 ;
14122 char *kwnames
[] = {
14123 (char *) "self",(char *) "id",(char *) "toggle", NULL
14126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14128 arg3
= PyInt_AsLong(obj2
) ? true : false;
14129 if (PyErr_Occurred()) SWIG_fail
;
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 (arg1
)->ToggleTool(arg2
,arg3
);
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14137 Py_INCREF(Py_None
); resultobj
= Py_None
;
14144 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14149 PyObject
* obj0
= 0 ;
14150 PyObject
* obj2
= 0 ;
14151 char *kwnames
[] = {
14152 (char *) "self",(char *) "id",(char *) "toggle", NULL
14155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToggle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14157 arg3
= PyInt_AsLong(obj2
) ? true : false;
14158 if (PyErr_Occurred()) SWIG_fail
;
14160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 (arg1
)->SetToggle(arg2
,arg3
);
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14166 Py_INCREF(Py_None
); resultobj
= Py_None
;
14173 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14174 PyObject
*resultobj
;
14175 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14178 PyObject
* obj0
= 0 ;
14179 char *kwnames
[] = {
14180 (char *) "self",(char *) "id", NULL
14183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
14184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= result
;
14199 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14200 PyObject
*resultobj
;
14201 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14203 PyObject
*arg3
= (PyObject
*) 0 ;
14204 PyObject
* obj0
= 0 ;
14205 PyObject
* obj2
= 0 ;
14206 char *kwnames
[] = {
14207 (char *) "self",(char *) "id",(char *) "clientData", NULL
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14220 Py_INCREF(Py_None
); resultobj
= Py_None
;
14227 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14228 PyObject
*resultobj
;
14229 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14232 PyObject
* obj0
= 0 ;
14233 char *kwnames
[] = {
14234 (char *) "self",(char *) "id", NULL
14237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolPos",kwnames
,&obj0
,&arg2
)) goto fail
;
14238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= PyInt_FromLong((long)result
);
14253 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
;
14255 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14258 PyObject
* obj0
= 0 ;
14259 char *kwnames
[] = {
14260 (char *) "self",(char *) "id", NULL
14263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolState",kwnames
,&obj0
,&arg2
)) goto fail
;
14264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (bool)(arg1
)->GetToolState(arg2
);
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= PyInt_FromLong((long)result
);
14279 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14280 PyObject
*resultobj
;
14281 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14284 PyObject
* obj0
= 0 ;
14285 char *kwnames
[] = {
14286 (char *) "self",(char *) "id", NULL
14289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
14290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14293 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
14295 wxPyEndAllowThreads(__tstate
);
14296 if (PyErr_Occurred()) SWIG_fail
;
14298 resultobj
= PyInt_FromLong((long)result
);
14305 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14306 PyObject
*resultobj
;
14307 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14309 wxString
*arg3
= 0 ;
14310 bool temp3
= False
;
14311 PyObject
* obj0
= 0 ;
14312 PyObject
* obj2
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "self",(char *) "id",(char *) "helpString", NULL
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14320 arg3
= wxString_in_helper(obj2
);
14321 if (arg3
== NULL
) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 Py_INCREF(Py_None
); resultobj
= Py_None
;
14346 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
;
14348 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14351 PyObject
* obj0
= 0 ;
14352 char *kwnames
[] = {
14353 (char *) "self",(char *) "id", NULL
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= (arg1
)->GetToolShortHelp(arg2
);
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14378 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
;
14380 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14382 wxString
*arg3
= 0 ;
14383 bool temp3
= False
;
14384 PyObject
* obj0
= 0 ;
14385 PyObject
* obj2
= 0 ;
14386 char *kwnames
[] = {
14387 (char *) "self",(char *) "id",(char *) "helpString", NULL
14390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14393 arg3
= wxString_in_helper(obj2
);
14394 if (arg3
== NULL
) SWIG_fail
;
14398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14399 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14404 Py_INCREF(Py_None
); resultobj
= Py_None
;
14419 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14420 PyObject
*resultobj
;
14421 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 char *kwnames
[] = {
14426 (char *) "self",(char *) "id", NULL
14429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 result
= (arg1
)->GetToolLongHelp(arg2
);
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14451 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14452 PyObject
*resultobj
;
14453 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14456 PyObject
* obj0
= 0 ;
14457 char *kwnames
[] = {
14458 (char *) "self",(char *) "x",(char *) "y", NULL
14461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 (arg1
)->SetMargins(arg2
,arg3
);
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14470 Py_INCREF(Py_None
); resultobj
= Py_None
;
14477 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
;
14479 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14482 PyObject
* obj0
= 0 ;
14483 PyObject
* obj1
= 0 ;
14484 char *kwnames
[] = {
14485 (char *) "self",(char *) "size", NULL
14488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
14489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14492 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14496 (arg1
)->SetMargins((wxSize
const &)*arg2
);
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14501 Py_INCREF(Py_None
); resultobj
= Py_None
;
14508 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14512 PyObject
* obj0
= 0 ;
14513 char *kwnames
[] = {
14514 (char *) "self",(char *) "packing", NULL
14517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&arg2
)) goto fail
;
14518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 (arg1
)->SetToolPacking(arg2
);
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14526 Py_INCREF(Py_None
); resultobj
= Py_None
;
14533 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14534 PyObject
*resultobj
;
14535 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14537 PyObject
* obj0
= 0 ;
14538 char *kwnames
[] = {
14539 (char *) "self",(char *) "separation", NULL
14542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&arg2
)) goto fail
;
14543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14546 (arg1
)->SetToolSeparation(arg2
);
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 Py_INCREF(Py_None
); resultobj
= Py_None
;
14558 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14559 PyObject
*resultobj
;
14560 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14562 PyObject
* obj0
= 0 ;
14563 char *kwnames
[] = {
14564 (char *) "self", NULL
14567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
14568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 result
= (arg1
)->GetToolMargins();
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14577 wxSize
* resultptr
;
14578 resultptr
= new wxSize((wxSize
&) result
);
14579 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14587 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
;
14589 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14591 PyObject
* obj0
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
14597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= (arg1
)->GetMargins();
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14606 wxSize
* resultptr
;
14607 resultptr
= new wxSize((wxSize
&) result
);
14608 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14616 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
;
14618 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14620 PyObject
* obj0
= 0 ;
14621 char *kwnames
[] = {
14622 (char *) "self", NULL
14625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
14626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 result
= (int)(arg1
)->GetToolPacking();
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= PyInt_FromLong((long)result
);
14641 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
;
14643 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14645 PyObject
* obj0
= 0 ;
14646 char *kwnames
[] = {
14647 (char *) "self", NULL
14650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
14651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 result
= (int)(arg1
)->GetToolSeparation();
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14659 resultobj
= PyInt_FromLong((long)result
);
14666 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14670 PyObject
* obj0
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self",(char *) "nRows", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
14676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 (arg1
)->SetRows(arg2
);
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14684 Py_INCREF(Py_None
); resultobj
= Py_None
;
14691 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14692 PyObject
*resultobj
;
14693 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14696 PyObject
* obj0
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self",(char *) "rows",(char *) "cols", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14710 Py_INCREF(Py_None
); resultobj
= Py_None
;
14717 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
;
14719 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14721 PyObject
* obj0
= 0 ;
14722 char *kwnames
[] = {
14723 (char *) "self", NULL
14726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
14727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14730 result
= (int)(arg1
)->GetMaxRows();
14732 wxPyEndAllowThreads(__tstate
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14735 resultobj
= PyInt_FromLong((long)result
);
14742 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14743 PyObject
*resultobj
;
14744 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14746 PyObject
* obj0
= 0 ;
14747 char *kwnames
[] = {
14748 (char *) "self", NULL
14751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
14752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14755 result
= (int)(arg1
)->GetMaxCols();
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14760 resultobj
= PyInt_FromLong((long)result
);
14767 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
;
14769 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14772 PyObject
* obj0
= 0 ;
14773 PyObject
* obj1
= 0 ;
14774 char *kwnames
[] = {
14775 (char *) "self",(char *) "size", NULL
14778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14782 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14786 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
14788 wxPyEndAllowThreads(__tstate
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14791 Py_INCREF(Py_None
); resultobj
= Py_None
;
14798 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14799 PyObject
*resultobj
;
14800 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14802 PyObject
* obj0
= 0 ;
14803 char *kwnames
[] = {
14804 (char *) "self", NULL
14807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
14808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 result
= (arg1
)->GetToolBitmapSize();
14813 wxPyEndAllowThreads(__tstate
);
14814 if (PyErr_Occurred()) SWIG_fail
;
14817 wxSize
* resultptr
;
14818 resultptr
= new wxSize((wxSize
&) result
);
14819 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14827 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14828 PyObject
*resultobj
;
14829 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14831 PyObject
* obj0
= 0 ;
14832 char *kwnames
[] = {
14833 (char *) "self", NULL
14836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
14837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 result
= (arg1
)->GetToolSize();
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14846 wxSize
* resultptr
;
14847 resultptr
= new wxSize((wxSize
&) result
);
14848 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14856 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14857 PyObject
*resultobj
;
14858 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14861 wxToolBarToolBase
*result
;
14862 PyObject
* obj0
= 0 ;
14863 char *kwnames
[] = {
14864 (char *) "self",(char *) "x",(char *) "y", NULL
14867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= wxPyMake_wxObject(result
);
14885 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
;
14887 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14889 PyObject
* obj0
= 0 ;
14890 char *kwnames
[] = {
14891 (char *) "self", NULL
14894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
14895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14898 result
= (bool)(arg1
)->IsVertical();
14900 wxPyEndAllowThreads(__tstate
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14903 resultobj
= PyInt_FromLong((long)result
);
14910 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
14912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14913 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
14915 return Py_BuildValue((char *)"");
14917 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxWindow
*arg1
= (wxWindow
*) 0 ;
14921 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14922 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14923 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14924 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14925 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
14926 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
14927 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14931 bool temp6
= False
;
14932 PyObject
* obj0
= 0 ;
14933 PyObject
* obj2
= 0 ;
14934 PyObject
* obj3
= 0 ;
14935 PyObject
* obj5
= 0 ;
14936 char *kwnames
[] = {
14937 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_ToolBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14945 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14951 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14956 arg6
= wxString_in_helper(obj5
);
14957 if (arg6
== NULL
) SWIG_fail
;
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= wxPyMake_wxObject(result
);
14985 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14988 char *kwnames
[] = {
14992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 result
= (wxToolBar
*)new wxToolBar();
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15001 resultobj
= wxPyMake_wxObject(result
);
15009 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15010 PyObject
*resultobj
;
15011 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15012 wxWindow
*arg2
= (wxWindow
*) 0 ;
15014 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15015 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15016 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15017 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15018 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
15019 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
15020 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15024 bool temp7
= False
;
15025 PyObject
* obj0
= 0 ;
15026 PyObject
* obj1
= 0 ;
15027 PyObject
* obj3
= 0 ;
15028 PyObject
* obj4
= 0 ;
15029 PyObject
* obj6
= 0 ;
15030 char *kwnames
[] = {
15031 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
15035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15040 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15046 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15051 arg7
= wxString_in_helper(obj6
);
15052 if (arg7
== NULL
) SWIG_fail
;
15057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15058 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= PyInt_FromLong((long)result
);
15078 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
;
15080 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15083 wxToolBarToolBase
*result
;
15084 PyObject
* obj0
= 0 ;
15085 char *kwnames
[] = {
15086 (char *) "self",(char *) "x",(char *) "y", NULL
15089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBar_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15093 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15095 wxPyEndAllowThreads(__tstate
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= wxPyMake_wxObject(result
);
15107 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
15109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15110 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
15112 return Py_BuildValue((char *)"");
15114 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
;
15116 wxColour
const &arg1_defvalue
= wxNullColour
;
15117 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
15118 wxColour
const &arg2_defvalue
= wxNullColour
;
15119 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
15120 wxFont
const &arg3_defvalue
= wxNullFont
;
15121 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
15122 wxListItemAttr
*result
;
15125 PyObject
* obj0
= 0 ;
15126 PyObject
* obj1
= 0 ;
15127 PyObject
* obj2
= 0 ;
15128 char *kwnames
[] = {
15129 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15136 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
15142 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15146 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15147 if (arg3
== NULL
) {
15148 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15158 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
15165 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
;
15167 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15168 wxColour
*arg2
= 0 ;
15170 PyObject
* obj0
= 0 ;
15171 PyObject
* obj1
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self",(char *) "colText", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15180 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15184 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15189 Py_INCREF(Py_None
); resultobj
= Py_None
;
15196 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15197 PyObject
*resultobj
;
15198 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15199 wxColour
*arg2
= 0 ;
15201 PyObject
* obj0
= 0 ;
15202 PyObject
* obj1
= 0 ;
15203 char *kwnames
[] = {
15204 (char *) "self",(char *) "colBack", NULL
15207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15211 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15215 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15220 Py_INCREF(Py_None
); resultobj
= Py_None
;
15227 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15228 PyObject
*resultobj
;
15229 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15231 PyObject
* obj0
= 0 ;
15232 PyObject
* obj1
= 0 ;
15233 char *kwnames
[] = {
15234 (char *) "self",(char *) "font", NULL
15237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15239 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15240 if (arg2
== NULL
) {
15241 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 (arg1
)->SetFont((wxFont
const &)*arg2
);
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15250 Py_INCREF(Py_None
); resultobj
= Py_None
;
15257 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15258 PyObject
*resultobj
;
15259 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15261 PyObject
* obj0
= 0 ;
15262 char *kwnames
[] = {
15263 (char *) "self", NULL
15266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
15267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 result
= (bool)(arg1
)->HasTextColour();
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 resultobj
= PyInt_FromLong((long)result
);
15282 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
;
15284 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15286 PyObject
* obj0
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
15292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 result
= (bool)(arg1
)->HasBackgroundColour();
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 resultobj
= PyInt_FromLong((long)result
);
15307 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15308 PyObject
*resultobj
;
15309 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15311 PyObject
* obj0
= 0 ;
15312 char *kwnames
[] = {
15313 (char *) "self", NULL
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
15317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 result
= (bool)(arg1
)->HasFont();
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= PyInt_FromLong((long)result
);
15332 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
;
15334 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15336 PyObject
* obj0
= 0 ;
15337 char *kwnames
[] = {
15338 (char *) "self", NULL
15341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
15342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 result
= (arg1
)->GetTextColour();
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15351 wxColour
* resultptr
;
15352 resultptr
= new wxColour((wxColour
&) result
);
15353 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15361 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15365 PyObject
* obj0
= 0 ;
15366 char *kwnames
[] = {
15367 (char *) "self", NULL
15370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
15371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (arg1
)->GetBackgroundColour();
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15380 wxColour
* resultptr
;
15381 resultptr
= new wxColour((wxColour
&) result
);
15382 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15390 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15394 PyObject
* obj0
= 0 ;
15395 char *kwnames
[] = {
15396 (char *) "self", NULL
15399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
15400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 result
= (arg1
)->GetFont();
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15409 wxFont
* resultptr
;
15410 resultptr
= new wxFont((wxFont
&) result
);
15411 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
15419 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
;
15421 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15422 PyObject
* obj0
= 0 ;
15423 char *kwnames
[] = {
15424 (char *) "self", NULL
15427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
15428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 wxListItemAttr_Destroy(arg1
);
15433 wxPyEndAllowThreads(__tstate
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15436 Py_INCREF(Py_None
); resultobj
= Py_None
;
15443 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
15445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15446 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
15448 return Py_BuildValue((char *)"");
15450 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
;
15452 wxListItem
*result
;
15453 char *kwnames
[] = {
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
15459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15460 result
= (wxListItem
*)new wxListItem();
15462 wxPyEndAllowThreads(__tstate
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15466 resultobj
= wxPyMake_wxObject(result
);
15474 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxListItem
*arg1
= (wxListItem
*) 0 ;
15477 PyObject
* obj0
= 0 ;
15478 char *kwnames
[] = {
15479 (char *) "self", NULL
15482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
15483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 Py_INCREF(Py_None
); resultobj
= Py_None
;
15498 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
;
15500 wxListItem
*arg1
= (wxListItem
*) 0 ;
15501 PyObject
* obj0
= 0 ;
15502 char *kwnames
[] = {
15503 (char *) "self", NULL
15506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
15507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 Py_INCREF(Py_None
); resultobj
= Py_None
;
15522 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxListItem
*arg1
= (wxListItem
*) 0 ;
15525 PyObject
* obj0
= 0 ;
15526 char *kwnames
[] = {
15527 (char *) "self", NULL
15530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
15531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 (arg1
)->ClearAttributes();
15536 wxPyEndAllowThreads(__tstate
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15539 Py_INCREF(Py_None
); resultobj
= Py_None
;
15546 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
;
15548 wxListItem
*arg1
= (wxListItem
*) 0 ;
15550 PyObject
* obj0
= 0 ;
15551 char *kwnames
[] = {
15552 (char *) "self",(char *) "mask", NULL
15555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetMask",kwnames
,&obj0
,&arg2
)) goto fail
;
15556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15559 (arg1
)->SetMask(arg2
);
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15564 Py_INCREF(Py_None
); resultobj
= Py_None
;
15571 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxListItem
*arg1
= (wxListItem
*) 0 ;
15575 PyObject
* obj0
= 0 ;
15576 char *kwnames
[] = {
15577 (char *) "self",(char *) "id", NULL
15580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
15581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 (arg1
)->SetId(arg2
);
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 Py_INCREF(Py_None
); resultobj
= Py_None
;
15596 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
;
15598 wxListItem
*arg1
= (wxListItem
*) 0 ;
15600 PyObject
* obj0
= 0 ;
15601 char *kwnames
[] = {
15602 (char *) "self",(char *) "col", NULL
15605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
15606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 (arg1
)->SetColumn(arg2
);
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15614 Py_INCREF(Py_None
); resultobj
= Py_None
;
15621 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15622 PyObject
*resultobj
;
15623 wxListItem
*arg1
= (wxListItem
*) 0 ;
15625 PyObject
* obj0
= 0 ;
15626 char *kwnames
[] = {
15627 (char *) "self",(char *) "state", NULL
15630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetState",kwnames
,&obj0
,&arg2
)) goto fail
;
15631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 (arg1
)->SetState(arg2
);
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15639 Py_INCREF(Py_None
); resultobj
= Py_None
;
15646 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15647 PyObject
*resultobj
;
15648 wxListItem
*arg1
= (wxListItem
*) 0 ;
15650 PyObject
* obj0
= 0 ;
15651 char *kwnames
[] = {
15652 (char *) "self",(char *) "stateMask", NULL
15655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetStateMask",kwnames
,&obj0
,&arg2
)) goto fail
;
15656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 (arg1
)->SetStateMask(arg2
);
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15664 Py_INCREF(Py_None
); resultobj
= Py_None
;
15671 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
;
15673 wxListItem
*arg1
= (wxListItem
*) 0 ;
15674 wxString
*arg2
= 0 ;
15675 bool temp2
= False
;
15676 PyObject
* obj0
= 0 ;
15677 PyObject
* obj1
= 0 ;
15678 char *kwnames
[] = {
15679 (char *) "self",(char *) "text", NULL
15682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
15683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15685 arg2
= wxString_in_helper(obj1
);
15686 if (arg2
== NULL
) SWIG_fail
;
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 (arg1
)->SetText((wxString
const &)*arg2
);
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 Py_INCREF(Py_None
); resultobj
= Py_None
;
15711 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
;
15713 wxListItem
*arg1
= (wxListItem
*) 0 ;
15715 PyObject
* obj0
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "self",(char *) "image", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetImage",kwnames
,&obj0
,&arg2
)) goto fail
;
15721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15724 (arg1
)->SetImage(arg2
);
15726 wxPyEndAllowThreads(__tstate
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15729 Py_INCREF(Py_None
); resultobj
= Py_None
;
15736 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15737 PyObject
*resultobj
;
15738 wxListItem
*arg1
= (wxListItem
*) 0 ;
15740 PyObject
* obj0
= 0 ;
15741 char *kwnames
[] = {
15742 (char *) "self",(char *) "data", NULL
15745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetData",kwnames
,&obj0
,&arg2
)) goto fail
;
15746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15749 (arg1
)->SetData(arg2
);
15751 wxPyEndAllowThreads(__tstate
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15754 Py_INCREF(Py_None
); resultobj
= Py_None
;
15761 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15762 PyObject
*resultobj
;
15763 wxListItem
*arg1
= (wxListItem
*) 0 ;
15765 PyObject
* obj0
= 0 ;
15766 char *kwnames
[] = {
15767 (char *) "self",(char *) "width", NULL
15770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
15771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 (arg1
)->SetWidth(arg2
);
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15779 Py_INCREF(Py_None
); resultobj
= Py_None
;
15786 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15787 PyObject
*resultobj
;
15788 wxListItem
*arg1
= (wxListItem
*) 0 ;
15790 PyObject
* obj0
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "self",(char *) "align", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetAlign",kwnames
,&obj0
,&arg2
)) goto fail
;
15796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15799 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
15801 wxPyEndAllowThreads(__tstate
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15804 Py_INCREF(Py_None
); resultobj
= Py_None
;
15811 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15812 PyObject
*resultobj
;
15813 wxListItem
*arg1
= (wxListItem
*) 0 ;
15814 wxColour
*arg2
= 0 ;
15816 PyObject
* obj0
= 0 ;
15817 PyObject
* obj1
= 0 ;
15818 char *kwnames
[] = {
15819 (char *) "self",(char *) "colText", NULL
15822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15826 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15830 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15832 wxPyEndAllowThreads(__tstate
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15835 Py_INCREF(Py_None
); resultobj
= Py_None
;
15842 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
;
15844 wxListItem
*arg1
= (wxListItem
*) 0 ;
15845 wxColour
*arg2
= 0 ;
15847 PyObject
* obj0
= 0 ;
15848 PyObject
* obj1
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "self",(char *) "colBack", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15857 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15863 wxPyEndAllowThreads(__tstate
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15866 Py_INCREF(Py_None
); resultobj
= Py_None
;
15873 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxListItem
*arg1
= (wxListItem
*) 0 ;
15877 PyObject
* obj0
= 0 ;
15878 PyObject
* obj1
= 0 ;
15879 char *kwnames
[] = {
15880 (char *) "self",(char *) "font", NULL
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15885 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15886 if (arg2
== NULL
) {
15887 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 (arg1
)->SetFont((wxFont
const &)*arg2
);
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15896 Py_INCREF(Py_None
); resultobj
= Py_None
;
15903 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
;
15905 wxListItem
*arg1
= (wxListItem
*) 0 ;
15907 PyObject
* obj0
= 0 ;
15908 char *kwnames
[] = {
15909 (char *) "self", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
15913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 result
= (long)(arg1
)->GetMask();
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15921 resultobj
= PyInt_FromLong((long)result
);
15928 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxListItem
*arg1
= (wxListItem
*) 0 ;
15932 PyObject
* obj0
= 0 ;
15933 char *kwnames
[] = {
15934 (char *) "self", NULL
15937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
15938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 result
= (long)(arg1
)->GetId();
15943 wxPyEndAllowThreads(__tstate
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= PyInt_FromLong((long)result
);
15953 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15954 PyObject
*resultobj
;
15955 wxListItem
*arg1
= (wxListItem
*) 0 ;
15957 PyObject
* obj0
= 0 ;
15958 char *kwnames
[] = {
15959 (char *) "self", NULL
15962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
15963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 result
= (int)(arg1
)->GetColumn();
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= PyInt_FromLong((long)result
);
15978 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxListItem
*arg1
= (wxListItem
*) 0 ;
15982 PyObject
* obj0
= 0 ;
15983 char *kwnames
[] = {
15984 (char *) "self", NULL
15987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
15988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15991 result
= (long)(arg1
)->GetState();
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15996 resultobj
= PyInt_FromLong((long)result
);
16003 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxListItem
*arg1
= (wxListItem
*) 0 ;
16007 PyObject
* obj0
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "self", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
16013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 wxString
const &_result_ref
= (arg1
)->GetText();
16018 result
= (wxString
*) &_result_ref
;
16021 wxPyEndAllowThreads(__tstate
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16026 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16028 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16037 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16038 PyObject
*resultobj
;
16039 wxListItem
*arg1
= (wxListItem
*) 0 ;
16041 PyObject
* obj0
= 0 ;
16042 char *kwnames
[] = {
16043 (char *) "self", NULL
16046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
16047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 result
= (int)(arg1
)->GetImage();
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16055 resultobj
= PyInt_FromLong((long)result
);
16062 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
;
16064 wxListItem
*arg1
= (wxListItem
*) 0 ;
16066 PyObject
* obj0
= 0 ;
16067 char *kwnames
[] = {
16068 (char *) "self", NULL
16071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
16072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 result
= (long)(arg1
)->GetData();
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= PyInt_FromLong((long)result
);
16087 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxListItem
*arg1
= (wxListItem
*) 0 ;
16091 PyObject
* obj0
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
16097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16100 result
= (int)(arg1
)->GetWidth();
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16105 resultobj
= PyInt_FromLong((long)result
);
16112 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxListItem
*arg1
= (wxListItem
*) 0 ;
16116 PyObject
* obj0
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "self", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
16122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16125 result
= (int)(arg1
)->GetAlign();
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16130 resultobj
= PyInt_FromLong((long)result
);
16137 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16138 PyObject
*resultobj
;
16139 wxListItem
*arg1
= (wxListItem
*) 0 ;
16140 wxListItemAttr
*result
;
16141 PyObject
* obj0
= 0 ;
16142 char *kwnames
[] = {
16143 (char *) "self", NULL
16146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
16147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16150 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16155 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
16162 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16163 PyObject
*resultobj
;
16164 wxListItem
*arg1
= (wxListItem
*) 0 ;
16166 PyObject
* obj0
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
16172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= (bool)(arg1
)->HasAttributes();
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 resultobj
= PyInt_FromLong((long)result
);
16187 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxListItem
*arg1
= (wxListItem
*) 0 ;
16191 PyObject
* obj0
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "self", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
16197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16200 result
= ((wxListItem
const *)arg1
)->GetTextColour();
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16206 wxColour
* resultptr
;
16207 resultptr
= new wxColour((wxColour
&) result
);
16208 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16216 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16217 PyObject
*resultobj
;
16218 wxListItem
*arg1
= (wxListItem
*) 0 ;
16220 PyObject
* obj0
= 0 ;
16221 char *kwnames
[] = {
16222 (char *) "self", NULL
16225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
16226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16235 wxColour
* resultptr
;
16236 resultptr
= new wxColour((wxColour
&) result
);
16237 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16245 static PyObject
*_wrap_ListItem_GetFont(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_GetFont",kwnames
,&obj0
)) goto fail
;
16255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 result
= ((wxListItem
const *)arg1
)->GetFont();
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16264 wxFont
* resultptr
;
16265 resultptr
= new wxFont((wxFont
&) result
);
16266 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
16274 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
;
16276 wxListItem
*arg1
= (wxListItem
*) 0 ;
16278 PyObject
* obj0
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self",(char *) "m_mask", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_mask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16285 if (arg1
) (arg1
)->m_mask
= arg2
;
16287 Py_INCREF(Py_None
); resultobj
= Py_None
;
16294 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16295 PyObject
*resultobj
;
16296 wxListItem
*arg1
= (wxListItem
*) 0 ;
16298 PyObject
* obj0
= 0 ;
16299 char *kwnames
[] = {
16300 (char *) "self", NULL
16303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
16304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16305 result
= (long) ((arg1
)->m_mask
);
16307 resultobj
= PyInt_FromLong((long)result
);
16314 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
;
16316 wxListItem
*arg1
= (wxListItem
*) 0 ;
16318 PyObject
* obj0
= 0 ;
16319 char *kwnames
[] = {
16320 (char *) "self",(char *) "m_itemId", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_itemId_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16325 if (arg1
) (arg1
)->m_itemId
= arg2
;
16327 Py_INCREF(Py_None
); resultobj
= Py_None
;
16334 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
;
16336 wxListItem
*arg1
= (wxListItem
*) 0 ;
16338 PyObject
* obj0
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
16344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16345 result
= (long) ((arg1
)->m_itemId
);
16347 resultobj
= PyInt_FromLong((long)result
);
16354 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
;
16356 wxListItem
*arg1
= (wxListItem
*) 0 ;
16358 PyObject
* obj0
= 0 ;
16359 char *kwnames
[] = {
16360 (char *) "self",(char *) "m_col", NULL
16363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16365 if (arg1
) (arg1
)->m_col
= arg2
;
16367 Py_INCREF(Py_None
); resultobj
= Py_None
;
16374 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
;
16376 wxListItem
*arg1
= (wxListItem
*) 0 ;
16378 PyObject
* obj0
= 0 ;
16379 char *kwnames
[] = {
16380 (char *) "self", NULL
16383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
16384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16385 result
= (int) ((arg1
)->m_col
);
16387 resultobj
= PyInt_FromLong((long)result
);
16394 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
;
16396 wxListItem
*arg1
= (wxListItem
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "self",(char *) "m_state", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_state_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16405 if (arg1
) (arg1
)->m_state
= arg2
;
16407 Py_INCREF(Py_None
); resultobj
= Py_None
;
16414 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16415 PyObject
*resultobj
;
16416 wxListItem
*arg1
= (wxListItem
*) 0 ;
16418 PyObject
* obj0
= 0 ;
16419 char *kwnames
[] = {
16420 (char *) "self", NULL
16423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
16424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16425 result
= (long) ((arg1
)->m_state
);
16427 resultobj
= PyInt_FromLong((long)result
);
16434 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
;
16436 wxListItem
*arg1
= (wxListItem
*) 0 ;
16438 PyObject
* obj0
= 0 ;
16439 char *kwnames
[] = {
16440 (char *) "self",(char *) "m_stateMask", NULL
16443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_stateMask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16445 if (arg1
) (arg1
)->m_stateMask
= arg2
;
16447 Py_INCREF(Py_None
); resultobj
= Py_None
;
16454 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
;
16456 wxListItem
*arg1
= (wxListItem
*) 0 ;
16458 PyObject
* obj0
= 0 ;
16459 char *kwnames
[] = {
16460 (char *) "self", NULL
16463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
16464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16465 result
= (long) ((arg1
)->m_stateMask
);
16467 resultobj
= PyInt_FromLong((long)result
);
16474 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
;
16476 wxListItem
*arg1
= (wxListItem
*) 0 ;
16478 PyObject
* obj0
= 0 ;
16479 PyObject
* obj1
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self",(char *) "m_text", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16487 wxString
* sptr
= wxString_in_helper(obj1
);
16488 if (sptr
== NULL
) SWIG_fail
;
16492 if (arg1
) (arg1
)->m_text
= arg2
;
16494 Py_INCREF(Py_None
); resultobj
= Py_None
;
16501 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16502 PyObject
*resultobj
;
16503 wxListItem
*arg1
= (wxListItem
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 char *kwnames
[] = {
16507 (char *) "self", NULL
16510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
16511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16512 result
= ((arg1
)->m_text
);
16516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16527 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
;
16529 wxListItem
*arg1
= (wxListItem
*) 0 ;
16531 PyObject
* obj0
= 0 ;
16532 char *kwnames
[] = {
16533 (char *) "self",(char *) "m_image", NULL
16536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_image_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16538 if (arg1
) (arg1
)->m_image
= arg2
;
16540 Py_INCREF(Py_None
); resultobj
= Py_None
;
16547 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxListItem
*arg1
= (wxListItem
*) 0 ;
16551 PyObject
* obj0
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
16557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16558 result
= (int) ((arg1
)->m_image
);
16560 resultobj
= PyInt_FromLong((long)result
);
16567 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
;
16569 wxListItem
*arg1
= (wxListItem
*) 0 ;
16571 PyObject
* obj0
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self",(char *) "m_data", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_data_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16578 if (arg1
) (arg1
)->m_data
= arg2
;
16580 Py_INCREF(Py_None
); resultobj
= Py_None
;
16587 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxListItem
*arg1
= (wxListItem
*) 0 ;
16591 PyObject
* obj0
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "self", NULL
16596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
16597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16598 result
= (long) ((arg1
)->m_data
);
16600 resultobj
= PyInt_FromLong((long)result
);
16607 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16608 PyObject
*resultobj
;
16609 wxListItem
*arg1
= (wxListItem
*) 0 ;
16611 PyObject
* obj0
= 0 ;
16612 char *kwnames
[] = {
16613 (char *) "self",(char *) "m_format", NULL
16616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_format_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16618 if (arg1
) (arg1
)->m_format
= arg2
;
16620 Py_INCREF(Py_None
); resultobj
= Py_None
;
16627 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16628 PyObject
*resultobj
;
16629 wxListItem
*arg1
= (wxListItem
*) 0 ;
16631 PyObject
* obj0
= 0 ;
16632 char *kwnames
[] = {
16633 (char *) "self", NULL
16636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
16637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16638 result
= (int) ((arg1
)->m_format
);
16640 resultobj
= PyInt_FromLong((long)result
);
16647 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
;
16649 wxListItem
*arg1
= (wxListItem
*) 0 ;
16651 PyObject
* obj0
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self",(char *) "m_width", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16658 if (arg1
) (arg1
)->m_width
= arg2
;
16660 Py_INCREF(Py_None
); resultobj
= Py_None
;
16667 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16668 PyObject
*resultobj
;
16669 wxListItem
*arg1
= (wxListItem
*) 0 ;
16671 PyObject
* obj0
= 0 ;
16672 char *kwnames
[] = {
16673 (char *) "self", NULL
16676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
16677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16678 result
= (int) ((arg1
)->m_width
);
16680 resultobj
= PyInt_FromLong((long)result
);
16687 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
16689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16690 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
16692 return Py_BuildValue((char *)"");
16694 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16696 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16697 int arg2
= (int) 0 ;
16698 wxListEvent
*result
;
16699 char *kwnames
[] = {
16700 (char *) "commandType",(char *) "id", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_ListEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
16705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16706 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
16718 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
;
16720 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16722 PyObject
* obj0
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self",(char *) "m_code", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_code_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16729 if (arg1
) (arg1
)->m_code
= arg2
;
16731 Py_INCREF(Py_None
); resultobj
= Py_None
;
16738 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
;
16740 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16742 PyObject
* obj0
= 0 ;
16743 char *kwnames
[] = {
16744 (char *) "self", NULL
16747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
16748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16749 result
= (int) ((arg1
)->m_code
);
16751 resultobj
= PyInt_FromLong((long)result
);
16758 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16760 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16762 PyObject
* obj0
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "self",(char *) "m_oldItemIndex", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16769 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
16771 Py_INCREF(Py_None
); resultobj
= Py_None
;
16778 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "self", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
16788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16789 result
= (long) ((arg1
)->m_oldItemIndex
);
16791 resultobj
= PyInt_FromLong((long)result
);
16798 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
;
16800 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16802 PyObject
* obj0
= 0 ;
16803 char *kwnames
[] = {
16804 (char *) "self",(char *) "m_itemIndex", NULL
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16809 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
16811 Py_INCREF(Py_None
); resultobj
= Py_None
;
16818 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
;
16820 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16822 PyObject
* obj0
= 0 ;
16823 char *kwnames
[] = {
16824 (char *) "self", NULL
16827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
16828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16829 result
= (long) ((arg1
)->m_itemIndex
);
16831 resultobj
= PyInt_FromLong((long)result
);
16838 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16839 PyObject
*resultobj
;
16840 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16842 PyObject
* obj0
= 0 ;
16843 char *kwnames
[] = {
16844 (char *) "self",(char *) "m_col", NULL
16847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16849 if (arg1
) (arg1
)->m_col
= arg2
;
16851 Py_INCREF(Py_None
); resultobj
= Py_None
;
16858 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16859 PyObject
*resultobj
;
16860 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16862 PyObject
* obj0
= 0 ;
16863 char *kwnames
[] = {
16864 (char *) "self", NULL
16867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
16868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16869 result
= (int) ((arg1
)->m_col
);
16871 resultobj
= PyInt_FromLong((long)result
);
16878 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16879 PyObject
*resultobj
;
16880 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16881 wxPoint
*arg2
= (wxPoint
*) 0 ;
16882 PyObject
* obj0
= 0 ;
16883 PyObject
* obj1
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "self",(char *) "m_pointDrag", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16890 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16891 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
16893 Py_INCREF(Py_None
); resultobj
= Py_None
;
16900 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
;
16902 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16904 PyObject
* obj0
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "self", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
16910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16911 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
16913 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16920 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16921 PyObject
*resultobj
;
16922 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16923 wxListItem
*result
;
16924 PyObject
* obj0
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "self", NULL
16929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
16930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16931 result
= (wxListItem
*)& ((arg1
)->m_item
);
16934 resultobj
= wxPyMake_wxObject(result
);
16942 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
;
16944 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16946 PyObject
* obj0
= 0 ;
16947 char *kwnames
[] = {
16948 (char *) "self", NULL
16951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
16952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16955 result
= (int)(arg1
)->GetKeyCode();
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 resultobj
= PyInt_FromLong((long)result
);
16967 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
;
16969 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16971 PyObject
* obj0
= 0 ;
16972 char *kwnames
[] = {
16973 (char *) "self", NULL
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
16977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16980 result
= (long)(arg1
)->GetIndex();
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16985 resultobj
= PyInt_FromLong((long)result
);
16992 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
;
16994 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16996 PyObject
* obj0
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "self", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
17002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 result
= (int)(arg1
)->GetColumn();
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= PyInt_FromLong((long)result
);
17017 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
;
17019 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17021 PyObject
* obj0
= 0 ;
17022 char *kwnames
[] = {
17023 (char *) "self", NULL
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
17027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (arg1
)->GetPoint();
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17036 wxPoint
* resultptr
;
17037 resultptr
= new wxPoint((wxPoint
&) result
);
17038 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17046 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
;
17048 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17050 PyObject
* obj0
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "self", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
17056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 wxString
const &_result_ref
= (arg1
)->GetLabel();
17061 result
= (wxString
*) &_result_ref
;
17064 wxPyEndAllowThreads(__tstate
);
17065 if (PyErr_Occurred()) SWIG_fail
;
17069 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17071 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17080 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
;
17082 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17084 PyObject
* obj0
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "self", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
17090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17094 wxString
const &_result_ref
= (arg1
)->GetText();
17095 result
= (wxString
*) &_result_ref
;
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17103 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17105 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17114 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
;
17116 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17118 PyObject
* obj0
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "self", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
17124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 result
= (int)(arg1
)->GetImage();
17129 wxPyEndAllowThreads(__tstate
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17132 resultobj
= PyInt_FromLong((long)result
);
17139 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17143 PyObject
* obj0
= 0 ;
17144 char *kwnames
[] = {
17145 (char *) "self", NULL
17148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
17149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 result
= (long)(arg1
)->GetData();
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17157 resultobj
= PyInt_FromLong((long)result
);
17164 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17165 PyObject
*resultobj
;
17166 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17168 PyObject
* obj0
= 0 ;
17169 char *kwnames
[] = {
17170 (char *) "self", NULL
17173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
17174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= (long)(arg1
)->GetMask();
17179 wxPyEndAllowThreads(__tstate
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17182 resultobj
= PyInt_FromLong((long)result
);
17189 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17192 wxListItem
*result
;
17193 PyObject
* obj0
= 0 ;
17194 char *kwnames
[] = {
17195 (char *) "self", NULL
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
17199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 wxListItem
const &_result_ref
= (arg1
)->GetItem();
17204 result
= (wxListItem
*) &_result_ref
;
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
17217 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17221 PyObject
* obj0
= 0 ;
17222 char *kwnames
[] = {
17223 (char *) "self", NULL
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
17227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 result
= (long)(arg1
)->GetCacheFrom();
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= PyInt_FromLong((long)result
);
17242 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17246 PyObject
* obj0
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
17252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= (long)(arg1
)->GetCacheTo();
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 resultobj
= PyInt_FromLong((long)result
);
17267 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17271 PyObject
* obj0
= 0 ;
17272 char *kwnames
[] = {
17273 (char *) "self", NULL
17276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
17277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= PyInt_FromLong((long)result
);
17292 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
;
17294 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17296 PyObject
* obj0
= 0 ;
17297 PyObject
* obj1
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "self",(char *) "editCancelled", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
17303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17304 arg2
= PyInt_AsLong(obj1
) ? true : false;
17305 if (PyErr_Occurred()) SWIG_fail
;
17307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17308 (arg1
)->SetEditCanceled(arg2
);
17310 wxPyEndAllowThreads(__tstate
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17313 Py_INCREF(Py_None
); resultobj
= Py_None
;
17320 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17323 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
17325 return Py_BuildValue((char *)"");
17327 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17328 PyObject
*resultobj
;
17329 wxWindow
*arg1
= (wxWindow
*) 0 ;
17330 int arg2
= (int) -1 ;
17331 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17332 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17333 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17334 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17335 long arg5
= (long) wxLC_ICON
;
17336 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
17337 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
17338 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
17339 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17340 wxPyListCtrl
*result
;
17343 bool temp7
= False
;
17344 PyObject
* obj0
= 0 ;
17345 PyObject
* obj2
= 0 ;
17346 PyObject
* obj3
= 0 ;
17347 PyObject
* obj5
= 0 ;
17348 PyObject
* obj6
= 0 ;
17349 char *kwnames
[] = {
17350 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
17354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17358 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17364 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17368 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17369 if (arg6
== NULL
) {
17370 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17375 arg7
= wxString_in_helper(obj6
);
17376 if (arg7
== NULL
) SWIG_fail
;
17381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17382 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
17384 wxPyEndAllowThreads(__tstate
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17387 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17402 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17403 PyObject
*resultobj
;
17404 wxPyListCtrl
*result
;
17405 char *kwnames
[] = {
17409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 result
= (wxPyListCtrl
*)new wxPyListCtrl();
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17424 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17425 PyObject
*resultobj
;
17426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17427 wxWindow
*arg2
= (wxWindow
*) 0 ;
17428 int arg3
= (int) -1 ;
17429 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17430 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17431 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17432 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17433 long arg6
= (long) wxLC_ICON
;
17434 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17435 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17436 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
17437 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17441 bool temp8
= False
;
17442 PyObject
* obj0
= 0 ;
17443 PyObject
* obj1
= 0 ;
17444 PyObject
* obj3
= 0 ;
17445 PyObject
* obj4
= 0 ;
17446 PyObject
* obj6
= 0 ;
17447 PyObject
* obj7
= 0 ;
17448 char *kwnames
[] = {
17449 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
17453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17454 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17458 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17464 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17468 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17469 if (arg7
== NULL
) {
17470 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17475 arg8
= wxString_in_helper(obj7
);
17476 if (arg8
== NULL
) SWIG_fail
;
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17487 resultobj
= PyInt_FromLong((long)result
);
17502 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
;
17504 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17505 PyObject
*arg2
= (PyObject
*) 0 ;
17506 PyObject
*arg3
= (PyObject
*) 0 ;
17507 PyObject
* obj0
= 0 ;
17508 PyObject
* obj1
= 0 ;
17509 PyObject
* obj2
= 0 ;
17510 char *kwnames
[] = {
17511 (char *) "self",(char *) "self",(char *) "_class", NULL
17514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17520 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17525 Py_INCREF(Py_None
); resultobj
= Py_None
;
17532 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17533 PyObject
*resultobj
;
17534 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17535 wxColour
*arg2
= 0 ;
17538 PyObject
* obj0
= 0 ;
17539 PyObject
* obj1
= 0 ;
17540 char *kwnames
[] = {
17541 (char *) "self",(char *) "col", NULL
17544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17548 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17552 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17557 resultobj
= PyInt_FromLong((long)result
);
17564 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17566 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17567 wxColour
*arg2
= 0 ;
17570 PyObject
* obj0
= 0 ;
17571 PyObject
* obj1
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self",(char *) "col", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17580 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= PyInt_FromLong((long)result
);
17596 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17600 wxListItem
*result
;
17601 PyObject
* obj0
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "self",(char *) "col", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
17607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17616 resultobj
= wxPyMake_wxObject(result
);
17624 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17625 PyObject
*resultobj
;
17626 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17628 wxListItem
*arg3
= 0 ;
17630 PyObject
* obj0
= 0 ;
17631 PyObject
* obj2
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "self",(char *) "col",(char *) "item", NULL
17636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ListCtrl_SetColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17638 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17639 if (arg3
== NULL
) {
17640 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17644 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17649 resultobj
= PyInt_FromLong((long)result
);
17656 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17657 PyObject
*resultobj
;
17658 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17661 PyObject
* obj0
= 0 ;
17662 char *kwnames
[] = {
17663 (char *) "self",(char *) "col", NULL
17666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
17667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
17672 wxPyEndAllowThreads(__tstate
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17675 resultobj
= PyInt_FromLong((long)result
);
17682 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17683 PyObject
*resultobj
;
17684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17688 PyObject
* obj0
= 0 ;
17689 char *kwnames
[] = {
17690 (char *) "self",(char *) "col",(char *) "width", NULL
17693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17697 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17702 resultobj
= PyInt_FromLong((long)result
);
17709 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17710 PyObject
*resultobj
;
17711 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17713 PyObject
* obj0
= 0 ;
17714 char *kwnames
[] = {
17715 (char *) "self", NULL
17718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
17719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17722 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
17724 wxPyEndAllowThreads(__tstate
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17727 resultobj
= PyInt_FromLong((long)result
);
17734 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17735 PyObject
*resultobj
;
17736 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17738 PyObject
* obj0
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
17744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17753 wxRect
* resultptr
;
17754 resultptr
= new wxRect((wxRect
&) result
);
17755 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
17763 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
;
17765 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17766 wxTextCtrl
*result
;
17767 PyObject
* obj0
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self", NULL
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
17773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= wxPyMake_wxObject(result
);
17790 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17794 int arg3
= (int) 0 ;
17795 wxListItem
*result
;
17796 PyObject
* obj0
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self",(char *) "itemId",(char *) "col", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
17807 wxPyEndAllowThreads(__tstate
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= wxPyMake_wxObject(result
);
17819 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17822 wxListItem
*arg2
= 0 ;
17824 PyObject
* obj0
= 0 ;
17825 PyObject
* obj1
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self",(char *) "info", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17832 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17833 if (arg2
== NULL
) {
17834 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 result
= (bool)(arg1
)->SetItem(*arg2
);
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17843 resultobj
= PyInt_FromLong((long)result
);
17850 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17855 wxString
*arg4
= 0 ;
17856 int arg5
= (int) -1 ;
17858 bool temp4
= False
;
17859 PyObject
* obj0
= 0 ;
17860 PyObject
* obj3
= 0 ;
17861 char *kwnames
[] = {
17862 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
17866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17868 arg4
= wxString_in_helper(obj3
);
17869 if (arg4
== NULL
) SWIG_fail
;
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
17876 wxPyEndAllowThreads(__tstate
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17879 resultobj
= PyInt_FromLong((long)result
);
17894 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17895 PyObject
*resultobj
;
17896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17900 PyObject
* obj0
= 0 ;
17901 char *kwnames
[] = {
17902 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_GetItemState",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 resultobj
= PyInt_FromLong((long)result
);
17921 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17923 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17928 PyObject
* obj0
= 0 ;
17929 char *kwnames
[] = {
17930 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olll:ListCtrl_SetItemState",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
17934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 resultobj
= PyInt_FromLong((long)result
);
17949 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
;
17951 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17956 PyObject
* obj0
= 0 ;
17957 char *kwnames
[] = {
17958 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olii:ListCtrl_SetItemImage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
17962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 resultobj
= PyInt_FromLong((long)result
);
17977 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
;
17979 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17982 PyObject
* obj0
= 0 ;
17983 char *kwnames
[] = {
17984 (char *) "self",(char *) "item", NULL
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemText",kwnames
,&obj0
,&arg2
)) goto fail
;
17988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18009 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18013 wxString
*arg3
= 0 ;
18014 bool temp3
= False
;
18015 PyObject
* obj0
= 0 ;
18016 PyObject
* obj2
= 0 ;
18017 char *kwnames
[] = {
18018 (char *) "self",(char *) "item",(char *) "str", NULL
18021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemText",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18024 arg3
= wxString_in_helper(obj2
);
18025 if (arg3
== NULL
) SWIG_fail
;
18029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18030 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
18032 wxPyEndAllowThreads(__tstate
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18035 Py_INCREF(Py_None
); resultobj
= Py_None
;
18050 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
;
18052 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 char *kwnames
[] = {
18057 (char *) "self",(char *) "item", NULL
18060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemData",kwnames
,&obj0
,&arg2
)) goto fail
;
18061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18069 resultobj
= PyInt_FromLong((long)result
);
18076 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
;
18078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18082 PyObject
* obj0
= 0 ;
18083 char *kwnames
[] = {
18084 (char *) "self",(char *) "item",(char *) "data", NULL
18087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_SetItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 resultobj
= PyInt_FromLong((long)result
);
18103 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18104 PyObject
*resultobj
;
18105 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18108 PyObject
* obj0
= 0 ;
18109 char *kwnames
[] = {
18110 (char *) "self",(char *) "item", NULL
18113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
18114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18123 wxPoint
* resultptr
;
18124 resultptr
= new wxPoint((wxPoint
&) result
);
18125 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18133 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18135 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18137 int arg3
= (int) wxLIST_RECT_BOUNDS
;
18139 PyObject
* obj0
= 0 ;
18140 char *kwnames
[] = {
18141 (char *) "self",(char *) "item",(char *) "code", NULL
18144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18154 wxRect
* resultptr
;
18155 resultptr
= new wxRect((wxRect
&) result
);
18156 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18164 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18168 wxPoint
*arg3
= 0 ;
18171 PyObject
* obj0
= 0 ;
18172 PyObject
* obj2
= 0 ;
18173 char *kwnames
[] = {
18174 (char *) "self",(char *) "item",(char *) "pos", NULL
18177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18181 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 resultobj
= PyInt_FromLong((long)result
);
18197 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
;
18199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18201 PyObject
* obj0
= 0 ;
18202 char *kwnames
[] = {
18203 (char *) "self", NULL
18206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
18207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
18212 wxPyEndAllowThreads(__tstate
);
18213 if (PyErr_Occurred()) SWIG_fail
;
18215 resultobj
= PyInt_FromLong((long)result
);
18222 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
;
18224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18226 PyObject
* obj0
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "self", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
18232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 resultobj
= PyInt_FromLong((long)result
);
18247 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
;
18249 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18251 PyObject
* obj0
= 0 ;
18252 char *kwnames
[] = {
18253 (char *) "self", NULL
18256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
18257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18266 wxSize
* resultptr
;
18267 resultptr
= new wxSize((wxSize
&) result
);
18268 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
18276 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18277 PyObject
*resultobj
;
18278 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18280 PyObject
* obj0
= 0 ;
18281 char *kwnames
[] = {
18282 (char *) "self", NULL
18285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
18286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
18291 wxPyEndAllowThreads(__tstate
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18294 resultobj
= PyInt_FromLong((long)result
);
18301 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18302 PyObject
*resultobj
;
18303 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18305 PyObject
* obj0
= 0 ;
18306 char *kwnames
[] = {
18307 (char *) "self", NULL
18310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
18311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18320 wxColour
* resultptr
;
18321 resultptr
= new wxColour((wxColour
&) result
);
18322 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18330 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18331 PyObject
*resultobj
;
18332 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18333 wxColour
*arg2
= 0 ;
18335 PyObject
* obj0
= 0 ;
18336 PyObject
* obj1
= 0 ;
18337 char *kwnames
[] = {
18338 (char *) "self",(char *) "col", NULL
18341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18345 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 Py_INCREF(Py_None
); resultobj
= Py_None
;
18361 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
;
18363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "self", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
18371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= PyInt_FromLong((long)result
);
18386 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
;
18388 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18390 bool arg3
= (bool) True
;
18391 PyObject
* obj0
= 0 ;
18392 PyObject
* obj2
= 0 ;
18393 char *kwnames
[] = {
18394 (char *) "self",(char *) "style",(char *) "add", NULL
18397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18400 arg3
= PyInt_AsLong(obj2
) ? true : false;
18401 if (PyErr_Occurred()) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 (arg1
)->SetSingleStyle(arg2
,arg3
);
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 Py_INCREF(Py_None
); resultobj
= Py_None
;
18417 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
;
18419 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18421 PyObject
* obj0
= 0 ;
18422 char *kwnames
[] = {
18423 (char *) "self",(char *) "style", NULL
18426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
18427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 (arg1
)->SetWindowStyleFlag(arg2
);
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18435 Py_INCREF(Py_None
); resultobj
= Py_None
;
18442 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18443 PyObject
*resultobj
;
18444 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18446 int arg3
= (int) wxLIST_NEXT_ALL
;
18447 int arg4
= (int) wxLIST_STATE_DONTCARE
;
18449 PyObject
* obj0
= 0 ;
18450 char *kwnames
[] = {
18451 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18458 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
18460 wxPyEndAllowThreads(__tstate
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18463 resultobj
= PyInt_FromLong((long)result
);
18470 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18471 PyObject
*resultobj
;
18472 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18474 wxImageList
*result
;
18475 PyObject
* obj0
= 0 ;
18476 char *kwnames
[] = {
18477 (char *) "self",(char *) "which", NULL
18480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetImageList",kwnames
,&obj0
,&arg2
)) goto fail
;
18481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18490 resultobj
= wxPyMake_wxObject(result
);
18498 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
;
18500 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18501 wxImageList
*arg2
= (wxImageList
*) 0 ;
18503 PyObject
* obj0
= 0 ;
18504 PyObject
* obj1
= 0 ;
18505 char *kwnames
[] = {
18506 (char *) "self",(char *) "imageList",(char *) "which", NULL
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18511 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 (arg1
)->SetImageList(arg2
,arg3
);
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 Py_INCREF(Py_None
); resultobj
= Py_None
;
18526 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18529 wxImageList
*arg2
= (wxImageList
*) 0 ;
18531 PyObject
* obj0
= 0 ;
18532 PyObject
* obj1
= 0 ;
18533 char *kwnames
[] = {
18534 (char *) "self",(char *) "imageList",(char *) "which", NULL
18537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18539 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 (arg1
)->AssignImageList(arg2
,arg3
);
18544 wxPyEndAllowThreads(__tstate
);
18545 if (PyErr_Occurred()) SWIG_fail
;
18547 Py_INCREF(Py_None
); resultobj
= Py_None
;
18554 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18558 PyObject
* obj0
= 0 ;
18559 char *kwnames
[] = {
18560 (char *) "self", NULL
18563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
18564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 resultobj
= PyInt_FromLong((long)result
);
18579 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18583 PyObject
* obj0
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "self",(char *) "item", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_RefreshItem",kwnames
,&obj0
,&arg2
)) goto fail
;
18589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18592 (arg1
)->RefreshItem(arg2
);
18594 wxPyEndAllowThreads(__tstate
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 Py_INCREF(Py_None
); resultobj
= Py_None
;
18604 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
;
18606 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18609 PyObject
* obj0
= 0 ;
18610 char *kwnames
[] = {
18611 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_RefreshItems",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 (arg1
)->RefreshItems(arg2
,arg3
);
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18623 Py_INCREF(Py_None
); resultobj
= Py_None
;
18630 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
;
18632 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18633 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
18635 PyObject
* obj0
= 0 ;
18636 char *kwnames
[] = {
18637 (char *) "self",(char *) "flag", NULL
18640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListCtrl_Arrange",kwnames
,&obj0
,&arg2
)) goto fail
;
18641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 result
= (bool)(arg1
)->Arrange(arg2
);
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18649 resultobj
= PyInt_FromLong((long)result
);
18656 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18657 PyObject
*resultobj
;
18658 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18661 PyObject
* obj0
= 0 ;
18662 char *kwnames
[] = {
18663 (char *) "self",(char *) "item", NULL
18666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_DeleteItem",kwnames
,&obj0
,&arg2
)) goto fail
;
18667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18670 result
= (bool)(arg1
)->DeleteItem(arg2
);
18672 wxPyEndAllowThreads(__tstate
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18675 resultobj
= PyInt_FromLong((long)result
);
18682 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18683 PyObject
*resultobj
;
18684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18686 PyObject
* obj0
= 0 ;
18687 char *kwnames
[] = {
18688 (char *) "self", NULL
18691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
18692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 result
= (bool)(arg1
)->DeleteAllItems();
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18700 resultobj
= PyInt_FromLong((long)result
);
18707 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
;
18709 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18712 PyObject
* obj0
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self",(char *) "col", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_DeleteColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
18718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 result
= (bool)(arg1
)->DeleteColumn(arg2
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= PyInt_FromLong((long)result
);
18733 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18737 PyObject
* obj0
= 0 ;
18738 char *kwnames
[] = {
18739 (char *) "self", NULL
18742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
18743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 result
= (bool)(arg1
)->DeleteAllColumns();
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18751 resultobj
= PyInt_FromLong((long)result
);
18758 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
;
18760 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "self", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
18767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18770 (arg1
)->ClearAll();
18772 wxPyEndAllowThreads(__tstate
);
18773 if (PyErr_Occurred()) SWIG_fail
;
18775 Py_INCREF(Py_None
); resultobj
= Py_None
;
18782 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18783 PyObject
*resultobj
;
18784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18786 wxTextCtrl
*result
;
18787 PyObject
* obj0
= 0 ;
18788 char *kwnames
[] = {
18789 (char *) "self",(char *) "item", NULL
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EditLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
18793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18802 resultobj
= wxPyMake_wxObject(result
);
18810 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18811 PyObject
*resultobj
;
18812 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18815 PyObject
* obj0
= 0 ;
18816 PyObject
* obj1
= 0 ;
18817 char *kwnames
[] = {
18818 (char *) "self",(char *) "cancel", NULL
18821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
18822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18823 arg2
= PyInt_AsLong(obj1
) ? true : false;
18824 if (PyErr_Occurred()) SWIG_fail
;
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 result
= (bool)(arg1
)->EndEditLabel(arg2
);
18829 wxPyEndAllowThreads(__tstate
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18832 resultobj
= PyInt_FromLong((long)result
);
18839 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
;
18841 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18844 PyObject
* obj0
= 0 ;
18845 char *kwnames
[] = {
18846 (char *) "self",(char *) "item", NULL
18849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
18850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 result
= (bool)(arg1
)->EnsureVisible(arg2
);
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18858 resultobj
= PyInt_FromLong((long)result
);
18865 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
;
18867 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18869 wxString
*arg3
= 0 ;
18870 bool arg4
= (bool) False
;
18872 bool temp3
= False
;
18873 PyObject
* obj0
= 0 ;
18874 PyObject
* obj2
= 0 ;
18875 PyObject
* obj3
= 0 ;
18876 char *kwnames
[] = {
18877 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|O:ListCtrl_FindItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
18881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18883 arg3
= wxString_in_helper(obj2
);
18884 if (arg3
== NULL
) SWIG_fail
;
18888 arg4
= PyInt_AsLong(obj3
) ? true : false;
18889 if (PyErr_Occurred()) SWIG_fail
;
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18893 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18898 resultobj
= PyInt_FromLong((long)result
);
18913 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18914 PyObject
*resultobj
;
18915 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18919 PyObject
* obj0
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "self",(char *) "start",(char *) "data", NULL
18924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_FindItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18928 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
18930 wxPyEndAllowThreads(__tstate
);
18931 if (PyErr_Occurred()) SWIG_fail
;
18933 resultobj
= PyInt_FromLong((long)result
);
18940 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18941 PyObject
*resultobj
;
18942 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18944 wxPoint
*arg3
= 0 ;
18948 PyObject
* obj0
= 0 ;
18949 PyObject
* obj2
= 0 ;
18950 char *kwnames
[] = {
18951 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
18955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18958 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
18964 wxPyEndAllowThreads(__tstate
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18967 resultobj
= PyInt_FromLong((long)result
);
18974 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
;
18976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18977 wxPoint
*arg2
= 0 ;
18982 PyObject
* obj0
= 0 ;
18983 PyObject
* obj1
= 0 ;
18984 char *kwnames
[] = {
18985 (char *) "self",(char *) "point", NULL
18989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
18990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18993 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 resultobj
= PyInt_FromLong((long)result
);
19004 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19005 resultobj
= t_output_helper(resultobj
,o
);
19013 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
;
19015 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19016 wxListItem
*arg2
= 0 ;
19018 PyObject
* obj0
= 0 ;
19019 PyObject
* obj1
= 0 ;
19020 char *kwnames
[] = {
19021 (char *) "self",(char *) "info", NULL
19024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19026 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19027 if (arg2
== NULL
) {
19028 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19032 result
= (long)(arg1
)->InsertItem(*arg2
);
19034 wxPyEndAllowThreads(__tstate
);
19035 if (PyErr_Occurred()) SWIG_fail
;
19037 resultobj
= PyInt_FromLong((long)result
);
19044 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
;
19046 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19048 wxString
*arg3
= 0 ;
19050 bool temp3
= False
;
19051 PyObject
* obj0
= 0 ;
19052 PyObject
* obj2
= 0 ;
19053 char *kwnames
[] = {
19054 (char *) "self",(char *) "index",(char *) "label", NULL
19057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19060 arg3
= wxString_in_helper(obj2
);
19061 if (arg3
== NULL
) SWIG_fail
;
19065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 resultobj
= PyInt_FromLong((long)result
);
19086 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
;
19088 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19092 PyObject
* obj0
= 0 ;
19093 char *kwnames
[] = {
19094 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oli:ListCtrl_InsertImageItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19101 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
19103 wxPyEndAllowThreads(__tstate
);
19104 if (PyErr_Occurred()) SWIG_fail
;
19106 resultobj
= PyInt_FromLong((long)result
);
19113 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19114 PyObject
*resultobj
;
19115 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19117 wxString
*arg3
= 0 ;
19120 bool temp3
= False
;
19121 PyObject
* obj0
= 0 ;
19122 PyObject
* obj2
= 0 ;
19123 char *kwnames
[] = {
19124 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19130 arg3
= wxString_in_helper(obj2
);
19131 if (arg3
== NULL
) SWIG_fail
;
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19141 resultobj
= PyInt_FromLong((long)result
);
19156 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
;
19158 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19160 wxListItem
*arg3
= 0 ;
19162 PyObject
* obj0
= 0 ;
19163 PyObject
* obj2
= 0 ;
19164 char *kwnames
[] = {
19165 (char *) "self",(char *) "col",(char *) "info", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19170 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19171 if (arg3
== NULL
) {
19172 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19176 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 resultobj
= PyInt_FromLong((long)result
);
19188 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19189 PyObject
*resultobj
;
19190 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19192 wxString
*arg3
= 0 ;
19193 int arg4
= (int) wxLIST_FORMAT_LEFT
;
19194 int arg5
= (int) -1 ;
19196 bool temp3
= False
;
19197 PyObject
* obj0
= 0 ;
19198 PyObject
* obj2
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
)) goto fail
;
19204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19206 arg3
= wxString_in_helper(obj2
);
19207 if (arg3
== NULL
) SWIG_fail
;
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 resultobj
= PyInt_FromLong((long)result
);
19232 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
;
19234 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19236 PyObject
* obj0
= 0 ;
19237 char *kwnames
[] = {
19238 (char *) "self",(char *) "count", NULL
19241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetItemCount",kwnames
,&obj0
,&arg2
)) goto fail
;
19242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 (arg1
)->SetItemCount(arg2
);
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 Py_INCREF(Py_None
); resultobj
= Py_None
;
19257 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19263 PyObject
* obj0
= 0 ;
19264 char *kwnames
[] = {
19265 (char *) "self",(char *) "dx",(char *) "dy", NULL
19268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_ScrollList",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19277 resultobj
= PyInt_FromLong((long)result
);
19284 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19285 PyObject
*resultobj
;
19286 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19288 wxColour
*arg3
= 0 ;
19290 PyObject
* obj0
= 0 ;
19291 PyObject
* obj2
= 0 ;
19292 char *kwnames
[] = {
19293 (char *) "self",(char *) "item",(char *) "col", NULL
19296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19300 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19304 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19309 Py_INCREF(Py_None
); resultobj
= Py_None
;
19316 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
;
19318 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19321 PyObject
* obj0
= 0 ;
19322 char *kwnames
[] = {
19323 (char *) "self",(char *) "item", NULL
19326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19330 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
19332 wxPyEndAllowThreads(__tstate
);
19333 if (PyErr_Occurred()) SWIG_fail
;
19336 wxColour
* resultptr
;
19337 resultptr
= new wxColour((wxColour
&) result
);
19338 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19346 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19347 PyObject
*resultobj
;
19348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19350 wxColour
*arg3
= 0 ;
19352 PyObject
* obj0
= 0 ;
19353 PyObject
* obj2
= 0 ;
19354 char *kwnames
[] = {
19355 (char *) "self",(char *) "item",(char *) "col", NULL
19358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19362 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 Py_INCREF(Py_None
); resultobj
= Py_None
;
19378 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
;
19380 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19383 PyObject
* obj0
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self",(char *) "item", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19392 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19398 wxColour
* resultptr
;
19399 resultptr
= new wxColour((wxColour
&) result
);
19400 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19408 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
;
19410 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19411 PyObject
*arg2
= (PyObject
*) 0 ;
19413 PyObject
* obj0
= 0 ;
19414 PyObject
* obj1
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self",(char *) "func", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= PyInt_FromLong((long)result
);
19436 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19440 PyObject
* obj0
= 0 ;
19441 char *kwnames
[] = {
19442 (char *) "self", NULL
19445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
19446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19449 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= wxPyMake_wxObject(result
);
19463 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
19465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19466 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
19468 return Py_BuildValue((char *)"");
19470 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
;
19472 wxWindow
*arg1
= (wxWindow
*) 0 ;
19473 int arg2
= (int) -1 ;
19474 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19475 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19476 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19477 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19478 long arg5
= (long) wxLC_REPORT
;
19479 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19480 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19481 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19482 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19483 wxListView
*result
;
19486 bool temp7
= False
;
19487 PyObject
* obj0
= 0 ;
19488 PyObject
* obj2
= 0 ;
19489 PyObject
* obj3
= 0 ;
19490 PyObject
* obj5
= 0 ;
19491 PyObject
* obj6
= 0 ;
19492 char *kwnames
[] = {
19493 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListView",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
19497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19501 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19507 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19511 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19512 if (arg6
== NULL
) {
19513 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19518 arg7
= wxString_in_helper(obj6
);
19519 if (arg7
== NULL
) SWIG_fail
;
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19530 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19545 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
;
19547 wxListView
*result
;
19548 char *kwnames
[] = {
19552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 result
= (wxListView
*)new wxListView();
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19567 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19569 wxListView
*arg1
= (wxListView
*) 0 ;
19570 wxWindow
*arg2
= (wxWindow
*) 0 ;
19571 int arg3
= (int) -1 ;
19572 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19573 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19574 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19575 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19576 long arg6
= (long) wxLC_REPORT
;
19577 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19578 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19579 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19580 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19584 bool temp8
= False
;
19585 PyObject
* obj0
= 0 ;
19586 PyObject
* obj1
= 0 ;
19587 PyObject
* obj3
= 0 ;
19588 PyObject
* obj4
= 0 ;
19589 PyObject
* obj6
= 0 ;
19590 PyObject
* obj7
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListView_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
19596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19597 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19601 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19607 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19611 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19612 if (arg7
== NULL
) {
19613 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19618 arg8
= wxString_in_helper(obj7
);
19619 if (arg8
== NULL
) SWIG_fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= PyInt_FromLong((long)result
);
19645 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
;
19647 wxListView
*arg1
= (wxListView
*) 0 ;
19649 bool arg3
= (bool) True
;
19650 PyObject
* obj0
= 0 ;
19651 PyObject
* obj2
= 0 ;
19652 char *kwnames
[] = {
19653 (char *) "self",(char *) "n",(char *) "on", NULL
19656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListView_Select",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19659 arg3
= PyInt_AsLong(obj2
) ? true : false;
19660 if (PyErr_Occurred()) SWIG_fail
;
19663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19664 (arg1
)->Select(arg2
,arg3
);
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19669 Py_INCREF(Py_None
); resultobj
= Py_None
;
19676 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
;
19678 wxListView
*arg1
= (wxListView
*) 0 ;
19680 PyObject
* obj0
= 0 ;
19681 char *kwnames
[] = {
19682 (char *) "self",(char *) "index", NULL
19685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_Focus",kwnames
,&obj0
,&arg2
)) goto fail
;
19686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 (arg1
)->Focus(arg2
);
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 Py_INCREF(Py_None
); resultobj
= Py_None
;
19701 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxListView
*arg1
= (wxListView
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) 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
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 resultobj
= PyInt_FromLong((long)result
);
19726 static PyObject
*_wrap_ListView_GetNextSelected(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 *) "item", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_GetNextSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
19737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= PyInt_FromLong((long)result
);
19752 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19753 PyObject
*resultobj
;
19754 wxListView
*arg1
= (wxListView
*) 0 ;
19756 PyObject
* obj0
= 0 ;
19757 char *kwnames
[] = {
19758 (char *) "self", NULL
19761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
19762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19770 resultobj
= PyInt_FromLong((long)result
);
19777 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
;
19779 wxListView
*arg1
= (wxListView
*) 0 ;
19782 PyObject
* obj0
= 0 ;
19783 char *kwnames
[] = {
19784 (char *) "self",(char *) "index", NULL
19787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
19788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 result
= (bool)(arg1
)->IsSelected(arg2
);
19793 wxPyEndAllowThreads(__tstate
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19796 resultobj
= PyInt_FromLong((long)result
);
19803 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19804 PyObject
*resultobj
;
19805 wxListView
*arg1
= (wxListView
*) 0 ;
19808 PyObject
* obj0
= 0 ;
19809 char *kwnames
[] = {
19810 (char *) "self",(char *) "col",(char *) "image", NULL
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListView_SetColumnImage",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 (arg1
)->SetColumnImage(arg2
,arg3
);
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19822 Py_INCREF(Py_None
); resultobj
= Py_None
;
19829 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxListView
*arg1
= (wxListView
*) 0 ;
19833 PyObject
* obj0
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self",(char *) "col", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListView_ClearColumnImage",kwnames
,&obj0
,&arg2
)) goto fail
;
19839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 (arg1
)->ClearColumnImage(arg2
);
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 Py_INCREF(Py_None
); resultobj
= Py_None
;
19854 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
19856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19857 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
19859 return Py_BuildValue((char *)"");
19861 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
;
19863 wxTreeItemId
*result
;
19864 char *kwnames
[] = {
19868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 result
= (wxTreeItemId
*)new wxTreeItemId();
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
19883 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19886 PyObject
* obj0
= 0 ;
19887 char *kwnames
[] = {
19888 (char *) "self", NULL
19891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
19892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 wxPyEndAllowThreads(__tstate
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19900 Py_INCREF(Py_None
); resultobj
= Py_None
;
19907 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19908 PyObject
*resultobj
;
19909 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19911 PyObject
* obj0
= 0 ;
19912 char *kwnames
[] = {
19913 (char *) "self", NULL
19916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
19917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19925 resultobj
= PyInt_FromLong((long)result
);
19932 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
;
19934 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19935 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
19937 PyObject
* obj0
= 0 ;
19938 PyObject
* obj1
= 0 ;
19939 char *kwnames
[] = {
19940 (char *) "self",(char *) "other", NULL
19943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
19944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19945 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19953 resultobj
= PyInt_FromLong((long)result
);
19960 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
;
19962 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19963 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 PyObject
* obj1
= 0 ;
19967 char *kwnames
[] = {
19968 (char *) "self",(char *) "other", NULL
19971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
19972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19973 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= PyInt_FromLong((long)result
);
19988 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
;
19990 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19991 wxTreeItemIdValue arg2
= (wxTreeItemIdValue
) 0 ;
19992 PyObject
* obj0
= 0 ;
19993 PyObject
* obj1
= 0 ;
19994 char *kwnames
[] = {
19995 (char *) "self",(char *) "m_pItem", NULL
19998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20001 if (arg1
) (arg1
)->m_pItem
= arg2
;
20003 Py_INCREF(Py_None
); resultobj
= Py_None
;
20010 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
;
20012 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20013 wxTreeItemIdValue result
;
20014 PyObject
* obj0
= 0 ;
20015 char *kwnames
[] = {
20016 (char *) "self", NULL
20019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
20020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20021 result
= (wxTreeItemIdValue
) ((arg1
)->m_pItem
);
20023 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_wxTreeItemIdValue
, 0);
20030 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
20032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20033 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
20035 return Py_BuildValue((char *)"");
20037 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
;
20039 PyObject
*arg1
= (PyObject
*) NULL
;
20040 wxPyTreeItemData
*result
;
20041 PyObject
* obj0
= 0 ;
20042 char *kwnames
[] = {
20043 (char *) "obj", NULL
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20057 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
20064 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
;
20066 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20068 PyObject
* obj0
= 0 ;
20069 char *kwnames
[] = {
20070 (char *) "self", NULL
20073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
20074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 result
= (PyObject
*)(arg1
)->GetData();
20079 wxPyEndAllowThreads(__tstate
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20082 resultobj
= result
;
20089 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20090 PyObject
*resultobj
;
20091 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20092 PyObject
*arg2
= (PyObject
*) 0 ;
20093 PyObject
* obj0
= 0 ;
20094 PyObject
* obj1
= 0 ;
20095 char *kwnames
[] = {
20096 (char *) "self",(char *) "obj", NULL
20099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
20100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 (arg1
)->SetData(arg2
);
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20109 Py_INCREF(Py_None
); resultobj
= Py_None
;
20116 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20119 wxTreeItemId
*result
;
20120 PyObject
* obj0
= 0 ;
20121 char *kwnames
[] = {
20122 (char *) "self", NULL
20125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
20126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20130 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
20131 result
= (wxTreeItemId
*) &_result_ref
;
20134 wxPyEndAllowThreads(__tstate
);
20135 if (PyErr_Occurred()) SWIG_fail
;
20137 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
20144 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20145 PyObject
*resultobj
;
20146 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20147 wxTreeItemId
*arg2
= 0 ;
20148 PyObject
* obj0
= 0 ;
20149 PyObject
* obj1
= 0 ;
20150 char *kwnames
[] = {
20151 (char *) "self",(char *) "id", NULL
20154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
20155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20156 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20157 if (arg2
== NULL
) {
20158 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20167 Py_INCREF(Py_None
); resultobj
= Py_None
;
20174 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20175 PyObject
*resultobj
;
20176 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20177 PyObject
* obj0
= 0 ;
20178 char *kwnames
[] = {
20179 (char *) "self", NULL
20182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
20183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20186 wxPyTreeItemData_Destroy(arg1
);
20188 wxPyEndAllowThreads(__tstate
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20191 Py_INCREF(Py_None
); resultobj
= Py_None
;
20198 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
20200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20201 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
20203 return Py_BuildValue((char *)"");
20205 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
;
20207 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20208 int arg2
= (int) 0 ;
20209 wxTreeEvent
*result
;
20210 char *kwnames
[] = {
20211 (char *) "commandType",(char *) "id", NULL
20214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TreeEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
20216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20217 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20222 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
20229 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20230 PyObject
*resultobj
;
20231 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20232 wxTreeItemId result
;
20233 PyObject
* obj0
= 0 ;
20234 char *kwnames
[] = {
20235 (char *) "self", NULL
20238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
20244 wxPyEndAllowThreads(__tstate
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20248 wxTreeItemId
* resultptr
;
20249 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20250 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20258 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20259 PyObject
*resultobj
;
20260 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20261 wxTreeItemId
*arg2
= 0 ;
20262 PyObject
* obj0
= 0 ;
20263 PyObject
* obj1
= 0 ;
20264 char *kwnames
[] = {
20265 (char *) "self",(char *) "item", NULL
20268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20270 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20271 if (arg2
== NULL
) {
20272 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 Py_INCREF(Py_None
); resultobj
= Py_None
;
20288 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
;
20290 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20291 wxTreeItemId result
;
20292 PyObject
* obj0
= 0 ;
20293 char *kwnames
[] = {
20294 (char *) "self", NULL
20297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
20298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20307 wxTreeItemId
* resultptr
;
20308 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20309 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20317 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20320 wxTreeItemId
*arg2
= 0 ;
20321 PyObject
* obj0
= 0 ;
20322 PyObject
* obj1
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self",(char *) "item", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20329 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20330 if (arg2
== NULL
) {
20331 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20335 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20340 Py_INCREF(Py_None
); resultobj
= Py_None
;
20347 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
;
20349 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20351 PyObject
* obj0
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20366 wxPoint
* resultptr
;
20367 resultptr
= new wxPoint((wxPoint
&) result
);
20368 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20376 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20377 PyObject
*resultobj
;
20378 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20379 wxPoint
*arg2
= 0 ;
20381 PyObject
* obj0
= 0 ;
20382 PyObject
* obj1
= 0 ;
20383 char *kwnames
[] = {
20384 (char *) "self",(char *) "pt", NULL
20387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
20388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20391 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20400 Py_INCREF(Py_None
); resultobj
= Py_None
;
20407 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20408 PyObject
*resultobj
;
20409 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20410 wxKeyEvent
*result
;
20411 PyObject
* obj0
= 0 ;
20412 char *kwnames
[] = {
20413 (char *) "self", NULL
20416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
20417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
20422 result
= (wxKeyEvent
*) &_result_ref
;
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
20435 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20436 PyObject
*resultobj
;
20437 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20439 PyObject
* obj0
= 0 ;
20440 char *kwnames
[] = {
20441 (char *) "self", NULL
20444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20453 resultobj
= PyInt_FromLong((long)result
);
20460 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
;
20462 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20463 wxKeyEvent
*arg2
= 0 ;
20464 PyObject
* obj0
= 0 ;
20465 PyObject
* obj1
= 0 ;
20466 char *kwnames
[] = {
20467 (char *) "self",(char *) "evt", NULL
20470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20472 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20473 if (arg2
== NULL
) {
20474 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 Py_INCREF(Py_None
); resultobj
= Py_None
;
20490 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20491 PyObject
*resultobj
;
20492 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20494 PyObject
* obj0
= 0 ;
20495 char *kwnames
[] = {
20496 (char *) "self", NULL
20499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
20505 result
= (wxString
*) &_result_ref
;
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20513 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20515 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20524 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20525 PyObject
*resultobj
;
20526 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20527 wxString
*arg2
= 0 ;
20528 bool temp2
= False
;
20529 PyObject
* obj0
= 0 ;
20530 PyObject
* obj1
= 0 ;
20531 char *kwnames
[] = {
20532 (char *) "self",(char *) "label", NULL
20535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20538 arg2
= wxString_in_helper(obj1
);
20539 if (arg2
== NULL
) SWIG_fail
;
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 (arg1
)->SetLabel((wxString
const &)*arg2
);
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20549 Py_INCREF(Py_None
); resultobj
= Py_None
;
20564 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20565 PyObject
*resultobj
;
20566 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20568 PyObject
* obj0
= 0 ;
20569 char *kwnames
[] = {
20570 (char *) "self", NULL
20573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20577 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
20579 wxPyEndAllowThreads(__tstate
);
20580 if (PyErr_Occurred()) SWIG_fail
;
20582 resultobj
= PyInt_FromLong((long)result
);
20589 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20590 PyObject
*resultobj
;
20591 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20593 PyObject
* obj0
= 0 ;
20594 PyObject
* obj1
= 0 ;
20595 char *kwnames
[] = {
20596 (char *) "self",(char *) "editCancelled", NULL
20599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20601 arg2
= PyInt_AsLong(obj1
) ? true : false;
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 (arg1
)->SetEditCanceled(arg2
);
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20610 Py_INCREF(Py_None
); resultobj
= Py_None
;
20617 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20618 PyObject
*resultobj
;
20619 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20620 wxString
*arg2
= 0 ;
20621 bool temp2
= False
;
20622 PyObject
* obj0
= 0 ;
20623 PyObject
* obj1
= 0 ;
20624 char *kwnames
[] = {
20625 (char *) "self",(char *) "toolTip", NULL
20628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
20629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20631 arg2
= wxString_in_helper(obj1
);
20632 if (arg2
== NULL
) SWIG_fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 (arg1
)->SetToolTip((wxString
const &)*arg2
);
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20642 Py_INCREF(Py_None
); resultobj
= Py_None
;
20657 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20660 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
20662 return Py_BuildValue((char *)"");
20664 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
;
20666 wxWindow
*arg1
= (wxWindow
*) 0 ;
20667 int arg2
= (int) -1 ;
20668 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20669 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20670 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20671 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20672 long arg5
= (long) wxTR_DEFAULT_STYLE
;
20673 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20674 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20675 wxString
const &arg7_defvalue
= wxPy_TreeCtrlNameStr
;
20676 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20677 wxPyTreeCtrl
*result
;
20680 bool temp7
= False
;
20681 PyObject
* obj0
= 0 ;
20682 PyObject
* obj2
= 0 ;
20683 PyObject
* obj3
= 0 ;
20684 PyObject
* obj5
= 0 ;
20685 PyObject
* obj6
= 0 ;
20686 char *kwnames
[] = {
20687 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_TreeCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
20691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20695 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20701 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20705 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20706 if (arg6
== NULL
) {
20707 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20712 arg7
= wxString_in_helper(obj6
);
20713 if (arg7
== NULL
) SWIG_fail
;
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20721 wxPyEndAllowThreads(__tstate
);
20722 if (PyErr_Occurred()) SWIG_fail
;
20724 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeCtrl
, 1);
20739 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20740 PyObject
*resultobj
;
20741 wxPyTreeCtrl
*result
;
20742 char *kwnames
[] = {
20746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20749 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20754 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeCtrl
, 1);
20761 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20762 PyObject
*resultobj
;
20763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20764 wxWindow
*arg2
= (wxWindow
*) 0 ;
20765 int arg3
= (int) -1 ;
20766 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20767 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20768 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20769 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20770 long arg6
= (long) wxTR_DEFAULT_STYLE
;
20771 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20772 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20773 wxString
const &arg8_defvalue
= wxPy_TreeCtrlNameStr
;
20774 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20778 bool temp8
= False
;
20779 PyObject
* obj0
= 0 ;
20780 PyObject
* obj1
= 0 ;
20781 PyObject
* obj3
= 0 ;
20782 PyObject
* obj4
= 0 ;
20783 PyObject
* obj6
= 0 ;
20784 PyObject
* obj7
= 0 ;
20785 char *kwnames
[] = {
20786 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
20790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20791 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20795 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20801 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20805 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20806 if (arg7
== NULL
) {
20807 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20812 arg8
= wxString_in_helper(obj7
);
20813 if (arg8
== NULL
) SWIG_fail
;
20818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20819 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 resultobj
= PyInt_FromLong((long)result
);
20839 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20840 PyObject
*resultobj
;
20841 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20842 PyObject
*arg2
= (PyObject
*) 0 ;
20843 PyObject
*arg3
= (PyObject
*) 0 ;
20844 PyObject
* obj0
= 0 ;
20845 PyObject
* obj1
= 0 ;
20846 PyObject
* obj2
= 0 ;
20847 char *kwnames
[] = {
20848 (char *) "self",(char *) "self",(char *) "_class", NULL
20851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20857 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20862 Py_INCREF(Py_None
); resultobj
= Py_None
;
20869 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
;
20871 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20873 PyObject
* obj0
= 0 ;
20874 char *kwnames
[] = {
20875 (char *) "self", NULL
20878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
20879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 resultobj
= PyInt_FromLong((long)result
);
20894 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20896 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20897 unsigned int result
;
20898 PyObject
* obj0
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
20904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20912 resultobj
= PyInt_FromLong((long)result
);
20919 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
;
20921 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20922 unsigned int arg2
;
20923 PyObject
* obj0
= 0 ;
20924 PyObject
* obj1
= 0 ;
20925 char *kwnames
[] = {
20926 (char *) "self",(char *) "indent", NULL
20929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
20930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20931 arg2
= (unsigned int) PyInt_AsLong(obj1
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20935 (arg1
)->SetIndent(arg2
);
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20940 Py_INCREF(Py_None
); resultobj
= Py_None
;
20947 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20948 PyObject
*resultobj
;
20949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20950 unsigned int result
;
20951 PyObject
* obj0
= 0 ;
20952 char *kwnames
[] = {
20953 (char *) "self", NULL
20956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
20957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= PyInt_FromLong((long)result
);
20972 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
;
20974 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20975 unsigned int arg2
;
20976 PyObject
* obj0
= 0 ;
20977 PyObject
* obj1
= 0 ;
20978 char *kwnames
[] = {
20979 (char *) "self",(char *) "spacing", NULL
20982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
20983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20984 arg2
= (unsigned int) PyInt_AsLong(obj1
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 (arg1
)->SetSpacing(arg2
);
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 Py_INCREF(Py_None
); resultobj
= Py_None
;
21000 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21003 wxImageList
*result
;
21004 PyObject
* obj0
= 0 ;
21005 char *kwnames
[] = {
21006 (char *) "self", NULL
21009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
21010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21019 resultobj
= wxPyMake_wxObject(result
);
21027 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21028 PyObject
*resultobj
;
21029 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21030 wxImageList
*result
;
21031 PyObject
* obj0
= 0 ;
21032 char *kwnames
[] = {
21033 (char *) "self", NULL
21036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
21037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21046 resultobj
= wxPyMake_wxObject(result
);
21054 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
;
21056 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21057 wxImageList
*arg2
= (wxImageList
*) 0 ;
21058 PyObject
* obj0
= 0 ;
21059 PyObject
* obj1
= 0 ;
21060 char *kwnames
[] = {
21061 (char *) "self",(char *) "imageList", NULL
21064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21066 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 (arg1
)->SetImageList(arg2
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 Py_INCREF(Py_None
); resultobj
= Py_None
;
21081 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21084 wxImageList
*arg2
= (wxImageList
*) 0 ;
21085 PyObject
* obj0
= 0 ;
21086 PyObject
* obj1
= 0 ;
21087 char *kwnames
[] = {
21088 (char *) "self",(char *) "imageList", NULL
21091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21093 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 (arg1
)->SetStateImageList(arg2
);
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21101 Py_INCREF(Py_None
); resultobj
= Py_None
;
21108 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21109 PyObject
*resultobj
;
21110 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21111 wxImageList
*arg2
= (wxImageList
*) 0 ;
21112 PyObject
* obj0
= 0 ;
21113 PyObject
* obj1
= 0 ;
21114 char *kwnames
[] = {
21115 (char *) "self",(char *) "imageList", NULL
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21120 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 (arg1
)->AssignImageList(arg2
);
21125 wxPyEndAllowThreads(__tstate
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21128 Py_INCREF(Py_None
); resultobj
= Py_None
;
21135 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21137 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21138 wxImageList
*arg2
= (wxImageList
*) 0 ;
21139 PyObject
* obj0
= 0 ;
21140 PyObject
* obj1
= 0 ;
21141 char *kwnames
[] = {
21142 (char *) "self",(char *) "imageList", NULL
21145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21147 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 (arg1
)->AssignStateImageList(arg2
);
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21155 Py_INCREF(Py_None
); resultobj
= Py_None
;
21162 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
;
21164 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21165 wxTreeItemId
*arg2
= 0 ;
21167 PyObject
* obj0
= 0 ;
21168 PyObject
* obj1
= 0 ;
21169 char *kwnames
[] = {
21170 (char *) "self",(char *) "item", NULL
21173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21175 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21176 if (arg2
== NULL
) {
21177 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21181 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21199 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
;
21201 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21202 wxTreeItemId
*arg2
= 0 ;
21203 int arg3
= (int) wxTreeItemIcon_Normal
;
21205 PyObject
* obj0
= 0 ;
21206 PyObject
* obj1
= 0 ;
21207 char *kwnames
[] = {
21208 (char *) "self",(char *) "item",(char *) "which", NULL
21211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21213 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21214 if (arg2
== NULL
) {
21215 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21219 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
21221 wxPyEndAllowThreads(__tstate
);
21222 if (PyErr_Occurred()) SWIG_fail
;
21224 resultobj
= PyInt_FromLong((long)result
);
21231 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21232 PyObject
*resultobj
;
21233 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21234 wxTreeItemId
*arg2
= 0 ;
21235 wxPyTreeItemData
*result
;
21236 PyObject
* obj0
= 0 ;
21237 PyObject
* obj1
= 0 ;
21238 char *kwnames
[] = {
21239 (char *) "self",(char *) "item", NULL
21242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21244 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21245 if (arg2
== NULL
) {
21246 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21255 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
21262 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
;
21264 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21265 wxTreeItemId
*arg2
= 0 ;
21267 PyObject
* obj0
= 0 ;
21268 PyObject
* obj1
= 0 ;
21269 char *kwnames
[] = {
21270 (char *) "self",(char *) "item", NULL
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
21274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21275 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21276 if (arg2
== NULL
) {
21277 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= result
;
21293 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21296 wxTreeItemId
*arg2
= 0 ;
21298 PyObject
* obj0
= 0 ;
21299 PyObject
* obj1
= 0 ;
21300 char *kwnames
[] = {
21301 (char *) "self",(char *) "item", NULL
21304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21306 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21307 if (arg2
== NULL
) {
21308 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21318 wxColour
* resultptr
;
21319 resultptr
= new wxColour((wxColour
&) result
);
21320 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21328 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21329 PyObject
*resultobj
;
21330 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21331 wxTreeItemId
*arg2
= 0 ;
21333 PyObject
* obj0
= 0 ;
21334 PyObject
* obj1
= 0 ;
21335 char *kwnames
[] = {
21336 (char *) "self",(char *) "item", NULL
21339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21341 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21342 if (arg2
== NULL
) {
21343 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21353 wxColour
* resultptr
;
21354 resultptr
= new wxColour((wxColour
&) result
);
21355 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21363 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
;
21365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21366 wxTreeItemId
*arg2
= 0 ;
21368 PyObject
* obj0
= 0 ;
21369 PyObject
* obj1
= 0 ;
21370 char *kwnames
[] = {
21371 (char *) "self",(char *) "item", NULL
21374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21376 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21377 if (arg2
== NULL
) {
21378 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21388 wxFont
* resultptr
;
21389 resultptr
= new wxFont((wxFont
&) result
);
21390 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
21398 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
;
21400 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21401 wxTreeItemId
*arg2
= 0 ;
21402 wxString
*arg3
= 0 ;
21403 bool temp3
= False
;
21404 PyObject
* obj0
= 0 ;
21405 PyObject
* obj1
= 0 ;
21406 PyObject
* obj2
= 0 ;
21407 char *kwnames
[] = {
21408 (char *) "self",(char *) "item",(char *) "text", NULL
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",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
;
21418 arg3
= wxString_in_helper(obj2
);
21419 if (arg3
== NULL
) SWIG_fail
;
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21429 Py_INCREF(Py_None
); resultobj
= Py_None
;
21444 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21446 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21447 wxTreeItemId
*arg2
= 0 ;
21449 int arg4
= (int) wxTreeItemIcon_Normal
;
21450 PyObject
* obj0
= 0 ;
21451 PyObject
* obj1
= 0 ;
21452 char *kwnames
[] = {
21453 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
21457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21458 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21459 if (arg2
== NULL
) {
21460 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21469 Py_INCREF(Py_None
); resultobj
= Py_None
;
21476 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21477 PyObject
*resultobj
;
21478 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21479 wxTreeItemId
*arg2
= 0 ;
21480 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
21481 PyObject
* obj0
= 0 ;
21482 PyObject
* obj1
= 0 ;
21483 PyObject
* obj2
= 0 ;
21484 char *kwnames
[] = {
21485 (char *) "self",(char *) "item",(char *) "data", NULL
21488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21491 if (arg2
== NULL
) {
21492 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21494 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21497 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21502 Py_INCREF(Py_None
); resultobj
= Py_None
;
21509 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21512 wxTreeItemId
*arg2
= 0 ;
21513 PyObject
*arg3
= (PyObject
*) 0 ;
21514 PyObject
* obj0
= 0 ;
21515 PyObject
* obj1
= 0 ;
21516 PyObject
* obj2
= 0 ;
21517 char *kwnames
[] = {
21518 (char *) "self",(char *) "item",(char *) "obj", NULL
21521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21523 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21524 if (arg2
== NULL
) {
21525 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 Py_INCREF(Py_None
); resultobj
= Py_None
;
21542 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
;
21544 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21545 wxTreeItemId
*arg2
= 0 ;
21546 bool arg3
= (bool) True
;
21547 PyObject
* obj0
= 0 ;
21548 PyObject
* obj1
= 0 ;
21549 PyObject
* obj2
= 0 ;
21550 char *kwnames
[] = {
21551 (char *) "self",(char *) "item",(char *) "has", NULL
21554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21556 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21557 if (arg2
== NULL
) {
21558 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21561 arg3
= PyInt_AsLong(obj2
) ? true : false;
21562 if (PyErr_Occurred()) SWIG_fail
;
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 Py_INCREF(Py_None
); resultobj
= Py_None
;
21578 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21581 wxTreeItemId
*arg2
= 0 ;
21582 bool arg3
= (bool) True
;
21583 PyObject
* obj0
= 0 ;
21584 PyObject
* obj1
= 0 ;
21585 PyObject
* obj2
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self",(char *) "item",(char *) "bold", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21593 if (arg2
== NULL
) {
21594 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21597 arg3
= PyInt_AsLong(obj2
) ? true : false;
21598 if (PyErr_Occurred()) SWIG_fail
;
21601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21602 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21607 Py_INCREF(Py_None
); resultobj
= Py_None
;
21614 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21615 PyObject
*resultobj
;
21616 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21617 wxTreeItemId
*arg2
= 0 ;
21618 bool arg3
= (bool) True
;
21619 PyObject
* obj0
= 0 ;
21620 PyObject
* obj1
= 0 ;
21621 PyObject
* obj2
= 0 ;
21622 char *kwnames
[] = {
21623 (char *) "self",(char *) "item",(char *) "highlight", NULL
21626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21628 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21629 if (arg2
== NULL
) {
21630 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21633 arg3
= PyInt_AsLong(obj2
) ? true : false;
21634 if (PyErr_Occurred()) SWIG_fail
;
21637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21638 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
21640 wxPyEndAllowThreads(__tstate
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21643 Py_INCREF(Py_None
); resultobj
= Py_None
;
21650 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21651 PyObject
*resultobj
;
21652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21653 wxTreeItemId
*arg2
= 0 ;
21654 wxColour
*arg3
= 0 ;
21656 PyObject
* obj0
= 0 ;
21657 PyObject
* obj1
= 0 ;
21658 PyObject
* obj2
= 0 ;
21659 char *kwnames
[] = {
21660 (char *) "self",(char *) "item",(char *) "col", NULL
21663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21665 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21666 if (arg2
== NULL
) {
21667 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21671 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21675 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21680 Py_INCREF(Py_None
); resultobj
= Py_None
;
21687 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21688 PyObject
*resultobj
;
21689 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21690 wxTreeItemId
*arg2
= 0 ;
21691 wxColour
*arg3
= 0 ;
21693 PyObject
* obj0
= 0 ;
21694 PyObject
* obj1
= 0 ;
21695 PyObject
* obj2
= 0 ;
21696 char *kwnames
[] = {
21697 (char *) "self",(char *) "item",(char *) "col", NULL
21700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21702 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21703 if (arg2
== NULL
) {
21704 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21708 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21717 Py_INCREF(Py_None
); resultobj
= Py_None
;
21724 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21725 PyObject
*resultobj
;
21726 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21727 wxTreeItemId
*arg2
= 0 ;
21729 PyObject
* obj0
= 0 ;
21730 PyObject
* obj1
= 0 ;
21731 PyObject
* obj2
= 0 ;
21732 char *kwnames
[] = {
21733 (char *) "self",(char *) "item",(char *) "font", NULL
21736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21738 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21739 if (arg2
== NULL
) {
21740 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21742 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21743 if (arg3
== NULL
) {
21744 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21748 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
21750 wxPyEndAllowThreads(__tstate
);
21751 if (PyErr_Occurred()) SWIG_fail
;
21753 Py_INCREF(Py_None
); resultobj
= Py_None
;
21760 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21761 PyObject
*resultobj
;
21762 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21763 wxTreeItemId
*arg2
= 0 ;
21765 PyObject
* obj0
= 0 ;
21766 PyObject
* obj1
= 0 ;
21767 char *kwnames
[] = {
21768 (char *) "self",(char *) "item", NULL
21771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21773 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21774 if (arg2
== NULL
) {
21775 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21779 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21784 resultobj
= PyInt_FromLong((long)result
);
21791 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21792 PyObject
*resultobj
;
21793 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21794 wxTreeItemId
*arg2
= 0 ;
21796 PyObject
* obj0
= 0 ;
21797 PyObject
* obj1
= 0 ;
21798 char *kwnames
[] = {
21799 (char *) "self",(char *) "item", NULL
21802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
21803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21805 if (arg2
== NULL
) {
21806 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
21812 wxPyEndAllowThreads(__tstate
);
21813 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= PyInt_FromLong((long)result
);
21822 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21823 PyObject
*resultobj
;
21824 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21825 wxTreeItemId
*arg2
= 0 ;
21827 PyObject
* obj0
= 0 ;
21828 PyObject
* obj1
= 0 ;
21829 char *kwnames
[] = {
21830 (char *) "self",(char *) "item", NULL
21833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
21834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21835 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21836 if (arg2
== NULL
) {
21837 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21846 resultobj
= PyInt_FromLong((long)result
);
21853 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21854 PyObject
*resultobj
;
21855 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21856 wxTreeItemId
*arg2
= 0 ;
21858 PyObject
* obj0
= 0 ;
21859 PyObject
* obj1
= 0 ;
21860 char *kwnames
[] = {
21861 (char *) "self",(char *) "item", NULL
21864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
21865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21866 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21867 if (arg2
== NULL
) {
21868 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
21874 wxPyEndAllowThreads(__tstate
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21877 resultobj
= PyInt_FromLong((long)result
);
21884 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21885 PyObject
*resultobj
;
21886 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21887 wxTreeItemId
*arg2
= 0 ;
21889 PyObject
* obj0
= 0 ;
21890 PyObject
* obj1
= 0 ;
21891 char *kwnames
[] = {
21892 (char *) "self",(char *) "item", NULL
21895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
21896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21897 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21898 if (arg2
== NULL
) {
21899 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21903 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21908 resultobj
= PyInt_FromLong((long)result
);
21915 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21916 PyObject
*resultobj
;
21917 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21918 wxTreeItemId
*arg2
= 0 ;
21919 bool arg3
= (bool) True
;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 PyObject
* obj2
= 0 ;
21924 char *kwnames
[] = {
21925 (char *) "self",(char *) "item",(char *) "recursively", NULL
21928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21930 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21931 if (arg2
== NULL
) {
21932 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21935 arg3
= PyInt_AsLong(obj2
) ? true : false;
21936 if (PyErr_Occurred()) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21945 resultobj
= PyInt_FromLong((long)result
);
21952 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21953 PyObject
*resultobj
;
21954 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21955 wxTreeItemId result
;
21956 PyObject
* obj0
= 0 ;
21957 char *kwnames
[] = {
21958 (char *) "self", NULL
21961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
21962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21965 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
21967 wxPyEndAllowThreads(__tstate
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21971 wxTreeItemId
* resultptr
;
21972 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21973 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21981 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21982 PyObject
*resultobj
;
21983 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21984 wxTreeItemId result
;
21985 PyObject
* obj0
= 0 ;
21986 char *kwnames
[] = {
21987 (char *) "self", NULL
21990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
21991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
22000 wxTreeItemId
* resultptr
;
22001 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22002 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22010 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22012 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22014 PyObject
* obj0
= 0 ;
22015 char *kwnames
[] = {
22016 (char *) "self", NULL
22019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
22020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
22025 wxPyEndAllowThreads(__tstate
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22028 resultobj
= result
;
22035 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22036 PyObject
*resultobj
;
22037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22038 wxTreeItemId
*arg2
= 0 ;
22039 wxTreeItemId result
;
22040 PyObject
* obj0
= 0 ;
22041 PyObject
* obj1
= 0 ;
22042 char *kwnames
[] = {
22043 (char *) "self",(char *) "item", NULL
22046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22048 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22049 if (arg2
== NULL
) {
22050 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22054 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
22056 wxPyEndAllowThreads(__tstate
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22060 wxTreeItemId
* resultptr
;
22061 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22062 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22070 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22071 PyObject
*resultobj
;
22072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22073 wxTreeItemId
*arg2
= 0 ;
22075 PyObject
* obj0
= 0 ;
22076 PyObject
* obj1
= 0 ;
22077 char *kwnames
[] = {
22078 (char *) "self",(char *) "item", NULL
22081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22083 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22084 if (arg2
== NULL
) {
22085 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
22091 wxPyEndAllowThreads(__tstate
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22094 resultobj
= result
;
22101 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
;
22103 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22104 wxTreeItemId
*arg2
= 0 ;
22105 wxTreeItemIdValue
*arg3
= 0 ;
22107 PyObject
* obj0
= 0 ;
22108 PyObject
* obj1
= 0 ;
22109 PyObject
* obj2
= 0 ;
22110 char *kwnames
[] = {
22111 (char *) "self",(char *) "item",(char *) "cookie", NULL
22114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22116 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22117 if (arg2
== NULL
) {
22118 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22120 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemIdValue
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22121 if (arg3
== NULL
) {
22122 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22126 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,*arg3
);
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= result
;
22138 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22141 wxTreeItemId
*arg2
= 0 ;
22142 wxTreeItemId result
;
22143 PyObject
* obj0
= 0 ;
22144 PyObject
* obj1
= 0 ;
22145 char *kwnames
[] = {
22146 (char *) "self",(char *) "item", NULL
22149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22151 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22152 if (arg2
== NULL
) {
22153 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22163 wxTreeItemId
* resultptr
;
22164 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22165 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22173 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
;
22175 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22176 wxTreeItemId
*arg2
= 0 ;
22177 wxTreeItemId result
;
22178 PyObject
* obj0
= 0 ;
22179 PyObject
* obj1
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "self",(char *) "item", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22186 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22187 if (arg2
== NULL
) {
22188 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22198 wxTreeItemId
* resultptr
;
22199 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22200 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22208 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22209 PyObject
*resultobj
;
22210 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22211 wxTreeItemId
*arg2
= 0 ;
22212 wxTreeItemId result
;
22213 PyObject
* obj0
= 0 ;
22214 PyObject
* obj1
= 0 ;
22215 char *kwnames
[] = {
22216 (char *) "self",(char *) "item", NULL
22219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22221 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22222 if (arg2
== NULL
) {
22223 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22233 wxTreeItemId
* resultptr
;
22234 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22235 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22243 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22244 PyObject
*resultobj
;
22245 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22246 wxTreeItemId result
;
22247 PyObject
* obj0
= 0 ;
22248 char *kwnames
[] = {
22249 (char *) "self", NULL
22252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
22253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22262 wxTreeItemId
* resultptr
;
22263 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22264 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22272 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
;
22274 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22275 wxTreeItemId
*arg2
= 0 ;
22276 wxTreeItemId result
;
22277 PyObject
* obj0
= 0 ;
22278 PyObject
* obj1
= 0 ;
22279 char *kwnames
[] = {
22280 (char *) "self",(char *) "item", NULL
22283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22285 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22286 if (arg2
== NULL
) {
22287 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22297 wxTreeItemId
* resultptr
;
22298 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22299 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22307 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22308 PyObject
*resultobj
;
22309 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22310 wxTreeItemId
*arg2
= 0 ;
22311 wxTreeItemId result
;
22312 PyObject
* obj0
= 0 ;
22313 PyObject
* obj1
= 0 ;
22314 char *kwnames
[] = {
22315 (char *) "self",(char *) "item", NULL
22318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22321 if (arg2
== NULL
) {
22322 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22326 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22332 wxTreeItemId
* resultptr
;
22333 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22334 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22342 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22343 PyObject
*resultobj
;
22344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22345 wxString
*arg2
= 0 ;
22346 int arg3
= (int) -1 ;
22347 int arg4
= (int) -1 ;
22348 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
22349 wxTreeItemId result
;
22350 bool temp2
= False
;
22351 PyObject
* obj0
= 0 ;
22352 PyObject
* obj1
= 0 ;
22353 PyObject
* obj4
= 0 ;
22354 char *kwnames
[] = {
22355 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
22359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22361 arg2
= wxString_in_helper(obj1
);
22362 if (arg2
== NULL
) SWIG_fail
;
22366 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
22372 wxPyEndAllowThreads(__tstate
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22376 wxTreeItemId
* resultptr
;
22377 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22378 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22394 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22397 wxTreeItemId
*arg2
= 0 ;
22398 wxString
*arg3
= 0 ;
22399 int arg4
= (int) -1 ;
22400 int arg5
= (int) -1 ;
22401 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22402 wxTreeItemId result
;
22403 bool temp3
= False
;
22404 PyObject
* obj0
= 0 ;
22405 PyObject
* obj1
= 0 ;
22406 PyObject
* obj2
= 0 ;
22407 PyObject
* obj5
= 0 ;
22408 char *kwnames
[] = {
22409 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22414 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22415 if (arg2
== NULL
) {
22416 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22419 arg3
= wxString_in_helper(obj2
);
22420 if (arg3
== NULL
) SWIG_fail
;
22424 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22434 wxTreeItemId
* resultptr
;
22435 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22436 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22452 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22453 PyObject
*resultobj
;
22454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22455 wxTreeItemId
*arg2
= 0 ;
22456 wxTreeItemId
*arg3
= 0 ;
22457 wxString
*arg4
= 0 ;
22458 int arg5
= (int) -1 ;
22459 int arg6
= (int) -1 ;
22460 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22461 wxTreeItemId result
;
22462 bool temp4
= False
;
22463 PyObject
* obj0
= 0 ;
22464 PyObject
* obj1
= 0 ;
22465 PyObject
* obj2
= 0 ;
22466 PyObject
* obj3
= 0 ;
22467 PyObject
* obj6
= 0 ;
22468 char *kwnames
[] = {
22469 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22474 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22475 if (arg2
== NULL
) {
22476 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22478 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22479 if (arg3
== NULL
) {
22480 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22483 arg4
= wxString_in_helper(obj3
);
22484 if (arg4
== NULL
) SWIG_fail
;
22488 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22494 wxPyEndAllowThreads(__tstate
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22498 wxTreeItemId
* resultptr
;
22499 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22500 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22516 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22518 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22519 wxTreeItemId
*arg2
= 0 ;
22521 wxString
*arg4
= 0 ;
22522 int arg5
= (int) -1 ;
22523 int arg6
= (int) -1 ;
22524 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22525 wxTreeItemId result
;
22526 bool temp4
= False
;
22527 PyObject
* obj0
= 0 ;
22528 PyObject
* obj1
= 0 ;
22529 PyObject
* obj2
= 0 ;
22530 PyObject
* obj3
= 0 ;
22531 PyObject
* obj6
= 0 ;
22532 char *kwnames
[] = {
22533 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22538 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22539 if (arg2
== NULL
) {
22540 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22542 arg3
= (size_t) PyInt_AsLong(obj2
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 arg4
= wxString_in_helper(obj3
);
22546 if (arg4
== NULL
) SWIG_fail
;
22550 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22554 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22556 wxPyEndAllowThreads(__tstate
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22560 wxTreeItemId
* resultptr
;
22561 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22562 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22578 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22579 PyObject
*resultobj
;
22580 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22581 wxTreeItemId
*arg2
= 0 ;
22582 wxString
*arg3
= 0 ;
22583 int arg4
= (int) -1 ;
22584 int arg5
= (int) -1 ;
22585 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22586 wxTreeItemId result
;
22587 bool temp3
= False
;
22588 PyObject
* obj0
= 0 ;
22589 PyObject
* obj1
= 0 ;
22590 PyObject
* obj2
= 0 ;
22591 PyObject
* obj5
= 0 ;
22592 char *kwnames
[] = {
22593 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22598 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22599 if (arg2
== NULL
) {
22600 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22603 arg3
= wxString_in_helper(obj2
);
22604 if (arg3
== NULL
) SWIG_fail
;
22608 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22614 wxPyEndAllowThreads(__tstate
);
22615 if (PyErr_Occurred()) SWIG_fail
;
22618 wxTreeItemId
* resultptr
;
22619 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22620 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22636 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
;
22638 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22639 wxTreeItemId
*arg2
= 0 ;
22640 PyObject
* obj0
= 0 ;
22641 PyObject
* obj1
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "self",(char *) "item", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
22647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22648 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22649 if (arg2
== NULL
) {
22650 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
22656 wxPyEndAllowThreads(__tstate
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22659 Py_INCREF(Py_None
); resultobj
= Py_None
;
22666 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22667 PyObject
*resultobj
;
22668 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22669 wxTreeItemId
*arg2
= 0 ;
22670 PyObject
* obj0
= 0 ;
22671 PyObject
* obj1
= 0 ;
22672 char *kwnames
[] = {
22673 (char *) "self",(char *) "item", NULL
22676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22678 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22679 if (arg2
== NULL
) {
22680 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22684 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
22686 wxPyEndAllowThreads(__tstate
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22689 Py_INCREF(Py_None
); resultobj
= Py_None
;
22696 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
;
22698 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22699 PyObject
* obj0
= 0 ;
22700 char *kwnames
[] = {
22701 (char *) "self", NULL
22704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 (arg1
)->DeleteAllItems();
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22713 Py_INCREF(Py_None
); resultobj
= Py_None
;
22720 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
;
22722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22723 wxTreeItemId
*arg2
= 0 ;
22724 PyObject
* obj0
= 0 ;
22725 PyObject
* obj1
= 0 ;
22726 char *kwnames
[] = {
22727 (char *) "self",(char *) "item", NULL
22730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
22731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22732 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22733 if (arg2
== NULL
) {
22734 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22743 Py_INCREF(Py_None
); resultobj
= Py_None
;
22750 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
;
22752 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22753 wxTreeItemId
*arg2
= 0 ;
22754 PyObject
* obj0
= 0 ;
22755 PyObject
* obj1
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "self",(char *) "item", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
22761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22762 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22763 if (arg2
== NULL
) {
22764 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22773 Py_INCREF(Py_None
); resultobj
= Py_None
;
22780 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
;
22782 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22783 wxTreeItemId
*arg2
= 0 ;
22784 PyObject
* obj0
= 0 ;
22785 PyObject
* obj1
= 0 ;
22786 char *kwnames
[] = {
22787 (char *) "self",(char *) "item", NULL
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
22791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22792 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22793 if (arg2
== NULL
) {
22794 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
22800 wxPyEndAllowThreads(__tstate
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22803 Py_INCREF(Py_None
); resultobj
= Py_None
;
22810 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22811 PyObject
*resultobj
;
22812 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22813 wxTreeItemId
*arg2
= 0 ;
22814 PyObject
* obj0
= 0 ;
22815 PyObject
* obj1
= 0 ;
22816 char *kwnames
[] = {
22817 (char *) "self",(char *) "item", NULL
22820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
22821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22822 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22823 if (arg2
== NULL
) {
22824 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22828 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22833 Py_INCREF(Py_None
); resultobj
= Py_None
;
22840 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22841 PyObject
*resultobj
;
22842 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22843 PyObject
* obj0
= 0 ;
22844 char *kwnames
[] = {
22845 (char *) "self", NULL
22848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
22849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 (arg1
)->Unselect();
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 Py_INCREF(Py_None
); resultobj
= Py_None
;
22864 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22865 PyObject
*resultobj
;
22866 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22867 PyObject
* obj0
= 0 ;
22868 char *kwnames
[] = {
22869 (char *) "self", NULL
22872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
22873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 (arg1
)->UnselectAll();
22878 wxPyEndAllowThreads(__tstate
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22881 Py_INCREF(Py_None
); resultobj
= Py_None
;
22888 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22889 PyObject
*resultobj
;
22890 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22891 wxTreeItemId
*arg2
= 0 ;
22892 PyObject
* obj0
= 0 ;
22893 PyObject
* obj1
= 0 ;
22894 char *kwnames
[] = {
22895 (char *) "self",(char *) "item", NULL
22898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22900 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22901 if (arg2
== NULL
) {
22902 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22906 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
22908 wxPyEndAllowThreads(__tstate
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22911 Py_INCREF(Py_None
); resultobj
= Py_None
;
22918 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22919 PyObject
*resultobj
;
22920 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22921 wxTreeItemId
*arg2
= 0 ;
22922 PyObject
* obj0
= 0 ;
22923 PyObject
* obj1
= 0 ;
22924 char *kwnames
[] = {
22925 (char *) "self",(char *) "item", NULL
22928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22930 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22931 if (arg2
== NULL
) {
22932 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 Py_INCREF(Py_None
); resultobj
= Py_None
;
22948 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22950 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22951 wxTreeItemId
*arg2
= 0 ;
22952 PyObject
* obj0
= 0 ;
22953 PyObject
* obj1
= 0 ;
22954 char *kwnames
[] = {
22955 (char *) "self",(char *) "item", NULL
22958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22960 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22961 if (arg2
== NULL
) {
22962 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 Py_INCREF(Py_None
); resultobj
= Py_None
;
22978 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
;
22980 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22981 wxTreeItemId
*arg2
= 0 ;
22982 PyObject
* obj0
= 0 ;
22983 PyObject
* obj1
= 0 ;
22984 char *kwnames
[] = {
22985 (char *) "self",(char *) "item", NULL
22988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22990 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22991 if (arg2
== NULL
) {
22992 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23001 Py_INCREF(Py_None
); resultobj
= Py_None
;
23008 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23009 PyObject
*resultobj
;
23010 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23011 wxTextCtrl
*result
;
23012 PyObject
* obj0
= 0 ;
23013 char *kwnames
[] = {
23014 (char *) "self", NULL
23017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
23018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23027 resultobj
= wxPyMake_wxObject(result
);
23035 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
;
23037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23038 wxTreeItemId
*arg2
= 0 ;
23039 bool arg3
= (bool) False
;
23040 PyObject
* obj0
= 0 ;
23041 PyObject
* obj1
= 0 ;
23042 PyObject
* obj2
= 0 ;
23043 char *kwnames
[] = {
23044 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
23047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23049 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23050 if (arg2
== NULL
) {
23051 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23054 arg3
= PyInt_AsLong(obj2
) ? true : false;
23055 if (PyErr_Occurred()) SWIG_fail
;
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
23061 wxPyEndAllowThreads(__tstate
);
23062 if (PyErr_Occurred()) SWIG_fail
;
23064 Py_INCREF(Py_None
); resultobj
= Py_None
;
23071 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23072 PyObject
*resultobj
;
23073 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23074 wxTreeItemId
*arg2
= 0 ;
23075 PyObject
* obj0
= 0 ;
23076 PyObject
* obj1
= 0 ;
23077 char *kwnames
[] = {
23078 (char *) "self",(char *) "item", NULL
23081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
23082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23083 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23084 if (arg2
== NULL
) {
23085 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
23091 wxPyEndAllowThreads(__tstate
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23094 Py_INCREF(Py_None
); resultobj
= Py_None
;
23101 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23102 PyObject
*resultobj
;
23103 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23104 wxPoint
*arg2
= 0 ;
23106 wxTreeItemId result
;
23109 PyObject
* obj0
= 0 ;
23110 PyObject
* obj1
= 0 ;
23111 char *kwnames
[] = {
23112 (char *) "self",(char *) "point", NULL
23116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23130 wxTreeItemId
* resultptr
;
23131 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23132 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23135 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23136 resultobj
= t_output_helper(resultobj
,o
);
23144 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
;
23146 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23147 wxTreeItemId
*arg2
= 0 ;
23148 bool arg3
= (bool) False
;
23150 PyObject
* obj0
= 0 ;
23151 PyObject
* obj1
= 0 ;
23152 PyObject
* obj2
= 0 ;
23153 char *kwnames
[] = {
23154 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23159 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23160 if (arg2
== NULL
) {
23161 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23164 arg3
= PyInt_AsLong(obj2
) ? true : false;
23165 if (PyErr_Occurred()) SWIG_fail
;
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 resultobj
= result
;
23181 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23184 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
23186 return Py_BuildValue((char *)"");
23188 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23190 wxWindow
*arg1
= (wxWindow
*) 0 ;
23191 int arg2
= (int) (int)-1 ;
23192 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
23193 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23194 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23195 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23196 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23197 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23198 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23199 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23200 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23201 int arg8
= (int) 0 ;
23202 wxString
const &arg9_defvalue
= wxPy_TreeCtrlNameStr
;
23203 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23204 wxGenericDirCtrl
*result
;
23205 bool temp3
= False
;
23208 bool temp7
= False
;
23209 bool temp9
= False
;
23210 PyObject
* obj0
= 0 ;
23211 PyObject
* obj2
= 0 ;
23212 PyObject
* obj3
= 0 ;
23213 PyObject
* obj4
= 0 ;
23214 PyObject
* obj6
= 0 ;
23215 PyObject
* obj8
= 0 ;
23216 char *kwnames
[] = {
23217 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&obj8
)) goto fail
;
23221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23224 arg3
= wxString_in_helper(obj2
);
23225 if (arg3
== NULL
) SWIG_fail
;
23232 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23238 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23243 arg7
= wxString_in_helper(obj6
);
23244 if (arg7
== NULL
) SWIG_fail
;
23250 arg9
= wxString_in_helper(obj8
);
23251 if (arg9
== NULL
) SWIG_fail
;
23256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23257 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
23259 wxPyEndAllowThreads(__tstate
);
23260 if (PyErr_Occurred()) SWIG_fail
;
23262 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23293 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23294 PyObject
*resultobj
;
23295 wxGenericDirCtrl
*result
;
23296 char *kwnames
[] = {
23300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
23302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23303 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
23305 wxPyEndAllowThreads(__tstate
);
23306 if (PyErr_Occurred()) SWIG_fail
;
23308 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23315 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23316 PyObject
*resultobj
;
23317 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23318 wxWindow
*arg2
= (wxWindow
*) 0 ;
23319 int arg3
= (int) (int)-1 ;
23320 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
23321 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23322 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23323 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23324 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23325 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23326 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23327 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23328 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23329 int arg9
= (int) 0 ;
23330 wxString
const &arg10_defvalue
= wxPy_TreeCtrlNameStr
;
23331 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
23333 bool temp4
= False
;
23336 bool temp8
= False
;
23337 bool temp10
= False
;
23338 PyObject
* obj0
= 0 ;
23339 PyObject
* obj1
= 0 ;
23340 PyObject
* obj3
= 0 ;
23341 PyObject
* obj4
= 0 ;
23342 PyObject
* obj5
= 0 ;
23343 PyObject
* obj7
= 0 ;
23344 PyObject
* obj9
= 0 ;
23345 char *kwnames
[] = {
23346 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&arg9
,&obj9
)) goto fail
;
23350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23351 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23354 arg4
= wxString_in_helper(obj3
);
23355 if (arg4
== NULL
) SWIG_fail
;
23362 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23368 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23373 arg8
= wxString_in_helper(obj7
);
23374 if (arg8
== NULL
) SWIG_fail
;
23380 arg10
= wxString_in_helper(obj9
);
23381 if (arg10
== NULL
) SWIG_fail
;
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23392 resultobj
= PyInt_FromLong((long)result
);
23423 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
;
23425 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23426 wxString
*arg2
= 0 ;
23428 bool temp2
= False
;
23429 PyObject
* obj0
= 0 ;
23430 PyObject
* obj1
= 0 ;
23431 char *kwnames
[] = {
23432 (char *) "self",(char *) "path", NULL
23435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23438 arg2
= wxString_in_helper(obj1
);
23439 if (arg2
== NULL
) SWIG_fail
;
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= PyInt_FromLong((long)result
);
23464 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23465 PyObject
*resultobj
;
23466 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23468 PyObject
* obj0
= 0 ;
23469 char *kwnames
[] = {
23470 (char *) "self", NULL
23473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
23474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23477 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
23479 wxPyEndAllowThreads(__tstate
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23495 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23496 PyObject
*resultobj
;
23497 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23498 wxString
*arg2
= 0 ;
23499 bool temp2
= False
;
23500 PyObject
* obj0
= 0 ;
23501 PyObject
* obj1
= 0 ;
23502 char *kwnames
[] = {
23503 (char *) "self",(char *) "path", NULL
23506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23509 arg2
= wxString_in_helper(obj1
);
23510 if (arg2
== NULL
) SWIG_fail
;
23514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23515 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
23517 wxPyEndAllowThreads(__tstate
);
23518 if (PyErr_Occurred()) SWIG_fail
;
23520 Py_INCREF(Py_None
); resultobj
= Py_None
;
23535 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
;
23537 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23539 PyObject
* obj0
= 0 ;
23540 char *kwnames
[] = {
23541 (char *) "self", NULL
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
23545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23566 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
;
23568 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23570 PyObject
* obj0
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
23576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23597 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23598 PyObject
*resultobj
;
23599 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23600 wxString
*arg2
= 0 ;
23601 bool temp2
= False
;
23602 PyObject
* obj0
= 0 ;
23603 PyObject
* obj1
= 0 ;
23604 char *kwnames
[] = {
23605 (char *) "self",(char *) "path", NULL
23608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23611 arg2
= wxString_in_helper(obj1
);
23612 if (arg2
== NULL
) SWIG_fail
;
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 (arg1
)->SetPath((wxString
const &)*arg2
);
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23622 Py_INCREF(Py_None
); resultobj
= Py_None
;
23637 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
;
23639 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23641 PyObject
* obj0
= 0 ;
23642 PyObject
* obj1
= 0 ;
23643 char *kwnames
[] = {
23644 (char *) "self",(char *) "show", NULL
23647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
23648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23649 arg2
= PyInt_AsLong(obj1
) ? true : false;
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 (arg1
)->ShowHidden(arg2
);
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23658 Py_INCREF(Py_None
); resultobj
= Py_None
;
23665 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23666 PyObject
*resultobj
;
23667 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23669 PyObject
* obj0
= 0 ;
23670 char *kwnames
[] = {
23671 (char *) "self", NULL
23674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
23675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23678 result
= (bool)(arg1
)->GetShowHidden();
23680 wxPyEndAllowThreads(__tstate
);
23681 if (PyErr_Occurred()) SWIG_fail
;
23683 resultobj
= PyInt_FromLong((long)result
);
23690 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23691 PyObject
*resultobj
;
23692 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23694 PyObject
* obj0
= 0 ;
23695 char *kwnames
[] = {
23696 (char *) "self", NULL
23699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
23700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23721 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
;
23723 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23724 wxString
*arg2
= 0 ;
23725 bool temp2
= False
;
23726 PyObject
* obj0
= 0 ;
23727 PyObject
* obj1
= 0 ;
23728 char *kwnames
[] = {
23729 (char *) "self",(char *) "filter", NULL
23732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
23733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23735 arg2
= wxString_in_helper(obj1
);
23736 if (arg2
== NULL
) SWIG_fail
;
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 (arg1
)->SetFilter((wxString
const &)*arg2
);
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 Py_INCREF(Py_None
); resultobj
= Py_None
;
23761 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23762 PyObject
*resultobj
;
23763 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23765 PyObject
* obj0
= 0 ;
23766 char *kwnames
[] = {
23767 (char *) "self", NULL
23770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
23771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
23776 wxPyEndAllowThreads(__tstate
);
23777 if (PyErr_Occurred()) SWIG_fail
;
23779 resultobj
= PyInt_FromLong((long)result
);
23786 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
;
23788 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23790 PyObject
* obj0
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "self",(char *) "n", NULL
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
23796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 (arg1
)->SetFilterIndex(arg2
);
23801 wxPyEndAllowThreads(__tstate
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23804 Py_INCREF(Py_None
); resultobj
= Py_None
;
23811 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23812 PyObject
*resultobj
;
23813 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23814 wxTreeItemId result
;
23815 PyObject
* obj0
= 0 ;
23816 char *kwnames
[] = {
23817 (char *) "self", NULL
23820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
23821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 result
= (arg1
)->GetRootId();
23826 wxPyEndAllowThreads(__tstate
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23830 wxTreeItemId
* resultptr
;
23831 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23832 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23840 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23841 PyObject
*resultobj
;
23842 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23843 wxTreeCtrl
*result
;
23844 PyObject
* obj0
= 0 ;
23845 char *kwnames
[] = {
23846 (char *) "self", NULL
23849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
23850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 result
= (wxTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23859 resultobj
= wxPyMake_wxObject(result
);
23867 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23868 PyObject
*resultobj
;
23869 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23870 wxDirFilterListCtrl
*result
;
23871 PyObject
* obj0
= 0 ;
23872 char *kwnames
[] = {
23873 (char *) "self", NULL
23876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
23877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23880 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
23882 wxPyEndAllowThreads(__tstate
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23885 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
23892 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23893 PyObject
*resultobj
;
23894 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23895 wxTreeItemId arg2
;
23896 wxString
*arg3
= 0 ;
23898 wxTreeItemId result
;
23899 wxTreeItemId
*argp2
;
23900 bool temp3
= False
;
23902 PyObject
* obj0
= 0 ;
23903 PyObject
* obj1
= 0 ;
23904 PyObject
* obj2
= 0 ;
23905 char *kwnames
[] = {
23906 (char *) "self",(char *) "parentId",(char *) "path", NULL
23910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23912 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
23915 arg3
= wxString_in_helper(obj2
);
23916 if (arg3
== NULL
) SWIG_fail
;
23920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23921 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23927 wxTreeItemId
* resultptr
;
23928 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23929 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23932 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
23933 resultobj
= t_output_helper(resultobj
,o
);
23949 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
;
23951 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23952 PyObject
* obj0
= 0 ;
23953 char *kwnames
[] = {
23954 (char *) "self", NULL
23957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
23958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 (arg1
)->DoResize();
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 Py_INCREF(Py_None
); resultobj
= Py_None
;
23973 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
;
23975 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23976 PyObject
* obj0
= 0 ;
23977 char *kwnames
[] = {
23978 (char *) "self", NULL
23981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
23982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 (arg1
)->ReCreateTree();
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23990 Py_INCREF(Py_None
); resultobj
= Py_None
;
23997 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24000 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
24002 return Py_BuildValue((char *)"");
24004 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24005 PyObject
*resultobj
;
24006 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24007 int arg2
= (int) (int)-1 ;
24008 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24009 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24010 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24011 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24012 long arg5
= (long) 0 ;
24013 wxDirFilterListCtrl
*result
;
24016 PyObject
* obj0
= 0 ;
24017 PyObject
* obj2
= 0 ;
24018 PyObject
* obj3
= 0 ;
24019 char *kwnames
[] = {
24020 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24028 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24034 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24051 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24052 PyObject
*resultobj
;
24053 wxDirFilterListCtrl
*result
;
24054 char *kwnames
[] = {
24058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
24060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24061 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
24063 wxPyEndAllowThreads(__tstate
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24066 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24073 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24074 PyObject
*resultobj
;
24075 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24076 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
24077 int arg3
= (int) (int)-1 ;
24078 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24079 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24080 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24081 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24082 long arg6
= (long) 0 ;
24086 PyObject
* obj0
= 0 ;
24087 PyObject
* obj1
= 0 ;
24088 PyObject
* obj3
= 0 ;
24089 PyObject
* obj4
= 0 ;
24090 char *kwnames
[] = {
24091 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
24095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24096 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24100 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24106 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24116 resultobj
= PyInt_FromLong((long)result
);
24123 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
;
24125 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24126 wxString
*arg2
= 0 ;
24128 bool temp2
= False
;
24129 PyObject
* obj0
= 0 ;
24130 PyObject
* obj1
= 0 ;
24131 char *kwnames
[] = {
24132 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
24136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24138 arg2
= wxString_in_helper(obj1
);
24139 if (arg2
== NULL
) SWIG_fail
;
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24144 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 Py_INCREF(Py_None
); resultobj
= Py_None
;
24164 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24167 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
24169 return Py_BuildValue((char *)"");
24171 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24172 PyObject
*resultobj
;
24173 wxWindow
*arg1
= (wxWindow
*) 0 ;
24175 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24176 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24177 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24178 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24179 long arg5
= (long) 0 ;
24180 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24181 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24182 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
24183 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24184 wxPyControl
*result
;
24187 bool temp7
= False
;
24188 PyObject
* obj0
= 0 ;
24189 PyObject
* obj2
= 0 ;
24190 PyObject
* obj3
= 0 ;
24191 PyObject
* obj5
= 0 ;
24192 PyObject
* obj6
= 0 ;
24193 char *kwnames
[] = {
24194 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_PyControl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
24198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24202 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24208 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24212 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24213 if (arg6
== NULL
) {
24214 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24219 arg7
= wxString_in_helper(obj6
);
24220 if (arg7
== NULL
) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
24246 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
;
24248 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24249 PyObject
*arg2
= (PyObject
*) 0 ;
24250 PyObject
*arg3
= (PyObject
*) 0 ;
24251 PyObject
* obj0
= 0 ;
24252 PyObject
* obj1
= 0 ;
24253 PyObject
* obj2
= 0 ;
24254 char *kwnames
[] = {
24255 (char *) "self",(char *) "self",(char *) "_class", NULL
24258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 Py_INCREF(Py_None
); resultobj
= Py_None
;
24276 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24283 PyObject
* obj0
= 0 ;
24284 char *kwnames
[] = {
24285 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 Py_INCREF(Py_None
); resultobj
= Py_None
;
24304 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
;
24306 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24311 int arg6
= (int) wxSIZE_AUTO
;
24312 PyObject
* obj0
= 0 ;
24313 char *kwnames
[] = {
24314 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24321 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24323 wxPyEndAllowThreads(__tstate
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24326 Py_INCREF(Py_None
); resultobj
= Py_None
;
24333 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24334 PyObject
*resultobj
;
24335 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24338 PyObject
* obj0
= 0 ;
24339 char *kwnames
[] = {
24340 (char *) "self",(char *) "width",(char *) "height", NULL
24343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24352 Py_INCREF(Py_None
); resultobj
= Py_None
;
24359 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24360 PyObject
*resultobj
;
24361 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24364 PyObject
* obj0
= 0 ;
24365 char *kwnames
[] = {
24366 (char *) "self",(char *) "x",(char *) "y", NULL
24369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
24375 wxPyEndAllowThreads(__tstate
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24378 Py_INCREF(Py_None
); resultobj
= Py_None
;
24385 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24386 PyObject
*resultobj
;
24387 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24388 int *arg2
= (int *) 0 ;
24389 int *arg3
= (int *) 0 ;
24392 PyObject
* obj0
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "self", NULL
24399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
24400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24408 Py_INCREF(Py_None
); resultobj
= Py_None
;
24410 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24411 resultobj
= t_output_helper(resultobj
,o
);
24414 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24415 resultobj
= t_output_helper(resultobj
,o
);
24423 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24424 PyObject
*resultobj
;
24425 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24426 int *arg2
= (int *) 0 ;
24427 int *arg3
= (int *) 0 ;
24430 PyObject
* obj0
= 0 ;
24431 char *kwnames
[] = {
24432 (char *) "self", NULL
24437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
24438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24446 Py_INCREF(Py_None
); resultobj
= Py_None
;
24448 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24449 resultobj
= t_output_helper(resultobj
,o
);
24452 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24453 resultobj
= t_output_helper(resultobj
,o
);
24461 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24462 PyObject
*resultobj
;
24463 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24464 int *arg2
= (int *) 0 ;
24465 int *arg3
= (int *) 0 ;
24468 PyObject
* obj0
= 0 ;
24469 char *kwnames
[] = {
24470 (char *) "self", NULL
24475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
24476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
24481 wxPyEndAllowThreads(__tstate
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24484 Py_INCREF(Py_None
); resultobj
= Py_None
;
24486 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24487 resultobj
= t_output_helper(resultobj
,o
);
24490 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24491 resultobj
= t_output_helper(resultobj
,o
);
24499 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
;
24501 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24503 PyObject
* obj0
= 0 ;
24504 char *kwnames
[] = {
24505 (char *) "self", NULL
24508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
24509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24512 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24518 wxSize
* resultptr
;
24519 resultptr
= new wxSize((wxSize
&) result
);
24520 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24528 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24529 PyObject
*resultobj
;
24530 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24532 PyObject
* obj0
= 0 ;
24533 char *kwnames
[] = {
24534 (char *) "self", NULL
24537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
24538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24541 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
24543 wxPyEndAllowThreads(__tstate
);
24544 if (PyErr_Occurred()) SWIG_fail
;
24547 wxSize
* resultptr
;
24548 resultptr
= new wxSize((wxSize
&) result
);
24549 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24557 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24558 PyObject
*resultobj
;
24559 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24560 PyObject
* obj0
= 0 ;
24561 char *kwnames
[] = {
24562 (char *) "self", NULL
24565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
24566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 (arg1
)->base_InitDialog();
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24574 Py_INCREF(Py_None
); resultobj
= Py_None
;
24581 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
;
24583 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24585 PyObject
* obj0
= 0 ;
24586 char *kwnames
[] = {
24587 (char *) "self", NULL
24590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 result
= (bool)(arg1
)->base_TransferDataToWindow();
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= PyInt_FromLong((long)result
);
24606 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
;
24608 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24610 PyObject
* obj0
= 0 ;
24611 char *kwnames
[] = {
24612 (char *) "self", NULL
24615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 result
= (bool)(arg1
)->base_TransferDataFromWindow();
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24624 resultobj
= PyInt_FromLong((long)result
);
24631 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
;
24633 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24635 PyObject
* obj0
= 0 ;
24636 char *kwnames
[] = {
24637 (char *) "self", NULL
24640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
24641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 result
= (bool)(arg1
)->base_Validate();
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24649 resultobj
= PyInt_FromLong((long)result
);
24656 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
;
24658 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24660 PyObject
* obj0
= 0 ;
24661 char *kwnames
[] = {
24662 (char *) "self", NULL
24665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24674 resultobj
= PyInt_FromLong((long)result
);
24681 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
;
24683 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24685 PyObject
* obj0
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24699 resultobj
= PyInt_FromLong((long)result
);
24706 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24707 PyObject
*resultobj
;
24708 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24710 PyObject
* obj0
= 0 ;
24711 char *kwnames
[] = {
24712 (char *) "self", NULL
24715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24719 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
24721 wxPyEndAllowThreads(__tstate
);
24722 if (PyErr_Occurred()) SWIG_fail
;
24725 wxSize
* resultptr
;
24726 resultptr
= new wxSize((wxSize
&) result
);
24727 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24735 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24736 PyObject
*resultobj
;
24737 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24738 wxWindow
*arg2
= (wxWindow
*) 0 ;
24739 PyObject
* obj0
= 0 ;
24740 PyObject
* obj1
= 0 ;
24741 char *kwnames
[] = {
24742 (char *) "self",(char *) "child", NULL
24745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24747 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 (arg1
)->base_AddChild(arg2
);
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24755 Py_INCREF(Py_None
); resultobj
= Py_None
;
24762 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24763 PyObject
*resultobj
;
24764 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24765 wxWindow
*arg2
= (wxWindow
*) 0 ;
24766 PyObject
* obj0
= 0 ;
24767 PyObject
* obj1
= 0 ;
24768 char *kwnames
[] = {
24769 (char *) "self",(char *) "child", NULL
24772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24774 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24777 (arg1
)->base_RemoveChild(arg2
);
24779 wxPyEndAllowThreads(__tstate
);
24780 if (PyErr_Occurred()) SWIG_fail
;
24782 Py_INCREF(Py_None
); resultobj
= Py_None
;
24789 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
24791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24792 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
24794 return Py_BuildValue((char *)"");
24796 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24797 PyObject
*resultobj
;
24798 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24799 int arg2
= (int) 0 ;
24800 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24801 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24802 wxHelpEvent
*result
;
24804 PyObject
* obj2
= 0 ;
24805 char *kwnames
[] = {
24806 (char *) "type",(char *) "winid",(char *) "pt", NULL
24809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_HelpEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
24813 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
24830 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
24840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
24845 result
= (wxPoint
*) &_result_ref
;
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24851 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
24858 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
;
24860 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24861 wxPoint
*arg2
= 0 ;
24863 PyObject
* obj0
= 0 ;
24864 PyObject
* obj1
= 0 ;
24865 char *kwnames
[] = {
24866 (char *) "self",(char *) "pos", NULL
24869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24873 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24877 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24882 Py_INCREF(Py_None
); resultobj
= Py_None
;
24889 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
;
24891 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24893 PyObject
* obj0
= 0 ;
24894 char *kwnames
[] = {
24895 (char *) "self", NULL
24898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
24899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24903 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
24904 result
= (wxString
*) &_result_ref
;
24907 wxPyEndAllowThreads(__tstate
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24914 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24923 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
;
24925 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24926 wxString
*arg2
= 0 ;
24927 bool temp2
= False
;
24928 PyObject
* obj0
= 0 ;
24929 PyObject
* obj1
= 0 ;
24930 char *kwnames
[] = {
24931 (char *) "self",(char *) "link", NULL
24934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
24935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24937 arg2
= wxString_in_helper(obj1
);
24938 if (arg2
== NULL
) SWIG_fail
;
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 (arg1
)->SetLink((wxString
const &)*arg2
);
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24948 Py_INCREF(Py_None
); resultobj
= Py_None
;
24963 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24964 PyObject
*resultobj
;
24965 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24967 PyObject
* obj0
= 0 ;
24968 char *kwnames
[] = {
24969 (char *) "self", NULL
24972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
24973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24977 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
24978 result
= (wxString
*) &_result_ref
;
24981 wxPyEndAllowThreads(__tstate
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24986 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24988 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24997 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
;
24999 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25000 wxString
*arg2
= 0 ;
25001 bool temp2
= False
;
25002 PyObject
* obj0
= 0 ;
25003 PyObject
* obj1
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "self",(char *) "target", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
25009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25011 arg2
= wxString_in_helper(obj1
);
25012 if (arg2
== NULL
) SWIG_fail
;
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 (arg1
)->SetTarget((wxString
const &)*arg2
);
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25022 Py_INCREF(Py_None
); resultobj
= Py_None
;
25037 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
25039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25040 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
25042 return Py_BuildValue((char *)"");
25044 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
;
25046 wxWindow
*arg1
= (wxWindow
*) NULL
;
25047 bool arg2
= (bool) True
;
25048 wxContextHelp
*result
;
25049 PyObject
* obj0
= 0 ;
25050 PyObject
* obj1
= 0 ;
25051 char *kwnames
[] = {
25052 (char *) "window",(char *) "doNow", NULL
25055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25060 arg2
= PyInt_AsLong(obj1
) ? true : false;
25061 if (PyErr_Occurred()) SWIG_fail
;
25064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25065 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
25067 wxPyEndAllowThreads(__tstate
);
25068 if (PyErr_Occurred()) SWIG_fail
;
25070 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
25077 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25078 PyObject
*resultobj
;
25079 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25080 PyObject
* obj0
= 0 ;
25081 char *kwnames
[] = {
25082 (char *) "self", NULL
25085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
25086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25094 Py_INCREF(Py_None
); resultobj
= Py_None
;
25101 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
;
25103 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25104 wxWindow
*arg2
= (wxWindow
*) NULL
;
25106 PyObject
* obj0
= 0 ;
25107 PyObject
* obj1
= 0 ;
25108 char *kwnames
[] = {
25109 (char *) "self",(char *) "window", NULL
25112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25115 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25124 resultobj
= PyInt_FromLong((long)result
);
25131 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25132 PyObject
*resultobj
;
25133 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25135 PyObject
* obj0
= 0 ;
25136 char *kwnames
[] = {
25137 (char *) "self", NULL
25140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
25141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 result
= (bool)(arg1
)->EndContextHelp();
25146 wxPyEndAllowThreads(__tstate
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= PyInt_FromLong((long)result
);
25156 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
25158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25159 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
25161 return Py_BuildValue((char *)"");
25163 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25165 wxWindow
*arg1
= (wxWindow
*) 0 ;
25166 int arg2
= (int) wxID_CONTEXT_HELP
;
25167 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25168 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25169 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25170 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25171 long arg5
= (long) wxBU_AUTODRAW
;
25172 wxContextHelpButton
*result
;
25175 PyObject
* obj0
= 0 ;
25176 PyObject
* obj2
= 0 ;
25177 PyObject
* obj3
= 0 ;
25178 char *kwnames
[] = {
25179 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_ContextHelpButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25187 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25193 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
25200 wxPyEndAllowThreads(__tstate
);
25201 if (PyErr_Occurred()) SWIG_fail
;
25203 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
25210 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
25212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25213 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
25215 return Py_BuildValue((char *)"");
25217 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25218 PyObject
*resultobj
;
25219 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25220 wxHelpProvider
*result
;
25221 PyObject
* obj0
= 0 ;
25222 char *kwnames
[] = {
25223 (char *) "helpProvider", NULL
25226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
25227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25235 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25242 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25243 PyObject
*resultobj
;
25244 wxHelpProvider
*result
;
25245 char *kwnames
[] = {
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 result
= (wxHelpProvider
*)wxHelpProvider::Get();
25254 wxPyEndAllowThreads(__tstate
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25257 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25264 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25265 PyObject
*resultobj
;
25266 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25267 wxWindow
*arg2
= (wxWindow
*) 0 ;
25269 PyObject
* obj0
= 0 ;
25270 PyObject
* obj1
= 0 ;
25271 char *kwnames
[] = {
25272 (char *) "self",(char *) "window", NULL
25275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25277 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25287 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25289 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25298 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25299 PyObject
*resultobj
;
25300 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25301 wxWindow
*arg2
= (wxWindow
*) 0 ;
25303 PyObject
* obj0
= 0 ;
25304 PyObject
* obj1
= 0 ;
25305 char *kwnames
[] = {
25306 (char *) "self",(char *) "window", NULL
25309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25311 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25314 result
= (bool)(arg1
)->ShowHelp(arg2
);
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25319 resultobj
= PyInt_FromLong((long)result
);
25326 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25327 PyObject
*resultobj
;
25328 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25329 wxWindow
*arg2
= (wxWindow
*) 0 ;
25330 wxString
*arg3
= 0 ;
25331 bool temp3
= False
;
25332 PyObject
* obj0
= 0 ;
25333 PyObject
* obj1
= 0 ;
25334 PyObject
* obj2
= 0 ;
25335 char *kwnames
[] = {
25336 (char *) "self",(char *) "window",(char *) "text", NULL
25339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25341 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25343 arg3
= wxString_in_helper(obj2
);
25344 if (arg3
== NULL
) SWIG_fail
;
25348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25349 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25351 wxPyEndAllowThreads(__tstate
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25354 Py_INCREF(Py_None
); resultobj
= Py_None
;
25369 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25370 PyObject
*resultobj
;
25371 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25373 wxString
*arg3
= 0 ;
25374 bool temp3
= False
;
25375 PyObject
* obj0
= 0 ;
25376 PyObject
* obj2
= 0 ;
25377 char *kwnames
[] = {
25378 (char *) "self",(char *) "id",(char *) "text", NULL
25381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:HelpProvider_AddHelpById",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25384 arg3
= wxString_in_helper(obj2
);
25385 if (arg3
== NULL
) SWIG_fail
;
25389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25390 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25392 wxPyEndAllowThreads(__tstate
);
25393 if (PyErr_Occurred()) SWIG_fail
;
25395 Py_INCREF(Py_None
); resultobj
= Py_None
;
25410 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25411 PyObject
*resultobj
;
25412 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25413 PyObject
* obj0
= 0 ;
25414 char *kwnames
[] = {
25415 (char *) "self", NULL
25418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
25419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 wxHelpProvider_Destroy(arg1
);
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 Py_INCREF(Py_None
); resultobj
= Py_None
;
25434 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25437 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
25439 return Py_BuildValue((char *)"");
25441 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25442 PyObject
*resultobj
;
25443 wxSimpleHelpProvider
*result
;
25444 char *kwnames
[] = {
25448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
25463 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25466 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
25468 return Py_BuildValue((char *)"");
25470 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25471 PyObject
*resultobj
;
25472 wxBitmap
*arg1
= 0 ;
25473 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25474 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25475 wxGenericDragImage
*result
;
25476 PyObject
* obj0
= 0 ;
25477 PyObject
* obj1
= 0 ;
25478 char *kwnames
[] = {
25479 (char *) "image",(char *) "cursor", NULL
25482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
25483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25484 if (arg1
== NULL
) {
25485 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25488 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25489 if (arg2
== NULL
) {
25490 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25495 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
25497 wxPyEndAllowThreads(__tstate
);
25498 if (PyErr_Occurred()) SWIG_fail
;
25500 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25507 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25508 PyObject
*resultobj
;
25510 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25511 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25512 wxGenericDragImage
*result
;
25513 PyObject
* obj0
= 0 ;
25514 PyObject
* obj1
= 0 ;
25515 char *kwnames
[] = {
25516 (char *) "image",(char *) "cursor", NULL
25519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
25520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25521 if (arg1
== NULL
) {
25522 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25525 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25526 if (arg2
== NULL
) {
25527 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25532 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
25534 wxPyEndAllowThreads(__tstate
);
25535 if (PyErr_Occurred()) SWIG_fail
;
25537 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25544 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25545 PyObject
*resultobj
;
25546 wxString
*arg1
= 0 ;
25547 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25548 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25549 wxGenericDragImage
*result
;
25550 bool temp1
= False
;
25551 PyObject
* obj0
= 0 ;
25552 PyObject
* obj1
= 0 ;
25553 char *kwnames
[] = {
25554 (char *) "str",(char *) "cursor", NULL
25557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
25559 arg1
= wxString_in_helper(obj0
);
25560 if (arg1
== NULL
) SWIG_fail
;
25564 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25565 if (arg2
== NULL
) {
25566 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25571 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
25573 wxPyEndAllowThreads(__tstate
);
25574 if (PyErr_Occurred()) SWIG_fail
;
25576 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25591 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25592 PyObject
*resultobj
;
25593 wxPyTreeCtrl
*arg1
= 0 ;
25594 wxTreeItemId
*arg2
= 0 ;
25595 wxGenericDragImage
*result
;
25596 PyObject
* obj0
= 0 ;
25597 PyObject
* obj1
= 0 ;
25598 char *kwnames
[] = {
25599 (char *) "treeCtrl",(char *) "id", NULL
25602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25604 if (arg1
== NULL
) {
25605 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25608 if (arg2
== NULL
) {
25609 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25613 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25618 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25625 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25626 PyObject
*resultobj
;
25627 wxPyListCtrl
*arg1
= 0 ;
25629 wxGenericDragImage
*result
;
25630 PyObject
* obj0
= 0 ;
25631 char *kwnames
[] = {
25632 (char *) "listCtrl",(char *) "id", NULL
25635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_DragListItem",kwnames
,&obj0
,&arg2
)) goto fail
;
25636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25637 if (arg1
== NULL
) {
25638 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25642 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
25644 wxPyEndAllowThreads(__tstate
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25647 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25654 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25655 PyObject
*resultobj
;
25656 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25657 PyObject
* obj0
= 0 ;
25658 char *kwnames
[] = {
25659 (char *) "self", NULL
25662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
25663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 wxPyEndAllowThreads(__tstate
);
25669 if (PyErr_Occurred()) SWIG_fail
;
25671 Py_INCREF(Py_None
); resultobj
= Py_None
;
25678 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25679 PyObject
*resultobj
;
25680 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25681 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
25682 PyObject
* obj0
= 0 ;
25683 PyObject
* obj1
= 0 ;
25684 char *kwnames
[] = {
25685 (char *) "self",(char *) "bitmap", NULL
25688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25690 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25693 (arg1
)->SetBackingBitmap(arg2
);
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 Py_INCREF(Py_None
); resultobj
= Py_None
;
25705 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
;
25707 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25708 wxPoint
*arg2
= 0 ;
25709 wxWindow
*arg3
= (wxWindow
*) 0 ;
25710 bool arg4
= (bool) False
;
25711 wxRect
*arg5
= (wxRect
*) NULL
;
25714 PyObject
* obj0
= 0 ;
25715 PyObject
* obj1
= 0 ;
25716 PyObject
* obj2
= 0 ;
25717 PyObject
* obj3
= 0 ;
25718 PyObject
* obj4
= 0 ;
25719 char *kwnames
[] = {
25720 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25727 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25729 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25731 arg4
= PyInt_AsLong(obj3
) ? true : false;
25732 if (PyErr_Occurred()) SWIG_fail
;
25735 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25739 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
25741 wxPyEndAllowThreads(__tstate
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25744 resultobj
= PyInt_FromLong((long)result
);
25751 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25752 PyObject
*resultobj
;
25753 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25754 wxPoint
*arg2
= 0 ;
25755 wxWindow
*arg3
= (wxWindow
*) 0 ;
25756 wxWindow
*arg4
= (wxWindow
*) 0 ;
25759 PyObject
* obj0
= 0 ;
25760 PyObject
* obj1
= 0 ;
25761 PyObject
* obj2
= 0 ;
25762 PyObject
* obj3
= 0 ;
25763 char *kwnames
[] = {
25764 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25771 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25773 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25774 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25777 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
25779 wxPyEndAllowThreads(__tstate
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25782 resultobj
= PyInt_FromLong((long)result
);
25789 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25790 PyObject
*resultobj
;
25791 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25793 PyObject
* obj0
= 0 ;
25794 char *kwnames
[] = {
25795 (char *) "self", NULL
25798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
25799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25802 result
= (bool)(arg1
)->EndDrag();
25804 wxPyEndAllowThreads(__tstate
);
25805 if (PyErr_Occurred()) SWIG_fail
;
25807 resultobj
= PyInt_FromLong((long)result
);
25814 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25815 PyObject
*resultobj
;
25816 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25817 wxPoint
*arg2
= 0 ;
25820 PyObject
* obj0
= 0 ;
25821 PyObject
* obj1
= 0 ;
25822 char *kwnames
[] = {
25823 (char *) "self",(char *) "pt", NULL
25826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
25827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25834 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
25836 wxPyEndAllowThreads(__tstate
);
25837 if (PyErr_Occurred()) SWIG_fail
;
25839 resultobj
= PyInt_FromLong((long)result
);
25846 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25847 PyObject
*resultobj
;
25848 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25850 PyObject
* obj0
= 0 ;
25851 char *kwnames
[] = {
25852 (char *) "self", NULL
25855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
25856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 result
= (bool)(arg1
)->Show();
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25864 resultobj
= PyInt_FromLong((long)result
);
25871 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25872 PyObject
*resultobj
;
25873 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25875 PyObject
* obj0
= 0 ;
25876 char *kwnames
[] = {
25877 (char *) "self", NULL
25880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
25881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25884 result
= (bool)(arg1
)->Hide();
25886 wxPyEndAllowThreads(__tstate
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25889 resultobj
= PyInt_FromLong((long)result
);
25896 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25897 PyObject
*resultobj
;
25898 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25899 wxPoint
*arg2
= 0 ;
25902 PyObject
* obj0
= 0 ;
25903 PyObject
* obj1
= 0 ;
25904 char *kwnames
[] = {
25905 (char *) "self",(char *) "pos", NULL
25908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25912 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25916 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25922 wxRect
* resultptr
;
25923 resultptr
= new wxRect((wxRect
&) result
);
25924 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
25932 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25933 PyObject
*resultobj
;
25934 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25936 wxPoint
*arg3
= 0 ;
25939 PyObject
* obj0
= 0 ;
25940 PyObject
* obj1
= 0 ;
25941 PyObject
* obj2
= 0 ;
25942 char *kwnames
[] = {
25943 (char *) "self",(char *) "dc",(char *) "pos", NULL
25946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25948 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25949 if (arg2
== NULL
) {
25950 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25954 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25958 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25963 resultobj
= PyInt_FromLong((long)result
);
25970 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25971 PyObject
*resultobj
;
25972 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25974 wxMemoryDC
*arg3
= 0 ;
25980 PyObject
* obj0
= 0 ;
25981 PyObject
* obj1
= 0 ;
25982 PyObject
* obj2
= 0 ;
25983 PyObject
* obj3
= 0 ;
25984 PyObject
* obj4
= 0 ;
25985 char *kwnames
[] = {
25986 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25991 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25992 if (arg2
== NULL
) {
25993 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25995 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25996 if (arg3
== NULL
) {
25997 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26001 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26005 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= PyInt_FromLong((long)result
);
26021 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26022 PyObject
*resultobj
;
26023 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26024 wxPoint
*arg2
= 0 ;
26025 wxPoint
*arg3
= 0 ;
26031 PyObject
* obj0
= 0 ;
26032 PyObject
* obj1
= 0 ;
26033 PyObject
* obj2
= 0 ;
26034 PyObject
* obj3
= 0 ;
26035 PyObject
* obj4
= 0 ;
26036 char *kwnames
[] = {
26037 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26044 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26048 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26050 arg4
= PyInt_AsLong(obj3
) ? true : false;
26051 if (PyErr_Occurred()) SWIG_fail
;
26052 arg5
= PyInt_AsLong(obj4
) ? true : false;
26053 if (PyErr_Occurred()) SWIG_fail
;
26055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26056 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
26058 wxPyEndAllowThreads(__tstate
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26061 resultobj
= PyInt_FromLong((long)result
);
26068 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
26070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26071 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
26073 return Py_BuildValue((char *)"");
26075 static PyMethodDef SwigMethods
[] = {
26076 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
26077 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
26078 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
26079 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
26080 { (char *)"Button_SetImageLabel", (PyCFunction
) _wrap_Button_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
26081 { (char *)"Button_SetImageMargins", (PyCFunction
) _wrap_Button_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
26082 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26083 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
26084 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26085 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26086 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26087 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26088 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26089 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26090 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26091 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26092 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26093 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26094 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26095 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26096 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
26097 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
26098 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
26099 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26100 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26101 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26102 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26103 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26104 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26105 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26106 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26107 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
26108 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
26109 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
26110 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
26111 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
26112 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
26113 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26114 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26115 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26116 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26117 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26118 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
26119 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26120 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26121 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26122 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26123 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26124 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26125 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26126 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26127 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26128 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26129 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26130 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26131 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26132 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
26133 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26134 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26135 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26136 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
26137 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
26138 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
26139 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
26140 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26141 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26142 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26143 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26144 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26145 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26146 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26147 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26148 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26149 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
26150 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26151 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26152 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26153 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
26154 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26155 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26156 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
26157 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26158 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26159 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
26160 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
26161 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
26162 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
26163 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
26164 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26165 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26166 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
26167 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26168 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26169 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
26170 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
26171 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
26172 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
26173 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26174 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
26175 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
26176 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
26177 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26178 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26179 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
26180 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
26181 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
26182 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26183 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
26184 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
26185 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
26186 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26187 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26188 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
26189 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
26190 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26191 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26192 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26193 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26194 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
26195 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
26196 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26197 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
26198 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
26199 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
26200 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
26201 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26202 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26203 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26204 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26205 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26206 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26207 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26208 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26209 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26210 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26211 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26212 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26213 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
26214 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26215 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26216 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
26217 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26218 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26219 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26220 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26221 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26222 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26223 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26224 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26225 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
26226 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
26227 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
26228 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26229 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26230 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26231 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26232 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26233 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26234 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
26235 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
26236 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
26237 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
26238 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
26239 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
26240 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
26241 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26242 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26243 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26244 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26245 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26246 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
26247 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
26248 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
26249 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
26250 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
26251 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
26252 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
26253 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
26254 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26255 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26256 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26257 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26258 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
26259 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
26260 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
26261 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26262 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26263 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26264 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
26265 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
26266 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
26267 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
26268 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
26269 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
26270 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
26271 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26272 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26273 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26274 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26275 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26276 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
26277 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26278 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
26279 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
26280 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
26281 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26282 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
26283 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26284 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
26285 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
26286 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
26287 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
26288 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26289 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26290 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26291 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26292 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
26293 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26294 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26295 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26296 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26297 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
26298 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
26299 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26300 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26301 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26302 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26303 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26304 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26305 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26306 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26307 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26308 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26309 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26310 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
26311 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26312 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26313 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26314 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26315 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26316 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
26317 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26318 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26319 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26320 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26321 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
26322 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26323 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26324 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26325 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26326 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26327 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26328 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26329 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26330 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
26331 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26332 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26333 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
26334 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
26335 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26336 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26337 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26338 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
26339 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26340 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26341 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26342 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26343 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26344 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
26345 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
26346 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
26347 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
26348 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26349 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26350 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26351 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26352 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26353 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26354 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26355 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26356 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26357 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26358 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26359 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26360 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26361 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26362 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26363 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
26364 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
26365 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
26366 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
26367 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
26368 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26369 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
26370 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26371 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26372 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26373 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26374 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26375 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26376 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
26377 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
26378 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
26379 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26380 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26381 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26382 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26383 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26384 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26385 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26386 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26387 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26388 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26389 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
26390 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
26391 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
26392 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
26393 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
26394 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26395 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
26396 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
26397 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26398 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26399 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26400 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26401 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26402 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
26403 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
26404 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26405 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26406 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26407 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
26408 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
26409 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26410 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26411 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
26412 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
26413 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26414 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
26415 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
26416 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
26417 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26418 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26419 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
26420 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26421 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
26422 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
26423 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26424 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26425 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26426 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
26427 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
26428 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26429 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26430 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26431 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
26432 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26433 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26434 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26435 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
26436 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
26437 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26438 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26439 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
26440 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26441 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
26442 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
26443 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26444 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26445 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26446 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26447 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26448 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26449 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
26450 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
26451 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26452 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26453 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26454 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26455 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26456 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26457 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
26458 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
26459 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26460 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26461 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
26462 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
26463 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
26464 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
26465 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
26466 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
26467 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26468 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26469 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
26470 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
26471 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
26472 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
26473 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
26474 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
26475 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
26476 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26477 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26478 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26479 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
26480 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
26481 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26482 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26483 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26484 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26485 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26486 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
26487 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26488 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26489 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26490 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
26491 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26492 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26493 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26494 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
26495 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
26496 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
26497 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
26498 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26499 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26500 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
26501 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26502 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26503 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
26504 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26505 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26506 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26507 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26508 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
26509 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
26510 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26511 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26512 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26513 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26514 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26515 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26516 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26517 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26518 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26519 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26520 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
26521 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
26522 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
26523 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26524 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26525 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
26526 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26527 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26528 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
26529 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
26530 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
26531 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
26532 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
26533 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26534 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
26535 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26536 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26537 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26538 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
26539 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26540 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26541 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
26542 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26543 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
26544 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26545 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26546 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
26547 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26548 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26549 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26550 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26551 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26552 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
26553 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
26554 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
26555 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
26556 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
26557 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
26558 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
26559 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
26560 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
26561 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
26562 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
26563 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
26564 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
26565 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
26566 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
26567 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
26568 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
26569 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
26570 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
26571 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
26572 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
26573 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
26574 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
26575 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
26576 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
26577 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
26578 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
26579 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
26580 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
26581 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
26582 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
26583 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
26584 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
26585 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
26586 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
26587 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26588 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26589 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26590 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26591 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
26592 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26593 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
26594 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26595 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
26596 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
26597 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
26598 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
26599 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
26600 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26601 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26602 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26603 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26604 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26605 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26606 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26607 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26608 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
26609 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
26610 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
26611 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
26612 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
26613 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26614 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
26615 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26616 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
26617 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
26618 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26619 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26620 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26621 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26622 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26623 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
26624 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
26625 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
26626 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26627 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26628 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26629 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26630 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26631 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26632 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
26633 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
26634 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
26635 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26636 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26637 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26638 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26639 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
26640 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
26641 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
26642 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
26643 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
26644 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
26645 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
26646 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
26647 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
26648 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26649 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26650 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26651 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
26652 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
26653 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
26654 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26655 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
26656 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26657 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
26658 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26659 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
26660 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
26661 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26662 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
26663 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26664 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26665 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26666 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26667 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
26668 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
26669 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
26670 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
26673 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
26674 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
26675 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
26676 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
26677 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
26678 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26679 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
26680 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
26681 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
26682 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
26683 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
26684 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26685 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
26686 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
26687 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
26688 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
26689 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
26690 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
26691 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26692 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
26693 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26694 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26695 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26696 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
26697 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
26698 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26699 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
26700 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
26701 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
26702 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26703 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26704 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
26705 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
26706 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
26707 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26708 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26709 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
26710 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
26711 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
26712 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
26713 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26714 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26715 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26716 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26717 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26718 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
26719 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
26720 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26721 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26722 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26723 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26724 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26725 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26726 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26727 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26728 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26729 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26730 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26731 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
26732 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26733 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26734 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
26735 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26736 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26737 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26738 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
26739 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
26740 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
26741 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26742 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26743 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26744 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
26745 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
26746 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
26747 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
26748 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26749 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
26750 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
26751 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
26752 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26753 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
26754 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
26755 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
26756 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
26757 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
26758 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
26759 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
26760 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
26761 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
26762 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
26763 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
26764 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
26765 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
26766 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
26767 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
26768 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
26769 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
26770 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
26771 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
26772 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
26773 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
26774 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
26775 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
26776 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
26777 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
26778 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26779 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
26780 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26781 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
26782 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26783 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
26784 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26785 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
26786 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
26787 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26788 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26789 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26790 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
26791 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
26792 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
26793 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
26794 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
26795 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
26796 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
26797 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
26798 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
26799 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
26800 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
26801 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
26802 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
26803 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26804 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26805 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
26806 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
26807 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
26808 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
26809 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26810 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26811 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26812 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
26813 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
26814 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
26815 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26816 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
26817 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
26818 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
26819 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
26820 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
26821 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
26822 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26823 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
26824 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
26825 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
26826 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
26827 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
26828 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
26829 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
26830 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
26831 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
26832 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
26833 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
26834 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
26835 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
26836 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26837 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26838 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
26839 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
26840 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
26841 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
26842 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
26843 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26844 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26845 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26846 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26847 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
26848 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
26849 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
26850 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
26851 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
26852 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
26853 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
26854 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
26855 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
26856 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26857 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
26858 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
26859 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
26860 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
26861 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
26862 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
26863 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
26864 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
26865 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
26866 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26867 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
26868 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
26869 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
26870 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
26871 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
26872 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
26873 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
26874 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
26875 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
26876 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
26877 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
26882 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26884 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
26885 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
26887 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
26888 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
26890 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
26891 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
26893 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
26894 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26896 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
26897 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26899 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
26900 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
26902 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
26903 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26905 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
26906 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
26908 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
26909 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
26911 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
26912 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
26914 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
26915 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26917 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
26918 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
26920 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
26921 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
26923 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
26924 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
26926 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
26927 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
26929 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
26930 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
26932 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
26933 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
26935 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
26936 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
26938 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
26939 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
26941 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
26942 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
26944 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
26945 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
26947 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
26948 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
26950 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
26951 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26953 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
26954 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
26956 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
26957 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
26959 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
26960 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
26962 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
26963 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
26965 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
26966 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
26968 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
26969 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26971 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
26972 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26974 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26975 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26977 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26978 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26980 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26981 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26983 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26984 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26986 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26987 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26989 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26990 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26992 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26993 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26995 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26996 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26998 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26999 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27001 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27002 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27004 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27005 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27007 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27008 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27010 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27011 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27013 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27014 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27016 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27017 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27019 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27020 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27022 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27023 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27025 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27026 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27028 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27029 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27031 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27032 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27034 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27035 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27037 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27038 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27040 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
27041 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27043 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
27044 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27046 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
27047 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27049 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
27050 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
27052 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
27053 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27055 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
27056 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27058 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
27059 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
27061 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
27062 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27064 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
27065 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27067 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
27068 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27070 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
27071 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
27073 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
27074 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
27076 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
27077 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27079 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
27080 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
27082 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
27083 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
27085 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
27086 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
27088 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
27089 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
27091 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
27092 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27094 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
27095 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
27097 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
27098 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
27100 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
27101 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
27103 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
27104 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
27106 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
27107 return (void *)((wxControl
*) ((wxGauge
*) x
));
27109 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
27110 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
27112 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
27113 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
27115 static void *_p_wxButtonTo_p_wxControl(void *x
) {
27116 return (void *)((wxControl
*) ((wxButton
*) x
));
27118 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
27119 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
27121 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
27122 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27124 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
27125 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
27127 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
27128 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
27130 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
27131 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
27133 static void *_p_wxListbookTo_p_wxControl(void *x
) {
27134 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
27136 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
27137 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
27139 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
27140 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
27142 static void *_p_wxListViewTo_p_wxControl(void *x
) {
27143 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
27145 static void *_p_wxSliderTo_p_wxControl(void *x
) {
27146 return (void *)((wxControl
*) ((wxSlider
*) x
));
27148 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
27149 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
27151 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
27152 return (void *)((wxControl
*) ((wxPyControl
*) x
));
27154 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
27155 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
27157 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
27158 return (void *)((wxControl
*) ((wxStaticText
*) x
));
27160 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
27161 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
27163 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
27164 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
27166 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
27167 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27169 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
27170 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27172 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
27173 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27175 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
27176 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
27178 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
27179 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27181 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
27182 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27184 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
27185 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27187 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27188 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27190 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27191 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27193 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27194 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27196 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
27197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27199 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27200 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27202 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
27203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27205 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
27206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27208 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27209 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27211 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27212 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27214 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
27215 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27217 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
27218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27220 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
27221 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27223 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
27224 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27226 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
27227 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27229 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27230 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27232 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
27233 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27235 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
27236 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27238 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27239 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27241 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
27242 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27244 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
27245 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27247 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
27248 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27250 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
27251 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27253 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
27254 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27256 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
27257 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27259 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
27260 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27262 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
27263 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27265 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
27266 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27268 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
27269 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27271 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
27272 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27274 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
27275 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27277 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
27278 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27280 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
27281 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
27283 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
27284 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27286 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
27287 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27289 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
27290 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27292 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
27293 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27295 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
27296 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27298 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
27299 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27301 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
27302 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27304 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
27305 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
27307 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
27308 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
27310 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
27311 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
27313 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
27314 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
27316 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
27317 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27319 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
27320 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27322 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
27323 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
27325 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27326 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27328 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27329 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27331 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27332 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27334 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27335 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27337 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27338 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27340 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
27341 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27343 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
27344 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27346 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27347 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27349 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27350 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27352 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27353 return (void *)((wxObject
*) ((wxSizer
*) x
));
27355 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27356 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27358 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
27359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27361 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
27362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27364 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27365 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27367 static void *_p_wxEventTo_p_wxObject(void *x
) {
27368 return (void *)((wxObject
*) ((wxEvent
*) x
));
27370 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27371 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27373 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27374 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27376 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27377 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27379 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
27380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27382 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
27383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27385 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
27386 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27388 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27389 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27391 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27392 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27394 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27395 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27397 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27398 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27400 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27401 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27403 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27404 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27406 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
27407 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27409 static void *_p_wxControlTo_p_wxObject(void *x
) {
27410 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27412 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
27413 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27415 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
27416 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27418 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
27419 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27421 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
27422 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27424 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
27425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27427 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27428 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27430 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
27431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27433 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27434 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27436 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27437 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27439 static void *_p_wxListViewTo_p_wxObject(void *x
) {
27440 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27442 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
27443 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27445 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
27446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27448 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27449 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27451 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27452 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27454 static void *_p_wxListbookTo_p_wxObject(void *x
) {
27455 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27457 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27458 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27460 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
27461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27463 static void *_p_wxSliderTo_p_wxObject(void *x
) {
27464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27466 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27467 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27469 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27470 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27472 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27473 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27475 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27476 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27478 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27479 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27481 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27482 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27484 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27485 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27487 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27488 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27490 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27491 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27493 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
27494 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27496 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
27497 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
27499 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27500 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27502 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27503 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27505 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27506 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27508 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27509 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27511 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27512 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27514 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27515 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27517 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27518 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27520 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27521 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27523 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27524 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27526 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27527 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27529 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27530 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27532 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27533 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27535 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27536 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27538 static void *_p_wxListEventTo_p_wxObject(void *x
) {
27539 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
27541 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
27542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27544 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
27545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27547 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
27548 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27550 static void *_p_wxButtonTo_p_wxObject(void *x
) {
27551 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27553 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
27554 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27556 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
27557 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27559 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
27560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27562 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
27563 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
27565 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
27566 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27568 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
27569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27571 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
27572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27574 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
27575 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
27577 static void *_p_wxListItemTo_p_wxObject(void *x
) {
27578 return (void *)((wxObject
*) ((wxListItem
*) x
));
27580 static void *_p_wxImageTo_p_wxObject(void *x
) {
27581 return (void *)((wxObject
*) ((wxImage
*) x
));
27583 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
27584 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
27586 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27587 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27589 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
27590 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
27592 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
27593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27595 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
27596 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27598 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
27599 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27601 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27602 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27604 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27605 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27607 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27608 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27610 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27611 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27613 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27614 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27616 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27619 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27620 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27622 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27623 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27625 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
27626 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
27628 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
27629 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
27631 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
27632 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
27634 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
27635 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
27637 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
27638 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
27640 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
27641 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27643 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
27644 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27646 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
27647 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
27649 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
27650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
27652 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
27653 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
27655 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
27656 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
27658 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
27659 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27661 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
27662 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27664 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
27665 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
27667 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
27668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27670 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
27671 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
27673 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
27674 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
27676 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
27677 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
27679 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
27680 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
27682 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
27683 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
27685 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
27686 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27688 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
27689 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
27691 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
27692 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
27694 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
27695 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
27697 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27698 return (void *)((wxWindow
*) ((wxControl
*) x
));
27700 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
27701 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
27703 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
27704 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27706 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
27707 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
27709 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
27710 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27712 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
27713 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
27715 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
27716 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
27718 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27719 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27721 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
27722 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
27724 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
27725 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
27727 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
27728 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27730 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
27731 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
27733 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
27734 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
27736 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
27737 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
27739 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
27740 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27742 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
27743 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27745 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
27746 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27748 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
27749 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27751 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
27752 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27754 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
27755 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
27757 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
27758 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
27760 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
27761 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
27763 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
27764 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
27766 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
27767 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
27769 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
27770 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
27772 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
27773 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
27775 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
27776 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27778 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
27779 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27781 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
27782 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
27784 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
27785 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27787 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
27788 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27790 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
27791 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27793 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
27794 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
27796 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
27797 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27799 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
27800 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27802 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
27803 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27805 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
27806 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27808 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
27809 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27811 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
27812 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
27814 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
27815 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27817 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
27818 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27820 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
27821 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
27823 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
27824 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27826 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
27827 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27829 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
27830 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
27832 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
27833 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27835 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
27836 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
27838 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
27839 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
27841 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
27842 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
27844 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
27845 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
27847 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27848 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}};
27849 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}};
27850 static swig_type_info _swigt__p_wxTreeItemIdValue
[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27851 static swig_type_info _swigt__wxTreeItemIdValue
[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27852 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27853 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27854 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}};
27855 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27856 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27857 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27858 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}};
27859 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27860 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
27861 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27862 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}};
27863 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27864 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27865 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
27866 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27867 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27868 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27869 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
27870 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27871 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27872 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27873 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27874 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27875 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27876 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27877 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27878 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27879 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}};
27880 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27881 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27882 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27883 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27884 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27885 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27886 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27887 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27888 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}};
27889 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27890 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
27891 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27892 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}};
27893 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27894 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}};
27895 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
27896 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27897 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27898 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27899 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27900 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27901 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27902 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27903 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27904 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27905 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27906 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27907 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27908 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
27909 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27910 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27911 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27912 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27913 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27914 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}};
27915 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27916 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27917 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}};
27918 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27919 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27920 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27921 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27922 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}};
27923 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27924 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
},{"_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}};
27925 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27926 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27927 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27928 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27929 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
27931 static swig_type_info
*swig_types_initial
[] = {
27932 _swigt__p_wxTextUrlEvent
,
27933 _swigt__p_wxBookCtrlEvent
,
27935 _swigt__p_wxTreeItemIdValue
,
27936 _swigt__wxTreeItemIdValue
,
27937 _swigt__p_wxCheckBox
,
27938 _swigt__p_wxPyTreeCtrl
,
27940 _swigt__p_wxGenericDirCtrl
,
27942 _swigt__p_wxPyTreeItemData
,
27943 _swigt__p_wxItemContainer
,
27944 _swigt__p_wxDirFilterListCtrl
,
27945 _swigt__p_wxPyListCtrl
,
27946 _swigt__p_wxStaticLine
,
27947 _swigt__p_wxControl
,
27948 _swigt__p_wxPyControl
,
27950 _swigt__p_wxToolBarBase
,
27952 _swigt__p_wxToggleButton
,
27953 _swigt__p_wxRadioButton
,
27954 _swigt__p_wxChoice
,
27955 _swigt__p_wxMemoryDC
,
27956 _swigt__p_wxListItemAttr
,
27960 _swigt__p_wxListView
,
27962 _swigt__p_wxTextCtrl
,
27963 _swigt__p_wxNotebook
,
27964 _swigt__p_wxNotifyEvent
,
27965 _swigt__p_wxArrayString
,
27966 _swigt__p_wxListbook
,
27967 _swigt__p_wxStaticBitmap
,
27968 _swigt__p_wxSlider
,
27969 _swigt__p_wxStaticBox
,
27970 _swigt__p_wxArrayInt
,
27971 _swigt__p_wxContextHelp
,
27973 _swigt__p_wxEvtHandler
,
27974 _swigt__p_wxListEvent
,
27975 _swigt__p_wxListBox
,
27976 _swigt__p_wxCheckListBox
,
27977 _swigt__p_wxBookCtrl
,
27978 _swigt__p_wxSpinButton
,
27979 _swigt__p_wxButton
,
27980 _swigt__p_wxBitmapButton
,
27982 _swigt__p_wxContextHelpButton
,
27983 _swigt__p_wxRadioBox
,
27984 _swigt__p_wxScrollBar
,
27985 _swigt__p_wxTreeItemId
,
27986 _swigt__p_wxComboBox
,
27987 _swigt__p_wxHelpEvent
,
27988 _swigt__p_wxListItem
,
27989 _swigt__p_wxNotebookSizer
,
27990 _swigt__p_wxGenericDragImage
,
27991 _swigt__p_wxSpinCtrl
,
27992 _swigt__p_wxImageList
,
27993 _swigt__p_wxHelpProvider
,
27994 _swigt__p_wxTextAttr
,
27995 _swigt__p_wxSimpleHelpProvider
,
27997 _swigt__p_wxListbookEvent
,
27998 _swigt__p_wxNotebookEvent
,
27999 _swigt__p_wxObject
,
28000 _swigt__p_wxCursor
,
28001 _swigt__p_wxKeyEvent
,
28002 _swigt__p_wxWindow
,
28003 _swigt__p_wxString
,
28004 _swigt__p_wxBitmap
,
28005 _swigt__p_wxTreeEvent
,
28006 _swigt__p_wxMouseEvent
,
28007 _swigt__p_wxCommandEvent
,
28008 _swigt__p_wxStaticText
,
28009 _swigt__p_wxControlWithItems
,
28010 _swigt__p_wxToolBarToolBase
,
28011 _swigt__p_wxColour
,
28012 _swigt__p_wxToolBar
,
28013 _swigt__p_wxBookCtrlSizer
,
28014 _swigt__p_wxValidator
,
28019 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28021 static swig_const_info swig_const_table
[] = {
28022 { SWIG_PY_INT
, (char *)"BU_LEFT", (long) wxBU_LEFT
, 0, 0, 0},
28023 { SWIG_PY_INT
, (char *)"BU_TOP", (long) wxBU_TOP
, 0, 0, 0},
28024 { SWIG_PY_INT
, (char *)"BU_RIGHT", (long) wxBU_RIGHT
, 0, 0, 0},
28025 { SWIG_PY_INT
, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM
, 0, 0, 0},
28026 { SWIG_PY_INT
, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT
, 0, 0, 0},
28027 { SWIG_PY_INT
, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW
, 0, 0, 0},
28028 { SWIG_PY_INT
, (char *)"CHK_2STATE", (long) wxCHK_2STATE
, 0, 0, 0},
28029 { SWIG_PY_INT
, (char *)"CHK_3STATE", (long) wxCHK_3STATE
, 0, 0, 0},
28030 { SWIG_PY_INT
, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER
, 0, 0, 0},
28031 { SWIG_PY_INT
, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED
, 0, 0, 0},
28032 { SWIG_PY_INT
, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED
, 0, 0, 0},
28033 { SWIG_PY_INT
, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED
, 0, 0, 0},
28034 { SWIG_PY_INT
, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL
, 0, 0, 0},
28035 { SWIG_PY_INT
, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL
, 0, 0, 0},
28036 { SWIG_PY_INT
, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH
, 0, 0, 0},
28037 { SWIG_PY_INT
, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR
, 0, 0, 0},
28038 { SWIG_PY_INT
, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL
, 0, 0, 0},
28039 { SWIG_PY_INT
, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL
, 0, 0, 0},
28040 { SWIG_PY_INT
, (char *)"TE_READONLY", (long) wxTE_READONLY
, 0, 0, 0},
28041 { SWIG_PY_INT
, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE
, 0, 0, 0},
28042 { SWIG_PY_INT
, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB
, 0, 0, 0},
28043 { SWIG_PY_INT
, (char *)"TE_LEFT", (long) wxTE_LEFT
, 0, 0, 0},
28044 { SWIG_PY_INT
, (char *)"TE_CENTER", (long) wxTE_CENTER
, 0, 0, 0},
28045 { SWIG_PY_INT
, (char *)"TE_RIGHT", (long) wxTE_RIGHT
, 0, 0, 0},
28046 { SWIG_PY_INT
, (char *)"TE_CENTRE", (long) wxTE_CENTRE
, 0, 0, 0},
28047 { SWIG_PY_INT
, (char *)"TE_RICH", (long) wxTE_RICH
, 0, 0, 0},
28048 { SWIG_PY_INT
, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER
, 0, 0, 0},
28049 { SWIG_PY_INT
, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD
, 0, 0, 0},
28050 { SWIG_PY_INT
, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL
, 0, 0, 0},
28051 { SWIG_PY_INT
, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL
, 0, 0, 0},
28052 { SWIG_PY_INT
, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP
, 0, 0, 0},
28053 { SWIG_PY_INT
, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP
, 0, 0, 0},
28054 { SWIG_PY_INT
, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP
, 0, 0, 0},
28055 { SWIG_PY_INT
, (char *)"TE_RICH2", (long) wxTE_RICH2
, 0, 0, 0},
28056 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT
, 0, 0, 0},
28057 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT
, 0, 0, 0},
28058 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE
, 0, 0, 0},
28059 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER
, 0, 0, 0},
28060 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT
, 0, 0, 0},
28061 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED
, 0, 0, 0},
28062 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR
, 0, 0, 0},
28063 { SWIG_PY_INT
, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR
, 0, 0, 0},
28064 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE
, 0, 0, 0},
28065 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE
, 0, 0, 0},
28066 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT
, 0, 0, 0},
28067 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC
, 0, 0, 0},
28068 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE
, 0, 0, 0},
28069 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT
, 0, 0, 0},
28070 { SWIG_PY_INT
, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT
, 0, 0, 0},
28071 { SWIG_PY_INT
, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT
, 0, 0, 0},
28072 { SWIG_PY_INT
, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT
, 0, 0, 0},
28073 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS
, 0, 0, 0},
28074 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED
, 0, 0, 0},
28075 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER
, 0, 0, 0},
28076 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL
, 0, 0, 0},
28077 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN
, 0, 0, 0},
28078 { SWIG_PY_INT
, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL
, 0, 0, 0},
28079 { SWIG_PY_INT
, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL
, 0, 0, 0},
28080 { SWIG_PY_INT
, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS
, 0, 0, 0},
28081 { SWIG_PY_INT
, (char *)"SP_WRAP", (long) wxSP_WRAP
, 0, 0, 0},
28082 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED
, 0, 0, 0},
28083 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, 0, 0, 0},
28084 { SWIG_PY_INT
, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH
, 0, 0, 0},
28085 { SWIG_PY_INT
, (char *)"NB_TOP", (long) wxNB_TOP
, 0, 0, 0},
28086 { SWIG_PY_INT
, (char *)"NB_LEFT", (long) wxNB_LEFT
, 0, 0, 0},
28087 { SWIG_PY_INT
, (char *)"NB_RIGHT", (long) wxNB_RIGHT
, 0, 0, 0},
28088 { SWIG_PY_INT
, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM
, 0, 0, 0},
28089 { SWIG_PY_INT
, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE
, 0, 0, 0},
28090 { SWIG_PY_INT
, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE
, 0, 0, 0},
28091 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON
, 0, 0, 0},
28092 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL
, 0, 0, 0},
28093 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM
, 0, 0, 0},
28094 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, 0, 0, 0},
28095 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, 0, 0, 0},
28096 { SWIG_PY_INT
, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT
, 0, 0, 0},
28097 { SWIG_PY_INT
, (char *)"LB_TOP", (long) wxLB_TOP
, 0, 0, 0},
28098 { SWIG_PY_INT
, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM
, 0, 0, 0},
28099 { SWIG_PY_INT
, (char *)"LB_LEFT", (long) wxLB_LEFT
, 0, 0, 0},
28100 { SWIG_PY_INT
, (char *)"LB_RIGHT", (long) wxLB_RIGHT
, 0, 0, 0},
28101 { SWIG_PY_INT
, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK
, 0, 0, 0},
28102 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
, 0, 0, 0},
28103 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
, 0, 0, 0},
28104 { SWIG_PY_INT
, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON
, 0, 0, 0},
28105 { SWIG_PY_INT
, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR
, 0, 0, 0},
28106 { SWIG_PY_INT
, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL
, 0, 0, 0},
28107 { SWIG_PY_INT
, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL
, 0, 0, 0},
28108 { SWIG_PY_INT
, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL
, 0, 0, 0},
28109 { SWIG_PY_INT
, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS
, 0, 0, 0},
28110 { SWIG_PY_INT
, (char *)"TB_FLAT", (long) wxTB_FLAT
, 0, 0, 0},
28111 { SWIG_PY_INT
, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE
, 0, 0, 0},
28112 { SWIG_PY_INT
, (char *)"TB_NOICONS", (long) wxTB_NOICONS
, 0, 0, 0},
28113 { SWIG_PY_INT
, (char *)"TB_TEXT", (long) wxTB_TEXT
, 0, 0, 0},
28114 { SWIG_PY_INT
, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER
, 0, 0, 0},
28115 { SWIG_PY_INT
, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN
, 0, 0, 0},
28116 { SWIG_PY_INT
, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT
, 0, 0, 0},
28117 { SWIG_PY_INT
, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT
, 0, 0, 0},
28118 { SWIG_PY_INT
, (char *)"LC_VRULES", (long) wxLC_VRULES
, 0, 0, 0},
28119 { SWIG_PY_INT
, (char *)"LC_HRULES", (long) wxLC_HRULES
, 0, 0, 0},
28120 { SWIG_PY_INT
, (char *)"LC_ICON", (long) wxLC_ICON
, 0, 0, 0},
28121 { SWIG_PY_INT
, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON
, 0, 0, 0},
28122 { SWIG_PY_INT
, (char *)"LC_LIST", (long) wxLC_LIST
, 0, 0, 0},
28123 { SWIG_PY_INT
, (char *)"LC_REPORT", (long) wxLC_REPORT
, 0, 0, 0},
28124 { SWIG_PY_INT
, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP
, 0, 0, 0},
28125 { SWIG_PY_INT
, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT
, 0, 0, 0},
28126 { SWIG_PY_INT
, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE
, 0, 0, 0},
28127 { SWIG_PY_INT
, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL
, 0, 0, 0},
28128 { SWIG_PY_INT
, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS
, 0, 0, 0},
28129 { SWIG_PY_INT
, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER
, 0, 0, 0},
28130 { SWIG_PY_INT
, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER
, 0, 0, 0},
28131 { SWIG_PY_INT
, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL
, 0, 0, 0},
28132 { SWIG_PY_INT
, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING
, 0, 0, 0},
28133 { SWIG_PY_INT
, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING
, 0, 0, 0},
28134 { SWIG_PY_INT
, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE
, 0, 0, 0},
28135 { SWIG_PY_INT
, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN
, 0, 0, 0},
28136 { SWIG_PY_INT
, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT
, 0, 0, 0},
28137 { SWIG_PY_INT
, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE
, 0, 0, 0},
28138 { SWIG_PY_INT
, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT
, 0, 0, 0},
28139 { SWIG_PY_INT
, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE
, 0, 0, 0},
28140 { SWIG_PY_INT
, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA
, 0, 0, 0},
28141 { SWIG_PY_INT
, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM
, 0, 0, 0},
28142 { SWIG_PY_INT
, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH
, 0, 0, 0},
28143 { SWIG_PY_INT
, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT
, 0, 0, 0},
28144 { SWIG_PY_INT
, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE
, 0, 0, 0},
28145 { SWIG_PY_INT
, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED
, 0, 0, 0},
28146 { SWIG_PY_INT
, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED
, 0, 0, 0},
28147 { SWIG_PY_INT
, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED
, 0, 0, 0},
28148 { SWIG_PY_INT
, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT
, 0, 0, 0},
28149 { SWIG_PY_INT
, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED
, 0, 0, 0},
28150 { SWIG_PY_INT
, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED
, 0, 0, 0},
28151 { SWIG_PY_INT
, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE
, 0, 0, 0},
28152 { SWIG_PY_INT
, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED
, 0, 0, 0},
28153 { SWIG_PY_INT
, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE
, 0, 0, 0},
28154 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE
, 0, 0, 0},
28155 { SWIG_PY_INT
, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW
, 0, 0, 0},
28156 { SWIG_PY_INT
, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE
, 0, 0, 0},
28157 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON
, 0, 0, 0},
28158 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL
, 0, 0, 0},
28159 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28160 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28161 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT
, 0, 0, 0},
28162 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT
, 0, 0, 0},
28163 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM
, 0, 0, 0},
28164 { SWIG_PY_INT
, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE
, 0, 0, 0},
28165 { SWIG_PY_INT
, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL
, 0, 0, 0},
28166 { SWIG_PY_INT
, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW
, 0, 0, 0},
28167 { SWIG_PY_INT
, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT
, 0, 0, 0},
28168 { SWIG_PY_INT
, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT
, 0, 0, 0},
28169 { SWIG_PY_INT
, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT
, 0, 0, 0},
28170 { SWIG_PY_INT
, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT
, 0, 0, 0},
28171 { SWIG_PY_INT
, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP
, 0, 0, 0},
28172 { SWIG_PY_INT
, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID
, 0, 0, 0},
28173 { SWIG_PY_INT
, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT
, 0, 0, 0},
28174 { SWIG_PY_INT
, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT
, 0, 0, 0},
28175 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE
, 0, 0, 0},
28176 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER
, 0, 0, 0},
28177 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE
, 0, 0, 0},
28178 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER
, 0, 0, 0},
28179 { SWIG_PY_INT
, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS
, 0, 0, 0},
28180 { SWIG_PY_INT
, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON
, 0, 0, 0},
28181 { SWIG_PY_INT
, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL
, 0, 0, 0},
28182 { SWIG_PY_INT
, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP
, 0, 0, 0},
28183 { SWIG_PY_INT
, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN
, 0, 0, 0},
28184 { SWIG_PY_INT
, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT
, 0, 0, 0},
28185 { SWIG_PY_INT
, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT
, 0, 0, 0},
28186 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG
, 0, 0, 0},
28187 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
, 0, 0, 0},
28188 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, 0, 0, 0},
28189 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
, 0, 0, 0},
28190 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM
, 0, 0, 0},
28191 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, 0, 0, 0},
28192 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO
, 0, 0, 0},
28193 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO
, 0, 0, 0},
28194 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED
, 0, 0, 0},
28195 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
, 0, 0, 0},
28196 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN
, 0, 0, 0},
28197 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM
, 0, 0, 0},
28198 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK
, 0, 0, 0},
28199 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
, 0, 0, 0},
28200 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28201 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, 0, 0, 0},
28202 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT
, 0, 0, 0},
28203 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
, 0, 0, 0},
28204 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
, 0, 0, 0},
28205 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING
, 0, 0, 0},
28206 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG
, 0, 0, 0},
28207 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
, 0, 0, 0},
28208 { SWIG_PY_INT
, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS
, 0, 0, 0},
28209 { SWIG_PY_INT
, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS
, 0, 0, 0},
28210 { SWIG_PY_INT
, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES
, 0, 0, 0},
28211 { SWIG_PY_INT
, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT
, 0, 0, 0},
28212 { SWIG_PY_INT
, (char *)"TR_SINGLE", (long) wxTR_SINGLE
, 0, 0, 0},
28213 { SWIG_PY_INT
, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE
, 0, 0, 0},
28214 { SWIG_PY_INT
, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED
, 0, 0, 0},
28215 { SWIG_PY_INT
, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT
, 0, 0, 0},
28216 { SWIG_PY_INT
, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS
, 0, 0, 0},
28217 { SWIG_PY_INT
, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT
, 0, 0, 0},
28218 { SWIG_PY_INT
, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES
, 0, 0, 0},
28219 { SWIG_PY_INT
, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT
, 0, 0, 0},
28220 { SWIG_PY_INT
, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE
, 0, 0, 0},
28221 { SWIG_PY_INT
, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS
, 0, 0, 0},
28222 { SWIG_PY_INT
, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS
, 0, 0, 0},
28223 { SWIG_PY_INT
, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS
, 0, 0, 0},
28224 { SWIG_PY_INT
, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal
, 0, 0, 0},
28225 { SWIG_PY_INT
, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected
, 0, 0, 0},
28226 { SWIG_PY_INT
, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded
, 0, 0, 0},
28227 { SWIG_PY_INT
, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded
, 0, 0, 0},
28228 { SWIG_PY_INT
, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max
, 0, 0, 0},
28229 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE
, 0, 0, 0},
28230 { SWIG_PY_INT
, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW
, 0, 0, 0},
28231 { SWIG_PY_INT
, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE
, 0, 0, 0},
28232 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON
, 0, 0, 0},
28233 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON
, 0, 0, 0},
28234 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT
, 0, 0, 0},
28235 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL
, 0, 0, 0},
28236 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28237 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28238 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT
, 0, 0, 0},
28239 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT
, 0, 0, 0},
28240 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART
, 0, 0, 0},
28241 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART
, 0, 0, 0},
28242 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM
, 0, 0, 0},
28243 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG
, 0, 0, 0},
28244 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
, 0, 0, 0},
28245 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, 0, 0, 0},
28246 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
, 0, 0, 0},
28247 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM
, 0, 0, 0},
28248 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO
, 0, 0, 0},
28249 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO
, 0, 0, 0},
28250 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
, 0, 0, 0},
28251 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
, 0, 0, 0},
28252 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, 0, 0, 0},
28253 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, 0, 0, 0},
28254 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED
, 0, 0, 0},
28255 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING
, 0, 0, 0},
28256 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN
, 0, 0, 0},
28257 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
, 0, 0, 0},
28258 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
, 0, 0, 0},
28259 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28260 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG
, 0, 0, 0},
28261 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
, 0, 0, 0},
28262 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
, 0, 0, 0},
28263 { SWIG_PY_INT
, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY
, 0, 0, 0},
28264 { SWIG_PY_INT
, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST
, 0, 0, 0},
28265 { SWIG_PY_INT
, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS
, 0, 0, 0},
28266 { SWIG_PY_INT
, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL
, 0, 0, 0},
28267 { SWIG_PY_INT
, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS
, 0, 0, 0},
28268 { SWIG_PY_INT
, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP
, 0, 0, 0},
28269 { SWIG_PY_INT
, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP
, 0, 0, 0},
28270 { SWIG_PY_INT
, (char *)"wxEVT_HELP", (long) wxEVT_HELP
, 0, 0, 0},
28271 { SWIG_PY_INT
, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP
, 0, 0, 0},
28281 SWIGEXPORT(void) SWIG_init(void) {
28282 static PyObject
*SWIG_globals
= 0;
28283 static int typeinit
= 0;
28286 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28287 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28288 d
= PyModule_GetDict(m
);
28291 for (i
= 0; swig_types_initial
[i
]; i
++) {
28292 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28296 SWIG_InstallConstants(d
,swig_const_table
);
28298 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
28299 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
28300 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
28301 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
28302 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
28303 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
28304 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
28305 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
28306 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
28307 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
28308 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
28309 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
28310 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
28311 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
28312 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
28313 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
28314 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
28315 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
28316 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
28317 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
28318 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
28319 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
28320 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
28321 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
28322 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
28323 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
28324 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
28325 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
28326 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
28327 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
28328 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
28329 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
28331 // Map renamed classes back to their common name for OOR
28332 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28334 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
28335 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
28336 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
28337 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
28338 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
28339 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
28340 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
28341 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
28342 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
28343 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
28344 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
28345 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
28346 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
28347 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
28348 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
28349 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
28350 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
28351 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
28352 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
28353 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
28355 // Map renamed classes back to their common name for OOR
28356 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28357 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28359 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
28360 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
28362 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");