1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
50 /***********************************************************************
51 * common.swg for wxPython
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 ************************************************************************/
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #define SWIGRUNTIME(a) static a
96 typedef void *(*swig_converter_func
)(void *);
97 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
99 typedef struct swig_type_info
{
101 swig_converter_func converter
;
104 swig_dycast_func dcast
;
105 struct swig_type_info
*next
;
106 struct swig_type_info
*prev
;
110 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
124 /***********************************************************************
125 * pyrun.swg for wxPython
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 ************************************************************************/
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
147 /* Flags for pointer conversion */
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
155 /* Constant information structure */
156 typedef struct swig_const_info
{
162 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
193 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
196 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
201 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
205 /* Contract support */
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
216 /* -------- TYPES TABLE (BEGIN) -------- */
218 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
219 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
220 #define SWIGTYPE_p_wxSizer swig_types[2]
221 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
222 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
223 #define SWIGTYPE_p_wxCheckBox swig_types[5]
224 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
225 #define SWIGTYPE_p_wxEvent swig_types[7]
226 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
227 #define SWIGTYPE_p_bool swig_types[9]
228 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
229 #define SWIGTYPE_p_wxItemContainer swig_types[11]
230 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
231 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
232 #define SWIGTYPE_p_wxStaticLine swig_types[14]
233 #define SWIGTYPE_p_wxControl swig_types[15]
234 #define SWIGTYPE_p_wxPyControl swig_types[16]
235 #define SWIGTYPE_p_wxGauge swig_types[17]
236 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
237 #define SWIGTYPE_p_wxFont swig_types[19]
238 #define SWIGTYPE_p_wxToggleButton swig_types[20]
239 #define SWIGTYPE_p_wxRadioButton swig_types[21]
240 #define SWIGTYPE_p_wxChoice swig_types[22]
241 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
242 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
243 #define SWIGTYPE_p_int swig_types[25]
244 #define SWIGTYPE_p_wxSize swig_types[26]
245 #define SWIGTYPE_p_wxDC swig_types[27]
246 #define SWIGTYPE_p_wxListView swig_types[28]
247 #define SWIGTYPE_p_wxIcon swig_types[29]
248 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
249 #define SWIGTYPE_p_wxNotebook swig_types[31]
250 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
251 #define SWIGTYPE_p_wxArrayString swig_types[33]
252 #define SWIGTYPE_p_wxListbook swig_types[34]
253 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
254 #define SWIGTYPE_p_wxSlider swig_types[36]
255 #define SWIGTYPE_p_wxStaticBox swig_types[37]
256 #define SWIGTYPE_p_wxArrayInt swig_types[38]
257 #define SWIGTYPE_p_wxContextHelp swig_types[39]
258 #define SWIGTYPE_p_long swig_types[40]
259 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
260 #define SWIGTYPE_p_wxListEvent swig_types[42]
261 #define SWIGTYPE_p_wxListBox swig_types[43]
262 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
263 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
264 #define SWIGTYPE_p_wxSpinButton swig_types[46]
265 #define SWIGTYPE_p_wxButton swig_types[47]
266 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
267 #define SWIGTYPE_p_wxRect swig_types[49]
268 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
269 #define SWIGTYPE_p_wxRadioBox swig_types[51]
270 #define SWIGTYPE_p_wxScrollBar swig_types[52]
271 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
272 #define SWIGTYPE_p_wxComboBox swig_types[54]
273 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
274 #define SWIGTYPE_p_wxListItem swig_types[56]
275 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
276 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
277 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
278 #define SWIGTYPE_p_wxImageList swig_types[60]
279 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
280 #define SWIGTYPE_p_wxTextAttr swig_types[62]
281 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
282 #define SWIGTYPE_p_wxPoint swig_types[64]
283 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
284 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
285 #define SWIGTYPE_p_wxObject swig_types[67]
286 #define SWIGTYPE_p_wxCursor swig_types[68]
287 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
288 #define SWIGTYPE_p_wxWindow swig_types[70]
289 #define SWIGTYPE_p_wxString swig_types[71]
290 #define SWIGTYPE_p_wxBitmap swig_types[72]
291 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
292 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
293 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
294 #define SWIGTYPE_p_wxStaticText swig_types[76]
295 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
296 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
297 #define SWIGTYPE_p_wxColour swig_types[79]
298 #define SWIGTYPE_p_wxToolBar swig_types[80]
299 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
300 #define SWIGTYPE_p_wxValidator swig_types[82]
301 static swig_type_info
*swig_types
[84];
303 /* -------- TYPES TABLE (END) -------- */
306 /*-----------------------------------------------
307 @(target):= _controls.so
308 ------------------------------------------------*/
309 #define SWIG_init init_controls
311 #define SWIG_name "_controls"
313 #include "wx/wxPython/wxPython.h"
314 #include "wx/wxPython/pyclasses.h"
316 DECLARE_DEF_STRING(PanelNameStr
);
317 DECLARE_DEF_STRING(EmptyString
);
318 DECLARE_DEF_STRING(ControlNameStr
);
322 DECLARE_DEF_STRING(ButtonNameStr
);
325 DECLARE_DEF_STRING(CheckBoxNameStr
);
328 DECLARE_DEF_STRING(ChoiceNameStr
);
331 DECLARE_DEF_STRING(ComboBoxNameStr
);
334 DECLARE_DEF_STRING(GaugeNameStr
);
337 DECLARE_DEF_STRING(StaticBitmapNameStr
);
338 DECLARE_DEF_STRING(StaticBoxNameStr
);
339 DECLARE_DEF_STRING(StaticTextNameStr
);
342 #include <wx/checklst.h>
344 DECLARE_DEF_STRING(ListBoxNameStr
);
346 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
348 wxPyClientData
* data
= new wxPyClientData(clientData
);
349 self
->Insert(item
, pos
, data
);
351 self
->Insert(item
, pos
);
353 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
355 self
->GetSelections(lst
);
356 PyObject
*tup
= PyTuple_New(lst
.GetCount());
357 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
358 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
363 DECLARE_DEF_STRING(TextCtrlNameStr
);
366 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
372 } else if (target
== Py_None
) {
376 if (!PyTuple_Check(target
)) {
378 target
= PyTuple_New(1);
379 PyTuple_SetItem(target
, 0, o2
);
382 PyTuple_SetItem(o3
, 0, o
);
385 target
= PySequence_Concat(o2
, o3
);
392 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
393 self
->AppendText(text
);
395 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
396 return self
->GetValue().Mid(from
, to
- from
);
399 DECLARE_DEF_STRING(ScrollBarNameStr
);
402 DECLARE_DEF_STRING(SPIN_BUTTON_NAME
);
403 wxChar
* wxSpinCtrlNameStr
= _T("wxSpinCtrl");
404 DECLARE_DEF_STRING(SpinCtrlNameStr
);
407 DECLARE_DEF_STRING(RadioBoxNameStr
);
408 DECLARE_DEF_STRING(RadioButtonNameStr
);
411 #include <wx/slider.h>
413 DECLARE_DEF_STRING(SliderNameStr
);
416 wxChar
* wxToggleButtonNameStr
= _T("wxToggleButton");
417 DECLARE_DEF_STRING(ToggleButtonNameStr
);
421 // implement dummy classes and such for wxMac
423 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
425 class wxToggleButton
: public wxControl
428 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
429 const wxPoint
&, const wxSize
&, long,
430 const wxValidator
&, const wxString
&)
431 { PyErr_SetNone(PyExc_NotImplementedError
); }
434 { PyErr_SetNone(PyExc_NotImplementedError
); }
439 DECLARE_DEF_STRING(NOTEBOOK_NAME
);
442 DECLARE_DEF_STRING(ToolBarNameStr
);
444 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
445 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
447 Py_INCREF(udata
->m_obj
);
454 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
455 self
->SetClientData(new wxPyUserData(clientData
));
457 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
){
458 wxPyUserData
* udata
= NULL
;
459 if (clientData
&& clientData
!= Py_None
)
460 udata
= new wxPyUserData(clientData
);
461 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
462 shortHelp
, longHelp
, udata
);
464 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
){
465 wxPyUserData
* udata
= NULL
;
466 if (clientData
&& clientData
!= Py_None
)
467 udata
= new wxPyUserData(clientData
);
468 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
469 shortHelp
, longHelp
, udata
);
471 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
472 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
474 Py_INCREF(udata
->m_obj
);
481 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
482 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
485 #include <wx/listctrl.h>
487 const wxChar
* wxListCtrlNameStr
= _T("wxListCtrl");
488 DECLARE_DEF_STRING(ListCtrlNameStr
);
490 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
491 // Python aware sorting function for wxPyListCtrl
492 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
494 PyObject
* func
= (PyObject
*)funcPtr
;
495 wxPyBeginBlockThreads();
497 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
498 PyObject
* result
= PyEval_CallObject(func
, args
);
501 retval
= PyInt_AsLong(result
);
505 wxPyEndBlockThreads();
509 // C++ Version of a Python aware class
510 class wxPyListCtrl
: public wxListCtrl
{
511 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
513 wxPyListCtrl() : wxListCtrl() {}
514 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
518 const wxValidator
& validator
,
519 const wxString
& name
) :
520 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
522 bool Create(wxWindow
* parent
, wxWindowID id
,
526 const wxValidator
& validator
,
527 const wxString
& name
) {
528 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
531 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
532 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
533 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
538 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
540 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
541 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
542 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
544 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
546 item
.SetMask( wxLIST_MASK_STATE
|
554 if (self
->GetColumn(col
, item
))
555 return new wxListItem(item
);
559 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
560 wxListItem
* info
= new wxListItem
;
561 info
->m_itemId
= itemId
;
563 info
->m_mask
= 0xFFFF;
564 self
->GetItem(*info
);
567 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
569 self
->GetItemPosition(item
, pos
);
572 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
574 self
->GetItemRect(item
, rect
, code
);
577 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
578 if (!PyCallable_Check(func
))
580 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
582 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
590 #include <wx/treectrl.h>
591 #include "wx/wxPython/pytree.h"
593 const wxChar
* wx_TreeCtrlNameStr
= _T("wxTreeCtrl");
594 DECLARE_DEF_STRING(_TreeCtrlNameStr
);
596 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
597 if (!other
) return False
;
598 return *self
== *other
;
600 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
601 if (!other
) return True
;
602 return *self
!= *other
;
604 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
605 // C++ version of Python aware wxTreeCtrl
606 class wxPyTreeCtrl
: public wxTreeCtrl
{
607 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
609 wxPyTreeCtrl() : wxTreeCtrl() {}
610 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
614 const wxValidator
& validator
,
615 const wxString
& name
) :
616 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
618 bool Create(wxWindow
*parent
, wxWindowID id
,
622 const wxValidator
& validator
,
623 const wxString
& name
) {
624 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
628 int OnCompareItems(const wxTreeItemId
& item1
,
629 const wxTreeItemId
& item2
) {
632 wxPyBeginBlockThreads();
633 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
634 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
635 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
636 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
640 wxPyEndBlockThreads();
642 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
648 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
651 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
652 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
654 data
= new wxPyTreeItemData();
655 data
->SetId(item
); // set the id
656 self
->SetItemData(item
, data
);
660 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
661 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
663 data
= new wxPyTreeItemData();
664 data
->SetId(item
); // set the id
665 self
->SetItemData(item
, data
);
667 return data
->GetData();
669 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
670 data
->SetId(item
); // set the id
671 self
->SetItemData(item
, data
);
673 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
674 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
676 data
= new wxPyTreeItemData(obj
);
677 data
->SetId(item
); // set the id
678 self
->SetItemData(item
, data
);
682 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
683 wxPyBeginBlockThreads();
684 PyObject
* rval
= PyList_New(0);
685 wxArrayTreeItemIds array
;
687 num
= self
->GetSelections(array
);
688 for (x
=0; x
< num
; x
++) {
689 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
690 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
691 PyList_Append(rval
, item
);
693 wxPyEndBlockThreads();
696 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
697 wxTreeItemIdValue cookie
= 0;
698 wxTreeItemId ritem
= self
->GetFirstChild(item
, cookie
);
699 wxPyBeginBlockThreads();
700 PyObject
* tup
= PyTuple_New(2);
701 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
702 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
703 wxPyEndBlockThreads();
706 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxTreeItemIdValue
&cookie
){
707 wxTreeItemId ritem
= self
->GetNextChild(item
, cookie
);
708 wxPyBeginBlockThreads();
709 PyObject
* tup
= PyTuple_New(2);
710 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
711 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
712 wxPyEndBlockThreads();
715 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
717 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
718 wxPyBeginBlockThreads();
719 wxRect
* r
= new wxRect(rect
);
720 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
721 wxPyEndBlockThreads();
728 DECLARE_DEF_STRING(DirDialogDefaultFolderStr
);
730 // C++ version of Python aware wxControl
731 class wxPyControl
: public wxControl
733 DECLARE_DYNAMIC_CLASS(wxPyControl
)
735 wxPyControl() : wxControl() {}
736 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
737 const wxPoint
& pos
= wxDefaultPosition
,
738 const wxSize
& size
= wxDefaultSize
,
740 const wxValidator
& validator
=wxDefaultValidator
,
741 const wxString
& name
= wxPyControlNameStr
)
742 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
745 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
746 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
747 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
748 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
750 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
751 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
752 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
754 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
755 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
757 DEC_PYCALLBACK__(InitDialog
);
758 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
759 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
760 DEC_PYCALLBACK_BOOL_(Validate
);
762 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
763 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
764 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
766 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
767 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
772 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
774 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
775 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
776 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
777 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
779 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
780 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
781 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
783 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
784 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
786 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
787 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
788 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
789 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
791 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
792 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
793 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
795 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
796 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
801 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
803 #include <wx/generic/dragimgg.h>
808 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
810 wxWindow
*arg1
= (wxWindow
*) 0 ;
813 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
814 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
815 wxSize
const &arg5_defvalue
= wxDefaultSize
;
816 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
817 long arg6
= (long) 0 ;
818 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
819 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
820 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
821 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
827 PyObject
* obj0
= 0 ;
828 PyObject
* obj2
= 0 ;
829 PyObject
* obj3
= 0 ;
830 PyObject
* obj4
= 0 ;
831 PyObject
* obj6
= 0 ;
832 PyObject
* obj7
= 0 ;
834 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_Button",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
840 arg3
= wxString_in_helper(obj2
);
841 if (arg3
== NULL
) SWIG_fail
;
847 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
853 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
857 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
859 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
864 arg8
= wxString_in_helper(obj7
);
865 if (arg8
== NULL
) SWIG_fail
;
870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
871 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
873 wxPyEndAllowThreads(__tstate
);
874 if (PyErr_Occurred()) SWIG_fail
;
877 resultobj
= wxPyMake_wxObject(result
);
901 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
911 result
= (wxButton
*)new wxButton();
913 wxPyEndAllowThreads(__tstate
);
914 if (PyErr_Occurred()) SWIG_fail
;
917 resultobj
= wxPyMake_wxObject(result
);
925 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 wxButton
*arg1
= (wxButton
*) 0 ;
928 wxWindow
*arg2
= (wxWindow
*) 0 ;
931 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
932 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
933 wxSize
const &arg6_defvalue
= wxDefaultSize
;
934 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
935 long arg7
= (long) 0 ;
936 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
937 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
938 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
939 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
945 PyObject
* obj0
= 0 ;
946 PyObject
* obj1
= 0 ;
947 PyObject
* obj3
= 0 ;
948 PyObject
* obj4
= 0 ;
949 PyObject
* obj5
= 0 ;
950 PyObject
* obj7
= 0 ;
951 PyObject
* obj8
= 0 ;
953 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:Button_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
958 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
960 arg4
= wxString_in_helper(obj3
);
961 if (arg4
== NULL
) SWIG_fail
;
967 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
973 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
977 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
979 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
984 arg9
= wxString_in_helper(obj8
);
985 if (arg9
== NULL
) SWIG_fail
;
990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
991 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
993 wxPyEndAllowThreads(__tstate
);
994 if (PyErr_Occurred()) SWIG_fail
;
996 resultobj
= PyInt_FromLong((long)result
);
1019 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1020 PyObject
*resultobj
;
1021 wxButton
*arg1
= (wxButton
*) 0 ;
1022 PyObject
* obj0
= 0 ;
1024 (char *) "self", NULL
1027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1031 (arg1
)->SetDefault();
1033 wxPyEndAllowThreads(__tstate
);
1034 if (PyErr_Occurred()) SWIG_fail
;
1036 Py_INCREF(Py_None
); resultobj
= Py_None
;
1043 static PyObject
*_wrap_Button_SetImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1044 PyObject
*resultobj
;
1045 wxButton
*arg1
= (wxButton
*) 0 ;
1046 wxBitmap
*arg2
= 0 ;
1047 PyObject
* obj0
= 0 ;
1048 PyObject
* obj1
= 0 ;
1050 (char *) "self",(char *) "bitmap", NULL
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Button_SetImageLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1055 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1057 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1061 (arg1
)->SetImageLabel((wxBitmap
const &)*arg2
);
1063 wxPyEndAllowThreads(__tstate
);
1064 if (PyErr_Occurred()) SWIG_fail
;
1066 Py_INCREF(Py_None
); resultobj
= Py_None
;
1073 static PyObject
*_wrap_Button_SetImageMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
*resultobj
;
1075 wxButton
*arg1
= (wxButton
*) 0 ;
1078 PyObject
* obj0
= 0 ;
1080 (char *) "self",(char *) "x",(char *) "y", NULL
1083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Button_SetImageMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1087 (arg1
)->SetImageMargins(arg2
,arg3
);
1089 wxPyEndAllowThreads(__tstate
);
1090 if (PyErr_Occurred()) SWIG_fail
;
1092 Py_INCREF(Py_None
); resultobj
= Py_None
;
1099 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1100 PyObject
*resultobj
;
1106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1109 result
= wxButton::GetDefaultSize();
1111 wxPyEndAllowThreads(__tstate
);
1112 if (PyErr_Occurred()) SWIG_fail
;
1116 resultptr
= new wxSize((wxSize
&) result
);
1117 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1125 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1128 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1130 return Py_BuildValue((char *)"");
1132 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1133 PyObject
*resultobj
;
1134 wxWindow
*arg1
= (wxWindow
*) 0 ;
1136 wxBitmap
*arg3
= 0 ;
1137 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1138 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1139 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1140 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1141 long arg6
= (long) wxBU_AUTODRAW
;
1142 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1143 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1144 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1145 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1146 wxBitmapButton
*result
;
1149 bool temp8
= False
;
1150 PyObject
* obj0
= 0 ;
1151 PyObject
* obj2
= 0 ;
1152 PyObject
* obj3
= 0 ;
1153 PyObject
* obj4
= 0 ;
1154 PyObject
* obj6
= 0 ;
1155 PyObject
* obj7
= 0 ;
1157 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_BitmapButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1162 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1164 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1169 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1175 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1179 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1181 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1186 arg8
= wxString_in_helper(obj7
);
1187 if (arg8
== NULL
) SWIG_fail
;
1192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1193 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1195 wxPyEndAllowThreads(__tstate
);
1196 if (PyErr_Occurred()) SWIG_fail
;
1199 resultobj
= wxPyMake_wxObject(result
);
1215 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1216 PyObject
*resultobj
;
1217 wxBitmapButton
*result
;
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1225 result
= (wxBitmapButton
*)new wxBitmapButton();
1227 wxPyEndAllowThreads(__tstate
);
1228 if (PyErr_Occurred()) SWIG_fail
;
1231 resultobj
= wxPyMake_wxObject(result
);
1239 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1240 PyObject
*resultobj
;
1241 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1242 wxWindow
*arg2
= (wxWindow
*) 0 ;
1244 wxBitmap
*arg4
= 0 ;
1245 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1246 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1247 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1248 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1249 long arg7
= (long) wxBU_AUTODRAW
;
1250 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1251 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1252 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1253 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1257 bool temp9
= False
;
1258 PyObject
* obj0
= 0 ;
1259 PyObject
* obj1
= 0 ;
1260 PyObject
* obj3
= 0 ;
1261 PyObject
* obj4
= 0 ;
1262 PyObject
* obj5
= 0 ;
1263 PyObject
* obj7
= 0 ;
1264 PyObject
* obj8
= 0 ;
1266 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1271 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1272 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1274 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1279 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1285 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1289 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1291 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1296 arg9
= wxString_in_helper(obj8
);
1297 if (arg9
== NULL
) SWIG_fail
;
1302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1303 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1305 wxPyEndAllowThreads(__tstate
);
1306 if (PyErr_Occurred()) SWIG_fail
;
1308 resultobj
= PyInt_FromLong((long)result
);
1323 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
*resultobj
;
1325 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1327 PyObject
* obj0
= 0 ;
1329 (char *) "self", NULL
1332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1336 result
= (arg1
)->GetBitmapLabel();
1338 wxPyEndAllowThreads(__tstate
);
1339 if (PyErr_Occurred()) SWIG_fail
;
1342 wxBitmap
* resultptr
;
1343 resultptr
= new wxBitmap((wxBitmap
&) result
);
1344 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1352 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
*resultobj
;
1354 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1356 PyObject
* obj0
= 0 ;
1358 (char *) "self", NULL
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1365 result
= (arg1
)->GetBitmapDisabled();
1367 wxPyEndAllowThreads(__tstate
);
1368 if (PyErr_Occurred()) SWIG_fail
;
1371 wxBitmap
* resultptr
;
1372 resultptr
= new wxBitmap((wxBitmap
&) result
);
1373 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1381 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
*resultobj
;
1383 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1385 PyObject
* obj0
= 0 ;
1387 (char *) "self", NULL
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1394 result
= (arg1
)->GetBitmapFocus();
1396 wxPyEndAllowThreads(__tstate
);
1397 if (PyErr_Occurred()) SWIG_fail
;
1400 wxBitmap
* resultptr
;
1401 resultptr
= new wxBitmap((wxBitmap
&) result
);
1402 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1410 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
*resultobj
;
1412 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1414 PyObject
* obj0
= 0 ;
1416 (char *) "self", NULL
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 result
= (arg1
)->GetBitmapSelected();
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) SWIG_fail
;
1429 wxBitmap
* resultptr
;
1430 resultptr
= new wxBitmap((wxBitmap
&) result
);
1431 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1439 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
*resultobj
;
1441 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1442 wxBitmap
*arg2
= 0 ;
1443 PyObject
* obj0
= 0 ;
1444 PyObject
* obj1
= 0 ;
1446 (char *) "self",(char *) "bitmap", NULL
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1451 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1453 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1457 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1459 wxPyEndAllowThreads(__tstate
);
1460 if (PyErr_Occurred()) SWIG_fail
;
1462 Py_INCREF(Py_None
); resultobj
= Py_None
;
1469 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
*resultobj
;
1471 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1472 wxBitmap
*arg2
= 0 ;
1473 PyObject
* obj0
= 0 ;
1474 PyObject
* obj1
= 0 ;
1476 (char *) "self",(char *) "bitmap", NULL
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1481 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1483 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1487 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1489 wxPyEndAllowThreads(__tstate
);
1490 if (PyErr_Occurred()) SWIG_fail
;
1492 Py_INCREF(Py_None
); resultobj
= Py_None
;
1499 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
*resultobj
;
1501 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1502 wxBitmap
*arg2
= 0 ;
1503 PyObject
* obj0
= 0 ;
1504 PyObject
* obj1
= 0 ;
1506 (char *) "self",(char *) "bitmap", NULL
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1511 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1513 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1517 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1519 wxPyEndAllowThreads(__tstate
);
1520 if (PyErr_Occurred()) SWIG_fail
;
1522 Py_INCREF(Py_None
); resultobj
= Py_None
;
1529 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
*resultobj
;
1531 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1532 wxBitmap
*arg2
= 0 ;
1533 PyObject
* obj0
= 0 ;
1534 PyObject
* obj1
= 0 ;
1536 (char *) "self",(char *) "bitmap", NULL
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1541 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1543 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1547 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1549 wxPyEndAllowThreads(__tstate
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1552 Py_INCREF(Py_None
); resultobj
= Py_None
;
1559 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
*resultobj
;
1561 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1564 PyObject
* obj0
= 0 ;
1566 (char *) "self",(char *) "x",(char *) "y", NULL
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:BitmapButton_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1573 (arg1
)->SetMargins(arg2
,arg3
);
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) SWIG_fail
;
1578 Py_INCREF(Py_None
); resultobj
= Py_None
;
1585 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
*resultobj
;
1587 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1589 PyObject
* obj0
= 0 ;
1591 (char *) "self", NULL
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1598 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1600 wxPyEndAllowThreads(__tstate
);
1601 if (PyErr_Occurred()) SWIG_fail
;
1603 resultobj
= PyInt_FromLong((long)result
);
1610 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
*resultobj
;
1612 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1614 PyObject
* obj0
= 0 ;
1616 (char *) "self", NULL
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1625 wxPyEndAllowThreads(__tstate
);
1626 if (PyErr_Occurred()) SWIG_fail
;
1628 resultobj
= PyInt_FromLong((long)result
);
1635 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1638 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1640 return Py_BuildValue((char *)"");
1642 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
*resultobj
;
1644 wxWindow
*arg1
= (wxWindow
*) 0 ;
1646 wxString
*arg3
= 0 ;
1647 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1648 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1649 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1650 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1651 long arg6
= (long) 0 ;
1652 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1653 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1654 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1655 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1657 bool temp3
= False
;
1660 bool temp8
= False
;
1661 PyObject
* obj0
= 0 ;
1662 PyObject
* obj2
= 0 ;
1663 PyObject
* obj3
= 0 ;
1664 PyObject
* obj4
= 0 ;
1665 PyObject
* obj6
= 0 ;
1666 PyObject
* obj7
= 0 ;
1668 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_CheckBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1674 arg3
= wxString_in_helper(obj2
);
1675 if (arg3
== NULL
) SWIG_fail
;
1681 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1687 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1691 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1693 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1698 arg8
= wxString_in_helper(obj7
);
1699 if (arg8
== NULL
) SWIG_fail
;
1704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1705 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1707 wxPyEndAllowThreads(__tstate
);
1708 if (PyErr_Occurred()) SWIG_fail
;
1710 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1733 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
*resultobj
;
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1743 result
= (wxCheckBox
*)new wxCheckBox();
1745 wxPyEndAllowThreads(__tstate
);
1746 if (PyErr_Occurred()) SWIG_fail
;
1748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1755 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
*resultobj
;
1757 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1758 wxWindow
*arg2
= (wxWindow
*) 0 ;
1760 wxString
*arg4
= 0 ;
1761 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1762 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1763 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1764 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1765 long arg7
= (long) 0 ;
1766 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1767 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1768 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1769 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1771 bool temp4
= False
;
1774 bool temp9
= False
;
1775 PyObject
* obj0
= 0 ;
1776 PyObject
* obj1
= 0 ;
1777 PyObject
* obj3
= 0 ;
1778 PyObject
* obj4
= 0 ;
1779 PyObject
* obj5
= 0 ;
1780 PyObject
* obj7
= 0 ;
1781 PyObject
* obj8
= 0 ;
1783 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1788 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1790 arg4
= wxString_in_helper(obj3
);
1791 if (arg4
== NULL
) SWIG_fail
;
1797 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1803 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1807 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1809 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1814 arg9
= wxString_in_helper(obj8
);
1815 if (arg9
== NULL
) SWIG_fail
;
1820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1821 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1823 wxPyEndAllowThreads(__tstate
);
1824 if (PyErr_Occurred()) SWIG_fail
;
1826 resultobj
= PyInt_FromLong((long)result
);
1849 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
*resultobj
;
1851 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1853 PyObject
* obj0
= 0 ;
1855 (char *) "self", NULL
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
1859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1862 result
= (bool)(arg1
)->GetValue();
1864 wxPyEndAllowThreads(__tstate
);
1865 if (PyErr_Occurred()) SWIG_fail
;
1867 resultobj
= PyInt_FromLong((long)result
);
1874 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
*resultobj
;
1876 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1878 PyObject
* obj0
= 0 ;
1880 (char *) "self", NULL
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
1884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 result
= (bool)(arg1
)->IsChecked();
1889 wxPyEndAllowThreads(__tstate
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1892 resultobj
= PyInt_FromLong((long)result
);
1899 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
*resultobj
;
1901 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1903 PyObject
* obj0
= 0 ;
1904 PyObject
* obj1
= 0 ;
1906 (char *) "self",(char *) "state", NULL
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
1910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1911 arg2
= PyInt_AsLong(obj1
) ? true : false;
1912 if (PyErr_Occurred()) SWIG_fail
;
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 (arg1
)->SetValue(arg2
);
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1920 Py_INCREF(Py_None
); resultobj
= Py_None
;
1927 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
*resultobj
;
1929 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1931 PyObject
* obj0
= 0 ;
1933 (char *) "self", NULL
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
1937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
1942 wxPyEndAllowThreads(__tstate
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1945 resultobj
= PyInt_FromLong((long)result
);
1952 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
*resultobj
;
1954 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1956 PyObject
* obj0
= 0 ;
1958 (char *) "self",(char *) "state", NULL
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckBox_Set3StateValue",kwnames
,&obj0
,&arg2
)) goto fail
;
1962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1965 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
1967 wxPyEndAllowThreads(__tstate
);
1968 if (PyErr_Occurred()) SWIG_fail
;
1970 Py_INCREF(Py_None
); resultobj
= Py_None
;
1977 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
*resultobj
;
1979 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1981 PyObject
* obj0
= 0 ;
1983 (char *) "self", NULL
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
1987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1990 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
1992 wxPyEndAllowThreads(__tstate
);
1993 if (PyErr_Occurred()) SWIG_fail
;
1995 resultobj
= PyInt_FromLong((long)result
);
2002 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
*resultobj
;
2004 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2006 PyObject
* obj0
= 0 ;
2008 (char *) "self", NULL
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2020 resultobj
= PyInt_FromLong((long)result
);
2027 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2030 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2032 return Py_BuildValue((char *)"");
2034 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
*resultobj
;
2036 wxWindow
*arg1
= (wxWindow
*) 0 ;
2038 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2039 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2040 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2041 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2042 int arg5
= (int) 0 ;
2043 wxString
*arg6
= (wxString
*) NULL
;
2044 long arg7
= (long) 0 ;
2045 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2046 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2047 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2048 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2052 bool temp8
= False
;
2053 PyObject
* obj0
= 0 ;
2054 PyObject
* obj2
= 0 ;
2055 PyObject
* obj3
= 0 ;
2056 PyObject
* obj4
= 0 ;
2057 PyObject
* obj6
= 0 ;
2058 PyObject
* obj7
= 0 ;
2060 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_Choice",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
2064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2068 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2074 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2079 arg5
= PyList_Size(obj4
);
2080 arg6
= wxString_LIST_helper(obj4
);
2081 if (arg6
== NULL
) SWIG_fail
;
2085 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2087 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2092 arg9
= wxString_in_helper(obj7
);
2093 if (arg9
== NULL
) SWIG_fail
;
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2104 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2106 if (arg6
) delete [] arg6
;
2115 if (arg6
) delete [] arg6
;
2125 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
*resultobj
;
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 result
= (wxChoice
*)new wxChoice();
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) SWIG_fail
;
2140 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2147 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
*resultobj
;
2149 wxChoice
*arg1
= (wxChoice
*) 0 ;
2150 wxWindow
*arg2
= (wxWindow
*) 0 ;
2152 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2153 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2154 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2155 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2156 int arg6
= (int) 0 ;
2157 wxString
*arg7
= (wxString
*) NULL
;
2158 long arg8
= (long) 0 ;
2159 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2160 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2161 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2162 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2166 bool temp9
= False
;
2167 PyObject
* obj0
= 0 ;
2168 PyObject
* obj1
= 0 ;
2169 PyObject
* obj3
= 0 ;
2170 PyObject
* obj4
= 0 ;
2171 PyObject
* obj5
= 0 ;
2172 PyObject
* obj7
= 0 ;
2173 PyObject
* obj8
= 0 ;
2175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:Choice_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2180 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2184 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2190 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2195 arg6
= PyList_Size(obj5
);
2196 arg7
= wxString_LIST_helper(obj5
);
2197 if (arg7
== NULL
) SWIG_fail
;
2201 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2203 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2208 arg10
= wxString_in_helper(obj8
);
2209 if (arg10
== NULL
) SWIG_fail
;
2214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2215 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2217 wxPyEndAllowThreads(__tstate
);
2218 if (PyErr_Occurred()) SWIG_fail
;
2220 resultobj
= PyInt_FromLong((long)result
);
2222 if (arg7
) delete [] arg7
;
2231 if (arg7
) delete [] arg7
;
2241 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
*resultobj
;
2243 wxChoice
*arg1
= (wxChoice
*) 0 ;
2245 PyObject
* obj0
= 0 ;
2247 (char *) "self", NULL
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2254 result
= (int)(arg1
)->GetColumns();
2256 wxPyEndAllowThreads(__tstate
);
2257 if (PyErr_Occurred()) SWIG_fail
;
2259 resultobj
= PyInt_FromLong((long)result
);
2266 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
*resultobj
;
2268 wxChoice
*arg1
= (wxChoice
*) 0 ;
2269 int arg2
= (int) (int)1 ;
2270 PyObject
* obj0
= 0 ;
2272 (char *) "self",(char *) "n", NULL
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Choice_SetColumns",kwnames
,&obj0
,&arg2
)) goto fail
;
2276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 (arg1
)->SetColumns(arg2
);
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2284 Py_INCREF(Py_None
); resultobj
= Py_None
;
2291 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
*resultobj
;
2293 wxChoice
*arg1
= (wxChoice
*) 0 ;
2295 PyObject
* obj0
= 0 ;
2297 (char *) "self",(char *) "n", NULL
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Choice_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 (arg1
)->SetSelection(arg2
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) SWIG_fail
;
2309 Py_INCREF(Py_None
); resultobj
= Py_None
;
2316 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
*resultobj
;
2318 wxChoice
*arg1
= (wxChoice
*) 0 ;
2319 wxString
*arg2
= 0 ;
2320 bool temp2
= False
;
2321 PyObject
* obj0
= 0 ;
2322 PyObject
* obj1
= 0 ;
2324 (char *) "self",(char *) "string", NULL
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2330 arg2
= wxString_in_helper(obj1
);
2331 if (arg2
== NULL
) SWIG_fail
;
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2336 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) SWIG_fail
;
2341 Py_INCREF(Py_None
); resultobj
= Py_None
;
2356 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2357 PyObject
*resultobj
;
2358 wxChoice
*arg1
= (wxChoice
*) 0 ;
2360 wxString
*arg3
= 0 ;
2361 bool temp3
= False
;
2362 PyObject
* obj0
= 0 ;
2363 PyObject
* obj2
= 0 ;
2365 (char *) "self",(char *) "n",(char *) "s", NULL
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Choice_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
2369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2371 arg3
= wxString_in_helper(obj2
);
2372 if (arg3
== NULL
) SWIG_fail
;
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) SWIG_fail
;
2382 Py_INCREF(Py_None
); resultobj
= Py_None
;
2397 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2400 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2402 return Py_BuildValue((char *)"");
2404 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
*resultobj
;
2406 wxWindow
*arg1
= (wxWindow
*) 0 ;
2408 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2409 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2410 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2411 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2412 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2413 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2414 int arg6
= (int) 0 ;
2415 wxString
*arg7
= (wxString
*) NULL
;
2416 long arg8
= (long) 0 ;
2417 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2418 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2419 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2420 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2422 bool temp3
= False
;
2425 bool temp9
= False
;
2426 PyObject
* obj0
= 0 ;
2427 PyObject
* obj2
= 0 ;
2428 PyObject
* obj3
= 0 ;
2429 PyObject
* obj4
= 0 ;
2430 PyObject
* obj5
= 0 ;
2431 PyObject
* obj7
= 0 ;
2432 PyObject
* obj8
= 0 ;
2434 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2441 arg3
= wxString_in_helper(obj2
);
2442 if (arg3
== NULL
) SWIG_fail
;
2449 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2455 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2460 arg6
= PyList_Size(obj5
);
2461 arg7
= wxString_LIST_helper(obj5
);
2462 if (arg7
== NULL
) SWIG_fail
;
2466 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2468 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2473 arg10
= wxString_in_helper(obj8
);
2474 if (arg10
== NULL
) SWIG_fail
;
2479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2482 wxPyEndAllowThreads(__tstate
);
2483 if (PyErr_Occurred()) SWIG_fail
;
2485 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2491 if (arg7
) delete [] arg7
;
2504 if (arg7
) delete [] arg7
;
2514 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
*resultobj
;
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 result
= (wxComboBox
*)new wxComboBox();
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2529 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2536 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2539 wxWindow
*arg2
= (wxWindow
*) 0 ;
2541 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2542 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2543 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2544 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2545 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2546 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2547 int arg7
= (int) 0 ;
2548 wxString
*arg8
= (wxString
*) NULL
;
2549 long arg9
= (long) 0 ;
2550 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
2551 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
2552 wxString
const &arg11_defvalue
= wxPyComboBoxNameStr
;
2553 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
2555 bool temp4
= False
;
2558 bool temp10
= False
;
2559 PyObject
* obj0
= 0 ;
2560 PyObject
* obj1
= 0 ;
2561 PyObject
* obj3
= 0 ;
2562 PyObject
* obj4
= 0 ;
2563 PyObject
* obj5
= 0 ;
2564 PyObject
* obj6
= 0 ;
2565 PyObject
* obj8
= 0 ;
2566 PyObject
* obj9
= 0 ;
2568 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&obj8
,&obj9
)) goto fail
;
2572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2573 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2576 arg4
= wxString_in_helper(obj3
);
2577 if (arg4
== NULL
) SWIG_fail
;
2584 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2590 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2595 arg7
= PyList_Size(obj6
);
2596 arg8
= wxString_LIST_helper(obj6
);
2597 if (arg8
== NULL
) SWIG_fail
;
2601 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2602 if (arg10
== NULL
) {
2603 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2608 arg11
= wxString_in_helper(obj9
);
2609 if (arg11
== NULL
) SWIG_fail
;
2614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2615 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
2617 wxPyEndAllowThreads(__tstate
);
2618 if (PyErr_Occurred()) SWIG_fail
;
2620 resultobj
= PyInt_FromLong((long)result
);
2626 if (arg8
) delete [] arg8
;
2639 if (arg8
) delete [] arg8
;
2649 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
*resultobj
;
2651 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2653 PyObject
* obj0
= 0 ;
2655 (char *) "self", NULL
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 result
= ((wxComboBox
const *)arg1
)->GetValue();
2664 wxPyEndAllowThreads(__tstate
);
2665 if (PyErr_Occurred()) SWIG_fail
;
2669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2680 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
*resultobj
;
2682 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2683 wxString
*arg2
= 0 ;
2684 bool temp2
= False
;
2685 PyObject
* obj0
= 0 ;
2686 PyObject
* obj1
= 0 ;
2688 (char *) "self",(char *) "value", NULL
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2694 arg2
= wxString_in_helper(obj1
);
2695 if (arg2
== NULL
) SWIG_fail
;
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 (arg1
)->SetValue((wxString
const &)*arg2
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) SWIG_fail
;
2705 Py_INCREF(Py_None
); resultobj
= Py_None
;
2720 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
*resultobj
;
2722 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2723 PyObject
* obj0
= 0 ;
2725 (char *) "self", NULL
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2734 wxPyEndAllowThreads(__tstate
);
2735 if (PyErr_Occurred()) SWIG_fail
;
2737 Py_INCREF(Py_None
); resultobj
= Py_None
;
2744 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
*resultobj
;
2746 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2747 PyObject
* obj0
= 0 ;
2749 (char *) "self", NULL
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
2753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2761 Py_INCREF(Py_None
); resultobj
= Py_None
;
2768 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
*resultobj
;
2770 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2771 PyObject
* obj0
= 0 ;
2773 (char *) "self", NULL
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
2777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2782 wxPyEndAllowThreads(__tstate
);
2783 if (PyErr_Occurred()) SWIG_fail
;
2785 Py_INCREF(Py_None
); resultobj
= Py_None
;
2792 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
*resultobj
;
2794 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2796 PyObject
* obj0
= 0 ;
2798 (char *) "self",(char *) "pos", NULL
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
2802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2805 (arg1
)->SetInsertionPoint(arg2
);
2807 wxPyEndAllowThreads(__tstate
);
2808 if (PyErr_Occurred()) SWIG_fail
;
2810 Py_INCREF(Py_None
); resultobj
= Py_None
;
2817 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
*resultobj
;
2819 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2821 PyObject
* obj0
= 0 ;
2823 (char *) "self", NULL
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
2827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2830 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
2832 wxPyEndAllowThreads(__tstate
);
2833 if (PyErr_Occurred()) SWIG_fail
;
2835 resultobj
= PyInt_FromLong((long)result
);
2842 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
*resultobj
;
2844 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2846 PyObject
* obj0
= 0 ;
2848 (char *) "self", NULL
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
2852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2855 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) SWIG_fail
;
2860 resultobj
= PyInt_FromLong((long)result
);
2867 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
*resultobj
;
2869 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2872 wxString
*arg4
= 0 ;
2873 bool temp4
= False
;
2874 PyObject
* obj0
= 0 ;
2875 PyObject
* obj3
= 0 ;
2877 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:ComboBox_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2883 arg4
= wxString_in_helper(obj3
);
2884 if (arg4
== NULL
) SWIG_fail
;
2888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2889 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
2891 wxPyEndAllowThreads(__tstate
);
2892 if (PyErr_Occurred()) SWIG_fail
;
2894 Py_INCREF(Py_None
); resultobj
= Py_None
;
2909 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2914 PyObject
* obj0
= 0 ;
2916 (char *) "self",(char *) "from",(char *) "to", NULL
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_SetMark",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2923 (arg1
)->SetSelection(arg2
,arg3
);
2925 wxPyEndAllowThreads(__tstate
);
2926 if (PyErr_Occurred()) SWIG_fail
;
2928 Py_INCREF(Py_None
); resultobj
= Py_None
;
2935 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
*resultobj
;
2937 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2939 PyObject
* obj0
= 0 ;
2940 PyObject
* obj1
= 0 ;
2942 (char *) "self",(char *) "editable", NULL
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
2946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2947 arg2
= PyInt_AsLong(obj1
) ? true : false;
2948 if (PyErr_Occurred()) SWIG_fail
;
2950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2951 (arg1
)->SetEditable(arg2
);
2953 wxPyEndAllowThreads(__tstate
);
2954 if (PyErr_Occurred()) SWIG_fail
;
2956 Py_INCREF(Py_None
); resultobj
= Py_None
;
2963 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
*resultobj
;
2965 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2966 PyObject
* obj0
= 0 ;
2968 (char *) "self", NULL
2971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
2972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2975 (arg1
)->SetInsertionPointEnd();
2977 wxPyEndAllowThreads(__tstate
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2980 Py_INCREF(Py_None
); resultobj
= Py_None
;
2987 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
*resultobj
;
2989 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2992 PyObject
* obj0
= 0 ;
2994 (char *) "self",(char *) "from",(char *) "to", NULL
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3001 (arg1
)->Remove(arg2
,arg3
);
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3006 Py_INCREF(Py_None
); resultobj
= Py_None
;
3013 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3016 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3018 return Py_BuildValue((char *)"");
3020 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
*resultobj
;
3022 wxWindow
*arg1
= (wxWindow
*) 0 ;
3025 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3026 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3027 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3028 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3029 long arg6
= (long) wxGA_HORIZONTAL
;
3030 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3031 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3032 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3033 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3037 bool temp8
= False
;
3038 PyObject
* obj0
= 0 ;
3039 PyObject
* obj3
= 0 ;
3040 PyObject
* obj4
= 0 ;
3041 PyObject
* obj6
= 0 ;
3042 PyObject
* obj7
= 0 ;
3044 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|OOlOO:new_Gauge",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
3048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3052 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3058 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3062 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3064 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3069 arg8
= wxString_in_helper(obj7
);
3070 if (arg8
== NULL
) SWIG_fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3081 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3096 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
*resultobj
;
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3106 result
= (wxGauge
*)new wxGauge();
3108 wxPyEndAllowThreads(__tstate
);
3109 if (PyErr_Occurred()) SWIG_fail
;
3111 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3118 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
*resultobj
;
3120 wxGauge
*arg1
= (wxGauge
*) 0 ;
3121 wxWindow
*arg2
= (wxWindow
*) 0 ;
3124 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3125 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3126 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3127 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3128 long arg7
= (long) wxGA_HORIZONTAL
;
3129 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3130 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3131 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3132 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3136 bool temp9
= False
;
3137 PyObject
* obj0
= 0 ;
3138 PyObject
* obj1
= 0 ;
3139 PyObject
* obj4
= 0 ;
3140 PyObject
* obj5
= 0 ;
3141 PyObject
* obj7
= 0 ;
3142 PyObject
* obj8
= 0 ;
3144 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|OOlOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
3148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3149 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3153 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3159 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3163 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3165 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3170 arg9
= wxString_in_helper(obj8
);
3171 if (arg9
== NULL
) SWIG_fail
;
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) SWIG_fail
;
3182 resultobj
= PyInt_FromLong((long)result
);
3197 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
*resultobj
;
3199 wxGauge
*arg1
= (wxGauge
*) 0 ;
3201 PyObject
* obj0
= 0 ;
3203 (char *) "self",(char *) "range", NULL
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetRange",kwnames
,&obj0
,&arg2
)) goto fail
;
3207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3210 (arg1
)->SetRange(arg2
);
3212 wxPyEndAllowThreads(__tstate
);
3213 if (PyErr_Occurred()) SWIG_fail
;
3215 Py_INCREF(Py_None
); resultobj
= Py_None
;
3222 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
*resultobj
;
3224 wxGauge
*arg1
= (wxGauge
*) 0 ;
3226 PyObject
* obj0
= 0 ;
3228 (char *) "self", NULL
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3235 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3237 wxPyEndAllowThreads(__tstate
);
3238 if (PyErr_Occurred()) SWIG_fail
;
3240 resultobj
= PyInt_FromLong((long)result
);
3247 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
*resultobj
;
3249 wxGauge
*arg1
= (wxGauge
*) 0 ;
3251 PyObject
* obj0
= 0 ;
3253 (char *) "self",(char *) "pos", NULL
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
3257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 (arg1
)->SetValue(arg2
);
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3265 Py_INCREF(Py_None
); resultobj
= Py_None
;
3272 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3273 PyObject
*resultobj
;
3274 wxGauge
*arg1
= (wxGauge
*) 0 ;
3276 PyObject
* obj0
= 0 ;
3278 (char *) "self", NULL
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3290 resultobj
= PyInt_FromLong((long)result
);
3297 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
*resultobj
;
3299 wxGauge
*arg1
= (wxGauge
*) 0 ;
3301 PyObject
* obj0
= 0 ;
3303 (char *) "self", NULL
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3310 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3312 wxPyEndAllowThreads(__tstate
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3315 resultobj
= PyInt_FromLong((long)result
);
3322 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3323 PyObject
*resultobj
;
3324 wxGauge
*arg1
= (wxGauge
*) 0 ;
3326 PyObject
* obj0
= 0 ;
3328 (char *) "self",(char *) "w", NULL
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetShadowWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3335 (arg1
)->SetShadowWidth(arg2
);
3337 wxPyEndAllowThreads(__tstate
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3340 Py_INCREF(Py_None
); resultobj
= Py_None
;
3347 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
*resultobj
;
3349 wxGauge
*arg1
= (wxGauge
*) 0 ;
3351 PyObject
* obj0
= 0 ;
3353 (char *) "self", NULL
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3365 resultobj
= PyInt_FromLong((long)result
);
3372 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxGauge
*arg1
= (wxGauge
*) 0 ;
3376 PyObject
* obj0
= 0 ;
3378 (char *) "self",(char *) "w", NULL
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetBezelFace",kwnames
,&obj0
,&arg2
)) goto fail
;
3382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3385 (arg1
)->SetBezelFace(arg2
);
3387 wxPyEndAllowThreads(__tstate
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3390 Py_INCREF(Py_None
); resultobj
= Py_None
;
3397 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
*resultobj
;
3399 wxGauge
*arg1
= (wxGauge
*) 0 ;
3401 PyObject
* obj0
= 0 ;
3403 (char *) "self", NULL
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3410 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3412 wxPyEndAllowThreads(__tstate
);
3413 if (PyErr_Occurred()) SWIG_fail
;
3415 resultobj
= PyInt_FromLong((long)result
);
3422 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3425 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3427 return Py_BuildValue((char *)"");
3429 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
*resultobj
;
3431 wxWindow
*arg1
= (wxWindow
*) 0 ;
3433 wxString
*arg3
= 0 ;
3434 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3435 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3436 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3437 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3438 long arg6
= (long) 0 ;
3439 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3440 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3441 wxStaticBox
*result
;
3442 bool temp3
= False
;
3445 bool temp7
= False
;
3446 PyObject
* obj0
= 0 ;
3447 PyObject
* obj2
= 0 ;
3448 PyObject
* obj3
= 0 ;
3449 PyObject
* obj4
= 0 ;
3450 PyObject
* obj6
= 0 ;
3452 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3458 arg3
= wxString_in_helper(obj2
);
3459 if (arg3
== NULL
) SWIG_fail
;
3465 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3471 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3476 arg7
= wxString_in_helper(obj6
);
3477 if (arg7
== NULL
) SWIG_fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3489 resultobj
= wxPyMake_wxObject(result
);
3513 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
*resultobj
;
3515 wxStaticBox
*result
;
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
3522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3523 result
= (wxStaticBox
*)new wxStaticBox();
3525 wxPyEndAllowThreads(__tstate
);
3526 if (PyErr_Occurred()) SWIG_fail
;
3529 resultobj
= wxPyMake_wxObject(result
);
3537 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
*resultobj
;
3539 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
3540 wxWindow
*arg2
= (wxWindow
*) 0 ;
3542 wxString
*arg4
= 0 ;
3543 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3544 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3545 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3546 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3547 long arg7
= (long) 0 ;
3548 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
3549 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3551 bool temp4
= False
;
3554 bool temp8
= False
;
3555 PyObject
* obj0
= 0 ;
3556 PyObject
* obj1
= 0 ;
3557 PyObject
* obj3
= 0 ;
3558 PyObject
* obj4
= 0 ;
3559 PyObject
* obj5
= 0 ;
3560 PyObject
* obj7
= 0 ;
3562 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3567 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3569 arg4
= wxString_in_helper(obj3
);
3570 if (arg4
== NULL
) SWIG_fail
;
3576 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3582 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3587 arg8
= wxString_in_helper(obj7
);
3588 if (arg8
== NULL
) SWIG_fail
;
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3599 resultobj
= PyInt_FromLong((long)result
);
3622 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
3624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3625 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
3627 return Py_BuildValue((char *)"");
3629 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
*resultobj
;
3631 wxWindow
*arg1
= (wxWindow
*) 0 ;
3633 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3634 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3635 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3636 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3637 long arg5
= (long) wxLI_HORIZONTAL
;
3638 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
3639 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3640 wxStaticLine
*result
;
3643 bool temp6
= False
;
3644 PyObject
* obj0
= 0 ;
3645 PyObject
* obj2
= 0 ;
3646 PyObject
* obj3
= 0 ;
3647 PyObject
* obj5
= 0 ;
3649 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_StaticLine",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
3653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3657 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3663 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3668 arg6
= wxString_in_helper(obj5
);
3669 if (arg6
== NULL
) SWIG_fail
;
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3677 wxPyEndAllowThreads(__tstate
);
3678 if (PyErr_Occurred()) SWIG_fail
;
3680 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3695 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
*resultobj
;
3697 wxStaticLine
*result
;
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
3704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3705 result
= (wxStaticLine
*)new wxStaticLine();
3707 wxPyEndAllowThreads(__tstate
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3710 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3717 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
*resultobj
;
3719 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3720 wxWindow
*arg2
= (wxWindow
*) 0 ;
3722 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3723 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3724 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3725 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3726 long arg6
= (long) wxLI_HORIZONTAL
;
3727 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3728 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3732 bool temp7
= False
;
3733 PyObject
* obj0
= 0 ;
3734 PyObject
* obj1
= 0 ;
3735 PyObject
* obj3
= 0 ;
3736 PyObject
* obj4
= 0 ;
3737 PyObject
* obj6
= 0 ;
3739 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3744 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3748 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3754 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3759 arg7
= wxString_in_helper(obj6
);
3760 if (arg7
== NULL
) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 resultobj
= PyInt_FromLong((long)result
);
3786 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3788 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3790 PyObject
* obj0
= 0 ;
3792 (char *) "self", NULL
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
3796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) SWIG_fail
;
3804 resultobj
= PyInt_FromLong((long)result
);
3811 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
*resultobj
;
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 result
= (int)wxStaticLine::GetDefaultSize();
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 resultobj
= PyInt_FromLong((long)result
);
3833 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
3835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3836 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
3838 return Py_BuildValue((char *)"");
3840 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
*resultobj
;
3842 wxWindow
*arg1
= (wxWindow
*) 0 ;
3844 wxString
*arg3
= 0 ;
3845 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3846 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3847 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3848 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3849 long arg6
= (long) 0 ;
3850 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3851 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3852 wxStaticText
*result
;
3853 bool temp3
= False
;
3856 bool temp7
= False
;
3857 PyObject
* obj0
= 0 ;
3858 PyObject
* obj2
= 0 ;
3859 PyObject
* obj3
= 0 ;
3860 PyObject
* obj4
= 0 ;
3861 PyObject
* obj6
= 0 ;
3863 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticText",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3869 arg3
= wxString_in_helper(obj2
);
3870 if (arg3
== NULL
) SWIG_fail
;
3876 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3882 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3887 arg7
= wxString_in_helper(obj6
);
3888 if (arg7
== NULL
) SWIG_fail
;
3893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3894 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3896 wxPyEndAllowThreads(__tstate
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3899 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
3922 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3924 wxStaticText
*result
;
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 result
= (wxStaticText
*)new wxStaticText();
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
3944 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
*resultobj
;
3946 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
3947 wxWindow
*arg2
= (wxWindow
*) 0 ;
3949 wxString
*arg4
= 0 ;
3950 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3951 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3952 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3953 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3954 long arg7
= (long) 0 ;
3955 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
3956 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3958 bool temp4
= False
;
3961 bool temp8
= False
;
3962 PyObject
* obj0
= 0 ;
3963 PyObject
* obj1
= 0 ;
3964 PyObject
* obj3
= 0 ;
3965 PyObject
* obj4
= 0 ;
3966 PyObject
* obj5
= 0 ;
3967 PyObject
* obj7
= 0 ;
3969 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticText_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3974 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3976 arg4
= wxString_in_helper(obj3
);
3977 if (arg4
== NULL
) SWIG_fail
;
3983 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3989 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3994 arg8
= wxString_in_helper(obj7
);
3995 if (arg8
== NULL
) SWIG_fail
;
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4006 resultobj
= PyInt_FromLong((long)result
);
4029 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4032 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4034 return Py_BuildValue((char *)"");
4036 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
*resultobj
;
4038 wxWindow
*arg1
= (wxWindow
*) 0 ;
4040 wxBitmap
*arg3
= 0 ;
4041 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4042 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4043 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4044 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4045 long arg6
= (long) 0 ;
4046 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4047 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4048 wxStaticBitmap
*result
;
4051 bool temp7
= False
;
4052 PyObject
* obj0
= 0 ;
4053 PyObject
* obj2
= 0 ;
4054 PyObject
* obj3
= 0 ;
4055 PyObject
* obj4
= 0 ;
4056 PyObject
* obj6
= 0 ;
4058 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBitmap",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4063 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4065 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4076 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4081 arg7
= wxString_in_helper(obj6
);
4082 if (arg7
== NULL
) SWIG_fail
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4108 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
;
4110 wxStaticBitmap
*result
;
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4130 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
;
4132 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4133 wxWindow
*arg2
= (wxWindow
*) 0 ;
4135 wxBitmap
*arg4
= 0 ;
4136 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4137 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4138 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4139 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4140 long arg7
= (long) 0 ;
4141 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4142 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4146 bool temp8
= False
;
4147 PyObject
* obj0
= 0 ;
4148 PyObject
* obj1
= 0 ;
4149 PyObject
* obj3
= 0 ;
4150 PyObject
* obj4
= 0 ;
4151 PyObject
* obj5
= 0 ;
4152 PyObject
* obj7
= 0 ;
4154 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4159 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4160 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4162 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4167 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4173 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4178 arg8
= wxString_in_helper(obj7
);
4179 if (arg8
== NULL
) SWIG_fail
;
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 resultobj
= PyInt_FromLong((long)result
);
4205 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
*resultobj
;
4207 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4209 PyObject
* obj0
= 0 ;
4211 (char *) "self", NULL
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 result
= (arg1
)->GetBitmap();
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4224 wxBitmap
* resultptr
;
4225 resultptr
= new wxBitmap((wxBitmap
&) result
);
4226 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4234 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
*resultobj
;
4236 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4237 wxBitmap
*arg2
= 0 ;
4238 PyObject
* obj0
= 0 ;
4239 PyObject
* obj1
= 0 ;
4241 (char *) "self",(char *) "bitmap", NULL
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4246 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4248 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4257 Py_INCREF(Py_None
); resultobj
= Py_None
;
4264 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
;
4266 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4268 PyObject
* obj0
= 0 ;
4269 PyObject
* obj1
= 0 ;
4271 (char *) "self",(char *) "icon", NULL
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4276 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4278 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 Py_INCREF(Py_None
); resultobj
= Py_None
;
4294 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4297 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4299 return Py_BuildValue((char *)"");
4301 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4303 wxWindow
*arg1
= (wxWindow
*) 0 ;
4305 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4306 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4307 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4308 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4309 int arg5
= (int) 0 ;
4310 wxString
*arg6
= (wxString
*) NULL
;
4311 long arg7
= (long) 0 ;
4312 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4313 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4314 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
4315 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4319 bool temp8
= False
;
4320 PyObject
* obj0
= 0 ;
4321 PyObject
* obj2
= 0 ;
4322 PyObject
* obj3
= 0 ;
4323 PyObject
* obj4
= 0 ;
4324 PyObject
* obj6
= 0 ;
4325 PyObject
* obj7
= 0 ;
4327 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_ListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
4331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4335 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4341 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4346 arg5
= PyList_Size(obj4
);
4347 arg6
= wxString_LIST_helper(obj4
);
4348 if (arg6
== NULL
) SWIG_fail
;
4352 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4354 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4359 arg9
= wxString_in_helper(obj7
);
4360 if (arg9
== NULL
) SWIG_fail
;
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4373 if (arg6
) delete [] arg6
;
4382 if (arg6
) delete [] arg6
;
4392 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 result
= (wxListBox
*)new wxListBox();
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4407 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4414 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
*resultobj
;
4416 wxListBox
*arg1
= (wxListBox
*) 0 ;
4417 wxWindow
*arg2
= (wxWindow
*) 0 ;
4419 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4420 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4421 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4422 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4423 int arg6
= (int) 0 ;
4424 wxString
*arg7
= (wxString
*) NULL
;
4425 long arg8
= (long) 0 ;
4426 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4427 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4428 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
4429 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4433 bool temp9
= False
;
4434 PyObject
* obj0
= 0 ;
4435 PyObject
* obj1
= 0 ;
4436 PyObject
* obj3
= 0 ;
4437 PyObject
* obj4
= 0 ;
4438 PyObject
* obj5
= 0 ;
4439 PyObject
* obj7
= 0 ;
4440 PyObject
* obj8
= 0 ;
4442 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
4446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4447 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4451 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4457 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4462 arg6
= PyList_Size(obj5
);
4463 arg7
= wxString_LIST_helper(obj5
);
4464 if (arg7
== NULL
) SWIG_fail
;
4468 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4470 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4475 arg10
= wxString_in_helper(obj8
);
4476 if (arg10
== NULL
) SWIG_fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 resultobj
= PyInt_FromLong((long)result
);
4489 if (arg7
) delete [] arg7
;
4498 if (arg7
) delete [] arg7
;
4508 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
;
4510 wxListBox
*arg1
= (wxListBox
*) 0 ;
4511 wxString
*arg2
= 0 ;
4513 PyObject
*arg4
= (PyObject
*) NULL
;
4514 bool temp2
= False
;
4515 PyObject
* obj0
= 0 ;
4516 PyObject
* obj1
= 0 ;
4517 PyObject
* obj3
= 0 ;
4519 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4525 arg2
= wxString_in_helper(obj1
);
4526 if (arg2
== NULL
) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4539 Py_INCREF(Py_None
); resultobj
= Py_None
;
4554 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxListBox
*arg1
= (wxListBox
*) 0 ;
4557 wxArrayString
*arg2
= 0 ;
4559 PyObject
* obj0
= 0 ;
4560 PyObject
* obj1
= 0 ;
4562 (char *) "self",(char *) "items",(char *) "pos", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4568 if (! PySequence_Check(obj1
)) {
4569 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4572 arg2
= new wxArrayString
;
4573 int i
, len
=PySequence_Length(obj1
);
4574 for (i
=0; i
<len
; i
++) {
4575 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4577 PyObject
* str
= PyObject_Unicode(item
);
4579 PyObject
* str
= PyObject_Str(item
);
4581 arg2
->Add(Py2wxString(str
));
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4593 Py_INCREF(Py_None
); resultobj
= Py_None
;
4595 if (arg2
) delete arg2
;
4600 if (arg2
) delete arg2
;
4606 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
;
4608 wxListBox
*arg1
= (wxListBox
*) 0 ;
4609 wxArrayString
*arg2
= 0 ;
4610 PyObject
* obj0
= 0 ;
4611 PyObject
* obj1
= 0 ;
4613 (char *) "self",(char *) "items", NULL
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
4617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4619 if (! PySequence_Check(obj1
)) {
4620 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4623 arg2
= new wxArrayString
;
4624 int i
, len
=PySequence_Length(obj1
);
4625 for (i
=0; i
<len
; i
++) {
4626 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4628 PyObject
* str
= PyObject_Unicode(item
);
4630 PyObject
* str
= PyObject_Str(item
);
4632 arg2
->Add(Py2wxString(str
));
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 (arg1
)->Set((wxArrayString
const &)*arg2
);
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4644 Py_INCREF(Py_None
); resultobj
= Py_None
;
4646 if (arg2
) delete arg2
;
4651 if (arg2
) delete arg2
;
4657 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
;
4659 wxListBox
*arg1
= (wxListBox
*) 0 ;
4662 PyObject
* obj0
= 0 ;
4664 (char *) "self",(char *) "n", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
4668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4676 resultobj
= PyInt_FromLong((long)result
);
4683 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
;
4685 wxListBox
*arg1
= (wxListBox
*) 0 ;
4687 bool arg3
= (bool) True
;
4688 PyObject
* obj0
= 0 ;
4689 PyObject
* obj2
= 0 ;
4691 (char *) "self",(char *) "n",(char *) "select", NULL
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListBox_SetSelection",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4697 arg3
= PyInt_AsLong(obj2
) ? true : false;
4698 if (PyErr_Occurred()) SWIG_fail
;
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 (arg1
)->SetSelection(arg2
,arg3
);
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 Py_INCREF(Py_None
); resultobj
= Py_None
;
4714 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
*resultobj
;
4716 wxListBox
*arg1
= (wxListBox
*) 0 ;
4718 PyObject
* obj0
= 0 ;
4720 (char *) "self",(char *) "n", NULL
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
4724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4727 (arg1
)->Select(arg2
);
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4732 Py_INCREF(Py_None
); resultobj
= Py_None
;
4739 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
;
4741 wxListBox
*arg1
= (wxListBox
*) 0 ;
4743 PyObject
* obj0
= 0 ;
4745 (char *) "self",(char *) "n", NULL
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Deselect",kwnames
,&obj0
,&arg2
)) goto fail
;
4749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 (arg1
)->Deselect(arg2
);
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4757 Py_INCREF(Py_None
); resultobj
= Py_None
;
4764 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
*resultobj
;
4766 wxListBox
*arg1
= (wxListBox
*) 0 ;
4767 int arg2
= (int) -1 ;
4768 PyObject
* obj0
= 0 ;
4770 (char *) "self",(char *) "itemToLeaveSelected", NULL
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListBox_DeselectAll",kwnames
,&obj0
,&arg2
)) goto fail
;
4774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 (arg1
)->DeselectAll(arg2
);
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4782 Py_INCREF(Py_None
); resultobj
= Py_None
;
4789 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxListBox
*arg1
= (wxListBox
*) 0 ;
4792 wxString
*arg2
= 0 ;
4793 bool arg3
= (bool) True
;
4795 bool temp2
= False
;
4796 PyObject
* obj0
= 0 ;
4797 PyObject
* obj1
= 0 ;
4798 PyObject
* obj2
= 0 ;
4800 (char *) "self",(char *) "s",(char *) "select", NULL
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4806 arg2
= wxString_in_helper(obj1
);
4807 if (arg2
== NULL
) SWIG_fail
;
4811 arg3
= PyInt_AsLong(obj2
) ? true : false;
4812 if (PyErr_Occurred()) SWIG_fail
;
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4821 resultobj
= PyInt_FromLong((long)result
);
4836 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
*resultobj
;
4838 wxListBox
*arg1
= (wxListBox
*) 0 ;
4840 PyObject
* obj0
= 0 ;
4842 (char *) "self", NULL
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
4846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4861 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
;
4863 wxListBox
*arg1
= (wxListBox
*) 0 ;
4865 PyObject
* obj0
= 0 ;
4867 (char *) "self",(char *) "n", NULL
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_SetFirstItem",kwnames
,&obj0
,&arg2
)) goto fail
;
4871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 (arg1
)->SetFirstItem(arg2
);
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4879 Py_INCREF(Py_None
); resultobj
= Py_None
;
4886 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
;
4888 wxListBox
*arg1
= (wxListBox
*) 0 ;
4889 wxString
*arg2
= 0 ;
4890 bool temp2
= False
;
4891 PyObject
* obj0
= 0 ;
4892 PyObject
* obj1
= 0 ;
4894 (char *) "self",(char *) "s", NULL
4897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
4898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4900 arg2
= wxString_in_helper(obj1
);
4901 if (arg2
== NULL
) SWIG_fail
;
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4911 Py_INCREF(Py_None
); resultobj
= Py_None
;
4926 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4928 wxListBox
*arg1
= (wxListBox
*) 0 ;
4930 PyObject
* obj0
= 0 ;
4932 (char *) "self",(char *) "n", NULL
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
4936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 (arg1
)->EnsureVisible(arg2
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 Py_INCREF(Py_None
); resultobj
= Py_None
;
4951 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
;
4953 wxListBox
*arg1
= (wxListBox
*) 0 ;
4954 wxString
*arg2
= 0 ;
4955 bool temp2
= False
;
4956 PyObject
* obj0
= 0 ;
4957 PyObject
* obj1
= 0 ;
4959 (char *) "self",(char *) "s", NULL
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
4963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4965 arg2
= wxString_in_helper(obj1
);
4966 if (arg2
== NULL
) SWIG_fail
;
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4976 Py_INCREF(Py_None
); resultobj
= Py_None
;
4991 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
*resultobj
;
4993 wxListBox
*arg1
= (wxListBox
*) 0 ;
4995 PyObject
* obj0
= 0 ;
4997 (char *) "self", NULL
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 resultobj
= PyInt_FromLong((long)result
);
5016 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5019 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5021 return Py_BuildValue((char *)"");
5023 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxWindow
*arg1
= (wxWindow
*) 0 ;
5027 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5028 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5029 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5030 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5031 int arg5
= (int) 0 ;
5032 wxString
*arg6
= (wxString
*) NULL
;
5033 long arg7
= (long) 0 ;
5034 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5035 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5036 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5037 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5038 wxCheckListBox
*result
;
5041 bool temp8
= False
;
5042 PyObject
* obj0
= 0 ;
5043 PyObject
* obj2
= 0 ;
5044 PyObject
* obj3
= 0 ;
5045 PyObject
* obj4
= 0 ;
5046 PyObject
* obj6
= 0 ;
5047 PyObject
* obj7
= 0 ;
5049 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
5053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5057 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5063 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5068 arg5
= PyList_Size(obj4
);
5069 arg6
= wxString_LIST_helper(obj4
);
5070 if (arg6
== NULL
) SWIG_fail
;
5074 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5076 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5081 arg9
= wxString_in_helper(obj7
);
5082 if (arg9
== NULL
) SWIG_fail
;
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5088 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5095 if (arg6
) delete [] arg6
;
5104 if (arg6
) delete [] arg6
;
5114 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
;
5116 wxCheckListBox
*result
;
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 result
= (wxCheckListBox
*)new wxCheckListBox();
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5129 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5136 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
;
5138 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5139 wxWindow
*arg2
= (wxWindow
*) 0 ;
5141 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5142 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5143 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5144 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5145 int arg6
= (int) 0 ;
5146 wxString
*arg7
= (wxString
*) NULL
;
5147 long arg8
= (long) 0 ;
5148 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5149 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5150 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5151 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5155 bool temp9
= False
;
5156 PyObject
* obj0
= 0 ;
5157 PyObject
* obj1
= 0 ;
5158 PyObject
* obj3
= 0 ;
5159 PyObject
* obj4
= 0 ;
5160 PyObject
* obj5
= 0 ;
5161 PyObject
* obj7
= 0 ;
5162 PyObject
* obj8
= 0 ;
5164 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
5168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5169 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5173 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5179 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5184 arg6
= PyList_Size(obj5
);
5185 arg7
= wxString_LIST_helper(obj5
);
5186 if (arg7
== NULL
) SWIG_fail
;
5190 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5192 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5197 arg10
= wxString_in_helper(obj8
);
5198 if (arg10
== NULL
) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 resultobj
= PyInt_FromLong((long)result
);
5211 if (arg7
) delete [] arg7
;
5220 if (arg7
) delete [] arg7
;
5230 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5235 PyObject
* obj0
= 0 ;
5237 (char *) "self",(char *) "index", NULL
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckListBox_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
5241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 result
= (bool)(arg1
)->IsChecked(arg2
);
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5249 resultobj
= PyInt_FromLong((long)result
);
5256 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
;
5258 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5260 int arg3
= (int) True
;
5261 PyObject
* obj0
= 0 ;
5263 (char *) "self",(char *) "index",(char *) "check", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:CheckListBox_Check",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 (arg1
)->Check(arg2
,arg3
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 Py_INCREF(Py_None
); resultobj
= Py_None
;
5282 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5286 PyObject
* obj0
= 0 ;
5288 (char *) "self", NULL
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
5292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 result
= (int)(arg1
)->GetItemHeight();
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 resultobj
= PyInt_FromLong((long)result
);
5307 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5313 PyObject
* obj0
= 0 ;
5314 PyObject
* obj1
= 0 ;
5316 (char *) "self",(char *) "pt", NULL
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
5320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5323 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5327 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
5329 wxPyEndAllowThreads(__tstate
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5332 resultobj
= PyInt_FromLong((long)result
);
5339 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
*resultobj
;
5341 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5345 PyObject
* obj0
= 0 ;
5347 (char *) "self",(char *) "x",(char *) "y", NULL
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:CheckListBox_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 resultobj
= PyInt_FromLong((long)result
);
5366 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5369 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
5371 return Py_BuildValue((char *)"");
5373 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
5374 PyObject
*resultobj
;
5377 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 result
= (wxTextAttr
*)new wxTextAttr();
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5385 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5392 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
5393 PyObject
*resultobj
;
5394 wxColour
*arg1
= 0 ;
5395 wxColour
const &arg2_defvalue
= wxNullColour
;
5396 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5397 wxFont
const &arg3_defvalue
= wxNullFont
;
5398 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
5399 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
5403 PyObject
* obj0
= 0 ;
5404 PyObject
* obj1
= 0 ;
5405 PyObject
* obj2
= 0 ;
5407 if(!PyArg_ParseTuple(args
,(char *)"O|OOi:new_TextAttr",&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5410 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5415 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5419 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5426 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5431 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5438 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
5443 argc
= PyObject_Length(args
);
5444 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
5445 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5448 return _wrap_new_TextAttr__SWIG_0(self
,args
);
5450 if ((argc
>= 1) && (argc
<= 4)) {
5453 _v
= wxColour_typecheck(argv
[0]);
5457 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5460 _v
= wxColour_typecheck(argv
[1]);
5464 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5468 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
5477 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5480 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
5483 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5490 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
5495 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
*resultobj
;
5497 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5498 PyObject
* obj0
= 0 ;
5500 (char *) "self", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
5504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5519 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5522 wxColour
*arg2
= 0 ;
5524 PyObject
* obj0
= 0 ;
5525 PyObject
* obj1
= 0 ;
5527 (char *) "self",(char *) "colText", NULL
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5534 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5543 Py_INCREF(Py_None
); resultobj
= Py_None
;
5550 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
*resultobj
;
5552 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5553 wxColour
*arg2
= 0 ;
5555 PyObject
* obj0
= 0 ;
5556 PyObject
* obj1
= 0 ;
5558 (char *) "self",(char *) "colBack", NULL
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5565 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 Py_INCREF(Py_None
); resultobj
= Py_None
;
5581 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
;
5583 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5585 long arg3
= (long) wxTEXT_ATTR_FONT
;
5586 PyObject
* obj0
= 0 ;
5587 PyObject
* obj1
= 0 ;
5589 (char *) "self",(char *) "font",(char *) "flags", NULL
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5594 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5596 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5605 Py_INCREF(Py_None
); resultobj
= Py_None
;
5612 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
*resultobj
;
5614 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5616 PyObject
* obj0
= 0 ;
5618 (char *) "self",(char *) "alignment", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
5622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 Py_INCREF(Py_None
); resultobj
= Py_None
;
5637 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5639 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5640 wxArrayInt
*arg2
= 0 ;
5641 PyObject
* obj0
= 0 ;
5642 PyObject
* obj1
= 0 ;
5644 (char *) "self",(char *) "tabs", NULL
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
5648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5650 if (! PySequence_Check(obj1
)) {
5651 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
5654 arg2
= new wxArrayInt
;
5655 int i
, len
=PySequence_Length(obj1
);
5656 for (i
=0; i
<len
; i
++) {
5657 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5658 PyObject
* number
= PyNumber_Int(item
);
5659 arg2
->Add(PyInt_AS_LONG(number
));
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5671 Py_INCREF(Py_None
); resultobj
= Py_None
;
5673 if (arg2
) delete arg2
;
5678 if (arg2
) delete arg2
;
5684 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
;
5686 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5688 PyObject
* obj0
= 0 ;
5690 (char *) "self",(char *) "indent", NULL
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetLeftIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 (arg1
)->SetLeftIndent(arg2
);
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 Py_INCREF(Py_None
); resultobj
= Py_None
;
5709 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5713 PyObject
* obj0
= 0 ;
5715 (char *) "self",(char *) "indent", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetRightIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 (arg1
)->SetRightIndent(arg2
);
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5727 Py_INCREF(Py_None
); resultobj
= Py_None
;
5734 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
;
5736 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5738 PyObject
* obj0
= 0 ;
5740 (char *) "self",(char *) "flags", NULL
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
5744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 (arg1
)->SetFlags(arg2
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5752 Py_INCREF(Py_None
); resultobj
= Py_None
;
5759 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5761 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5763 PyObject
* obj0
= 0 ;
5765 (char *) "self", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
5769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) SWIG_fail
;
5777 resultobj
= PyInt_FromLong((long)result
);
5784 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5788 PyObject
* obj0
= 0 ;
5790 (char *) "self", NULL
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
5794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 resultobj
= PyInt_FromLong((long)result
);
5809 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
;
5811 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5813 PyObject
* obj0
= 0 ;
5815 (char *) "self", NULL
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
5819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 resultobj
= PyInt_FromLong((long)result
);
5834 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
;
5836 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5838 PyObject
* obj0
= 0 ;
5840 (char *) "self", NULL
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
5844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 resultobj
= PyInt_FromLong((long)result
);
5859 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
;
5861 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5863 PyObject
* obj0
= 0 ;
5865 (char *) "self", NULL
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
5869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5877 resultobj
= PyInt_FromLong((long)result
);
5884 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
*resultobj
;
5886 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5888 PyObject
* obj0
= 0 ;
5890 (char *) "self", NULL
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
5894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= PyInt_FromLong((long)result
);
5909 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
;
5911 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5913 PyObject
* obj0
= 0 ;
5915 (char *) "self", NULL
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
5919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= PyInt_FromLong((long)result
);
5934 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
;
5936 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5939 PyObject
* obj0
= 0 ;
5941 (char *) "self",(char *) "flag", NULL
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
5945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= PyInt_FromLong((long)result
);
5960 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
*resultobj
;
5962 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5964 PyObject
* obj0
= 0 ;
5966 (char *) "self", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
5970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
5975 result
= (wxColour
*) &_result_ref
;
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
5988 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
*resultobj
;
5990 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5992 PyObject
* obj0
= 0 ;
5994 (char *) "self", NULL
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
5998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6003 result
= (wxColour
*) &_result_ref
;
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6016 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6020 PyObject
* obj0
= 0 ;
6022 (char *) "self", NULL
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6031 result
= (wxFont
*) &_result_ref
;
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6044 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
;
6046 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6048 PyObject
* obj0
= 0 ;
6050 (char *) "self", NULL
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= PyInt_FromLong((long)result
);
6069 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
*resultobj
;
6071 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6073 PyObject
* obj0
= 0 ;
6075 (char *) "self", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6084 result
= (wxArrayInt
*) &_result_ref
;
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= PyList_New(0);
6093 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
6094 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
6095 PyList_Append(resultobj
, val
);
6105 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
;
6107 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6109 PyObject
* obj0
= 0 ;
6111 (char *) "self", NULL
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
6115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= PyInt_FromLong((long)result
);
6130 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6134 PyObject
* obj0
= 0 ;
6136 (char *) "self", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
6140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= PyInt_FromLong((long)result
);
6155 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6159 PyObject
* obj0
= 0 ;
6161 (char *) "self", NULL
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
6165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6168 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
6170 wxPyEndAllowThreads(__tstate
);
6171 if (PyErr_Occurred()) SWIG_fail
;
6173 resultobj
= PyInt_FromLong((long)result
);
6180 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
;
6182 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6184 PyObject
* obj0
= 0 ;
6186 (char *) "self", NULL
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
6190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6198 resultobj
= PyInt_FromLong((long)result
);
6205 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
*resultobj
;
6207 wxTextAttr
*arg1
= 0 ;
6208 wxTextAttr
*arg2
= 0 ;
6209 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
6211 PyObject
* obj0
= 0 ;
6212 PyObject
* obj1
= 0 ;
6213 PyObject
* obj2
= 0 ;
6215 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6221 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6223 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6225 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6227 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6236 wxTextAttr
* resultptr
;
6237 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
6238 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
6246 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
6248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6249 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
6251 return Py_BuildValue((char *)"");
6253 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxWindow
*arg1
= (wxWindow
*) 0 ;
6257 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6258 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6259 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6260 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6261 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6262 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6263 long arg6
= (long) 0 ;
6264 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6265 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6266 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
6267 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6269 bool temp3
= False
;
6272 bool temp8
= False
;
6273 PyObject
* obj0
= 0 ;
6274 PyObject
* obj2
= 0 ;
6275 PyObject
* obj3
= 0 ;
6276 PyObject
* obj4
= 0 ;
6277 PyObject
* obj6
= 0 ;
6278 PyObject
* obj7
= 0 ;
6280 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
6284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6287 arg3
= wxString_in_helper(obj2
);
6288 if (arg3
== NULL
) SWIG_fail
;
6295 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6301 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6305 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6307 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6312 arg8
= wxString_in_helper(obj7
);
6313 if (arg8
== NULL
) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6325 resultobj
= wxPyMake_wxObject(result
);
6349 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 result
= (wxTextCtrl
*)new wxTextCtrl();
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6365 resultobj
= wxPyMake_wxObject(result
);
6373 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6375 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6376 wxWindow
*arg2
= (wxWindow
*) 0 ;
6378 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6379 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6380 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6381 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6382 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6383 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6384 long arg7
= (long) 0 ;
6385 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6386 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6387 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
6388 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6390 bool temp4
= False
;
6393 bool temp9
= False
;
6394 PyObject
* obj0
= 0 ;
6395 PyObject
* obj1
= 0 ;
6396 PyObject
* obj3
= 0 ;
6397 PyObject
* obj4
= 0 ;
6398 PyObject
* obj5
= 0 ;
6399 PyObject
* obj7
= 0 ;
6400 PyObject
* obj8
= 0 ;
6402 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
6406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6407 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6410 arg4
= wxString_in_helper(obj3
);
6411 if (arg4
== NULL
) SWIG_fail
;
6418 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6424 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6428 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6430 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6435 arg9
= wxString_in_helper(obj8
);
6436 if (arg9
== NULL
) SWIG_fail
;
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= PyInt_FromLong((long)result
);
6470 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
*resultobj
;
6472 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6474 PyObject
* obj0
= 0 ;
6476 (char *) "self", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
6480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6490 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6492 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6501 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
*resultobj
;
6503 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6504 wxString
*arg2
= 0 ;
6505 bool temp2
= False
;
6506 PyObject
* obj0
= 0 ;
6507 PyObject
* obj1
= 0 ;
6509 (char *) "self",(char *) "value", NULL
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6515 arg2
= wxString_in_helper(obj1
);
6516 if (arg2
== NULL
) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 (arg1
)->SetValue((wxString
const &)*arg2
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 Py_INCREF(Py_None
); resultobj
= Py_None
;
6541 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6542 PyObject
*resultobj
;
6543 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6547 PyObject
* obj0
= 0 ;
6549 (char *) "self",(char *) "from",(char *) "to", NULL
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6574 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
;
6576 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6579 PyObject
* obj0
= 0 ;
6581 (char *) "self",(char *) "lineNo", NULL
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= PyInt_FromLong((long)result
);
6600 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
;
6602 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6605 PyObject
* obj0
= 0 ;
6607 (char *) "self",(char *) "lineNo", NULL
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineText",kwnames
,&obj0
,&arg2
)) goto fail
;
6611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6621 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6623 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6632 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
;
6634 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6636 PyObject
* obj0
= 0 ;
6638 (char *) "self", NULL
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
6642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= PyInt_FromLong((long)result
);
6657 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6659 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6661 PyObject
* obj0
= 0 ;
6663 (char *) "self", NULL
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
6667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 resultobj
= PyInt_FromLong((long)result
);
6682 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
;
6684 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6686 PyObject
* obj0
= 0 ;
6688 (char *) "self", NULL
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
6692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= PyInt_FromLong((long)result
);
6707 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
;
6709 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6711 PyObject
* obj0
= 0 ;
6713 (char *) "self", NULL
6716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
6717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= PyInt_FromLong((long)result
);
6732 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
;
6734 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6736 PyObject
* obj0
= 0 ;
6738 (char *) "self", NULL
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
6742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6750 resultobj
= PyInt_FromLong((long)result
);
6757 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
;
6759 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6760 long *arg2
= (long *) 0 ;
6761 long *arg3
= (long *) 0 ;
6764 PyObject
* obj0
= 0 ;
6766 (char *) "self", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
6772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6780 Py_INCREF(Py_None
); resultobj
= Py_None
;
6782 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
6783 resultobj
= t_output_helper(resultobj
,o
);
6786 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6787 resultobj
= t_output_helper(resultobj
,o
);
6795 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
;
6797 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6799 PyObject
* obj0
= 0 ;
6801 (char *) "self", NULL
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
6805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6826 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
;
6828 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6829 PyObject
* obj0
= 0 ;
6831 (char *) "self", NULL
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
6835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 wxPyEndAllowThreads(__tstate
);
6841 if (PyErr_Occurred()) SWIG_fail
;
6843 Py_INCREF(Py_None
); resultobj
= Py_None
;
6850 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
*resultobj
;
6852 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6855 wxString
*arg4
= 0 ;
6856 bool temp4
= False
;
6857 PyObject
* obj0
= 0 ;
6858 PyObject
* obj3
= 0 ;
6860 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
6864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6866 arg4
= wxString_in_helper(obj3
);
6867 if (arg4
== NULL
) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 Py_INCREF(Py_None
); resultobj
= Py_None
;
6892 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6897 PyObject
* obj0
= 0 ;
6899 (char *) "self",(char *) "from",(char *) "to", NULL
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 (arg1
)->Remove(arg2
,arg3
);
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 Py_INCREF(Py_None
); resultobj
= Py_None
;
6918 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
;
6920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6921 wxString
*arg2
= 0 ;
6923 bool temp2
= False
;
6924 PyObject
* obj0
= 0 ;
6925 PyObject
* obj1
= 0 ;
6927 (char *) "self",(char *) "file", NULL
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6933 arg2
= wxString_in_helper(obj1
);
6934 if (arg2
== NULL
) SWIG_fail
;
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6944 resultobj
= PyInt_FromLong((long)result
);
6959 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
*resultobj
;
6961 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6962 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6963 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6965 bool temp2
= False
;
6966 PyObject
* obj0
= 0 ;
6967 PyObject
* obj1
= 0 ;
6969 (char *) "self",(char *) "file", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6976 arg2
= wxString_in_helper(obj1
);
6977 if (arg2
== NULL
) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 resultobj
= PyInt_FromLong((long)result
);
7003 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
*resultobj
;
7005 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7006 PyObject
* obj0
= 0 ;
7008 (char *) "self", NULL
7011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
7012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 (arg1
)->MarkDirty();
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 Py_INCREF(Py_None
); resultobj
= Py_None
;
7027 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7030 PyObject
* obj0
= 0 ;
7032 (char *) "self", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
7036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 (arg1
)->DiscardEdits();
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7044 Py_INCREF(Py_None
); resultobj
= Py_None
;
7051 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7052 PyObject
*resultobj
;
7053 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7054 unsigned long arg2
;
7055 PyObject
* obj0
= 0 ;
7056 PyObject
* obj1
= 0 ;
7058 (char *) "self",(char *) "len", NULL
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7063 arg2
= (unsigned long) PyInt_AsLong(obj1
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 (arg1
)->SetMaxLength(arg2
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 Py_INCREF(Py_None
); resultobj
= Py_None
;
7079 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7081 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7082 wxString
*arg2
= 0 ;
7083 bool temp2
= False
;
7084 PyObject
* obj0
= 0 ;
7085 PyObject
* obj1
= 0 ;
7087 (char *) "self",(char *) "text", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
7091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7093 arg2
= wxString_in_helper(obj1
);
7094 if (arg2
== NULL
) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 (arg1
)->WriteText((wxString
const &)*arg2
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 Py_INCREF(Py_None
); resultobj
= Py_None
;
7119 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
;
7121 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7122 wxString
*arg2
= 0 ;
7123 bool temp2
= False
;
7124 PyObject
* obj0
= 0 ;
7125 PyObject
* obj1
= 0 ;
7127 (char *) "self",(char *) "text", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
7131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7133 arg2
= wxString_in_helper(obj1
);
7134 if (arg2
== NULL
) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 (arg1
)->AppendText((wxString
const &)*arg2
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 Py_INCREF(Py_None
); resultobj
= Py_None
;
7159 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
;
7161 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7162 wxKeyEvent
*arg2
= 0 ;
7164 PyObject
* obj0
= 0 ;
7165 PyObject
* obj1
= 0 ;
7167 (char *) "self",(char *) "event", NULL
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
7171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7172 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7174 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= PyInt_FromLong((long)result
);
7190 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
;
7192 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7195 wxTextAttr
*arg4
= 0 ;
7197 PyObject
* obj0
= 0 ;
7198 PyObject
* obj3
= 0 ;
7200 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_SetStyle",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7205 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7207 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= PyInt_FromLong((long)result
);
7223 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7227 wxTextAttr
*arg3
= 0 ;
7229 PyObject
* obj0
= 0 ;
7230 PyObject
* obj2
= 0 ;
7232 (char *) "self",(char *) "position",(char *) "style", NULL
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:TextCtrl_GetStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7237 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7239 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= PyInt_FromLong((long)result
);
7255 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
;
7257 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7258 wxTextAttr
*arg2
= 0 ;
7260 PyObject
* obj0
= 0 ;
7261 PyObject
* obj1
= 0 ;
7263 (char *) "self",(char *) "style", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7268 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7270 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= PyInt_FromLong((long)result
);
7286 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7288 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7290 PyObject
* obj0
= 0 ;
7292 (char *) "self", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
7296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
7301 result
= (wxTextAttr
*) &_result_ref
;
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
7314 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
*resultobj
;
7316 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7320 PyObject
* obj0
= 0 ;
7322 (char *) "self",(char *) "x",(char *) "y", NULL
7325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_XYToPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= PyInt_FromLong((long)result
);
7341 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
;
7343 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7345 long *arg3
= (long *) 0 ;
7346 long *arg4
= (long *) 0 ;
7349 PyObject
* obj0
= 0 ;
7351 (char *) "self",(char *) "pos", NULL
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_PositionToXY",kwnames
,&obj0
,&arg2
)) goto fail
;
7357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 Py_INCREF(Py_None
); resultobj
= Py_None
;
7367 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7368 resultobj
= t_output_helper(resultobj
,o
);
7371 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7372 resultobj
= t_output_helper(resultobj
,o
);
7380 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7381 PyObject
*resultobj
;
7382 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7384 PyObject
* obj0
= 0 ;
7386 (char *) "self",(char *) "pos", NULL
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_ShowPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
7390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7393 (arg1
)->ShowPosition(arg2
);
7395 wxPyEndAllowThreads(__tstate
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7398 Py_INCREF(Py_None
); resultobj
= Py_None
;
7405 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
;
7407 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7408 PyObject
* obj0
= 0 ;
7410 (char *) "self", NULL
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
7414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7422 Py_INCREF(Py_None
); resultobj
= Py_None
;
7429 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7432 PyObject
* obj0
= 0 ;
7434 (char *) "self", NULL
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
7438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 Py_INCREF(Py_None
); resultobj
= Py_None
;
7453 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7456 PyObject
* obj0
= 0 ;
7458 (char *) "self", NULL
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
7462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 wxPyEndAllowThreads(__tstate
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7470 Py_INCREF(Py_None
); resultobj
= Py_None
;
7477 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
*resultobj
;
7479 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7481 PyObject
* obj0
= 0 ;
7483 (char *) "self", NULL
7486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
7487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= PyInt_FromLong((long)result
);
7502 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
;
7504 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7506 PyObject
* obj0
= 0 ;
7508 (char *) "self", NULL
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
7512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7520 resultobj
= PyInt_FromLong((long)result
);
7527 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
*resultobj
;
7529 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7531 PyObject
* obj0
= 0 ;
7533 (char *) "self", NULL
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
7537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= PyInt_FromLong((long)result
);
7552 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7555 PyObject
* obj0
= 0 ;
7557 (char *) "self", NULL
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
7561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 Py_INCREF(Py_None
); resultobj
= Py_None
;
7576 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7579 PyObject
* obj0
= 0 ;
7581 (char *) "self", NULL
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
7585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7593 Py_INCREF(Py_None
); resultobj
= Py_None
;
7600 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7601 PyObject
*resultobj
;
7602 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7604 PyObject
* obj0
= 0 ;
7606 (char *) "self", NULL
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
7610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7613 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= PyInt_FromLong((long)result
);
7625 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
;
7627 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7629 PyObject
* obj0
= 0 ;
7631 (char *) "self", NULL
7634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
7635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= PyInt_FromLong((long)result
);
7650 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7656 (char *) "self",(char *) "pos", NULL
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
7660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 (arg1
)->SetInsertionPoint(arg2
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 Py_INCREF(Py_None
); resultobj
= Py_None
;
7675 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
;
7677 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7678 PyObject
* obj0
= 0 ;
7680 (char *) "self", NULL
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
7684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 (arg1
)->SetInsertionPointEnd();
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 Py_INCREF(Py_None
); resultobj
= Py_None
;
7699 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
*resultobj
;
7701 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7703 PyObject
* obj0
= 0 ;
7705 (char *) "self", NULL
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
7709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= PyInt_FromLong((long)result
);
7724 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
;
7726 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7728 PyObject
* obj0
= 0 ;
7730 (char *) "self", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
7734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
7739 wxPyEndAllowThreads(__tstate
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7742 resultobj
= PyInt_FromLong((long)result
);
7749 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
;
7751 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7754 PyObject
* obj0
= 0 ;
7756 (char *) "self",(char *) "from",(char *) "to", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 (arg1
)->SetSelection(arg2
,arg3
);
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 Py_INCREF(Py_None
); resultobj
= Py_None
;
7775 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
;
7777 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7778 PyObject
* obj0
= 0 ;
7780 (char *) "self", NULL
7783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
7784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 (arg1
)->SelectAll();
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7792 Py_INCREF(Py_None
); resultobj
= Py_None
;
7799 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
*resultobj
;
7801 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7803 PyObject
* obj0
= 0 ;
7804 PyObject
* obj1
= 0 ;
7806 (char *) "self",(char *) "editable", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
7810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7811 arg2
= PyInt_AsLong(obj1
) ? true : false;
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 (arg1
)->SetEditable(arg2
);
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7820 Py_INCREF(Py_None
); resultobj
= Py_None
;
7827 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7828 PyObject
*resultobj
;
7829 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7830 bool arg2
= (bool) True
;
7832 PyObject
* obj0
= 0 ;
7833 PyObject
* obj1
= 0 ;
7835 (char *) "self",(char *) "show", NULL
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
7839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7841 arg2
= PyInt_AsLong(obj1
) ? true : false;
7842 if (PyErr_Occurred()) SWIG_fail
;
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7851 resultobj
= PyInt_FromLong((long)result
);
7858 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7859 PyObject
*resultobj
;
7860 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7862 PyObject
* obj0
= 0 ;
7864 (char *) "self", NULL
7867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
7868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 result
= (bool)(arg1
)->HideNativeCaret();
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7876 resultobj
= PyInt_FromLong((long)result
);
7883 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7884 PyObject
*resultobj
;
7885 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7886 wxString
*arg2
= 0 ;
7887 bool temp2
= False
;
7888 PyObject
* obj0
= 0 ;
7889 PyObject
* obj1
= 0 ;
7891 (char *) "self",(char *) "text", NULL
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7897 arg2
= wxString_in_helper(obj1
);
7898 if (arg2
== NULL
) SWIG_fail
;
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7908 Py_INCREF(Py_None
); resultobj
= Py_None
;
7923 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7929 PyObject
* obj0
= 0 ;
7931 (char *) "self",(char *) "from",(char *) "to", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetString",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7956 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7959 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
7961 return Py_BuildValue((char *)"");
7963 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
;
7966 wxMouseEvent
*arg2
= 0 ;
7969 wxTextUrlEvent
*result
;
7970 PyObject
* obj1
= 0 ;
7972 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOll:new_TextUrlEvent",kwnames
,&arg1
,&obj1
,&arg3
,&arg4
)) goto fail
;
7976 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7978 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
7994 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
7997 wxMouseEvent
*result
;
7998 PyObject
* obj0
= 0 ;
8000 (char *) "self", NULL
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
8004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
8009 result
= (wxMouseEvent
*) &_result_ref
;
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8015 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
8022 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8023 PyObject
*resultobj
;
8024 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8026 PyObject
* obj0
= 0 ;
8028 (char *) "self", NULL
8031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
8032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= PyInt_FromLong((long)result
);
8047 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8051 PyObject
* obj0
= 0 ;
8053 (char *) "self", NULL
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
8057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= PyInt_FromLong((long)result
);
8072 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8075 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
8077 return Py_BuildValue((char *)"");
8079 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8081 wxWindow
*arg1
= (wxWindow
*) 0 ;
8082 int arg2
= (int) -1 ;
8083 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8084 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8085 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8086 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8087 long arg5
= (long) wxSB_HORIZONTAL
;
8088 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
8089 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
8090 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
8091 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8092 wxScrollBar
*result
;
8095 bool temp7
= False
;
8096 PyObject
* obj0
= 0 ;
8097 PyObject
* obj2
= 0 ;
8098 PyObject
* obj3
= 0 ;
8099 PyObject
* obj5
= 0 ;
8100 PyObject
* obj6
= 0 ;
8102 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ScrollBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
8106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8110 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8116 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8120 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8122 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8127 arg7
= wxString_in_helper(obj6
);
8128 if (arg7
== NULL
) SWIG_fail
;
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8154 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 wxScrollBar
*result
;
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 result
= (wxScrollBar
*)new wxScrollBar();
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8169 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8176 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8177 PyObject
*resultobj
;
8178 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8179 wxWindow
*arg2
= (wxWindow
*) 0 ;
8180 int arg3
= (int) -1 ;
8181 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8182 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8183 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8184 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8185 long arg6
= (long) wxSB_HORIZONTAL
;
8186 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8187 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8188 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
8189 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8193 bool temp8
= False
;
8194 PyObject
* obj0
= 0 ;
8195 PyObject
* obj1
= 0 ;
8196 PyObject
* obj3
= 0 ;
8197 PyObject
* obj4
= 0 ;
8198 PyObject
* obj6
= 0 ;
8199 PyObject
* obj7
= 0 ;
8201 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
8205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8206 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8210 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8216 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8220 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8222 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8227 arg8
= wxString_in_helper(obj7
);
8228 if (arg8
== NULL
) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= PyInt_FromLong((long)result
);
8254 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
;
8256 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8258 PyObject
* obj0
= 0 ;
8260 (char *) "self", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
8264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
8269 wxPyEndAllowThreads(__tstate
);
8270 if (PyErr_Occurred()) SWIG_fail
;
8272 resultobj
= PyInt_FromLong((long)result
);
8279 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8283 PyObject
* obj0
= 0 ;
8285 (char *) "self", NULL
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
8289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8292 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8297 resultobj
= PyInt_FromLong((long)result
);
8304 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
*resultobj
;
8306 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8308 PyObject
* obj0
= 0 ;
8310 (char *) "self", NULL
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
8314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 resultobj
= PyInt_FromLong((long)result
);
8329 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
;
8331 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8333 PyObject
* obj0
= 0 ;
8335 (char *) "self", NULL
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
8339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8342 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
8344 wxPyEndAllowThreads(__tstate
);
8345 if (PyErr_Occurred()) SWIG_fail
;
8347 resultobj
= PyInt_FromLong((long)result
);
8354 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8355 PyObject
*resultobj
;
8356 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8358 PyObject
* obj0
= 0 ;
8360 (char *) "self", NULL
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
8364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 resultobj
= PyInt_FromLong((long)result
);
8379 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
;
8381 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8383 PyObject
* obj0
= 0 ;
8385 (char *) "self",(char *) "viewStart", NULL
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
8389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 (arg1
)->SetThumbPosition(arg2
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 Py_INCREF(Py_None
); resultobj
= Py_None
;
8404 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8411 bool arg6
= (bool) True
;
8412 PyObject
* obj0
= 0 ;
8413 PyObject
* obj5
= 0 ;
8415 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
8419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8421 arg6
= PyInt_AsLong(obj5
) ? true : false;
8422 if (PyErr_Occurred()) SWIG_fail
;
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8431 Py_INCREF(Py_None
); resultobj
= Py_None
;
8438 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
8440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8441 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
8443 return Py_BuildValue((char *)"");
8445 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
;
8447 wxWindow
*arg1
= (wxWindow
*) 0 ;
8448 int arg2
= (int) -1 ;
8449 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8450 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8451 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8452 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8453 long arg5
= (long) wxSP_HORIZONTAL
;
8454 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
8455 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8456 wxSpinButton
*result
;
8459 bool temp6
= False
;
8460 PyObject
* obj0
= 0 ;
8461 PyObject
* obj2
= 0 ;
8462 PyObject
* obj3
= 0 ;
8463 PyObject
* obj5
= 0 ;
8465 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_SpinButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8473 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8479 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8484 arg6
= wxString_in_helper(obj5
);
8485 if (arg6
== NULL
) SWIG_fail
;
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8511 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8513 wxSpinButton
*result
;
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8521 result
= (wxSpinButton
*)new wxSpinButton();
8523 wxPyEndAllowThreads(__tstate
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8533 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8536 wxWindow
*arg2
= (wxWindow
*) 0 ;
8537 int arg3
= (int) -1 ;
8538 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8539 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8540 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8541 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8542 long arg6
= (long) wxSP_HORIZONTAL
;
8543 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
8544 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8548 bool temp7
= False
;
8549 PyObject
* obj0
= 0 ;
8550 PyObject
* obj1
= 0 ;
8551 PyObject
* obj3
= 0 ;
8552 PyObject
* obj4
= 0 ;
8553 PyObject
* obj6
= 0 ;
8555 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8560 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8564 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8570 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8575 arg7
= wxString_in_helper(obj6
);
8576 if (arg7
== NULL
) SWIG_fail
;
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8587 resultobj
= PyInt_FromLong((long)result
);
8602 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
;
8604 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8606 PyObject
* obj0
= 0 ;
8608 (char *) "self", NULL
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
8612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= PyInt_FromLong((long)result
);
8627 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8631 PyObject
* obj0
= 0 ;
8633 (char *) "self", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
8637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 resultobj
= PyInt_FromLong((long)result
);
8652 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8654 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8656 PyObject
* obj0
= 0 ;
8658 (char *) "self", NULL
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
8662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= PyInt_FromLong((long)result
);
8677 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8681 PyObject
* obj0
= 0 ;
8683 (char *) "self",(char *) "val", NULL
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
8687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 (arg1
)->SetValue(arg2
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8695 Py_INCREF(Py_None
); resultobj
= Py_None
;
8702 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
*resultobj
;
8704 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8706 PyObject
* obj0
= 0 ;
8708 (char *) "self",(char *) "minVal", NULL
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
8712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 (arg1
)->SetMin(arg2
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 Py_INCREF(Py_None
); resultobj
= Py_None
;
8727 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
;
8729 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8731 PyObject
* obj0
= 0 ;
8733 (char *) "self",(char *) "maxVal", NULL
8736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
8737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8740 (arg1
)->SetMax(arg2
);
8742 wxPyEndAllowThreads(__tstate
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8745 Py_INCREF(Py_None
); resultobj
= Py_None
;
8752 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
*resultobj
;
8754 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8757 PyObject
* obj0
= 0 ;
8759 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinButton_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 (arg1
)->SetRange(arg2
,arg3
);
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 Py_INCREF(Py_None
); resultobj
= Py_None
;
8778 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8782 PyObject
* obj0
= 0 ;
8784 (char *) "self", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
8788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= PyInt_FromLong((long)result
);
8803 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
8805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8806 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
8808 return Py_BuildValue((char *)"");
8810 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8812 wxWindow
*arg1
= (wxWindow
*) 0 ;
8813 int arg2
= (int) -1 ;
8814 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8815 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8816 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8817 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8818 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8819 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8820 long arg6
= (long) wxSP_ARROW_KEYS
;
8821 int arg7
= (int) 0 ;
8822 int arg8
= (int) 100 ;
8823 int arg9
= (int) 0 ;
8824 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
8825 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
8827 bool temp3
= False
;
8830 bool temp10
= False
;
8831 PyObject
* obj0
= 0 ;
8832 PyObject
* obj2
= 0 ;
8833 PyObject
* obj3
= 0 ;
8834 PyObject
* obj4
= 0 ;
8835 PyObject
* obj9
= 0 ;
8837 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
)) goto fail
;
8841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8844 arg3
= wxString_in_helper(obj2
);
8845 if (arg3
== NULL
) SWIG_fail
;
8852 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8858 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8863 arg10
= wxString_in_helper(obj9
);
8864 if (arg10
== NULL
) SWIG_fail
;
8869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8870 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
8872 wxPyEndAllowThreads(__tstate
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8875 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
8898 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
;
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 result
= (wxSpinCtrl
*)new wxSpinCtrl();
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8913 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
8920 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
;
8922 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8923 wxWindow
*arg2
= (wxWindow
*) 0 ;
8924 int arg3
= (int) -1 ;
8925 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8926 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8927 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8928 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8929 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8930 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8931 long arg7
= (long) wxSP_ARROW_KEYS
;
8932 int arg8
= (int) 0 ;
8933 int arg9
= (int) 100 ;
8934 int arg10
= (int) 0 ;
8935 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
8936 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
8938 bool temp4
= False
;
8941 bool temp11
= False
;
8942 PyObject
* obj0
= 0 ;
8943 PyObject
* obj1
= 0 ;
8944 PyObject
* obj3
= 0 ;
8945 PyObject
* obj4
= 0 ;
8946 PyObject
* obj5
= 0 ;
8947 PyObject
* obj10
= 0 ;
8949 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&arg8
,&arg9
,&arg10
,&obj10
)) goto fail
;
8953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8954 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8957 arg4
= wxString_in_helper(obj3
);
8958 if (arg4
== NULL
) SWIG_fail
;
8965 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8971 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8976 arg11
= wxString_in_helper(obj10
);
8977 if (arg11
== NULL
) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 resultobj
= PyInt_FromLong((long)result
);
9011 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
*resultobj
;
9013 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9015 PyObject
* obj0
= 0 ;
9017 (char *) "self", NULL
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= PyInt_FromLong((long)result
);
9036 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9040 PyObject
* obj0
= 0 ;
9042 (char *) "self",(char *) "value", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinCtrl_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 (arg1
)->SetValue(arg2
);
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 Py_INCREF(Py_None
); resultobj
= Py_None
;
9061 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9064 wxString
*arg2
= 0 ;
9065 bool temp2
= False
;
9066 PyObject
* obj0
= 0 ;
9067 PyObject
* obj1
= 0 ;
9069 (char *) "self",(char *) "text", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
9073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9075 arg2
= wxString_in_helper(obj1
);
9076 if (arg2
== NULL
) SWIG_fail
;
9080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 (arg1
)->SetValue((wxString
const &)*arg2
);
9083 wxPyEndAllowThreads(__tstate
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9086 Py_INCREF(Py_None
); resultobj
= Py_None
;
9101 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
;
9103 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9106 PyObject
* obj0
= 0 ;
9108 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinCtrl_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 (arg1
)->SetRange(arg2
,arg3
);
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9120 Py_INCREF(Py_None
); resultobj
= Py_None
;
9127 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
*resultobj
;
9129 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9131 PyObject
* obj0
= 0 ;
9133 (char *) "self", NULL
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
9137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= PyInt_FromLong((long)result
);
9152 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9156 PyObject
* obj0
= 0 ;
9158 (char *) "self", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
9162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9165 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9170 resultobj
= PyInt_FromLong((long)result
);
9177 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
*resultobj
;
9179 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9182 PyObject
* obj0
= 0 ;
9184 (char *) "self",(char *) "from",(char *) "to", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:SpinCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 (arg1
)->SetSelection(arg2
,arg3
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 Py_INCREF(Py_None
); resultobj
= Py_None
;
9203 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9206 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
9208 return Py_BuildValue((char *)"");
9210 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9212 wxWindow
*arg1
= (wxWindow
*) 0 ;
9214 wxString
*arg3
= 0 ;
9215 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9216 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9217 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9218 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9219 int arg6
= (int) 0 ;
9220 wxString
*arg7
= (wxString
*) NULL
;
9221 int arg8
= (int) 0 ;
9222 long arg9
= (long) wxRA_HORIZONTAL
;
9223 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
9224 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
9225 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
9226 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9228 bool temp3
= False
;
9231 bool temp10
= False
;
9232 PyObject
* obj0
= 0 ;
9233 PyObject
* obj2
= 0 ;
9234 PyObject
* obj3
= 0 ;
9235 PyObject
* obj4
= 0 ;
9236 PyObject
* obj5
= 0 ;
9237 PyObject
* obj8
= 0 ;
9238 PyObject
* obj9
= 0 ;
9240 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOOilOO:new_RadioBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&arg9
,&obj8
,&obj9
)) goto fail
;
9244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9246 arg3
= wxString_in_helper(obj2
);
9247 if (arg3
== NULL
) SWIG_fail
;
9253 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9259 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9264 arg6
= PyList_Size(obj5
);
9265 arg7
= wxString_LIST_helper(obj5
);
9266 if (arg7
== NULL
) SWIG_fail
;
9270 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9271 if (arg10
== NULL
) {
9272 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9277 arg11
= wxString_in_helper(obj9
);
9278 if (arg11
== NULL
) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 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
);
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9295 if (arg7
) delete [] arg7
;
9308 if (arg7
) delete [] arg7
;
9318 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
;
9325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= (wxRadioBox
*)new wxRadioBox();
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9333 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9340 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9343 wxWindow
*arg2
= (wxWindow
*) 0 ;
9345 wxString
*arg4
= 0 ;
9346 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9347 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9348 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9349 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9350 int arg7
= (int) 0 ;
9351 wxString
*arg8
= (wxString
*) NULL
;
9352 int arg9
= (int) 0 ;
9353 long arg10
= (long) wxRA_HORIZONTAL
;
9354 wxValidator
const &arg11_defvalue
= wxDefaultValidator
;
9355 wxValidator
*arg11
= (wxValidator
*) &arg11_defvalue
;
9356 wxString
const &arg12_defvalue
= wxPyRadioBoxNameStr
;
9357 wxString
*arg12
= (wxString
*) &arg12_defvalue
;
9359 bool temp4
= False
;
9362 bool temp11
= False
;
9363 PyObject
* obj0
= 0 ;
9364 PyObject
* obj1
= 0 ;
9365 PyObject
* obj3
= 0 ;
9366 PyObject
* obj4
= 0 ;
9367 PyObject
* obj5
= 0 ;
9368 PyObject
* obj6
= 0 ;
9369 PyObject
* obj9
= 0 ;
9370 PyObject
* obj10
= 0 ;
9372 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&arg10
,&obj9
,&obj10
)) goto fail
;
9376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9377 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9379 arg4
= wxString_in_helper(obj3
);
9380 if (arg4
== NULL
) SWIG_fail
;
9386 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9392 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9397 arg7
= PyList_Size(obj6
);
9398 arg8
= wxString_LIST_helper(obj6
);
9399 if (arg8
== NULL
) SWIG_fail
;
9403 if ((SWIG_ConvertPtr(obj9
,(void **) &arg11
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9404 if (arg11
== NULL
) {
9405 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9410 arg12
= wxString_in_helper(obj10
);
9411 if (arg12
== NULL
) SWIG_fail
;
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 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
);
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9422 resultobj
= PyInt_FromLong((long)result
);
9428 if (arg8
) delete [] arg8
;
9441 if (arg8
) delete [] arg8
;
9451 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
*resultobj
;
9453 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9455 PyObject
* obj0
= 0 ;
9457 (char *) "self",(char *) "n", NULL
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
9461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 (arg1
)->SetSelection(arg2
);
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9469 Py_INCREF(Py_None
); resultobj
= Py_None
;
9476 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
*resultobj
;
9478 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9480 PyObject
* obj0
= 0 ;
9482 (char *) "self", NULL
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 resultobj
= PyInt_FromLong((long)result
);
9501 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
;
9503 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9505 PyObject
* obj0
= 0 ;
9507 (char *) "self", NULL
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
9511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9532 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
*resultobj
;
9534 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9535 wxString
*arg2
= 0 ;
9537 bool temp2
= False
;
9538 PyObject
* obj0
= 0 ;
9539 PyObject
* obj1
= 0 ;
9541 (char *) "self",(char *) "s", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9547 arg2
= wxString_in_helper(obj1
);
9548 if (arg2
== NULL
) SWIG_fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= PyInt_FromLong((long)result
);
9573 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
;
9575 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9577 PyObject
* obj0
= 0 ;
9579 (char *) "self", NULL
9582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
9583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 resultobj
= PyInt_FromLong((long)result
);
9598 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9601 wxString
*arg2
= 0 ;
9603 bool temp2
= False
;
9604 PyObject
* obj0
= 0 ;
9605 PyObject
* obj1
= 0 ;
9607 (char *) "self",(char *) "s", NULL
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
9611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9613 arg2
= wxString_in_helper(obj1
);
9614 if (arg2
== NULL
) SWIG_fail
;
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9624 resultobj
= PyInt_FromLong((long)result
);
9639 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
*resultobj
;
9641 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9644 PyObject
* obj0
= 0 ;
9646 (char *) "self",(char *) "n", NULL
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
9650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9671 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
*resultobj
;
9673 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9675 wxString
*arg3
= 0 ;
9676 bool temp3
= False
;
9677 PyObject
* obj0
= 0 ;
9678 PyObject
* obj2
= 0 ;
9680 (char *) "self",(char *) "n",(char *) "label", NULL
9683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:RadioBox_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9686 arg3
= wxString_in_helper(obj2
);
9687 if (arg3
== NULL
) SWIG_fail
;
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9697 Py_INCREF(Py_None
); resultobj
= Py_None
;
9712 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9716 bool arg3
= (bool) True
;
9717 PyObject
* obj0
= 0 ;
9718 PyObject
* obj2
= 0 ;
9720 (char *) "self",(char *) "n",(char *) "enable", NULL
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_EnableItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9726 arg3
= PyInt_AsLong(obj2
) ? true : false;
9727 if (PyErr_Occurred()) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 (arg1
)->Enable(arg2
,arg3
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 Py_INCREF(Py_None
); resultobj
= Py_None
;
9743 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
;
9745 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9747 bool arg3
= (bool) True
;
9748 PyObject
* obj0
= 0 ;
9749 PyObject
* obj2
= 0 ;
9751 (char *) "self",(char *) "n",(char *) "show", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_ShowItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9757 arg3
= PyInt_AsLong(obj2
) ? true : false;
9758 if (PyErr_Occurred()) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 (arg1
)->Show(arg2
,arg3
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 Py_INCREF(Py_None
); resultobj
= Py_None
;
9774 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
;
9776 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9778 PyObject
* obj0
= 0 ;
9780 (char *) "self", NULL
9783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
9784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= PyInt_FromLong((long)result
);
9799 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
*resultobj
;
9801 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9803 PyObject
* obj0
= 0 ;
9805 (char *) "self", NULL
9808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
9809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= PyInt_FromLong((long)result
);
9824 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
;
9826 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9831 PyObject
* obj0
= 0 ;
9833 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:RadioBox_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
9837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9845 resultobj
= PyInt_FromLong((long)result
);
9852 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
9854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9855 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
9857 return Py_BuildValue((char *)"");
9859 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
;
9861 wxWindow
*arg1
= (wxWindow
*) 0 ;
9863 wxString
*arg3
= 0 ;
9864 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9865 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9866 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9867 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9868 long arg6
= (long) 0 ;
9869 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9870 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9871 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
9872 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9873 wxRadioButton
*result
;
9874 bool temp3
= False
;
9877 bool temp8
= False
;
9878 PyObject
* obj0
= 0 ;
9879 PyObject
* obj2
= 0 ;
9880 PyObject
* obj3
= 0 ;
9881 PyObject
* obj4
= 0 ;
9882 PyObject
* obj6
= 0 ;
9883 PyObject
* obj7
= 0 ;
9885 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_RadioButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
9889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9891 arg3
= wxString_in_helper(obj2
);
9892 if (arg3
== NULL
) SWIG_fail
;
9898 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9904 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9908 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9910 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9915 arg8
= wxString_in_helper(obj7
);
9916 if (arg8
== NULL
) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
9950 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
;
9952 wxRadioButton
*result
;
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 result
= (wxRadioButton
*)new wxRadioButton();
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9965 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
9972 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
9975 wxWindow
*arg2
= (wxWindow
*) 0 ;
9977 wxString
*arg4
= 0 ;
9978 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9979 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9980 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9981 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9982 long arg7
= (long) 0 ;
9983 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9984 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9985 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
9986 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9988 bool temp4
= False
;
9991 bool temp9
= False
;
9992 PyObject
* obj0
= 0 ;
9993 PyObject
* obj1
= 0 ;
9994 PyObject
* obj3
= 0 ;
9995 PyObject
* obj4
= 0 ;
9996 PyObject
* obj5
= 0 ;
9997 PyObject
* obj7
= 0 ;
9998 PyObject
* obj8
= 0 ;
10000 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
10004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10005 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10007 arg4
= wxString_in_helper(obj3
);
10008 if (arg4
== NULL
) SWIG_fail
;
10014 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10020 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10024 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10025 if (arg8
== NULL
) {
10026 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10031 arg9
= wxString_in_helper(obj8
);
10032 if (arg9
== NULL
) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10043 resultobj
= PyInt_FromLong((long)result
);
10066 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
*resultobj
;
10068 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10070 PyObject
* obj0
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "self", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
10076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 result
= (bool)(arg1
)->GetValue();
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10084 resultobj
= PyInt_FromLong((long)result
);
10091 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
;
10093 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10095 PyObject
* obj0
= 0 ;
10096 PyObject
* obj1
= 0 ;
10097 char *kwnames
[] = {
10098 (char *) "self",(char *) "value", NULL
10101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10103 arg2
= PyInt_AsLong(obj1
) ? true : false;
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 (arg1
)->SetValue(arg2
);
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 Py_INCREF(Py_None
); resultobj
= Py_None
;
10119 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
10121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10122 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
10124 return Py_BuildValue((char *)"");
10126 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
*resultobj
;
10128 wxWindow
*arg1
= (wxWindow
*) 0 ;
10133 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
10134 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
10135 wxSize
const &arg7_defvalue
= wxDefaultSize
;
10136 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
10137 long arg8
= (long) wxSL_HORIZONTAL
;
10138 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10139 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10140 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
10141 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10145 bool temp10
= False
;
10146 PyObject
* obj0
= 0 ;
10147 PyObject
* obj5
= 0 ;
10148 PyObject
* obj6
= 0 ;
10149 PyObject
* obj8
= 0 ;
10150 PyObject
* obj9
= 0 ;
10151 char *kwnames
[] = {
10152 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOlOO:new_Slider",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
,&obj8
,&obj9
)) goto fail
;
10156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10160 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
10166 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
10170 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10171 if (arg9
== NULL
) {
10172 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10177 arg10
= wxString_in_helper(obj9
);
10178 if (arg10
== NULL
) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10189 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10204 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10207 char *kwnames
[] = {
10211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10214 result
= (wxSlider
*)new wxSlider();
10216 wxPyEndAllowThreads(__tstate
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10219 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10226 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
;
10228 wxSlider
*arg1
= (wxSlider
*) 0 ;
10229 wxWindow
*arg2
= (wxWindow
*) 0 ;
10234 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10235 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10236 wxSize
const &arg8_defvalue
= wxDefaultSize
;
10237 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
10238 long arg9
= (long) wxSL_HORIZONTAL
;
10239 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10240 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10241 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
10242 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10246 bool temp11
= False
;
10247 PyObject
* obj0
= 0 ;
10248 PyObject
* obj1
= 0 ;
10249 PyObject
* obj6
= 0 ;
10250 PyObject
* obj7
= 0 ;
10251 PyObject
* obj9
= 0 ;
10252 PyObject
* obj10
= 0 ;
10253 char *kwnames
[] = {
10254 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiiii|OOlOO:Slider_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&arg9
,&obj9
,&obj10
)) goto fail
;
10258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10259 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10263 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10269 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
10273 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10274 if (arg10
== NULL
) {
10275 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10280 arg11
= wxString_in_helper(obj10
);
10281 if (arg11
== NULL
) SWIG_fail
;
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 resultobj
= PyInt_FromLong((long)result
);
10307 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
;
10309 wxSlider
*arg1
= (wxSlider
*) 0 ;
10311 PyObject
* obj0
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= (int)((wxSlider
const *)arg1
)->GetValue();
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= PyInt_FromLong((long)result
);
10332 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
;
10334 wxSlider
*arg1
= (wxSlider
*) 0 ;
10336 PyObject
* obj0
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self",(char *) "value", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
10342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10345 (arg1
)->SetValue(arg2
);
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10350 Py_INCREF(Py_None
); resultobj
= Py_None
;
10357 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10358 PyObject
*resultobj
;
10359 wxSlider
*arg1
= (wxSlider
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10371 (arg1
)->SetRange(arg2
,arg3
);
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10376 Py_INCREF(Py_None
); resultobj
= Py_None
;
10383 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
*resultobj
;
10385 wxSlider
*arg1
= (wxSlider
*) 0 ;
10387 PyObject
* obj0
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
10393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 result
= (int)((wxSlider
const *)arg1
)->GetMin();
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 resultobj
= PyInt_FromLong((long)result
);
10408 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
;
10410 wxSlider
*arg1
= (wxSlider
*) 0 ;
10412 PyObject
* obj0
= 0 ;
10413 char *kwnames
[] = {
10414 (char *) "self", NULL
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
10418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 result
= (int)((wxSlider
const *)arg1
)->GetMax();
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10426 resultobj
= PyInt_FromLong((long)result
);
10433 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
;
10435 wxSlider
*arg1
= (wxSlider
*) 0 ;
10437 PyObject
* obj0
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self",(char *) "minValue", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
10443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 (arg1
)->SetMin(arg2
);
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10451 Py_INCREF(Py_None
); resultobj
= Py_None
;
10458 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxSlider
*arg1
= (wxSlider
*) 0 ;
10462 PyObject
* obj0
= 0 ;
10463 char *kwnames
[] = {
10464 (char *) "self",(char *) "maxValue", NULL
10467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
10468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 (arg1
)->SetMax(arg2
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 Py_INCREF(Py_None
); resultobj
= Py_None
;
10483 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxSlider
*arg1
= (wxSlider
*) 0 ;
10487 PyObject
* obj0
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self",(char *) "lineSize", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetLineSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 (arg1
)->SetLineSize(arg2
);
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 Py_INCREF(Py_None
); resultobj
= Py_None
;
10508 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxSlider
*arg1
= (wxSlider
*) 0 ;
10512 PyObject
* obj0
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self",(char *) "pageSize", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 (arg1
)->SetPageSize(arg2
);
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 Py_INCREF(Py_None
); resultobj
= Py_None
;
10533 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10535 wxSlider
*arg1
= (wxSlider
*) 0 ;
10537 PyObject
* obj0
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "self", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
10543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= PyInt_FromLong((long)result
);
10558 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxSlider
*arg1
= (wxSlider
*) 0 ;
10562 PyObject
* obj0
= 0 ;
10563 char *kwnames
[] = {
10564 (char *) "self", NULL
10567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
10568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10576 resultobj
= PyInt_FromLong((long)result
);
10583 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
;
10585 wxSlider
*arg1
= (wxSlider
*) 0 ;
10587 PyObject
* obj0
= 0 ;
10588 char *kwnames
[] = {
10589 (char *) "self",(char *) "lenPixels", NULL
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetThumbLength",kwnames
,&obj0
,&arg2
)) goto fail
;
10593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 (arg1
)->SetThumbLength(arg2
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 Py_INCREF(Py_None
); resultobj
= Py_None
;
10608 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10610 wxSlider
*arg1
= (wxSlider
*) 0 ;
10612 PyObject
* obj0
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
10618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10621 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
10623 wxPyEndAllowThreads(__tstate
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10626 resultobj
= PyInt_FromLong((long)result
);
10633 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
*resultobj
;
10635 wxSlider
*arg1
= (wxSlider
*) 0 ;
10638 PyObject
* obj0
= 0 ;
10639 char *kwnames
[] = {
10640 (char *) "self",(char *) "n",(char *) "pos", NULL
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetTickFreq",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 (arg1
)->SetTickFreq(arg2
,arg3
);
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10652 Py_INCREF(Py_None
); resultobj
= Py_None
;
10659 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
;
10661 wxSlider
*arg1
= (wxSlider
*) 0 ;
10663 PyObject
* obj0
= 0 ;
10664 char *kwnames
[] = {
10665 (char *) "self", NULL
10668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
10669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 resultobj
= PyInt_FromLong((long)result
);
10684 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
;
10686 wxSlider
*arg1
= (wxSlider
*) 0 ;
10687 PyObject
* obj0
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
10693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 (arg1
)->ClearTicks();
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 Py_INCREF(Py_None
); resultobj
= Py_None
;
10708 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
;
10710 wxSlider
*arg1
= (wxSlider
*) 0 ;
10712 PyObject
* obj0
= 0 ;
10713 char *kwnames
[] = {
10714 (char *) "self",(char *) "tickPos", NULL
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetTick",kwnames
,&obj0
,&arg2
)) goto fail
;
10718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 (arg1
)->SetTick(arg2
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 Py_INCREF(Py_None
); resultobj
= Py_None
;
10733 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
;
10735 wxSlider
*arg1
= (wxSlider
*) 0 ;
10736 PyObject
* obj0
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 (arg1
)->ClearSel();
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10750 Py_INCREF(Py_None
); resultobj
= Py_None
;
10757 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 wxSlider
*arg1
= (wxSlider
*) 0 ;
10761 PyObject
* obj0
= 0 ;
10762 char *kwnames
[] = {
10763 (char *) "self", NULL
10766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
10767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10770 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
10772 wxPyEndAllowThreads(__tstate
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10775 resultobj
= PyInt_FromLong((long)result
);
10782 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10783 PyObject
*resultobj
;
10784 wxSlider
*arg1
= (wxSlider
*) 0 ;
10786 PyObject
* obj0
= 0 ;
10787 char *kwnames
[] = {
10788 (char *) "self", NULL
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
10792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= PyInt_FromLong((long)result
);
10807 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
;
10809 wxSlider
*arg1
= (wxSlider
*) 0 ;
10812 PyObject
* obj0
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self",(char *) "min",(char *) "max", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 (arg1
)->SetSelection(arg2
,arg3
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 Py_INCREF(Py_None
); resultobj
= Py_None
;
10833 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
10835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10836 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
10838 return Py_BuildValue((char *)"");
10840 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
*resultobj
;
10842 wxWindow
*arg1
= (wxWindow
*) 0 ;
10844 wxString
*arg3
= 0 ;
10845 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10846 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10847 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10848 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10849 long arg6
= (long) 0 ;
10850 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10851 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10852 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
10853 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10854 wxToggleButton
*result
;
10855 bool temp3
= False
;
10858 bool temp8
= False
;
10859 PyObject
* obj0
= 0 ;
10860 PyObject
* obj2
= 0 ;
10861 PyObject
* obj3
= 0 ;
10862 PyObject
* obj4
= 0 ;
10863 PyObject
* obj6
= 0 ;
10864 PyObject
* obj7
= 0 ;
10865 char *kwnames
[] = {
10866 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_ToggleButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10872 arg3
= wxString_in_helper(obj2
);
10873 if (arg3
== NULL
) SWIG_fail
;
10879 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10885 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10889 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10890 if (arg7
== NULL
) {
10891 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10896 arg8
= wxString_in_helper(obj7
);
10897 if (arg8
== NULL
) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10908 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
10931 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
;
10933 wxToggleButton
*result
;
10934 char *kwnames
[] = {
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 result
= (wxToggleButton
*)new wxToggleButton();
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
10953 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
;
10955 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
10956 wxWindow
*arg2
= (wxWindow
*) 0 ;
10958 wxString
*arg4
= 0 ;
10959 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10960 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10961 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10962 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10963 long arg7
= (long) 0 ;
10964 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10965 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10966 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
10967 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10969 bool temp4
= False
;
10972 bool temp9
= False
;
10973 PyObject
* obj0
= 0 ;
10974 PyObject
* obj1
= 0 ;
10975 PyObject
* obj3
= 0 ;
10976 PyObject
* obj4
= 0 ;
10977 PyObject
* obj5
= 0 ;
10978 PyObject
* obj7
= 0 ;
10979 PyObject
* obj8
= 0 ;
10980 char *kwnames
[] = {
10981 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
10985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10986 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10988 arg4
= wxString_in_helper(obj3
);
10989 if (arg4
== NULL
) SWIG_fail
;
10995 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11001 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11005 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11006 if (arg8
== NULL
) {
11007 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11012 arg9
= wxString_in_helper(obj8
);
11013 if (arg9
== NULL
) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 resultobj
= PyInt_FromLong((long)result
);
11047 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
;
11049 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 char *kwnames
[] = {
11054 (char *) "self",(char *) "value", NULL
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11059 arg2
= PyInt_AsLong(obj1
) ? true : false;
11060 if (PyErr_Occurred()) SWIG_fail
;
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 (arg1
)->SetValue(arg2
);
11065 wxPyEndAllowThreads(__tstate
);
11066 if (PyErr_Occurred()) SWIG_fail
;
11068 Py_INCREF(Py_None
); resultobj
= Py_None
;
11075 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11076 PyObject
*resultobj
;
11077 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11079 PyObject
* obj0
= 0 ;
11080 char *kwnames
[] = {
11081 (char *) "self", NULL
11084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
11085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11093 resultobj
= PyInt_FromLong((long)result
);
11100 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11101 PyObject
*resultobj
;
11102 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11103 wxString
*arg2
= 0 ;
11104 bool temp2
= False
;
11105 PyObject
* obj0
= 0 ;
11106 PyObject
* obj1
= 0 ;
11107 char *kwnames
[] = {
11108 (char *) "self",(char *) "label", NULL
11111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
11112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11114 arg2
= wxString_in_helper(obj1
);
11115 if (arg2
== NULL
) SWIG_fail
;
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 (arg1
)->SetLabel((wxString
const &)*arg2
);
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11125 Py_INCREF(Py_None
); resultobj
= Py_None
;
11140 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
11142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11143 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
11145 return Py_BuildValue((char *)"");
11147 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11151 PyObject
* obj0
= 0 ;
11152 char *kwnames
[] = {
11153 (char *) "self", NULL
11156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
11157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= PyInt_FromLong((long)result
);
11172 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11177 PyObject
* obj0
= 0 ;
11178 PyObject
* obj1
= 0 ;
11179 char *kwnames
[] = {
11180 (char *) "self",(char *) "n", NULL
11183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11185 arg2
= (size_t) PyInt_AsLong(obj1
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= wxPyMake_wxObject(result
);
11203 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11207 PyObject
* obj0
= 0 ;
11208 char *kwnames
[] = {
11209 (char *) "self", NULL
11212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
11213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11221 resultobj
= PyInt_FromLong((long)result
);
11228 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11230 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11232 wxString
*arg3
= 0 ;
11234 bool temp3
= False
;
11235 PyObject
* obj0
= 0 ;
11236 PyObject
* obj1
= 0 ;
11237 PyObject
* obj2
= 0 ;
11238 char *kwnames
[] = {
11239 (char *) "self",(char *) "n",(char *) "strText", NULL
11242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11244 arg2
= (size_t) PyInt_AsLong(obj1
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11247 arg3
= wxString_in_helper(obj2
);
11248 if (arg3
== NULL
) SWIG_fail
;
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11258 resultobj
= PyInt_FromLong((long)result
);
11273 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11278 PyObject
* obj0
= 0 ;
11279 PyObject
* obj1
= 0 ;
11280 char *kwnames
[] = {
11281 (char *) "self",(char *) "n", NULL
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
11285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11286 arg2
= (size_t) PyInt_AsLong(obj1
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11290 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11308 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
*resultobj
;
11310 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11311 wxImageList
*arg2
= (wxImageList
*) 0 ;
11312 PyObject
* obj0
= 0 ;
11313 PyObject
* obj1
= 0 ;
11314 char *kwnames
[] = {
11315 (char *) "self",(char *) "imageList", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 (arg1
)->SetImageList(arg2
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 Py_INCREF(Py_None
); resultobj
= Py_None
;
11335 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
;
11337 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11338 wxImageList
*arg2
= (wxImageList
*) 0 ;
11339 PyObject
* obj0
= 0 ;
11340 PyObject
* obj1
= 0 ;
11341 char *kwnames
[] = {
11342 (char *) "self",(char *) "imageList", NULL
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11347 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 (arg1
)->AssignImageList(arg2
);
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11355 Py_INCREF(Py_None
); resultobj
= Py_None
;
11362 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
*resultobj
;
11364 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11365 wxImageList
*result
;
11366 PyObject
* obj0
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
11372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11381 resultobj
= wxPyMake_wxObject(result
);
11389 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
*resultobj
;
11391 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11394 PyObject
* obj0
= 0 ;
11395 PyObject
* obj1
= 0 ;
11396 char *kwnames
[] = {
11397 (char *) "self",(char *) "n", NULL
11400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
11401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11402 arg2
= (size_t) PyInt_AsLong(obj1
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11411 resultobj
= PyInt_FromLong((long)result
);
11418 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11419 PyObject
*resultobj
;
11420 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11424 PyObject
* obj0
= 0 ;
11425 PyObject
* obj1
= 0 ;
11426 char *kwnames
[] = {
11427 (char *) "self",(char *) "n",(char *) "imageId", NULL
11430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11432 arg2
= (size_t) PyInt_AsLong(obj1
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
11438 wxPyEndAllowThreads(__tstate
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11441 resultobj
= PyInt_FromLong((long)result
);
11448 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11449 PyObject
*resultobj
;
11450 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "self",(char *) "size", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11463 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 Py_INCREF(Py_None
); resultobj
= Py_None
;
11479 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
;
11481 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11485 PyObject
* obj0
= 0 ;
11486 PyObject
* obj1
= 0 ;
11487 char *kwnames
[] = {
11488 (char *) "self",(char *) "sizePage", NULL
11491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11495 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11505 wxSize
* resultptr
;
11506 resultptr
= new wxSize((wxSize
&) result
);
11507 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11515 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11516 PyObject
*resultobj
;
11517 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11520 PyObject
* obj0
= 0 ;
11521 PyObject
* obj1
= 0 ;
11522 char *kwnames
[] = {
11523 (char *) "self",(char *) "n", NULL
11526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11528 arg2
= (size_t) PyInt_AsLong(obj1
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= (bool)(arg1
)->DeletePage(arg2
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= PyInt_FromLong((long)result
);
11544 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11549 PyObject
* obj0
= 0 ;
11550 PyObject
* obj1
= 0 ;
11551 char *kwnames
[] = {
11552 (char *) "self",(char *) "n", NULL
11555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11557 arg2
= (size_t) PyInt_AsLong(obj1
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 result
= (bool)(arg1
)->RemovePage(arg2
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 resultobj
= PyInt_FromLong((long)result
);
11573 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
*resultobj
;
11575 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "self", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
11583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 result
= (bool)(arg1
)->DeleteAllPages();
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11591 resultobj
= PyInt_FromLong((long)result
);
11598 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
;
11600 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11601 wxWindow
*arg2
= (wxWindow
*) 0 ;
11602 wxString
*arg3
= 0 ;
11603 bool arg4
= (bool) False
;
11604 int arg5
= (int) -1 ;
11606 bool temp3
= False
;
11607 PyObject
* obj0
= 0 ;
11608 PyObject
* obj1
= 0 ;
11609 PyObject
* obj2
= 0 ;
11610 PyObject
* obj3
= 0 ;
11611 char *kwnames
[] = {
11612 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
11616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11617 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11619 arg3
= wxString_in_helper(obj2
);
11620 if (arg3
== NULL
) SWIG_fail
;
11624 arg4
= PyInt_AsLong(obj3
) ? true : false;
11625 if (PyErr_Occurred()) SWIG_fail
;
11628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11629 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11634 resultobj
= PyInt_FromLong((long)result
);
11649 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
;
11651 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11653 wxWindow
*arg3
= (wxWindow
*) 0 ;
11654 wxString
*arg4
= 0 ;
11655 bool arg5
= (bool) False
;
11656 int arg6
= (int) -1 ;
11658 bool temp4
= False
;
11659 PyObject
* obj0
= 0 ;
11660 PyObject
* obj1
= 0 ;
11661 PyObject
* obj2
= 0 ;
11662 PyObject
* obj3
= 0 ;
11663 PyObject
* obj4
= 0 ;
11664 char *kwnames
[] = {
11665 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
)) goto fail
;
11669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11670 arg2
= (size_t) PyInt_AsLong(obj1
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11672 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11674 arg4
= wxString_in_helper(obj3
);
11675 if (arg4
== NULL
) SWIG_fail
;
11679 arg5
= PyInt_AsLong(obj4
) ? true : false;
11680 if (PyErr_Occurred()) SWIG_fail
;
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 resultobj
= PyInt_FromLong((long)result
);
11704 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11705 PyObject
*resultobj
;
11706 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11709 PyObject
* obj0
= 0 ;
11710 PyObject
* obj1
= 0 ;
11711 char *kwnames
[] = {
11712 (char *) "self",(char *) "n", NULL
11715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11717 arg2
= (size_t) PyInt_AsLong(obj1
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (int)(arg1
)->SetSelection(arg2
);
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 resultobj
= PyInt_FromLong((long)result
);
11733 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
*resultobj
;
11735 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11736 bool arg2
= (bool) True
;
11737 PyObject
* obj0
= 0 ;
11738 PyObject
* obj1
= 0 ;
11739 char *kwnames
[] = {
11740 (char *) "self",(char *) "forward", NULL
11743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11746 arg2
= PyInt_AsLong(obj1
) ? true : false;
11747 if (PyErr_Occurred()) SWIG_fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 (arg1
)->AdvanceSelection(arg2
);
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11756 Py_INCREF(Py_None
); resultobj
= Py_None
;
11763 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11766 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
11768 return Py_BuildValue((char *)"");
11770 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11773 int arg2
= (int) 0 ;
11774 int arg3
= (int) -1 ;
11775 int arg4
= (int) -1 ;
11776 wxBookCtrlEvent
*result
;
11777 char *kwnames
[] = {
11778 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_BookCtrlEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11789 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
11796 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11797 PyObject
*resultobj
;
11798 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11800 PyObject
* obj0
= 0 ;
11801 char *kwnames
[] = {
11802 (char *) "self", NULL
11805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
11806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= PyInt_FromLong((long)result
);
11821 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11825 PyObject
* obj0
= 0 ;
11826 char *kwnames
[] = {
11827 (char *) "self",(char *) "nSel", NULL
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 (arg1
)->SetSelection(arg2
);
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11839 Py_INCREF(Py_None
); resultobj
= Py_None
;
11846 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11847 PyObject
*resultobj
;
11848 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11850 PyObject
* obj0
= 0 ;
11851 char *kwnames
[] = {
11852 (char *) "self", NULL
11855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
11856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11859 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 resultobj
= PyInt_FromLong((long)result
);
11871 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11872 PyObject
*resultobj
;
11873 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11875 PyObject
* obj0
= 0 ;
11876 char *kwnames
[] = {
11877 (char *) "self",(char *) "nOldSel", NULL
11880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 (arg1
)->SetOldSelection(arg2
);
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 Py_INCREF(Py_None
); resultobj
= Py_None
;
11896 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11899 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
11901 return Py_BuildValue((char *)"");
11903 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
*resultobj
;
11905 wxWindow
*arg1
= (wxWindow
*) 0 ;
11907 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11908 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11909 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11910 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11911 long arg5
= (long) 0 ;
11912 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
11913 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11914 wxNotebook
*result
;
11917 bool temp6
= False
;
11918 PyObject
* obj0
= 0 ;
11919 PyObject
* obj2
= 0 ;
11920 PyObject
* obj3
= 0 ;
11921 PyObject
* obj5
= 0 ;
11922 char *kwnames
[] = {
11923 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Notebook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11931 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11937 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11942 arg6
= wxString_in_helper(obj5
);
11943 if (arg6
== NULL
) SWIG_fail
;
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= wxPyMake_wxObject(result
);
11971 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
;
11973 wxNotebook
*result
;
11974 char *kwnames
[] = {
11978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 result
= (wxNotebook
*)new wxNotebook();
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= wxPyMake_wxObject(result
);
11995 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
;
11997 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
11998 wxWindow
*arg2
= (wxWindow
*) 0 ;
12000 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12001 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12002 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12003 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12004 long arg6
= (long) 0 ;
12005 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
12006 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12010 bool temp7
= False
;
12011 PyObject
* obj0
= 0 ;
12012 PyObject
* obj1
= 0 ;
12013 PyObject
* obj3
= 0 ;
12014 PyObject
* obj4
= 0 ;
12015 PyObject
* obj6
= 0 ;
12016 char *kwnames
[] = {
12017 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Notebook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12022 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12026 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12032 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12037 arg7
= wxString_in_helper(obj6
);
12038 if (arg7
== NULL
) SWIG_fail
;
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= PyInt_FromLong((long)result
);
12064 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
;
12066 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12068 PyObject
* obj0
= 0 ;
12069 char *kwnames
[] = {
12070 (char *) "self", NULL
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
12074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= PyInt_FromLong((long)result
);
12089 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12090 PyObject
*resultobj
;
12091 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12094 PyObject
* obj0
= 0 ;
12095 PyObject
* obj1
= 0 ;
12096 char *kwnames
[] = {
12097 (char *) "self",(char *) "padding", NULL
12100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
12101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12104 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 (arg1
)->SetPadding((wxSize
const &)*arg2
);
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12113 Py_INCREF(Py_None
); resultobj
= Py_None
;
12120 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12121 PyObject
*resultobj
;
12122 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12125 PyObject
* obj0
= 0 ;
12126 PyObject
* obj1
= 0 ;
12127 char *kwnames
[] = {
12128 (char *) "self",(char *) "sz", NULL
12131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12135 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 Py_INCREF(Py_None
); resultobj
= Py_None
;
12151 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12152 PyObject
*resultobj
;
12153 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12154 wxPoint
*arg2
= 0 ;
12155 long *arg3
= (long *) 0 ;
12159 PyObject
* obj0
= 0 ;
12160 PyObject
* obj1
= 0 ;
12161 char *kwnames
[] = {
12162 (char *) "self",(char *) "pt", NULL
12166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
12167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12170 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
12176 wxPyEndAllowThreads(__tstate
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= PyInt_FromLong((long)result
);
12181 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12182 resultobj
= t_output_helper(resultobj
,o
);
12190 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
;
12192 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12196 PyObject
* obj0
= 0 ;
12197 PyObject
* obj1
= 0 ;
12198 char *kwnames
[] = {
12199 (char *) "self",(char *) "sizePage", NULL
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12206 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12216 wxSize
* resultptr
;
12217 resultptr
= new wxSize((wxSize
&) result
);
12218 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12226 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12229 wxWindow
*arg2
= (wxWindow
*) 0 ;
12230 wxColour
*arg3
= 0 ;
12232 PyObject
* obj0
= 0 ;
12233 PyObject
* obj1
= 0 ;
12234 PyObject
* obj2
= 0 ;
12235 char *kwnames
[] = {
12236 (char *) "self",(char *) "window",(char *) "colour", NULL
12239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12241 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12244 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12253 Py_INCREF(Py_None
); resultobj
= Py_None
;
12260 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
12262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12263 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
12265 return Py_BuildValue((char *)"");
12267 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
;
12269 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12270 int arg2
= (int) 0 ;
12271 int arg3
= (int) -1 ;
12272 int arg4
= (int) -1 ;
12273 wxNotebookEvent
*result
;
12274 char *kwnames
[] = {
12275 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_NotebookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
12293 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12296 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
12298 return Py_BuildValue((char *)"");
12300 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
;
12302 wxWindow
*arg1
= (wxWindow
*) 0 ;
12304 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12305 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12306 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12307 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12308 long arg5
= (long) 0 ;
12309 wxString
const &arg6_defvalue
= wxPyEmptyString
;
12310 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12311 wxListbook
*result
;
12314 bool temp6
= False
;
12315 PyObject
* obj0
= 0 ;
12316 PyObject
* obj2
= 0 ;
12317 PyObject
* obj3
= 0 ;
12318 PyObject
* obj5
= 0 ;
12319 char *kwnames
[] = {
12320 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Listbook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12328 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12334 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12339 arg6
= wxString_in_helper(obj5
);
12340 if (arg6
== NULL
) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12366 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
;
12368 wxListbook
*result
;
12369 char *kwnames
[] = {
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 result
= (wxListbook
*)new wxListbook();
12378 wxPyEndAllowThreads(__tstate
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12388 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
;
12390 wxListbook
*arg1
= (wxListbook
*) 0 ;
12391 wxWindow
*arg2
= (wxWindow
*) 0 ;
12393 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12394 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12395 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12396 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12397 long arg6
= (long) 0 ;
12398 wxString
const &arg7_defvalue
= wxPyEmptyString
;
12399 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12403 bool temp7
= False
;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 PyObject
* obj3
= 0 ;
12407 PyObject
* obj4
= 0 ;
12408 PyObject
* obj6
= 0 ;
12409 char *kwnames
[] = {
12410 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Listbook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12415 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12419 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12425 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12430 arg7
= wxString_in_helper(obj6
);
12431 if (arg7
== NULL
) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 resultobj
= PyInt_FromLong((long)result
);
12457 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12458 PyObject
*resultobj
;
12459 wxListbook
*arg1
= (wxListbook
*) 0 ;
12461 PyObject
* obj0
= 0 ;
12462 char *kwnames
[] = {
12463 (char *) "self", NULL
12466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
12467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= PyInt_FromLong((long)result
);
12482 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
12484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12485 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
12487 return Py_BuildValue((char *)"");
12489 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
*resultobj
;
12491 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12492 int arg2
= (int) 0 ;
12493 int arg3
= (int) -1 ;
12494 int arg4
= (int) -1 ;
12495 wxListbookEvent
*result
;
12496 char *kwnames
[] = {
12497 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ListbookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12508 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
12515 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12518 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
12520 return Py_BuildValue((char *)"");
12522 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
;
12524 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12525 wxBookCtrlSizer
*result
;
12526 PyObject
* obj0
= 0 ;
12527 char *kwnames
[] = {
12528 (char *) "nb", NULL
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
12532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12540 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
12547 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12548 PyObject
*resultobj
;
12549 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12550 PyObject
* obj0
= 0 ;
12551 char *kwnames
[] = {
12552 (char *) "self", NULL
12555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 (arg1
)->RecalcSizes();
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 Py_INCREF(Py_None
); resultobj
= Py_None
;
12571 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
;
12573 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12575 PyObject
* obj0
= 0 ;
12576 char *kwnames
[] = {
12577 (char *) "self", NULL
12580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 result
= (arg1
)->CalcMin();
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12590 wxSize
* resultptr
;
12591 resultptr
= new wxSize((wxSize
&) result
);
12592 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12600 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12601 PyObject
*resultobj
;
12602 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12603 wxBookCtrl
*result
;
12604 PyObject
* obj0
= 0 ;
12605 char *kwnames
[] = {
12606 (char *) "self", NULL
12609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
12610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 result
= (wxBookCtrl
*)(arg1
)->GetControl();
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12618 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
12625 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12628 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
12630 return Py_BuildValue((char *)"");
12632 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12633 PyObject
*resultobj
;
12634 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12635 wxNotebookSizer
*result
;
12636 PyObject
* obj0
= 0 ;
12637 char *kwnames
[] = {
12638 (char *) "nb", NULL
12641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
12642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12645 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
12647 wxPyEndAllowThreads(__tstate
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12650 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
12657 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12658 PyObject
*resultobj
;
12659 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12660 PyObject
* obj0
= 0 ;
12661 char *kwnames
[] = {
12662 (char *) "self", NULL
12665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 (arg1
)->RecalcSizes();
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12674 Py_INCREF(Py_None
); resultobj
= Py_None
;
12681 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
;
12683 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12685 PyObject
* obj0
= 0 ;
12686 char *kwnames
[] = {
12687 (char *) "self", NULL
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 result
= (arg1
)->CalcMin();
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12700 wxSize
* resultptr
;
12701 resultptr
= new wxSize((wxSize
&) result
);
12702 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12710 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
;
12712 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12713 wxNotebook
*result
;
12714 PyObject
* obj0
= 0 ;
12715 char *kwnames
[] = {
12716 (char *) "self", NULL
12719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
12720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 result
= (wxNotebook
*)(arg1
)->GetNotebook();
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12729 resultobj
= wxPyMake_wxObject(result
);
12737 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12740 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
12742 return Py_BuildValue((char *)"");
12744 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12745 PyObject
*resultobj
;
12746 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12748 PyObject
* obj0
= 0 ;
12749 char *kwnames
[] = {
12750 (char *) "self", NULL
12753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
12754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 result
= (int)(arg1
)->GetId();
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12762 resultobj
= PyInt_FromLong((long)result
);
12769 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
;
12771 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12773 PyObject
* obj0
= 0 ;
12774 char *kwnames
[] = {
12775 (char *) "self", NULL
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
12779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 result
= (wxControl
*)(arg1
)->GetControl();
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= wxPyMake_wxObject(result
);
12796 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12797 PyObject
*resultobj
;
12798 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12799 wxToolBarBase
*result
;
12800 PyObject
* obj0
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "self", NULL
12805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
12806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= wxPyMake_wxObject(result
);
12823 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12824 PyObject
*resultobj
;
12825 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12827 PyObject
* obj0
= 0 ;
12828 char *kwnames
[] = {
12829 (char *) "self", NULL
12832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
12833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 result
= (int)(arg1
)->IsButton();
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12841 resultobj
= PyInt_FromLong((long)result
);
12848 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12849 PyObject
*resultobj
;
12850 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12852 PyObject
* obj0
= 0 ;
12853 char *kwnames
[] = {
12854 (char *) "self", NULL
12857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
12858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 result
= (int)(arg1
)->IsControl();
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= PyInt_FromLong((long)result
);
12873 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12874 PyObject
*resultobj
;
12875 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12877 PyObject
* obj0
= 0 ;
12878 char *kwnames
[] = {
12879 (char *) "self", NULL
12882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
12883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12886 result
= (int)(arg1
)->IsSeparator();
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 resultobj
= PyInt_FromLong((long)result
);
12898 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
;
12900 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12902 PyObject
* obj0
= 0 ;
12903 char *kwnames
[] = {
12904 (char *) "self", NULL
12907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
12908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 result
= (int)(arg1
)->GetStyle();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= PyInt_FromLong((long)result
);
12923 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
;
12925 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12927 PyObject
* obj0
= 0 ;
12928 char *kwnames
[] = {
12929 (char *) "self", NULL
12932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
12933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12936 result
= (int)(arg1
)->GetKind();
12938 wxPyEndAllowThreads(__tstate
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12941 resultobj
= PyInt_FromLong((long)result
);
12948 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12949 PyObject
*resultobj
;
12950 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12952 PyObject
* obj0
= 0 ;
12953 char *kwnames
[] = {
12954 (char *) "self", NULL
12957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
12958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 result
= (bool)(arg1
)->IsEnabled();
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= PyInt_FromLong((long)result
);
12973 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
;
12975 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12977 PyObject
* obj0
= 0 ;
12978 char *kwnames
[] = {
12979 (char *) "self", NULL
12982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
12983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 result
= (bool)(arg1
)->IsToggled();
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 resultobj
= PyInt_FromLong((long)result
);
12998 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13002 PyObject
* obj0
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
13008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= (bool)(arg1
)->CanBeToggled();
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 resultobj
= PyInt_FromLong((long)result
);
13023 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
;
13025 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13027 PyObject
* obj0
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
13033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
13038 result
= (wxBitmap
*) &_result_ref
;
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13051 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
13061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
13066 result
= (wxBitmap
*) &_result_ref
;
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13072 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13079 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
;
13081 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13083 PyObject
* obj0
= 0 ;
13084 char *kwnames
[] = {
13085 (char *) "self", NULL
13088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
13089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (arg1
)->GetBitmap();
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13098 wxBitmap
* resultptr
;
13099 resultptr
= new wxBitmap((wxBitmap
&) result
);
13100 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13108 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
;
13110 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13112 PyObject
* obj0
= 0 ;
13113 char *kwnames
[] = {
13114 (char *) "self", NULL
13117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
13118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 result
= (arg1
)->GetLabel();
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13128 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13130 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13139 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13143 PyObject
* obj0
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
13149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 result
= (arg1
)->GetShortHelp();
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13170 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
;
13172 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13174 PyObject
* obj0
= 0 ;
13175 char *kwnames
[] = {
13176 (char *) "self", NULL
13179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
13180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 result
= (arg1
)->GetLongHelp();
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13201 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
;
13203 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13206 PyObject
* obj0
= 0 ;
13207 PyObject
* obj1
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self",(char *) "enable", NULL
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
13213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13214 arg2
= PyInt_AsLong(obj1
) ? true : false;
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= (bool)(arg1
)->Enable(arg2
);
13220 wxPyEndAllowThreads(__tstate
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13223 resultobj
= PyInt_FromLong((long)result
);
13230 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
;
13232 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13233 PyObject
* obj0
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
13239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 Py_INCREF(Py_None
); resultobj
= Py_None
;
13254 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13259 PyObject
* obj0
= 0 ;
13260 PyObject
* obj1
= 0 ;
13261 char *kwnames
[] = {
13262 (char *) "self",(char *) "toggle", NULL
13265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
13266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13267 arg2
= PyInt_AsLong(obj1
) ? true : false;
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 result
= (bool)(arg1
)->SetToggle(arg2
);
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 resultobj
= PyInt_FromLong((long)result
);
13283 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13286 wxString
*arg2
= 0 ;
13288 bool temp2
= False
;
13289 PyObject
* obj0
= 0 ;
13290 PyObject
* obj1
= 0 ;
13291 char *kwnames
[] = {
13292 (char *) "self",(char *) "help", NULL
13295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13298 arg2
= wxString_in_helper(obj1
);
13299 if (arg2
== NULL
) SWIG_fail
;
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13309 resultobj
= PyInt_FromLong((long)result
);
13324 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13325 PyObject
*resultobj
;
13326 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13327 wxString
*arg2
= 0 ;
13329 bool temp2
= False
;
13330 PyObject
* obj0
= 0 ;
13331 PyObject
* obj1
= 0 ;
13332 char *kwnames
[] = {
13333 (char *) "self",(char *) "help", NULL
13336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13339 arg2
= wxString_in_helper(obj1
);
13340 if (arg2
== NULL
) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= PyInt_FromLong((long)result
);
13365 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13366 PyObject
*resultobj
;
13367 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13368 wxBitmap
*arg2
= 0 ;
13369 PyObject
* obj0
= 0 ;
13370 PyObject
* obj1
= 0 ;
13371 char *kwnames
[] = {
13372 (char *) "self",(char *) "bmp", NULL
13375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13377 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13378 if (arg2
== NULL
) {
13379 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13383 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 Py_INCREF(Py_None
); resultobj
= Py_None
;
13395 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13396 PyObject
*resultobj
;
13397 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13398 wxBitmap
*arg2
= 0 ;
13399 PyObject
* obj0
= 0 ;
13400 PyObject
* obj1
= 0 ;
13401 char *kwnames
[] = {
13402 (char *) "self",(char *) "bmp", NULL
13405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13407 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13408 if (arg2
== NULL
) {
13409 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 Py_INCREF(Py_None
); resultobj
= Py_None
;
13425 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13428 wxString
*arg2
= 0 ;
13429 bool temp2
= False
;
13430 PyObject
* obj0
= 0 ;
13431 PyObject
* obj1
= 0 ;
13432 char *kwnames
[] = {
13433 (char *) "self",(char *) "label", NULL
13436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13439 arg2
= wxString_in_helper(obj1
);
13440 if (arg2
== NULL
) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 (arg1
)->SetLabel((wxString
const &)*arg2
);
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13450 Py_INCREF(Py_None
); resultobj
= Py_None
;
13465 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13466 PyObject
*resultobj
;
13467 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13468 PyObject
* obj0
= 0 ;
13469 char *kwnames
[] = {
13470 (char *) "self", NULL
13473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
13474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 Py_INCREF(Py_None
); resultobj
= Py_None
;
13489 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13490 PyObject
*resultobj
;
13491 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13492 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
13493 PyObject
* obj0
= 0 ;
13494 PyObject
* obj1
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "self",(char *) "tbar", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
13500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13501 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 (arg1
)->Attach(arg2
);
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13509 Py_INCREF(Py_None
); resultobj
= Py_None
;
13516 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13517 PyObject
*resultobj
;
13518 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13520 PyObject
* obj0
= 0 ;
13521 char *kwnames
[] = {
13522 (char *) "self", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
13526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13534 resultobj
= result
;
13541 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13544 PyObject
*arg2
= (PyObject
*) 0 ;
13545 PyObject
* obj0
= 0 ;
13546 PyObject
* obj1
= 0 ;
13547 char *kwnames
[] = {
13548 (char *) "self",(char *) "clientData", NULL
13551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
13552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 wxToolBarToolBase_SetClientData(arg1
,arg2
);
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13561 Py_INCREF(Py_None
); resultobj
= Py_None
;
13568 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
13570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13571 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
13573 return Py_BuildValue((char *)"");
13575 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
;
13577 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13579 wxString
*arg3
= 0 ;
13580 wxBitmap
*arg4
= 0 ;
13581 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
13582 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
13583 int arg6
= (int) wxITEM_NORMAL
;
13584 wxString
const &arg7_defvalue
= wxPyEmptyString
;
13585 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13586 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13587 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13588 PyObject
*arg9
= (PyObject
*) NULL
;
13589 wxToolBarToolBase
*result
;
13590 bool temp3
= False
;
13591 bool temp7
= False
;
13592 bool temp8
= False
;
13593 PyObject
* obj0
= 0 ;
13594 PyObject
* obj2
= 0 ;
13595 PyObject
* obj3
= 0 ;
13596 PyObject
* obj4
= 0 ;
13597 PyObject
* obj6
= 0 ;
13598 PyObject
* obj7
= 0 ;
13599 PyObject
* obj8
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
,&obj8
)) goto fail
;
13605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13607 arg3
= wxString_in_helper(obj2
);
13608 if (arg3
== NULL
) SWIG_fail
;
13611 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13612 if (arg4
== NULL
) {
13613 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13616 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13617 if (arg5
== NULL
) {
13618 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13623 arg7
= wxString_in_helper(obj6
);
13624 if (arg7
== NULL
) SWIG_fail
;
13630 arg8
= wxString_in_helper(obj7
);
13631 if (arg8
== NULL
) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13646 resultobj
= wxPyMake_wxObject(result
);
13678 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13683 wxString
*arg4
= 0 ;
13684 wxBitmap
*arg5
= 0 ;
13685 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
13686 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
13687 int arg7
= (int) wxITEM_NORMAL
;
13688 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13689 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13690 wxString
const &arg9_defvalue
= wxPyEmptyString
;
13691 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13692 PyObject
*arg10
= (PyObject
*) NULL
;
13693 wxToolBarToolBase
*result
;
13694 bool temp4
= False
;
13695 bool temp8
= False
;
13696 bool temp9
= False
;
13697 PyObject
* obj0
= 0 ;
13698 PyObject
* obj1
= 0 ;
13699 PyObject
* obj3
= 0 ;
13700 PyObject
* obj4
= 0 ;
13701 PyObject
* obj5
= 0 ;
13702 PyObject
* obj7
= 0 ;
13703 PyObject
* obj8
= 0 ;
13704 PyObject
* obj9
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
13710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13711 arg2
= (size_t) PyInt_AsLong(obj1
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 arg4
= wxString_in_helper(obj3
);
13715 if (arg4
== NULL
) SWIG_fail
;
13718 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13719 if (arg5
== NULL
) {
13720 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13723 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13724 if (arg6
== NULL
) {
13725 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13730 arg8
= wxString_in_helper(obj7
);
13731 if (arg8
== NULL
) SWIG_fail
;
13737 arg9
= wxString_in_helper(obj8
);
13738 if (arg9
== NULL
) SWIG_fail
;
13746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 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
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= wxPyMake_wxObject(result
);
13785 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
;
13787 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13788 wxControl
*arg2
= (wxControl
*) 0 ;
13789 wxToolBarToolBase
*result
;
13790 PyObject
* obj0
= 0 ;
13791 PyObject
* obj1
= 0 ;
13792 char *kwnames
[] = {
13793 (char *) "self",(char *) "control", NULL
13796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
13797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13798 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13807 resultobj
= wxPyMake_wxObject(result
);
13815 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
*resultobj
;
13817 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13819 wxControl
*arg3
= (wxControl
*) 0 ;
13820 wxToolBarToolBase
*result
;
13821 PyObject
* obj0
= 0 ;
13822 PyObject
* obj1
= 0 ;
13823 PyObject
* obj2
= 0 ;
13824 char *kwnames
[] = {
13825 (char *) "self",(char *) "pos",(char *) "control", NULL
13828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13830 arg2
= (size_t) PyInt_AsLong(obj1
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13832 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= wxPyMake_wxObject(result
);
13849 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13854 PyObject
* obj0
= 0 ;
13855 char *kwnames
[] = {
13856 (char *) "self",(char *) "id", NULL
13859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindControl",kwnames
,&obj0
,&arg2
)) goto fail
;
13860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= wxPyMake_wxObject(result
);
13877 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
;
13879 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13880 wxToolBarToolBase
*result
;
13881 PyObject
* obj0
= 0 ;
13882 char *kwnames
[] = {
13883 (char *) "self", NULL
13886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
13887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13896 resultobj
= wxPyMake_wxObject(result
);
13904 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13905 PyObject
*resultobj
;
13906 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13908 wxToolBarToolBase
*result
;
13909 PyObject
* obj0
= 0 ;
13910 PyObject
* obj1
= 0 ;
13911 char *kwnames
[] = {
13912 (char *) "self",(char *) "pos", NULL
13915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
13916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13917 arg2
= (size_t) PyInt_AsLong(obj1
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13921 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= wxPyMake_wxObject(result
);
13935 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
;
13937 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13939 wxToolBarToolBase
*result
;
13940 PyObject
* obj0
= 0 ;
13941 char *kwnames
[] = {
13942 (char *) "self",(char *) "id", NULL
13945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_RemoveTool",kwnames
,&obj0
,&arg2
)) goto fail
;
13946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13955 resultobj
= wxPyMake_wxObject(result
);
13963 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13964 PyObject
*resultobj
;
13965 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13968 PyObject
* obj0
= 0 ;
13969 PyObject
* obj1
= 0 ;
13970 char *kwnames
[] = {
13971 (char *) "self",(char *) "pos", NULL
13974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
13975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13976 arg2
= (size_t) PyInt_AsLong(obj1
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13980 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
13982 wxPyEndAllowThreads(__tstate
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13985 resultobj
= PyInt_FromLong((long)result
);
13992 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13993 PyObject
*resultobj
;
13994 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13997 PyObject
* obj0
= 0 ;
13998 char *kwnames
[] = {
13999 (char *) "self",(char *) "id", NULL
14002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_DeleteTool",kwnames
,&obj0
,&arg2
)) goto fail
;
14003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14006 result
= (bool)(arg1
)->DeleteTool(arg2
);
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14011 resultobj
= PyInt_FromLong((long)result
);
14018 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14019 PyObject
*resultobj
;
14020 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14021 PyObject
* obj0
= 0 ;
14022 char *kwnames
[] = {
14023 (char *) "self", NULL
14026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
14027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14030 (arg1
)->ClearTools();
14032 wxPyEndAllowThreads(__tstate
);
14033 if (PyErr_Occurred()) SWIG_fail
;
14035 Py_INCREF(Py_None
); resultobj
= Py_None
;
14042 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14043 PyObject
*resultobj
;
14044 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14046 PyObject
* obj0
= 0 ;
14047 char *kwnames
[] = {
14048 (char *) "self", NULL
14051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
14052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 result
= (bool)(arg1
)->Realize();
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14060 resultobj
= PyInt_FromLong((long)result
);
14067 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14068 PyObject
*resultobj
;
14069 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14072 PyObject
* obj0
= 0 ;
14073 PyObject
* obj2
= 0 ;
14074 char *kwnames
[] = {
14075 (char *) "self",(char *) "id",(char *) "enable", NULL
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_EnableTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14080 arg3
= PyInt_AsLong(obj2
) ? true : false;
14081 if (PyErr_Occurred()) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 (arg1
)->EnableTool(arg2
,arg3
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 Py_INCREF(Py_None
); resultobj
= Py_None
;
14096 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
;
14098 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14101 PyObject
* obj0
= 0 ;
14102 PyObject
* obj2
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self",(char *) "id",(char *) "toggle", NULL
14107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14109 arg3
= PyInt_AsLong(obj2
) ? true : false;
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 (arg1
)->ToggleTool(arg2
,arg3
);
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 Py_INCREF(Py_None
); resultobj
= Py_None
;
14125 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
;
14127 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14130 PyObject
* obj0
= 0 ;
14131 PyObject
* obj2
= 0 ;
14132 char *kwnames
[] = {
14133 (char *) "self",(char *) "id",(char *) "toggle", NULL
14136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToggle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14138 arg3
= PyInt_AsLong(obj2
) ? true : false;
14139 if (PyErr_Occurred()) SWIG_fail
;
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 (arg1
)->SetToggle(arg2
,arg3
);
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14147 Py_INCREF(Py_None
); resultobj
= Py_None
;
14154 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
;
14156 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14159 PyObject
* obj0
= 0 ;
14160 char *kwnames
[] = {
14161 (char *) "self",(char *) "id", NULL
14164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
14165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
14170 wxPyEndAllowThreads(__tstate
);
14171 if (PyErr_Occurred()) SWIG_fail
;
14173 resultobj
= result
;
14180 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14181 PyObject
*resultobj
;
14182 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14184 PyObject
*arg3
= (PyObject
*) 0 ;
14185 PyObject
* obj0
= 0 ;
14186 PyObject
* obj2
= 0 ;
14187 char *kwnames
[] = {
14188 (char *) "self",(char *) "id",(char *) "clientData", NULL
14191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14196 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
14198 wxPyEndAllowThreads(__tstate
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14201 Py_INCREF(Py_None
); resultobj
= Py_None
;
14208 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
;
14210 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14213 PyObject
* obj0
= 0 ;
14214 char *kwnames
[] = {
14215 (char *) "self",(char *) "id", NULL
14218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolPos",kwnames
,&obj0
,&arg2
)) goto fail
;
14219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14227 resultobj
= PyInt_FromLong((long)result
);
14234 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14235 PyObject
*resultobj
;
14236 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14239 PyObject
* obj0
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self",(char *) "id", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolState",kwnames
,&obj0
,&arg2
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (bool)(arg1
)->GetToolState(arg2
);
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14253 resultobj
= PyInt_FromLong((long)result
);
14260 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14261 PyObject
*resultobj
;
14262 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14265 PyObject
* obj0
= 0 ;
14266 char *kwnames
[] = {
14267 (char *) "self",(char *) "id", NULL
14270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
14271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14274 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= PyInt_FromLong((long)result
);
14286 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14287 PyObject
*resultobj
;
14288 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14290 wxString
*arg3
= 0 ;
14291 bool temp3
= False
;
14292 PyObject
* obj0
= 0 ;
14293 PyObject
* obj2
= 0 ;
14294 char *kwnames
[] = {
14295 (char *) "self",(char *) "id",(char *) "helpString", NULL
14298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14301 arg3
= wxString_in_helper(obj2
);
14302 if (arg3
== NULL
) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 Py_INCREF(Py_None
); resultobj
= Py_None
;
14327 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14328 PyObject
*resultobj
;
14329 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14332 PyObject
* obj0
= 0 ;
14333 char *kwnames
[] = {
14334 (char *) "self",(char *) "id", NULL
14337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 result
= (arg1
)->GetToolShortHelp(arg2
);
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14359 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
;
14361 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14363 wxString
*arg3
= 0 ;
14364 bool temp3
= False
;
14365 PyObject
* obj0
= 0 ;
14366 PyObject
* obj2
= 0 ;
14367 char *kwnames
[] = {
14368 (char *) "self",(char *) "id",(char *) "helpString", NULL
14371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14374 arg3
= wxString_in_helper(obj2
);
14375 if (arg3
== NULL
) SWIG_fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 Py_INCREF(Py_None
); resultobj
= Py_None
;
14400 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
;
14402 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14405 PyObject
* obj0
= 0 ;
14406 char *kwnames
[] = {
14407 (char *) "self",(char *) "id", NULL
14410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 result
= (arg1
)->GetToolLongHelp(arg2
);
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14432 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14437 PyObject
* obj0
= 0 ;
14438 char *kwnames
[] = {
14439 (char *) "self",(char *) "x",(char *) "y", NULL
14442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 (arg1
)->SetMargins(arg2
,arg3
);
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14451 Py_INCREF(Py_None
); resultobj
= Py_None
;
14458 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
;
14460 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14463 PyObject
* obj0
= 0 ;
14464 PyObject
* obj1
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "self",(char *) "size", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
14470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14473 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 (arg1
)->SetMargins((wxSize
const &)*arg2
);
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 Py_INCREF(Py_None
); resultobj
= Py_None
;
14489 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
;
14491 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14493 PyObject
* obj0
= 0 ;
14494 char *kwnames
[] = {
14495 (char *) "self",(char *) "packing", NULL
14498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&arg2
)) goto fail
;
14499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 (arg1
)->SetToolPacking(arg2
);
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14507 Py_INCREF(Py_None
); resultobj
= Py_None
;
14514 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14515 PyObject
*resultobj
;
14516 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14518 PyObject
* obj0
= 0 ;
14519 char *kwnames
[] = {
14520 (char *) "self",(char *) "separation", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&arg2
)) goto fail
;
14524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 (arg1
)->SetToolSeparation(arg2
);
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 Py_INCREF(Py_None
); resultobj
= Py_None
;
14539 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
14549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (arg1
)->GetToolMargins();
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14558 wxSize
* resultptr
;
14559 resultptr
= new wxSize((wxSize
&) result
);
14560 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14568 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14569 PyObject
*resultobj
;
14570 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14572 PyObject
* obj0
= 0 ;
14573 char *kwnames
[] = {
14574 (char *) "self", NULL
14577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
14578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= (arg1
)->GetMargins();
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14587 wxSize
* resultptr
;
14588 resultptr
= new wxSize((wxSize
&) result
);
14589 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14597 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14598 PyObject
*resultobj
;
14599 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14601 PyObject
* obj0
= 0 ;
14602 char *kwnames
[] = {
14603 (char *) "self", NULL
14606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
14607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14610 result
= (int)(arg1
)->GetToolPacking();
14612 wxPyEndAllowThreads(__tstate
);
14613 if (PyErr_Occurred()) SWIG_fail
;
14615 resultobj
= PyInt_FromLong((long)result
);
14622 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14623 PyObject
*resultobj
;
14624 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14626 PyObject
* obj0
= 0 ;
14627 char *kwnames
[] = {
14628 (char *) "self", NULL
14631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
14632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 result
= (int)(arg1
)->GetToolSeparation();
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14640 resultobj
= PyInt_FromLong((long)result
);
14647 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14648 PyObject
*resultobj
;
14649 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14651 PyObject
* obj0
= 0 ;
14652 char *kwnames
[] = {
14653 (char *) "self",(char *) "nRows", NULL
14656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
14657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 (arg1
)->SetRows(arg2
);
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14665 Py_INCREF(Py_None
); resultobj
= Py_None
;
14672 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14677 PyObject
* obj0
= 0 ;
14678 char *kwnames
[] = {
14679 (char *) "self",(char *) "rows",(char *) "cols", NULL
14682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 Py_INCREF(Py_None
); resultobj
= Py_None
;
14698 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "self", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
14708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14711 result
= (int)(arg1
)->GetMaxRows();
14713 wxPyEndAllowThreads(__tstate
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14716 resultobj
= PyInt_FromLong((long)result
);
14723 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14724 PyObject
*resultobj
;
14725 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14727 PyObject
* obj0
= 0 ;
14728 char *kwnames
[] = {
14729 (char *) "self", NULL
14732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
14733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (int)(arg1
)->GetMaxCols();
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= PyInt_FromLong((long)result
);
14748 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
;
14750 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14753 PyObject
* obj0
= 0 ;
14754 PyObject
* obj1
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self",(char *) "size", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14763 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14772 Py_INCREF(Py_None
); resultobj
= Py_None
;
14779 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14783 PyObject
* obj0
= 0 ;
14784 char *kwnames
[] = {
14785 (char *) "self", NULL
14788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
14789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= (arg1
)->GetToolBitmapSize();
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14798 wxSize
* resultptr
;
14799 resultptr
= new wxSize((wxSize
&) result
);
14800 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14808 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
14818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (arg1
)->GetToolSize();
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14827 wxSize
* resultptr
;
14828 resultptr
= new wxSize((wxSize
&) result
);
14829 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14837 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14842 wxToolBarToolBase
*result
;
14843 PyObject
* obj0
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self",(char *) "x",(char *) "y", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= wxPyMake_wxObject(result
);
14866 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
;
14868 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14870 PyObject
* obj0
= 0 ;
14871 char *kwnames
[] = {
14872 (char *) "self", NULL
14875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
14876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14879 result
= (bool)(arg1
)->IsVertical();
14881 wxPyEndAllowThreads(__tstate
);
14882 if (PyErr_Occurred()) SWIG_fail
;
14884 resultobj
= PyInt_FromLong((long)result
);
14891 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
14893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14894 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
14896 return Py_BuildValue((char *)"");
14898 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
;
14900 wxWindow
*arg1
= (wxWindow
*) 0 ;
14902 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14903 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14904 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14905 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14906 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
14907 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
14908 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14912 bool temp6
= False
;
14913 PyObject
* obj0
= 0 ;
14914 PyObject
* obj2
= 0 ;
14915 PyObject
* obj3
= 0 ;
14916 PyObject
* obj5
= 0 ;
14917 char *kwnames
[] = {
14918 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_ToolBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14926 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14932 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14937 arg6
= wxString_in_helper(obj5
);
14938 if (arg6
== NULL
) SWIG_fail
;
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= wxPyMake_wxObject(result
);
14966 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14967 PyObject
*resultobj
;
14969 char *kwnames
[] = {
14973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 result
= (wxToolBar
*)new wxToolBar();
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14982 resultobj
= wxPyMake_wxObject(result
);
14990 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
;
14992 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
14993 wxWindow
*arg2
= (wxWindow
*) 0 ;
14995 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14996 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14997 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14998 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14999 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
15000 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
15001 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15005 bool temp7
= False
;
15006 PyObject
* obj0
= 0 ;
15007 PyObject
* obj1
= 0 ;
15008 PyObject
* obj3
= 0 ;
15009 PyObject
* obj4
= 0 ;
15010 PyObject
* obj6
= 0 ;
15011 char *kwnames
[] = {
15012 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
15016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15017 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15021 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15027 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15032 arg7
= wxString_in_helper(obj6
);
15033 if (arg7
== NULL
) SWIG_fail
;
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= PyInt_FromLong((long)result
);
15059 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
;
15061 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15064 wxToolBarToolBase
*result
;
15065 PyObject
* obj0
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "self",(char *) "x",(char *) "y", NULL
15070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBar_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15080 resultobj
= wxPyMake_wxObject(result
);
15088 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
15090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15091 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
15093 return Py_BuildValue((char *)"");
15095 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15096 PyObject
*resultobj
;
15097 wxColour
const &arg1_defvalue
= wxNullColour
;
15098 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
15099 wxColour
const &arg2_defvalue
= wxNullColour
;
15100 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
15101 wxFont
const &arg3_defvalue
= wxNullFont
;
15102 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
15103 wxListItemAttr
*result
;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 PyObject
* obj2
= 0 ;
15109 char *kwnames
[] = {
15110 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15117 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
15123 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15127 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15128 if (arg3
== NULL
) {
15129 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15139 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
15146 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15149 wxColour
*arg2
= 0 ;
15151 PyObject
* obj0
= 0 ;
15152 PyObject
* obj1
= 0 ;
15153 char *kwnames
[] = {
15154 (char *) "self",(char *) "colText", NULL
15157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15161 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15170 Py_INCREF(Py_None
); resultobj
= Py_None
;
15177 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15178 PyObject
*resultobj
;
15179 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15180 wxColour
*arg2
= 0 ;
15182 PyObject
* obj0
= 0 ;
15183 PyObject
* obj1
= 0 ;
15184 char *kwnames
[] = {
15185 (char *) "self",(char *) "colBack", NULL
15188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15192 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15201 Py_INCREF(Py_None
); resultobj
= Py_None
;
15208 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
;
15210 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15212 PyObject
* obj0
= 0 ;
15213 PyObject
* obj1
= 0 ;
15214 char *kwnames
[] = {
15215 (char *) "self",(char *) "font", NULL
15218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15220 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15221 if (arg2
== NULL
) {
15222 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15226 (arg1
)->SetFont((wxFont
const &)*arg2
);
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 Py_INCREF(Py_None
); resultobj
= Py_None
;
15238 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15242 PyObject
* obj0
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
15248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 result
= (bool)(arg1
)->HasTextColour();
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15256 resultobj
= PyInt_FromLong((long)result
);
15263 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
;
15265 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15267 PyObject
* obj0
= 0 ;
15268 char *kwnames
[] = {
15269 (char *) "self", NULL
15272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
15273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (bool)(arg1
)->HasBackgroundColour();
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= PyInt_FromLong((long)result
);
15288 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15292 PyObject
* obj0
= 0 ;
15293 char *kwnames
[] = {
15294 (char *) "self", NULL
15297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
15298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 result
= (bool)(arg1
)->HasFont();
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 resultobj
= PyInt_FromLong((long)result
);
15313 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15317 PyObject
* obj0
= 0 ;
15318 char *kwnames
[] = {
15319 (char *) "self", NULL
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
15323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 result
= (arg1
)->GetTextColour();
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15332 wxColour
* resultptr
;
15333 resultptr
= new wxColour((wxColour
&) result
);
15334 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15342 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15343 PyObject
*resultobj
;
15344 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15346 PyObject
* obj0
= 0 ;
15347 char *kwnames
[] = {
15348 (char *) "self", NULL
15351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
15352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 result
= (arg1
)->GetBackgroundColour();
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15361 wxColour
* resultptr
;
15362 resultptr
= new wxColour((wxColour
&) result
);
15363 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15371 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15372 PyObject
*resultobj
;
15373 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15375 PyObject
* obj0
= 0 ;
15376 char *kwnames
[] = {
15377 (char *) "self", NULL
15380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
15381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 result
= (arg1
)->GetFont();
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15390 wxFont
* resultptr
;
15391 resultptr
= new wxFont((wxFont
&) result
);
15392 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
15400 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
;
15402 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15403 PyObject
* obj0
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
15409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 wxListItemAttr_Destroy(arg1
);
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15417 Py_INCREF(Py_None
); resultobj
= Py_None
;
15424 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
15426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15427 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
15429 return Py_BuildValue((char *)"");
15431 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 wxListItem
*result
;
15434 char *kwnames
[] = {
15438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
15440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15441 result
= (wxListItem
*)new wxListItem();
15443 wxPyEndAllowThreads(__tstate
);
15444 if (PyErr_Occurred()) SWIG_fail
;
15447 resultobj
= wxPyMake_wxObject(result
);
15455 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15456 PyObject
*resultobj
;
15457 wxListItem
*arg1
= (wxListItem
*) 0 ;
15458 PyObject
* obj0
= 0 ;
15459 char *kwnames
[] = {
15460 (char *) "self", NULL
15463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
15464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15469 wxPyEndAllowThreads(__tstate
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15472 Py_INCREF(Py_None
); resultobj
= Py_None
;
15479 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15480 PyObject
*resultobj
;
15481 wxListItem
*arg1
= (wxListItem
*) 0 ;
15482 PyObject
* obj0
= 0 ;
15483 char *kwnames
[] = {
15484 (char *) "self", NULL
15487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
15488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 Py_INCREF(Py_None
); resultobj
= Py_None
;
15503 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
;
15505 wxListItem
*arg1
= (wxListItem
*) 0 ;
15506 PyObject
* obj0
= 0 ;
15507 char *kwnames
[] = {
15508 (char *) "self", NULL
15511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
15512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 (arg1
)->ClearAttributes();
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15520 Py_INCREF(Py_None
); resultobj
= Py_None
;
15527 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15528 PyObject
*resultobj
;
15529 wxListItem
*arg1
= (wxListItem
*) 0 ;
15531 PyObject
* obj0
= 0 ;
15532 char *kwnames
[] = {
15533 (char *) "self",(char *) "mask", NULL
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetMask",kwnames
,&obj0
,&arg2
)) goto fail
;
15537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 (arg1
)->SetMask(arg2
);
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15545 Py_INCREF(Py_None
); resultobj
= Py_None
;
15552 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15553 PyObject
*resultobj
;
15554 wxListItem
*arg1
= (wxListItem
*) 0 ;
15556 PyObject
* obj0
= 0 ;
15557 char *kwnames
[] = {
15558 (char *) "self",(char *) "id", NULL
15561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
15562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 (arg1
)->SetId(arg2
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 Py_INCREF(Py_None
); resultobj
= Py_None
;
15577 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxListItem
*arg1
= (wxListItem
*) 0 ;
15581 PyObject
* obj0
= 0 ;
15582 char *kwnames
[] = {
15583 (char *) "self",(char *) "col", NULL
15586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
15587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 (arg1
)->SetColumn(arg2
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 Py_INCREF(Py_None
); resultobj
= Py_None
;
15602 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
;
15604 wxListItem
*arg1
= (wxListItem
*) 0 ;
15606 PyObject
* obj0
= 0 ;
15607 char *kwnames
[] = {
15608 (char *) "self",(char *) "state", NULL
15611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetState",kwnames
,&obj0
,&arg2
)) goto fail
;
15612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 (arg1
)->SetState(arg2
);
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 Py_INCREF(Py_None
); resultobj
= Py_None
;
15627 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
;
15629 wxListItem
*arg1
= (wxListItem
*) 0 ;
15631 PyObject
* obj0
= 0 ;
15632 char *kwnames
[] = {
15633 (char *) "self",(char *) "stateMask", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetStateMask",kwnames
,&obj0
,&arg2
)) goto fail
;
15637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 (arg1
)->SetStateMask(arg2
);
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 Py_INCREF(Py_None
); resultobj
= Py_None
;
15652 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
;
15654 wxListItem
*arg1
= (wxListItem
*) 0 ;
15655 wxString
*arg2
= 0 ;
15656 bool temp2
= False
;
15657 PyObject
* obj0
= 0 ;
15658 PyObject
* obj1
= 0 ;
15659 char *kwnames
[] = {
15660 (char *) "self",(char *) "text", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
15664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15666 arg2
= wxString_in_helper(obj1
);
15667 if (arg2
== NULL
) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 (arg1
)->SetText((wxString
const &)*arg2
);
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15677 Py_INCREF(Py_None
); resultobj
= Py_None
;
15692 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
;
15694 wxListItem
*arg1
= (wxListItem
*) 0 ;
15696 PyObject
* obj0
= 0 ;
15697 char *kwnames
[] = {
15698 (char *) "self",(char *) "image", NULL
15701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetImage",kwnames
,&obj0
,&arg2
)) goto fail
;
15702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15705 (arg1
)->SetImage(arg2
);
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15710 Py_INCREF(Py_None
); resultobj
= Py_None
;
15717 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
;
15719 wxListItem
*arg1
= (wxListItem
*) 0 ;
15721 PyObject
* obj0
= 0 ;
15722 char *kwnames
[] = {
15723 (char *) "self",(char *) "data", NULL
15726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetData",kwnames
,&obj0
,&arg2
)) goto fail
;
15727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 (arg1
)->SetData(arg2
);
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15735 Py_INCREF(Py_None
); resultobj
= Py_None
;
15742 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15743 PyObject
*resultobj
;
15744 wxListItem
*arg1
= (wxListItem
*) 0 ;
15746 PyObject
* obj0
= 0 ;
15747 char *kwnames
[] = {
15748 (char *) "self",(char *) "width", NULL
15751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
15752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 (arg1
)->SetWidth(arg2
);
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 Py_INCREF(Py_None
); resultobj
= Py_None
;
15767 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxListItem
*arg1
= (wxListItem
*) 0 ;
15771 PyObject
* obj0
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self",(char *) "align", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetAlign",kwnames
,&obj0
,&arg2
)) goto fail
;
15777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15785 Py_INCREF(Py_None
); resultobj
= Py_None
;
15792 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
;
15794 wxListItem
*arg1
= (wxListItem
*) 0 ;
15795 wxColour
*arg2
= 0 ;
15797 PyObject
* obj0
= 0 ;
15798 PyObject
* obj1
= 0 ;
15799 char *kwnames
[] = {
15800 (char *) "self",(char *) "colText", NULL
15803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15807 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15816 Py_INCREF(Py_None
); resultobj
= Py_None
;
15823 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15824 PyObject
*resultobj
;
15825 wxListItem
*arg1
= (wxListItem
*) 0 ;
15826 wxColour
*arg2
= 0 ;
15828 PyObject
* obj0
= 0 ;
15829 PyObject
* obj1
= 0 ;
15830 char *kwnames
[] = {
15831 (char *) "self",(char *) "colBack", NULL
15834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15838 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15842 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15847 Py_INCREF(Py_None
); resultobj
= Py_None
;
15854 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15855 PyObject
*resultobj
;
15856 wxListItem
*arg1
= (wxListItem
*) 0 ;
15858 PyObject
* obj0
= 0 ;
15859 PyObject
* obj1
= 0 ;
15860 char *kwnames
[] = {
15861 (char *) "self",(char *) "font", NULL
15864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15866 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15867 if (arg2
== NULL
) {
15868 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15872 (arg1
)->SetFont((wxFont
const &)*arg2
);
15874 wxPyEndAllowThreads(__tstate
);
15875 if (PyErr_Occurred()) SWIG_fail
;
15877 Py_INCREF(Py_None
); resultobj
= Py_None
;
15884 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15885 PyObject
*resultobj
;
15886 wxListItem
*arg1
= (wxListItem
*) 0 ;
15888 PyObject
* obj0
= 0 ;
15889 char *kwnames
[] = {
15890 (char *) "self", NULL
15893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
15894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 result
= (long)(arg1
)->GetMask();
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15902 resultobj
= PyInt_FromLong((long)result
);
15909 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxListItem
*arg1
= (wxListItem
*) 0 ;
15913 PyObject
* obj0
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "self", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
15919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (long)(arg1
)->GetId();
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15927 resultobj
= PyInt_FromLong((long)result
);
15934 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
;
15936 wxListItem
*arg1
= (wxListItem
*) 0 ;
15938 PyObject
* obj0
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15947 result
= (int)(arg1
)->GetColumn();
15949 wxPyEndAllowThreads(__tstate
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15952 resultobj
= PyInt_FromLong((long)result
);
15959 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15961 wxListItem
*arg1
= (wxListItem
*) 0 ;
15963 PyObject
* obj0
= 0 ;
15964 char *kwnames
[] = {
15965 (char *) "self", NULL
15968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
15969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15972 result
= (long)(arg1
)->GetState();
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= PyInt_FromLong((long)result
);
15984 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15985 PyObject
*resultobj
;
15986 wxListItem
*arg1
= (wxListItem
*) 0 ;
15988 PyObject
* obj0
= 0 ;
15989 char *kwnames
[] = {
15990 (char *) "self", NULL
15993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
15994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 wxString
const &_result_ref
= (arg1
)->GetText();
15999 result
= (wxString
*) &_result_ref
;
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16005 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
16012 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
;
16014 wxListItem
*arg1
= (wxListItem
*) 0 ;
16016 PyObject
* obj0
= 0 ;
16017 char *kwnames
[] = {
16018 (char *) "self", NULL
16021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
16022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 result
= (int)(arg1
)->GetImage();
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 resultobj
= PyInt_FromLong((long)result
);
16037 static PyObject
*_wrap_ListItem_GetData(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_GetData",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
= (long)(arg1
)->GetData();
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16055 resultobj
= PyInt_FromLong((long)result
);
16062 static PyObject
*_wrap_ListItem_GetWidth(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_GetWidth",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
= (int)(arg1
)->GetWidth();
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= PyInt_FromLong((long)result
);
16087 static PyObject
*_wrap_ListItem_GetAlign(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_GetAlign",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
)->GetAlign();
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16105 resultobj
= PyInt_FromLong((long)result
);
16112 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxListItem
*arg1
= (wxListItem
*) 0 ;
16115 wxListItemAttr
*result
;
16116 PyObject
* obj0
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "self", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",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
= (wxListItemAttr
*)(arg1
)->GetAttributes();
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16130 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
16137 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16138 PyObject
*resultobj
;
16139 wxListItem
*arg1
= (wxListItem
*) 0 ;
16141 PyObject
* obj0
= 0 ;
16142 char *kwnames
[] = {
16143 (char *) "self", NULL
16146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",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
= (bool)(arg1
)->HasAttributes();
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16155 resultobj
= PyInt_FromLong((long)result
);
16162 static PyObject
*_wrap_ListItem_GetTextColour(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_GetTextColour",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
= ((wxListItem
const *)arg1
)->GetTextColour();
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16181 wxColour
* resultptr
;
16182 resultptr
= new wxColour((wxColour
&) result
);
16183 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16191 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
;
16193 wxListItem
*arg1
= (wxListItem
*) 0 ;
16195 PyObject
* obj0
= 0 ;
16196 char *kwnames
[] = {
16197 (char *) "self", NULL
16200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
16201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16204 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
16206 wxPyEndAllowThreads(__tstate
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16210 wxColour
* resultptr
;
16211 resultptr
= new wxColour((wxColour
&) result
);
16212 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16220 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
;
16222 wxListItem
*arg1
= (wxListItem
*) 0 ;
16224 PyObject
* obj0
= 0 ;
16225 char *kwnames
[] = {
16226 (char *) "self", NULL
16229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
16230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 result
= ((wxListItem
const *)arg1
)->GetFont();
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16239 wxFont
* resultptr
;
16240 resultptr
= new wxFont((wxFont
&) result
);
16241 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
16249 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16250 PyObject
*resultobj
;
16251 wxListItem
*arg1
= (wxListItem
*) 0 ;
16253 PyObject
* obj0
= 0 ;
16254 char *kwnames
[] = {
16255 (char *) "self",(char *) "m_mask", NULL
16258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_mask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16260 if (arg1
) (arg1
)->m_mask
= arg2
;
16262 Py_INCREF(Py_None
); resultobj
= Py_None
;
16269 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxListItem
*arg1
= (wxListItem
*) 0 ;
16273 PyObject
* obj0
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
16279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16280 result
= (long) ((arg1
)->m_mask
);
16282 resultobj
= PyInt_FromLong((long)result
);
16289 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxListItem
*arg1
= (wxListItem
*) 0 ;
16293 PyObject
* obj0
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self",(char *) "m_itemId", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_itemId_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16300 if (arg1
) (arg1
)->m_itemId
= arg2
;
16302 Py_INCREF(Py_None
); resultobj
= Py_None
;
16309 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
;
16311 wxListItem
*arg1
= (wxListItem
*) 0 ;
16313 PyObject
* obj0
= 0 ;
16314 char *kwnames
[] = {
16315 (char *) "self", NULL
16318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
16319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16320 result
= (long) ((arg1
)->m_itemId
);
16322 resultobj
= PyInt_FromLong((long)result
);
16329 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16331 wxListItem
*arg1
= (wxListItem
*) 0 ;
16333 PyObject
* obj0
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self",(char *) "m_col", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16340 if (arg1
) (arg1
)->m_col
= arg2
;
16342 Py_INCREF(Py_None
); resultobj
= Py_None
;
16349 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
;
16351 wxListItem
*arg1
= (wxListItem
*) 0 ;
16353 PyObject
* obj0
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
16359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16360 result
= (int) ((arg1
)->m_col
);
16362 resultobj
= PyInt_FromLong((long)result
);
16369 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
;
16371 wxListItem
*arg1
= (wxListItem
*) 0 ;
16373 PyObject
* obj0
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self",(char *) "m_state", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_state_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16380 if (arg1
) (arg1
)->m_state
= arg2
;
16382 Py_INCREF(Py_None
); resultobj
= Py_None
;
16389 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxListItem
*arg1
= (wxListItem
*) 0 ;
16393 PyObject
* obj0
= 0 ;
16394 char *kwnames
[] = {
16395 (char *) "self", NULL
16398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
16399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16400 result
= (long) ((arg1
)->m_state
);
16402 resultobj
= PyInt_FromLong((long)result
);
16409 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
;
16411 wxListItem
*arg1
= (wxListItem
*) 0 ;
16413 PyObject
* obj0
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self",(char *) "m_stateMask", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_stateMask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16420 if (arg1
) (arg1
)->m_stateMask
= arg2
;
16422 Py_INCREF(Py_None
); resultobj
= Py_None
;
16429 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16430 PyObject
*resultobj
;
16431 wxListItem
*arg1
= (wxListItem
*) 0 ;
16433 PyObject
* obj0
= 0 ;
16434 char *kwnames
[] = {
16435 (char *) "self", NULL
16438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
16439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16440 result
= (long) ((arg1
)->m_stateMask
);
16442 resultobj
= PyInt_FromLong((long)result
);
16449 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxListItem
*arg1
= (wxListItem
*) 0 ;
16453 PyObject
* obj0
= 0 ;
16454 PyObject
* obj1
= 0 ;
16455 char *kwnames
[] = {
16456 (char *) "self",(char *) "m_text", NULL
16459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16462 wxString
* sptr
= wxString_in_helper(obj1
);
16463 if (sptr
== NULL
) SWIG_fail
;
16467 if (arg1
) (arg1
)->m_text
= arg2
;
16469 Py_INCREF(Py_None
); resultobj
= Py_None
;
16476 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
;
16478 wxListItem
*arg1
= (wxListItem
*) 0 ;
16480 PyObject
* obj0
= 0 ;
16481 char *kwnames
[] = {
16482 (char *) "self", NULL
16485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
16486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16487 result
= ((arg1
)->m_text
);
16491 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16493 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16502 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16503 PyObject
*resultobj
;
16504 wxListItem
*arg1
= (wxListItem
*) 0 ;
16506 PyObject
* obj0
= 0 ;
16507 char *kwnames
[] = {
16508 (char *) "self",(char *) "m_image", NULL
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_image_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16513 if (arg1
) (arg1
)->m_image
= arg2
;
16515 Py_INCREF(Py_None
); resultobj
= Py_None
;
16522 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxListItem
*arg1
= (wxListItem
*) 0 ;
16526 PyObject
* obj0
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "self", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
16532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16533 result
= (int) ((arg1
)->m_image
);
16535 resultobj
= PyInt_FromLong((long)result
);
16542 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxListItem
*arg1
= (wxListItem
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self",(char *) "m_data", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_data_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16553 if (arg1
) (arg1
)->m_data
= arg2
;
16555 Py_INCREF(Py_None
); resultobj
= Py_None
;
16562 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16563 PyObject
*resultobj
;
16564 wxListItem
*arg1
= (wxListItem
*) 0 ;
16566 PyObject
* obj0
= 0 ;
16567 char *kwnames
[] = {
16568 (char *) "self", NULL
16571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
16572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16573 result
= (long) ((arg1
)->m_data
);
16575 resultobj
= PyInt_FromLong((long)result
);
16582 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16583 PyObject
*resultobj
;
16584 wxListItem
*arg1
= (wxListItem
*) 0 ;
16586 PyObject
* obj0
= 0 ;
16587 char *kwnames
[] = {
16588 (char *) "self",(char *) "m_format", NULL
16591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_format_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16593 if (arg1
) (arg1
)->m_format
= arg2
;
16595 Py_INCREF(Py_None
); resultobj
= Py_None
;
16602 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16603 PyObject
*resultobj
;
16604 wxListItem
*arg1
= (wxListItem
*) 0 ;
16606 PyObject
* obj0
= 0 ;
16607 char *kwnames
[] = {
16608 (char *) "self", NULL
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
16612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16613 result
= (int) ((arg1
)->m_format
);
16615 resultobj
= PyInt_FromLong((long)result
);
16622 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
;
16624 wxListItem
*arg1
= (wxListItem
*) 0 ;
16626 PyObject
* obj0
= 0 ;
16627 char *kwnames
[] = {
16628 (char *) "self",(char *) "m_width", NULL
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16633 if (arg1
) (arg1
)->m_width
= arg2
;
16635 Py_INCREF(Py_None
); resultobj
= Py_None
;
16642 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
;
16644 wxListItem
*arg1
= (wxListItem
*) 0 ;
16646 PyObject
* obj0
= 0 ;
16647 char *kwnames
[] = {
16648 (char *) "self", NULL
16651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
16652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16653 result
= (int) ((arg1
)->m_width
);
16655 resultobj
= PyInt_FromLong((long)result
);
16662 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
16664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16665 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
16667 return Py_BuildValue((char *)"");
16669 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16670 PyObject
*resultobj
;
16671 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16672 int arg2
= (int) 0 ;
16673 wxListEvent
*result
;
16674 char *kwnames
[] = {
16675 (char *) "commandType",(char *) "id", NULL
16678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_ListEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16686 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
16693 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16695 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16697 PyObject
* obj0
= 0 ;
16698 char *kwnames
[] = {
16699 (char *) "self",(char *) "m_code", NULL
16702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_code_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16704 if (arg1
) (arg1
)->m_code
= arg2
;
16706 Py_INCREF(Py_None
); resultobj
= Py_None
;
16713 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16717 PyObject
* obj0
= 0 ;
16718 char *kwnames
[] = {
16719 (char *) "self", NULL
16722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
16723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16724 result
= (int) ((arg1
)->m_code
);
16726 resultobj
= PyInt_FromLong((long)result
);
16733 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16734 PyObject
*resultobj
;
16735 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16737 PyObject
* obj0
= 0 ;
16738 char *kwnames
[] = {
16739 (char *) "self",(char *) "m_oldItemIndex", NULL
16742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16744 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
16746 Py_INCREF(Py_None
); resultobj
= Py_None
;
16753 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16754 PyObject
*resultobj
;
16755 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16757 PyObject
* obj0
= 0 ;
16758 char *kwnames
[] = {
16759 (char *) "self", NULL
16762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
16763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16764 result
= (long) ((arg1
)->m_oldItemIndex
);
16766 resultobj
= PyInt_FromLong((long)result
);
16773 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16775 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self",(char *) "m_itemIndex", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16784 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
16786 Py_INCREF(Py_None
); resultobj
= Py_None
;
16793 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16794 PyObject
*resultobj
;
16795 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16797 PyObject
* obj0
= 0 ;
16798 char *kwnames
[] = {
16799 (char *) "self", NULL
16802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
16803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16804 result
= (long) ((arg1
)->m_itemIndex
);
16806 resultobj
= PyInt_FromLong((long)result
);
16813 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16814 PyObject
*resultobj
;
16815 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16817 PyObject
* obj0
= 0 ;
16818 char *kwnames
[] = {
16819 (char *) "self",(char *) "m_col", NULL
16822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16824 if (arg1
) (arg1
)->m_col
= arg2
;
16826 Py_INCREF(Py_None
); resultobj
= Py_None
;
16833 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16837 PyObject
* obj0
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "self", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
16843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16844 result
= (int) ((arg1
)->m_col
);
16846 resultobj
= PyInt_FromLong((long)result
);
16853 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16854 PyObject
*resultobj
;
16855 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16856 wxPoint
*arg2
= (wxPoint
*) 0 ;
16857 PyObject
* obj0
= 0 ;
16858 PyObject
* obj1
= 0 ;
16859 char *kwnames
[] = {
16860 (char *) "self",(char *) "m_pointDrag", NULL
16863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16865 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16866 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
16868 Py_INCREF(Py_None
); resultobj
= Py_None
;
16875 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
;
16877 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16879 PyObject
* obj0
= 0 ;
16880 char *kwnames
[] = {
16881 (char *) "self", NULL
16884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
16885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16886 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
16888 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16895 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
;
16897 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16898 wxListItem
*result
;
16899 PyObject
* obj0
= 0 ;
16900 char *kwnames
[] = {
16901 (char *) "self", NULL
16904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
16905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16906 result
= (wxListItem
*)& ((arg1
)->m_item
);
16909 resultobj
= wxPyMake_wxObject(result
);
16917 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
16927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 result
= (int)(arg1
)->GetKeyCode();
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= PyInt_FromLong((long)result
);
16942 static PyObject
*_wrap_ListEvent_GetIndex(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_GetIndex",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
= (long)(arg1
)->GetIndex();
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 resultobj
= PyInt_FromLong((long)result
);
16967 static PyObject
*_wrap_ListEvent_GetColumn(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_GetColumn",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
= (int)(arg1
)->GetColumn();
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16985 resultobj
= PyInt_FromLong((long)result
);
16992 static PyObject
*_wrap_ListEvent_GetPoint(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_GetPoint",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
= (arg1
)->GetPoint();
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17011 wxPoint
* resultptr
;
17012 resultptr
= new wxPoint((wxPoint
&) result
);
17013 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17021 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
;
17023 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17025 PyObject
* obj0
= 0 ;
17026 char *kwnames
[] = {
17027 (char *) "self", NULL
17030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
17031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17035 wxString
const &_result_ref
= (arg1
)->GetLabel();
17036 result
= (wxString
*) &_result_ref
;
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
17049 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
;
17051 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17053 PyObject
* obj0
= 0 ;
17054 char *kwnames
[] = {
17055 (char *) "self", NULL
17058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
17059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17063 wxString
const &_result_ref
= (arg1
)->GetText();
17064 result
= (wxString
*) &_result_ref
;
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17070 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
17077 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
;
17079 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17081 PyObject
* obj0
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "self", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
17087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 result
= (int)(arg1
)->GetImage();
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 resultobj
= PyInt_FromLong((long)result
);
17102 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
;
17104 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17106 PyObject
* obj0
= 0 ;
17107 char *kwnames
[] = {
17108 (char *) "self", NULL
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
17112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17115 result
= (long)(arg1
)->GetData();
17117 wxPyEndAllowThreads(__tstate
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17120 resultobj
= PyInt_FromLong((long)result
);
17127 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
;
17129 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17131 PyObject
* obj0
= 0 ;
17132 char *kwnames
[] = {
17133 (char *) "self", NULL
17136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
17137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 result
= (long)(arg1
)->GetMask();
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 resultobj
= PyInt_FromLong((long)result
);
17152 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
;
17154 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17155 wxListItem
*result
;
17156 PyObject
* obj0
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "self", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
17162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 wxListItem
const &_result_ref
= (arg1
)->GetItem();
17167 result
= (wxListItem
*) &_result_ref
;
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
17180 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17184 PyObject
* obj0
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "self", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
17190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 result
= (long)(arg1
)->GetCacheFrom();
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= PyInt_FromLong((long)result
);
17205 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
;
17207 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17209 PyObject
* obj0
= 0 ;
17210 char *kwnames
[] = {
17211 (char *) "self", NULL
17214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
17215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 result
= (long)(arg1
)->GetCacheTo();
17220 wxPyEndAllowThreads(__tstate
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17223 resultobj
= PyInt_FromLong((long)result
);
17230 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
;
17232 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17234 PyObject
* obj0
= 0 ;
17235 char *kwnames
[] = {
17236 (char *) "self", NULL
17239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
17240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 resultobj
= PyInt_FromLong((long)result
);
17255 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17259 PyObject
* obj0
= 0 ;
17260 PyObject
* obj1
= 0 ;
17261 char *kwnames
[] = {
17262 (char *) "self",(char *) "editCancelled", NULL
17265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
17266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17267 arg2
= PyInt_AsLong(obj1
) ? true : false;
17268 if (PyErr_Occurred()) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 (arg1
)->SetEditCanceled(arg2
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17276 Py_INCREF(Py_None
); resultobj
= Py_None
;
17283 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17286 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
17288 return Py_BuildValue((char *)"");
17290 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17291 PyObject
*resultobj
;
17292 wxWindow
*arg1
= (wxWindow
*) 0 ;
17293 int arg2
= (int) -1 ;
17294 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17295 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17296 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17297 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17298 long arg5
= (long) wxLC_ICON
;
17299 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
17300 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
17301 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
17302 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17303 wxPyListCtrl
*result
;
17306 bool temp7
= False
;
17307 PyObject
* obj0
= 0 ;
17308 PyObject
* obj2
= 0 ;
17309 PyObject
* obj3
= 0 ;
17310 PyObject
* obj5
= 0 ;
17311 PyObject
* obj6
= 0 ;
17312 char *kwnames
[] = {
17313 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
17317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17321 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17327 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17331 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17332 if (arg6
== NULL
) {
17333 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17338 arg7
= wxString_in_helper(obj6
);
17339 if (arg7
== NULL
) SWIG_fail
;
17344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17345 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
17347 wxPyEndAllowThreads(__tstate
);
17348 if (PyErr_Occurred()) SWIG_fail
;
17350 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17365 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17366 PyObject
*resultobj
;
17367 wxPyListCtrl
*result
;
17368 char *kwnames
[] = {
17372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 result
= (wxPyListCtrl
*)new wxPyListCtrl();
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17380 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17387 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17388 PyObject
*resultobj
;
17389 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17390 wxWindow
*arg2
= (wxWindow
*) 0 ;
17391 int arg3
= (int) -1 ;
17392 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17393 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17394 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17395 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17396 long arg6
= (long) wxLC_ICON
;
17397 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17398 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17399 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
17400 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17404 bool temp8
= False
;
17405 PyObject
* obj0
= 0 ;
17406 PyObject
* obj1
= 0 ;
17407 PyObject
* obj3
= 0 ;
17408 PyObject
* obj4
= 0 ;
17409 PyObject
* obj6
= 0 ;
17410 PyObject
* obj7
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
17416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17417 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17421 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17427 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17431 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17432 if (arg7
== NULL
) {
17433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17438 arg8
= wxString_in_helper(obj7
);
17439 if (arg8
== NULL
) SWIG_fail
;
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17450 resultobj
= PyInt_FromLong((long)result
);
17465 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17466 PyObject
*resultobj
;
17467 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17468 PyObject
*arg2
= (PyObject
*) 0 ;
17469 PyObject
*arg3
= (PyObject
*) 0 ;
17470 PyObject
* obj0
= 0 ;
17471 PyObject
* obj1
= 0 ;
17472 PyObject
* obj2
= 0 ;
17473 char *kwnames
[] = {
17474 (char *) "self",(char *) "self",(char *) "_class", NULL
17477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17485 wxPyEndAllowThreads(__tstate
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17488 Py_INCREF(Py_None
); resultobj
= Py_None
;
17495 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17498 wxColour
*arg2
= 0 ;
17501 PyObject
* obj0
= 0 ;
17502 PyObject
* obj1
= 0 ;
17503 char *kwnames
[] = {
17504 (char *) "self",(char *) "col", NULL
17507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17511 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= PyInt_FromLong((long)result
);
17527 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
;
17529 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17530 wxColour
*arg2
= 0 ;
17533 PyObject
* obj0
= 0 ;
17534 PyObject
* obj1
= 0 ;
17535 char *kwnames
[] = {
17536 (char *) "self",(char *) "col", NULL
17539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17543 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 resultobj
= PyInt_FromLong((long)result
);
17559 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17563 wxListItem
*result
;
17564 PyObject
* obj0
= 0 ;
17565 char *kwnames
[] = {
17566 (char *) "self",(char *) "col", NULL
17569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
17570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17579 resultobj
= wxPyMake_wxObject(result
);
17587 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17588 PyObject
*resultobj
;
17589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17591 wxListItem
*arg3
= 0 ;
17593 PyObject
* obj0
= 0 ;
17594 PyObject
* obj2
= 0 ;
17595 char *kwnames
[] = {
17596 (char *) "self",(char *) "col",(char *) "item", NULL
17599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ListCtrl_SetColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17601 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17602 if (arg3
== NULL
) {
17603 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 resultobj
= PyInt_FromLong((long)result
);
17619 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17624 PyObject
* obj0
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "self",(char *) "col", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
17630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 resultobj
= PyInt_FromLong((long)result
);
17645 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17646 PyObject
*resultobj
;
17647 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17651 PyObject
* obj0
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self",(char *) "col",(char *) "width", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17665 resultobj
= PyInt_FromLong((long)result
);
17672 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
;
17674 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17676 PyObject
* obj0
= 0 ;
17677 char *kwnames
[] = {
17678 (char *) "self", NULL
17681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
17682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17690 resultobj
= PyInt_FromLong((long)result
);
17697 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17698 PyObject
*resultobj
;
17699 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17701 PyObject
* obj0
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
17707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17716 wxRect
* resultptr
;
17717 resultptr
= new wxRect((wxRect
&) result
);
17718 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
17726 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17728 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17729 wxTextCtrl
*result
;
17730 PyObject
* obj0
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "self", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
17736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17745 resultobj
= wxPyMake_wxObject(result
);
17753 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
;
17755 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17757 int arg3
= (int) 0 ;
17758 wxListItem
*result
;
17759 PyObject
* obj0
= 0 ;
17760 char *kwnames
[] = {
17761 (char *) "self",(char *) "itemId",(char *) "col", NULL
17764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17768 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17774 resultobj
= wxPyMake_wxObject(result
);
17782 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17783 PyObject
*resultobj
;
17784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17785 wxListItem
*arg2
= 0 ;
17787 PyObject
* obj0
= 0 ;
17788 PyObject
* obj1
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "self",(char *) "info", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17795 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17796 if (arg2
== NULL
) {
17797 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 result
= (bool)(arg1
)->SetItem(*arg2
);
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17806 resultobj
= PyInt_FromLong((long)result
);
17813 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17814 PyObject
*resultobj
;
17815 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17818 wxString
*arg4
= 0 ;
17819 int arg5
= (int) -1 ;
17821 bool temp4
= False
;
17822 PyObject
* obj0
= 0 ;
17823 PyObject
* obj3
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
17829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17831 arg4
= wxString_in_helper(obj3
);
17832 if (arg4
== NULL
) SWIG_fail
;
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17837 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17842 resultobj
= PyInt_FromLong((long)result
);
17857 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17858 PyObject
*resultobj
;
17859 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17863 PyObject
* obj0
= 0 ;
17864 char *kwnames
[] = {
17865 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_GetItemState",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17877 resultobj
= PyInt_FromLong((long)result
);
17884 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17885 PyObject
*resultobj
;
17886 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17891 PyObject
* obj0
= 0 ;
17892 char *kwnames
[] = {
17893 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olll:ListCtrl_SetItemState",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
17897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 resultobj
= PyInt_FromLong((long)result
);
17912 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
;
17914 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17919 PyObject
* obj0
= 0 ;
17920 char *kwnames
[] = {
17921 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olii:ListCtrl_SetItemImage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
17925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= PyInt_FromLong((long)result
);
17940 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self",(char *) "item", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemText",kwnames
,&obj0
,&arg2
)) goto fail
;
17951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17972 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
;
17974 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17976 wxString
*arg3
= 0 ;
17977 bool temp3
= False
;
17978 PyObject
* obj0
= 0 ;
17979 PyObject
* obj2
= 0 ;
17980 char *kwnames
[] = {
17981 (char *) "self",(char *) "item",(char *) "str", NULL
17984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemText",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17987 arg3
= wxString_in_helper(obj2
);
17988 if (arg3
== NULL
) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 Py_INCREF(Py_None
); resultobj
= Py_None
;
18013 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18014 PyObject
*resultobj
;
18015 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18018 PyObject
* obj0
= 0 ;
18019 char *kwnames
[] = {
18020 (char *) "self",(char *) "item", NULL
18023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemData",kwnames
,&obj0
,&arg2
)) goto fail
;
18024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18027 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18032 resultobj
= PyInt_FromLong((long)result
);
18039 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18040 PyObject
*resultobj
;
18041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18045 PyObject
* obj0
= 0 ;
18046 char *kwnames
[] = {
18047 (char *) "self",(char *) "item",(char *) "data", NULL
18050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_SetItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18054 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 resultobj
= PyInt_FromLong((long)result
);
18066 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
;
18068 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18071 PyObject
* obj0
= 0 ;
18072 char *kwnames
[] = {
18073 (char *) "self",(char *) "item", NULL
18076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
18077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
18082 wxPyEndAllowThreads(__tstate
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18086 wxPoint
* resultptr
;
18087 resultptr
= new wxPoint((wxPoint
&) result
);
18088 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18096 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18097 PyObject
*resultobj
;
18098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18100 int arg3
= (int) wxLIST_RECT_BOUNDS
;
18102 PyObject
* obj0
= 0 ;
18103 char *kwnames
[] = {
18104 (char *) "self",(char *) "item",(char *) "code", NULL
18107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18117 wxRect
* resultptr
;
18118 resultptr
= new wxRect((wxRect
&) result
);
18119 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18127 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18131 wxPoint
*arg3
= 0 ;
18134 PyObject
* obj0
= 0 ;
18135 PyObject
* obj2
= 0 ;
18136 char *kwnames
[] = {
18137 (char *) "self",(char *) "item",(char *) "pos", NULL
18140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18144 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 resultobj
= PyInt_FromLong((long)result
);
18160 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
;
18162 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18164 PyObject
* obj0
= 0 ;
18165 char *kwnames
[] = {
18166 (char *) "self", NULL
18169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
18170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= PyInt_FromLong((long)result
);
18185 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18189 PyObject
* obj0
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
18195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18198 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
18200 wxPyEndAllowThreads(__tstate
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 resultobj
= PyInt_FromLong((long)result
);
18210 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
;
18212 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18214 PyObject
* obj0
= 0 ;
18215 char *kwnames
[] = {
18216 (char *) "self", NULL
18219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
18220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18223 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
18225 wxPyEndAllowThreads(__tstate
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18229 wxSize
* resultptr
;
18230 resultptr
= new wxSize((wxSize
&) result
);
18231 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
18239 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
;
18241 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18243 PyObject
* obj0
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
18249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18257 resultobj
= PyInt_FromLong((long)result
);
18264 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18265 PyObject
*resultobj
;
18266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18268 PyObject
* obj0
= 0 ;
18269 char *kwnames
[] = {
18270 (char *) "self", NULL
18273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
18274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18283 wxColour
* resultptr
;
18284 resultptr
= new wxColour((wxColour
&) result
);
18285 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18293 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
;
18295 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18296 wxColour
*arg2
= 0 ;
18298 PyObject
* obj0
= 0 ;
18299 PyObject
* obj1
= 0 ;
18300 char *kwnames
[] = {
18301 (char *) "self",(char *) "col", NULL
18304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18308 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 Py_INCREF(Py_None
); resultobj
= Py_None
;
18324 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18328 PyObject
* obj0
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
18334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 resultobj
= PyInt_FromLong((long)result
);
18349 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18353 bool arg3
= (bool) True
;
18354 PyObject
* obj0
= 0 ;
18355 PyObject
* obj2
= 0 ;
18356 char *kwnames
[] = {
18357 (char *) "self",(char *) "style",(char *) "add", NULL
18360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18363 arg3
= PyInt_AsLong(obj2
) ? true : false;
18364 if (PyErr_Occurred()) SWIG_fail
;
18367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18368 (arg1
)->SetSingleStyle(arg2
,arg3
);
18370 wxPyEndAllowThreads(__tstate
);
18371 if (PyErr_Occurred()) SWIG_fail
;
18373 Py_INCREF(Py_None
); resultobj
= Py_None
;
18380 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18381 PyObject
*resultobj
;
18382 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18384 PyObject
* obj0
= 0 ;
18385 char *kwnames
[] = {
18386 (char *) "self",(char *) "style", NULL
18389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
18390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 (arg1
)->SetWindowStyleFlag(arg2
);
18395 wxPyEndAllowThreads(__tstate
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18398 Py_INCREF(Py_None
); resultobj
= Py_None
;
18405 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
;
18407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18409 int arg3
= (int) wxLIST_NEXT_ALL
;
18410 int arg4
= (int) wxLIST_STATE_DONTCARE
;
18412 PyObject
* obj0
= 0 ;
18413 char *kwnames
[] = {
18414 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
18423 wxPyEndAllowThreads(__tstate
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18426 resultobj
= PyInt_FromLong((long)result
);
18433 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
;
18435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18437 wxImageList
*result
;
18438 PyObject
* obj0
= 0 ;
18439 char *kwnames
[] = {
18440 (char *) "self",(char *) "which", NULL
18443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetImageList",kwnames
,&obj0
,&arg2
)) goto fail
;
18444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18453 resultobj
= wxPyMake_wxObject(result
);
18461 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
;
18463 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18464 wxImageList
*arg2
= (wxImageList
*) 0 ;
18466 PyObject
* obj0
= 0 ;
18467 PyObject
* obj1
= 0 ;
18468 char *kwnames
[] = {
18469 (char *) "self",(char *) "imageList",(char *) "which", NULL
18472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18474 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 (arg1
)->SetImageList(arg2
,arg3
);
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 Py_INCREF(Py_None
); resultobj
= Py_None
;
18489 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
;
18491 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18492 wxImageList
*arg2
= (wxImageList
*) 0 ;
18494 PyObject
* obj0
= 0 ;
18495 PyObject
* obj1
= 0 ;
18496 char *kwnames
[] = {
18497 (char *) "self",(char *) "imageList",(char *) "which", NULL
18500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18502 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 (arg1
)->AssignImageList(arg2
,arg3
);
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 Py_INCREF(Py_None
); resultobj
= Py_None
;
18517 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18521 PyObject
* obj0
= 0 ;
18522 char *kwnames
[] = {
18523 (char *) "self", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
18527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= PyInt_FromLong((long)result
);
18542 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
;
18544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18546 PyObject
* obj0
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self",(char *) "item", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_RefreshItem",kwnames
,&obj0
,&arg2
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18555 (arg1
)->RefreshItem(arg2
);
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 Py_INCREF(Py_None
); resultobj
= Py_None
;
18567 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18568 PyObject
*resultobj
;
18569 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18572 PyObject
* obj0
= 0 ;
18573 char *kwnames
[] = {
18574 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_RefreshItems",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 (arg1
)->RefreshItems(arg2
,arg3
);
18583 wxPyEndAllowThreads(__tstate
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18586 Py_INCREF(Py_None
); resultobj
= Py_None
;
18593 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18594 PyObject
*resultobj
;
18595 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18596 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
18598 PyObject
* obj0
= 0 ;
18599 char *kwnames
[] = {
18600 (char *) "self",(char *) "flag", NULL
18603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListCtrl_Arrange",kwnames
,&obj0
,&arg2
)) goto fail
;
18604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18607 result
= (bool)(arg1
)->Arrange(arg2
);
18609 wxPyEndAllowThreads(__tstate
);
18610 if (PyErr_Occurred()) SWIG_fail
;
18612 resultobj
= PyInt_FromLong((long)result
);
18619 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18620 PyObject
*resultobj
;
18621 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18624 PyObject
* obj0
= 0 ;
18625 char *kwnames
[] = {
18626 (char *) "self",(char *) "item", NULL
18629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_DeleteItem",kwnames
,&obj0
,&arg2
)) goto fail
;
18630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 result
= (bool)(arg1
)->DeleteItem(arg2
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 resultobj
= PyInt_FromLong((long)result
);
18645 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
;
18647 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18649 PyObject
* obj0
= 0 ;
18650 char *kwnames
[] = {
18651 (char *) "self", NULL
18654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
18655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18658 result
= (bool)(arg1
)->DeleteAllItems();
18660 wxPyEndAllowThreads(__tstate
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18663 resultobj
= PyInt_FromLong((long)result
);
18670 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18671 PyObject
*resultobj
;
18672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18675 PyObject
* obj0
= 0 ;
18676 char *kwnames
[] = {
18677 (char *) "self",(char *) "col", NULL
18680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_DeleteColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
18681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 result
= (bool)(arg1
)->DeleteColumn(arg2
);
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 resultobj
= PyInt_FromLong((long)result
);
18696 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
;
18698 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18700 PyObject
* obj0
= 0 ;
18701 char *kwnames
[] = {
18702 (char *) "self", NULL
18705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
18706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 result
= (bool)(arg1
)->DeleteAllColumns();
18711 wxPyEndAllowThreads(__tstate
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= PyInt_FromLong((long)result
);
18721 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18722 PyObject
*resultobj
;
18723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18724 PyObject
* obj0
= 0 ;
18725 char *kwnames
[] = {
18726 (char *) "self", NULL
18729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
18730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 (arg1
)->ClearAll();
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18738 Py_INCREF(Py_None
); resultobj
= Py_None
;
18745 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
;
18747 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18749 wxTextCtrl
*result
;
18750 PyObject
* obj0
= 0 ;
18751 char *kwnames
[] = {
18752 (char *) "self",(char *) "item", NULL
18755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EditLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
18756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18759 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
18761 wxPyEndAllowThreads(__tstate
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18765 resultobj
= wxPyMake_wxObject(result
);
18773 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
;
18775 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 PyObject
* obj1
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self",(char *) "cancel", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
18785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18786 arg2
= PyInt_AsLong(obj1
) ? true : false;
18787 if (PyErr_Occurred()) SWIG_fail
;
18789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18790 result
= (bool)(arg1
)->EndEditLabel(arg2
);
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18795 resultobj
= PyInt_FromLong((long)result
);
18802 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18807 PyObject
* obj0
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "self",(char *) "item", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
18813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= (bool)(arg1
)->EnsureVisible(arg2
);
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18821 resultobj
= PyInt_FromLong((long)result
);
18828 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
;
18830 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18832 wxString
*arg3
= 0 ;
18833 bool arg4
= (bool) False
;
18835 bool temp3
= False
;
18836 PyObject
* obj0
= 0 ;
18837 PyObject
* obj2
= 0 ;
18838 PyObject
* obj3
= 0 ;
18839 char *kwnames
[] = {
18840 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|O:ListCtrl_FindItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
18844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18846 arg3
= wxString_in_helper(obj2
);
18847 if (arg3
== NULL
) SWIG_fail
;
18851 arg4
= PyInt_AsLong(obj3
) ? true : false;
18852 if (PyErr_Occurred()) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= PyInt_FromLong((long)result
);
18876 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18882 PyObject
* obj0
= 0 ;
18883 char *kwnames
[] = {
18884 (char *) "self",(char *) "start",(char *) "data", NULL
18887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_FindItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 resultobj
= PyInt_FromLong((long)result
);
18903 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
;
18905 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18907 wxPoint
*arg3
= 0 ;
18911 PyObject
* obj0
= 0 ;
18912 PyObject
* obj2
= 0 ;
18913 char *kwnames
[] = {
18914 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
18918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18921 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
18927 wxPyEndAllowThreads(__tstate
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= PyInt_FromLong((long)result
);
18937 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18938 PyObject
*resultobj
;
18939 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18940 wxPoint
*arg2
= 0 ;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 char *kwnames
[] = {
18948 (char *) "self",(char *) "point", NULL
18952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
18953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18960 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
18962 wxPyEndAllowThreads(__tstate
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18965 resultobj
= PyInt_FromLong((long)result
);
18967 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18968 resultobj
= t_output_helper(resultobj
,o
);
18976 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
;
18978 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18979 wxListItem
*arg2
= 0 ;
18981 PyObject
* obj0
= 0 ;
18982 PyObject
* obj1
= 0 ;
18983 char *kwnames
[] = {
18984 (char *) "self",(char *) "info", NULL
18987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18989 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18990 if (arg2
== NULL
) {
18991 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18995 result
= (long)(arg1
)->InsertItem(*arg2
);
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= PyInt_FromLong((long)result
);
19007 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19008 PyObject
*resultobj
;
19009 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19011 wxString
*arg3
= 0 ;
19013 bool temp3
= False
;
19014 PyObject
* obj0
= 0 ;
19015 PyObject
* obj2
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self",(char *) "index",(char *) "label", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19023 arg3
= wxString_in_helper(obj2
);
19024 if (arg3
== NULL
) SWIG_fail
;
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19034 resultobj
= PyInt_FromLong((long)result
);
19049 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19050 PyObject
*resultobj
;
19051 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19055 PyObject
* obj0
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oli:ListCtrl_InsertImageItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
19066 wxPyEndAllowThreads(__tstate
);
19067 if (PyErr_Occurred()) SWIG_fail
;
19069 resultobj
= PyInt_FromLong((long)result
);
19076 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
;
19078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19080 wxString
*arg3
= 0 ;
19083 bool temp3
= False
;
19084 PyObject
* obj0
= 0 ;
19085 PyObject
* obj2
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19093 arg3
= wxString_in_helper(obj2
);
19094 if (arg3
== NULL
) SWIG_fail
;
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19104 resultobj
= PyInt_FromLong((long)result
);
19119 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
;
19121 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19123 wxListItem
*arg3
= 0 ;
19125 PyObject
* obj0
= 0 ;
19126 PyObject
* obj2
= 0 ;
19127 char *kwnames
[] = {
19128 (char *) "self",(char *) "col",(char *) "info", NULL
19131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19133 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19134 if (arg3
== NULL
) {
19135 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 resultobj
= PyInt_FromLong((long)result
);
19151 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19152 PyObject
*resultobj
;
19153 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19155 wxString
*arg3
= 0 ;
19156 int arg4
= (int) wxLIST_FORMAT_LEFT
;
19157 int arg5
= (int) -1 ;
19159 bool temp3
= False
;
19160 PyObject
* obj0
= 0 ;
19161 PyObject
* obj2
= 0 ;
19162 char *kwnames
[] = {
19163 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
)) goto fail
;
19167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19169 arg3
= wxString_in_helper(obj2
);
19170 if (arg3
== NULL
) SWIG_fail
;
19174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19175 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19177 wxPyEndAllowThreads(__tstate
);
19178 if (PyErr_Occurred()) SWIG_fail
;
19180 resultobj
= PyInt_FromLong((long)result
);
19195 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
;
19197 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19199 PyObject
* obj0
= 0 ;
19200 char *kwnames
[] = {
19201 (char *) "self",(char *) "count", NULL
19204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetItemCount",kwnames
,&obj0
,&arg2
)) goto fail
;
19205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 (arg1
)->SetItemCount(arg2
);
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19213 Py_INCREF(Py_None
); resultobj
= Py_None
;
19220 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19221 PyObject
*resultobj
;
19222 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19226 PyObject
* obj0
= 0 ;
19227 char *kwnames
[] = {
19228 (char *) "self",(char *) "dx",(char *) "dy", NULL
19231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_ScrollList",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19235 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
19237 wxPyEndAllowThreads(__tstate
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19240 resultobj
= PyInt_FromLong((long)result
);
19247 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
;
19249 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19251 wxColour
*arg3
= 0 ;
19253 PyObject
* obj0
= 0 ;
19254 PyObject
* obj2
= 0 ;
19255 char *kwnames
[] = {
19256 (char *) "self",(char *) "item",(char *) "col", NULL
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19263 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
19269 wxPyEndAllowThreads(__tstate
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19272 Py_INCREF(Py_None
); resultobj
= Py_None
;
19279 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19280 PyObject
*resultobj
;
19281 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19284 PyObject
* obj0
= 0 ;
19285 char *kwnames
[] = {
19286 (char *) "self",(char *) "item", NULL
19289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19299 wxColour
* resultptr
;
19300 resultptr
= new wxColour((wxColour
&) result
);
19301 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19309 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19310 PyObject
*resultobj
;
19311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19313 wxColour
*arg3
= 0 ;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj2
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self",(char *) "item",(char *) "col", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19325 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19329 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
19331 wxPyEndAllowThreads(__tstate
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19334 Py_INCREF(Py_None
); resultobj
= Py_None
;
19341 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19342 PyObject
*resultobj
;
19343 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19346 PyObject
* obj0
= 0 ;
19347 char *kwnames
[] = {
19348 (char *) "self",(char *) "item", NULL
19351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19355 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
19357 wxPyEndAllowThreads(__tstate
);
19358 if (PyErr_Occurred()) SWIG_fail
;
19361 wxColour
* resultptr
;
19362 resultptr
= new wxColour((wxColour
&) result
);
19363 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19371 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
;
19373 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19374 PyObject
*arg2
= (PyObject
*) 0 ;
19376 PyObject
* obj0
= 0 ;
19377 PyObject
* obj1
= 0 ;
19378 char *kwnames
[] = {
19379 (char *) "self",(char *) "func", NULL
19382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
19383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19387 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
19389 wxPyEndAllowThreads(__tstate
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19392 resultobj
= PyInt_FromLong((long)result
);
19399 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19400 PyObject
*resultobj
;
19401 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19403 PyObject
* obj0
= 0 ;
19404 char *kwnames
[] = {
19405 (char *) "self", NULL
19408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
19409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
19414 wxPyEndAllowThreads(__tstate
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19418 resultobj
= wxPyMake_wxObject(result
);
19426 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
19428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19429 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
19431 return Py_BuildValue((char *)"");
19433 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19434 PyObject
*resultobj
;
19435 wxWindow
*arg1
= (wxWindow
*) 0 ;
19436 int arg2
= (int) -1 ;
19437 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19438 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19439 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19440 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19441 long arg5
= (long) wxLC_REPORT
;
19442 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19443 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19444 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19445 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19446 wxListView
*result
;
19449 bool temp7
= False
;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj2
= 0 ;
19452 PyObject
* obj3
= 0 ;
19453 PyObject
* obj5
= 0 ;
19454 PyObject
* obj6
= 0 ;
19455 char *kwnames
[] = {
19456 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListView",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
19460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19464 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19470 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19474 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19475 if (arg6
== NULL
) {
19476 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19481 arg7
= wxString_in_helper(obj6
);
19482 if (arg7
== NULL
) SWIG_fail
;
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19493 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19508 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19509 PyObject
*resultobj
;
19510 wxListView
*result
;
19511 char *kwnames
[] = {
19515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
19517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19518 result
= (wxListView
*)new wxListView();
19520 wxPyEndAllowThreads(__tstate
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19523 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19530 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
;
19532 wxListView
*arg1
= (wxListView
*) 0 ;
19533 wxWindow
*arg2
= (wxWindow
*) 0 ;
19534 int arg3
= (int) -1 ;
19535 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19536 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19537 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19538 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19539 long arg6
= (long) wxLC_REPORT
;
19540 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19541 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19542 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19543 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19547 bool temp8
= False
;
19548 PyObject
* obj0
= 0 ;
19549 PyObject
* obj1
= 0 ;
19550 PyObject
* obj3
= 0 ;
19551 PyObject
* obj4
= 0 ;
19552 PyObject
* obj6
= 0 ;
19553 PyObject
* obj7
= 0 ;
19554 char *kwnames
[] = {
19555 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListView_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
19559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19560 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19564 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19570 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19574 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19575 if (arg7
== NULL
) {
19576 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19581 arg8
= wxString_in_helper(obj7
);
19582 if (arg8
== NULL
) SWIG_fail
;
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19593 resultobj
= PyInt_FromLong((long)result
);
19608 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19609 PyObject
*resultobj
;
19610 wxListView
*arg1
= (wxListView
*) 0 ;
19612 bool arg3
= (bool) True
;
19613 PyObject
* obj0
= 0 ;
19614 PyObject
* obj2
= 0 ;
19615 char *kwnames
[] = {
19616 (char *) "self",(char *) "n",(char *) "on", NULL
19619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListView_Select",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19622 arg3
= PyInt_AsLong(obj2
) ? true : false;
19623 if (PyErr_Occurred()) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 (arg1
)->Select(arg2
,arg3
);
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 Py_INCREF(Py_None
); resultobj
= Py_None
;
19639 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxListView
*arg1
= (wxListView
*) 0 ;
19643 PyObject
* obj0
= 0 ;
19644 char *kwnames
[] = {
19645 (char *) "self",(char *) "index", NULL
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_Focus",kwnames
,&obj0
,&arg2
)) goto fail
;
19649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 (arg1
)->Focus(arg2
);
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19657 Py_INCREF(Py_None
); resultobj
= Py_None
;
19664 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19665 PyObject
*resultobj
;
19666 wxListView
*arg1
= (wxListView
*) 0 ;
19668 PyObject
* obj0
= 0 ;
19669 char *kwnames
[] = {
19670 (char *) "self", NULL
19673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
19674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= PyInt_FromLong((long)result
);
19689 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxListView
*arg1
= (wxListView
*) 0 ;
19694 PyObject
* obj0
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self",(char *) "item", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_GetNextSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
19700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= PyInt_FromLong((long)result
);
19715 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
;
19717 wxListView
*arg1
= (wxListView
*) 0 ;
19719 PyObject
* obj0
= 0 ;
19720 char *kwnames
[] = {
19721 (char *) "self", NULL
19724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
19725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19733 resultobj
= PyInt_FromLong((long)result
);
19740 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
;
19742 wxListView
*arg1
= (wxListView
*) 0 ;
19745 PyObject
* obj0
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "self",(char *) "index", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
19751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 result
= (bool)(arg1
)->IsSelected(arg2
);
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19759 resultobj
= PyInt_FromLong((long)result
);
19766 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19767 PyObject
*resultobj
;
19768 wxListView
*arg1
= (wxListView
*) 0 ;
19771 PyObject
* obj0
= 0 ;
19772 char *kwnames
[] = {
19773 (char *) "self",(char *) "col",(char *) "image", NULL
19776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListView_SetColumnImage",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 (arg1
)->SetColumnImage(arg2
,arg3
);
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19785 Py_INCREF(Py_None
); resultobj
= Py_None
;
19792 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
;
19794 wxListView
*arg1
= (wxListView
*) 0 ;
19796 PyObject
* obj0
= 0 ;
19797 char *kwnames
[] = {
19798 (char *) "self",(char *) "col", NULL
19801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListView_ClearColumnImage",kwnames
,&obj0
,&arg2
)) goto fail
;
19802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19805 (arg1
)->ClearColumnImage(arg2
);
19807 wxPyEndAllowThreads(__tstate
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19810 Py_INCREF(Py_None
); resultobj
= Py_None
;
19817 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
19819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19820 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
19822 return Py_BuildValue((char *)"");
19824 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19825 PyObject
*resultobj
;
19826 wxTreeItemId
*result
;
19827 char *kwnames
[] = {
19831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19834 result
= (wxTreeItemId
*)new wxTreeItemId();
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
19846 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19847 PyObject
*resultobj
;
19848 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19849 PyObject
* obj0
= 0 ;
19850 char *kwnames
[] = {
19851 (char *) "self", NULL
19854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
19855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19863 Py_INCREF(Py_None
); resultobj
= Py_None
;
19870 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
;
19872 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19874 PyObject
* obj0
= 0 ;
19875 char *kwnames
[] = {
19876 (char *) "self", NULL
19879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
19880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19888 resultobj
= PyInt_FromLong((long)result
);
19895 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19896 PyObject
*resultobj
;
19897 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19898 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
19900 PyObject
* obj0
= 0 ;
19901 PyObject
* obj1
= 0 ;
19902 char *kwnames
[] = {
19903 (char *) "self",(char *) "other", NULL
19906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
19907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19908 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19916 resultobj
= PyInt_FromLong((long)result
);
19923 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19926 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
19928 PyObject
* obj0
= 0 ;
19929 PyObject
* obj1
= 0 ;
19930 char *kwnames
[] = {
19931 (char *) "self",(char *) "other", NULL
19934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
19935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19936 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19939 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
19941 wxPyEndAllowThreads(__tstate
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19944 resultobj
= PyInt_FromLong((long)result
);
19951 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19952 PyObject
*resultobj
;
19953 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19954 wxTreeItemIdValue arg2
= (wxTreeItemIdValue
) 0 ;
19955 PyObject
* obj0
= 0 ;
19956 PyObject
* obj1
= 0 ;
19957 char *kwnames
[] = {
19958 (char *) "self",(char *) "m_pItem", NULL
19961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19963 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
19964 if (arg1
) (arg1
)->m_pItem
= arg2
;
19966 Py_INCREF(Py_None
); resultobj
= Py_None
;
19973 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19974 PyObject
*resultobj
;
19975 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19976 wxTreeItemIdValue result
;
19977 PyObject
* obj0
= 0 ;
19978 char *kwnames
[] = {
19979 (char *) "self", NULL
19982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
19983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19984 result
= (wxTreeItemIdValue
) ((arg1
)->m_pItem
);
19986 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_wxTreeItemIdValue
, 0);
19993 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
19995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19996 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
19998 return Py_BuildValue((char *)"");
20000 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20001 PyObject
*resultobj
;
20002 PyObject
*arg1
= (PyObject
*) NULL
;
20003 wxPyTreeItemData
*result
;
20004 PyObject
* obj0
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "obj", NULL
20009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
20014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20015 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20020 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
20027 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
;
20029 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20031 PyObject
* obj0
= 0 ;
20032 char *kwnames
[] = {
20033 (char *) "self", NULL
20036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
20037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 result
= (PyObject
*)(arg1
)->GetData();
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20045 resultobj
= result
;
20052 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20053 PyObject
*resultobj
;
20054 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20055 PyObject
*arg2
= (PyObject
*) 0 ;
20056 PyObject
* obj0
= 0 ;
20057 PyObject
* obj1
= 0 ;
20058 char *kwnames
[] = {
20059 (char *) "self",(char *) "obj", NULL
20062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
20063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20067 (arg1
)->SetData(arg2
);
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20072 Py_INCREF(Py_None
); resultobj
= Py_None
;
20079 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20080 PyObject
*resultobj
;
20081 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20082 wxTreeItemId
*result
;
20083 PyObject
* obj0
= 0 ;
20084 char *kwnames
[] = {
20085 (char *) "self", NULL
20088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
20089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20093 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
20094 result
= (wxTreeItemId
*) &_result_ref
;
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20100 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
20107 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
;
20109 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20110 wxTreeItemId
*arg2
= 0 ;
20111 PyObject
* obj0
= 0 ;
20112 PyObject
* obj1
= 0 ;
20113 char *kwnames
[] = {
20114 (char *) "self",(char *) "id", NULL
20117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
20118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20119 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20120 if (arg2
== NULL
) {
20121 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 Py_INCREF(Py_None
); resultobj
= Py_None
;
20137 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
;
20139 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20140 PyObject
* obj0
= 0 ;
20141 char *kwnames
[] = {
20142 (char *) "self", NULL
20145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
20146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20149 wxPyTreeItemData_Destroy(arg1
);
20151 wxPyEndAllowThreads(__tstate
);
20152 if (PyErr_Occurred()) SWIG_fail
;
20154 Py_INCREF(Py_None
); resultobj
= Py_None
;
20161 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
20163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20164 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
20166 return Py_BuildValue((char *)"");
20168 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20169 PyObject
*resultobj
;
20170 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20171 int arg2
= (int) 0 ;
20172 wxTreeEvent
*result
;
20173 char *kwnames
[] = {
20174 (char *) "commandType",(char *) "id", NULL
20177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TreeEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
20192 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
;
20194 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20195 wxTreeItemId result
;
20196 PyObject
* obj0
= 0 ;
20197 char *kwnames
[] = {
20198 (char *) "self", NULL
20201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20211 wxTreeItemId
* resultptr
;
20212 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20213 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20221 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20222 PyObject
*resultobj
;
20223 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20224 wxTreeItemId
*arg2
= 0 ;
20225 PyObject
* obj0
= 0 ;
20226 PyObject
* obj1
= 0 ;
20227 char *kwnames
[] = {
20228 (char *) "self",(char *) "item", NULL
20231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20233 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20234 if (arg2
== NULL
) {
20235 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20244 Py_INCREF(Py_None
); resultobj
= Py_None
;
20251 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
;
20253 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20254 wxTreeItemId result
;
20255 PyObject
* obj0
= 0 ;
20256 char *kwnames
[] = {
20257 (char *) "self", NULL
20260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
20261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20264 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20270 wxTreeItemId
* resultptr
;
20271 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20272 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20280 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20283 wxTreeItemId
*arg2
= 0 ;
20284 PyObject
* obj0
= 0 ;
20285 PyObject
* obj1
= 0 ;
20286 char *kwnames
[] = {
20287 (char *) "self",(char *) "item", NULL
20290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20292 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20293 if (arg2
== NULL
) {
20294 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20298 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 Py_INCREF(Py_None
); resultobj
= Py_None
;
20310 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20311 PyObject
*resultobj
;
20312 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20314 PyObject
* obj0
= 0 ;
20315 char *kwnames
[] = {
20316 (char *) "self", NULL
20319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20323 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
20325 wxPyEndAllowThreads(__tstate
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20329 wxPoint
* resultptr
;
20330 resultptr
= new wxPoint((wxPoint
&) result
);
20331 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20339 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
;
20341 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20342 wxPoint
*arg2
= 0 ;
20344 PyObject
* obj0
= 0 ;
20345 PyObject
* obj1
= 0 ;
20346 char *kwnames
[] = {
20347 (char *) "self",(char *) "pt", NULL
20350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
20351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20354 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20363 Py_INCREF(Py_None
); resultobj
= Py_None
;
20370 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20371 PyObject
*resultobj
;
20372 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20373 wxKeyEvent
*result
;
20374 PyObject
* obj0
= 0 ;
20375 char *kwnames
[] = {
20376 (char *) "self", NULL
20379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
20380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20384 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
20385 result
= (wxKeyEvent
*) &_result_ref
;
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20391 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
20398 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20399 PyObject
*resultobj
;
20400 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20402 PyObject
* obj0
= 0 ;
20403 char *kwnames
[] = {
20404 (char *) "self", NULL
20407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 resultobj
= PyInt_FromLong((long)result
);
20423 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
;
20425 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20426 wxKeyEvent
*arg2
= 0 ;
20427 PyObject
* obj0
= 0 ;
20428 PyObject
* obj1
= 0 ;
20429 char *kwnames
[] = {
20430 (char *) "self",(char *) "evt", NULL
20433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20435 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20436 if (arg2
== NULL
) {
20437 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20441 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
20443 wxPyEndAllowThreads(__tstate
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20446 Py_INCREF(Py_None
); resultobj
= Py_None
;
20453 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20454 PyObject
*resultobj
;
20455 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20457 PyObject
* obj0
= 0 ;
20458 char *kwnames
[] = {
20459 (char *) "self", NULL
20462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20467 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
20468 result
= (wxString
*) &_result_ref
;
20471 wxPyEndAllowThreads(__tstate
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20474 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
20481 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20482 PyObject
*resultobj
;
20483 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20484 wxString
*arg2
= 0 ;
20485 bool temp2
= False
;
20486 PyObject
* obj0
= 0 ;
20487 PyObject
* obj1
= 0 ;
20488 char *kwnames
[] = {
20489 (char *) "self",(char *) "label", NULL
20492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20495 arg2
= wxString_in_helper(obj1
);
20496 if (arg2
== NULL
) SWIG_fail
;
20500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 (arg1
)->SetLabel((wxString
const &)*arg2
);
20503 wxPyEndAllowThreads(__tstate
);
20504 if (PyErr_Occurred()) SWIG_fail
;
20506 Py_INCREF(Py_None
); resultobj
= Py_None
;
20521 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20522 PyObject
*resultobj
;
20523 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20525 PyObject
* obj0
= 0 ;
20526 char *kwnames
[] = {
20527 (char *) "self", NULL
20530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= PyInt_FromLong((long)result
);
20546 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
;
20548 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20550 PyObject
* obj0
= 0 ;
20551 PyObject
* obj1
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "self",(char *) "editCancelled", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20558 arg2
= PyInt_AsLong(obj1
) ? true : false;
20559 if (PyErr_Occurred()) SWIG_fail
;
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 (arg1
)->SetEditCanceled(arg2
);
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 Py_INCREF(Py_None
); resultobj
= Py_None
;
20574 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20577 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
20579 return Py_BuildValue((char *)"");
20581 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20582 PyObject
*resultobj
;
20583 wxWindow
*arg1
= (wxWindow
*) 0 ;
20584 int arg2
= (int) -1 ;
20585 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20586 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20587 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20588 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20589 long arg5
= (long) wxTR_DEFAULT_STYLE
;
20590 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20591 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20592 wxString
const &arg7_defvalue
= wxPy_TreeCtrlNameStr
;
20593 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20594 wxPyTreeCtrl
*result
;
20597 bool temp7
= False
;
20598 PyObject
* obj0
= 0 ;
20599 PyObject
* obj2
= 0 ;
20600 PyObject
* obj3
= 0 ;
20601 PyObject
* obj5
= 0 ;
20602 PyObject
* obj6
= 0 ;
20603 char *kwnames
[] = {
20604 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_TreeCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
20608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20612 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20618 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20622 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20623 if (arg6
== NULL
) {
20624 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20629 arg7
= wxString_in_helper(obj6
);
20630 if (arg7
== NULL
) SWIG_fail
;
20635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20636 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20638 wxPyEndAllowThreads(__tstate
);
20639 if (PyErr_Occurred()) SWIG_fail
;
20641 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeCtrl
, 1);
20656 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
;
20658 wxPyTreeCtrl
*result
;
20659 char *kwnames
[] = {
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeCtrl
, 1);
20678 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20679 PyObject
*resultobj
;
20680 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20681 wxWindow
*arg2
= (wxWindow
*) 0 ;
20682 int arg3
= (int) -1 ;
20683 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20684 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20685 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20686 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20687 long arg6
= (long) wxTR_DEFAULT_STYLE
;
20688 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20689 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20690 wxString
const &arg8_defvalue
= wxPy_TreeCtrlNameStr
;
20691 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20695 bool temp8
= False
;
20696 PyObject
* obj0
= 0 ;
20697 PyObject
* obj1
= 0 ;
20698 PyObject
* obj3
= 0 ;
20699 PyObject
* obj4
= 0 ;
20700 PyObject
* obj6
= 0 ;
20701 PyObject
* obj7
= 0 ;
20702 char *kwnames
[] = {
20703 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
20707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20708 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20712 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20718 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20722 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20723 if (arg7
== NULL
) {
20724 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20729 arg8
= wxString_in_helper(obj7
);
20730 if (arg8
== NULL
) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20741 resultobj
= PyInt_FromLong((long)result
);
20756 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20757 PyObject
*resultobj
;
20758 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20759 PyObject
*arg2
= (PyObject
*) 0 ;
20760 PyObject
*arg3
= (PyObject
*) 0 ;
20761 PyObject
* obj0
= 0 ;
20762 PyObject
* obj1
= 0 ;
20763 PyObject
* obj2
= 0 ;
20764 char *kwnames
[] = {
20765 (char *) "self",(char *) "self",(char *) "_class", NULL
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20779 Py_INCREF(Py_None
); resultobj
= Py_None
;
20786 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
;
20788 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20790 PyObject
* obj0
= 0 ;
20791 char *kwnames
[] = {
20792 (char *) "self", NULL
20795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
20796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 resultobj
= PyInt_FromLong((long)result
);
20811 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
;
20813 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20814 unsigned int result
;
20815 PyObject
* obj0
= 0 ;
20816 char *kwnames
[] = {
20817 (char *) "self", NULL
20820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
20821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20829 resultobj
= PyInt_FromLong((long)result
);
20836 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
;
20838 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20839 unsigned int arg2
;
20840 PyObject
* obj0
= 0 ;
20841 PyObject
* obj1
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "self",(char *) "indent", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
20847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20848 arg2
= (unsigned int) PyInt_AsLong(obj1
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 (arg1
)->SetIndent(arg2
);
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20857 Py_INCREF(Py_None
); resultobj
= Py_None
;
20864 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
;
20866 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20867 unsigned int result
;
20868 PyObject
* obj0
= 0 ;
20869 char *kwnames
[] = {
20870 (char *) "self", NULL
20873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
20874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= PyInt_FromLong((long)result
);
20889 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
;
20891 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20892 unsigned int arg2
;
20893 PyObject
* obj0
= 0 ;
20894 PyObject
* obj1
= 0 ;
20895 char *kwnames
[] = {
20896 (char *) "self",(char *) "spacing", NULL
20899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
20900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20901 arg2
= (unsigned int) PyInt_AsLong(obj1
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 (arg1
)->SetSpacing(arg2
);
20907 wxPyEndAllowThreads(__tstate
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20910 Py_INCREF(Py_None
); resultobj
= Py_None
;
20917 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20918 PyObject
*resultobj
;
20919 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20920 wxImageList
*result
;
20921 PyObject
* obj0
= 0 ;
20922 char *kwnames
[] = {
20923 (char *) "self", NULL
20926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
20927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20936 resultobj
= wxPyMake_wxObject(result
);
20944 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
;
20946 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20947 wxImageList
*result
;
20948 PyObject
* obj0
= 0 ;
20949 char *kwnames
[] = {
20950 (char *) "self", NULL
20953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
20954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20957 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
20959 wxPyEndAllowThreads(__tstate
);
20960 if (PyErr_Occurred()) SWIG_fail
;
20963 resultobj
= wxPyMake_wxObject(result
);
20971 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20972 PyObject
*resultobj
;
20973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20974 wxImageList
*arg2
= (wxImageList
*) 0 ;
20975 PyObject
* obj0
= 0 ;
20976 PyObject
* obj1
= 0 ;
20977 char *kwnames
[] = {
20978 (char *) "self",(char *) "imageList", NULL
20981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20983 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 (arg1
)->SetImageList(arg2
);
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20991 Py_INCREF(Py_None
); resultobj
= Py_None
;
20998 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
;
21000 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21001 wxImageList
*arg2
= (wxImageList
*) 0 ;
21002 PyObject
* obj0
= 0 ;
21003 PyObject
* obj1
= 0 ;
21004 char *kwnames
[] = {
21005 (char *) "self",(char *) "imageList", NULL
21008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21010 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 (arg1
)->SetStateImageList(arg2
);
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 Py_INCREF(Py_None
); resultobj
= Py_None
;
21025 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21026 PyObject
*resultobj
;
21027 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21028 wxImageList
*arg2
= (wxImageList
*) 0 ;
21029 PyObject
* obj0
= 0 ;
21030 PyObject
* obj1
= 0 ;
21031 char *kwnames
[] = {
21032 (char *) "self",(char *) "imageList", NULL
21035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21037 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 (arg1
)->AssignImageList(arg2
);
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 Py_INCREF(Py_None
); resultobj
= Py_None
;
21052 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
;
21054 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21055 wxImageList
*arg2
= (wxImageList
*) 0 ;
21056 PyObject
* obj0
= 0 ;
21057 PyObject
* obj1
= 0 ;
21058 char *kwnames
[] = {
21059 (char *) "self",(char *) "imageList", NULL
21062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21064 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 (arg1
)->AssignStateImageList(arg2
);
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 Py_INCREF(Py_None
); resultobj
= Py_None
;
21079 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21080 PyObject
*resultobj
;
21081 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21082 wxTreeItemId
*arg2
= 0 ;
21084 PyObject
* obj0
= 0 ;
21085 PyObject
* obj1
= 0 ;
21086 char *kwnames
[] = {
21087 (char *) "self",(char *) "item", NULL
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21092 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21093 if (arg2
== NULL
) {
21094 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21116 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
;
21118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21119 wxTreeItemId
*arg2
= 0 ;
21120 int arg3
= (int) wxTreeItemIcon_Normal
;
21122 PyObject
* obj0
= 0 ;
21123 PyObject
* obj1
= 0 ;
21124 char *kwnames
[] = {
21125 (char *) "self",(char *) "item",(char *) "which", NULL
21128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21130 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21131 if (arg2
== NULL
) {
21132 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21136 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
21138 wxPyEndAllowThreads(__tstate
);
21139 if (PyErr_Occurred()) SWIG_fail
;
21141 resultobj
= PyInt_FromLong((long)result
);
21148 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21149 PyObject
*resultobj
;
21150 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21151 wxTreeItemId
*arg2
= 0 ;
21152 wxPyTreeItemData
*result
;
21153 PyObject
* obj0
= 0 ;
21154 PyObject
* obj1
= 0 ;
21155 char *kwnames
[] = {
21156 (char *) "self",(char *) "item", NULL
21159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21162 if (arg2
== NULL
) {
21163 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21167 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
21169 wxPyEndAllowThreads(__tstate
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
21179 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21180 PyObject
*resultobj
;
21181 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21182 wxTreeItemId
*arg2
= 0 ;
21184 PyObject
* obj0
= 0 ;
21185 PyObject
* obj1
= 0 ;
21186 char *kwnames
[] = {
21187 (char *) "self",(char *) "item", NULL
21190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
21191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21192 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21193 if (arg2
== NULL
) {
21194 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21198 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21203 resultobj
= result
;
21210 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21211 PyObject
*resultobj
;
21212 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21213 wxTreeItemId
*arg2
= 0 ;
21215 PyObject
* obj0
= 0 ;
21216 PyObject
* obj1
= 0 ;
21217 char *kwnames
[] = {
21218 (char *) "self",(char *) "item", NULL
21221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21223 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21224 if (arg2
== NULL
) {
21225 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
21231 wxPyEndAllowThreads(__tstate
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21235 wxColour
* resultptr
;
21236 resultptr
= new wxColour((wxColour
&) result
);
21237 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21245 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21246 PyObject
*resultobj
;
21247 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21248 wxTreeItemId
*arg2
= 0 ;
21250 PyObject
* obj0
= 0 ;
21251 PyObject
* obj1
= 0 ;
21252 char *kwnames
[] = {
21253 (char *) "self",(char *) "item", NULL
21256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21258 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21259 if (arg2
== NULL
) {
21260 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21270 wxColour
* resultptr
;
21271 resultptr
= new wxColour((wxColour
&) result
);
21272 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21280 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
;
21282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21283 wxTreeItemId
*arg2
= 0 ;
21285 PyObject
* obj0
= 0 ;
21286 PyObject
* obj1
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self",(char *) "item", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21293 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21294 if (arg2
== NULL
) {
21295 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21305 wxFont
* resultptr
;
21306 resultptr
= new wxFont((wxFont
&) result
);
21307 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
21315 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
;
21317 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21318 wxTreeItemId
*arg2
= 0 ;
21319 wxString
*arg3
= 0 ;
21320 bool temp3
= False
;
21321 PyObject
* obj0
= 0 ;
21322 PyObject
* obj1
= 0 ;
21323 PyObject
* obj2
= 0 ;
21324 char *kwnames
[] = {
21325 (char *) "self",(char *) "item",(char *) "text", NULL
21328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21330 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21331 if (arg2
== NULL
) {
21332 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21335 arg3
= wxString_in_helper(obj2
);
21336 if (arg3
== NULL
) SWIG_fail
;
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21346 Py_INCREF(Py_None
); resultobj
= Py_None
;
21361 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
;
21363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21364 wxTreeItemId
*arg2
= 0 ;
21366 int arg4
= (int) wxTreeItemIcon_Normal
;
21367 PyObject
* obj0
= 0 ;
21368 PyObject
* obj1
= 0 ;
21369 char *kwnames
[] = {
21370 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
21374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21375 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21376 if (arg2
== NULL
) {
21377 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21386 Py_INCREF(Py_None
); resultobj
= Py_None
;
21393 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21394 PyObject
*resultobj
;
21395 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21396 wxTreeItemId
*arg2
= 0 ;
21397 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
21398 PyObject
* obj0
= 0 ;
21399 PyObject
* obj1
= 0 ;
21400 PyObject
* obj2
= 0 ;
21401 char *kwnames
[] = {
21402 (char *) "self",(char *) "item",(char *) "data", NULL
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21407 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21408 if (arg2
== NULL
) {
21409 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21411 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 Py_INCREF(Py_None
); resultobj
= Py_None
;
21426 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21429 wxTreeItemId
*arg2
= 0 ;
21430 PyObject
*arg3
= (PyObject
*) 0 ;
21431 PyObject
* obj0
= 0 ;
21432 PyObject
* obj1
= 0 ;
21433 PyObject
* obj2
= 0 ;
21434 char *kwnames
[] = {
21435 (char *) "self",(char *) "item",(char *) "obj", NULL
21438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21440 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21441 if (arg2
== NULL
) {
21442 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21447 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21449 wxPyEndAllowThreads(__tstate
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21452 Py_INCREF(Py_None
); resultobj
= Py_None
;
21459 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21460 PyObject
*resultobj
;
21461 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21462 wxTreeItemId
*arg2
= 0 ;
21463 bool arg3
= (bool) True
;
21464 PyObject
* obj0
= 0 ;
21465 PyObject
* obj1
= 0 ;
21466 PyObject
* obj2
= 0 ;
21467 char *kwnames
[] = {
21468 (char *) "self",(char *) "item",(char *) "has", NULL
21471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21473 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21474 if (arg2
== NULL
) {
21475 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21478 arg3
= PyInt_AsLong(obj2
) ? true : false;
21479 if (PyErr_Occurred()) SWIG_fail
;
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
21485 wxPyEndAllowThreads(__tstate
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21488 Py_INCREF(Py_None
); resultobj
= Py_None
;
21495 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21496 PyObject
*resultobj
;
21497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21498 wxTreeItemId
*arg2
= 0 ;
21499 bool arg3
= (bool) True
;
21500 PyObject
* obj0
= 0 ;
21501 PyObject
* obj1
= 0 ;
21502 PyObject
* obj2
= 0 ;
21503 char *kwnames
[] = {
21504 (char *) "self",(char *) "item",(char *) "bold", NULL
21507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21509 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21510 if (arg2
== NULL
) {
21511 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21514 arg3
= PyInt_AsLong(obj2
) ? true : false;
21515 if (PyErr_Occurred()) SWIG_fail
;
21518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21519 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
21521 wxPyEndAllowThreads(__tstate
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21524 Py_INCREF(Py_None
); resultobj
= Py_None
;
21531 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21532 PyObject
*resultobj
;
21533 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21534 wxTreeItemId
*arg2
= 0 ;
21535 bool arg3
= (bool) True
;
21536 PyObject
* obj0
= 0 ;
21537 PyObject
* obj1
= 0 ;
21538 PyObject
* obj2
= 0 ;
21539 char *kwnames
[] = {
21540 (char *) "self",(char *) "item",(char *) "highlight", NULL
21543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21545 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21546 if (arg2
== NULL
) {
21547 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21550 arg3
= PyInt_AsLong(obj2
) ? true : false;
21551 if (PyErr_Occurred()) SWIG_fail
;
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21560 Py_INCREF(Py_None
); resultobj
= Py_None
;
21567 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
;
21569 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21570 wxTreeItemId
*arg2
= 0 ;
21571 wxColour
*arg3
= 0 ;
21573 PyObject
* obj0
= 0 ;
21574 PyObject
* obj1
= 0 ;
21575 PyObject
* obj2
= 0 ;
21576 char *kwnames
[] = {
21577 (char *) "self",(char *) "item",(char *) "col", NULL
21580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21582 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21583 if (arg2
== NULL
) {
21584 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21588 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 Py_INCREF(Py_None
); resultobj
= Py_None
;
21604 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21605 PyObject
*resultobj
;
21606 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21607 wxTreeItemId
*arg2
= 0 ;
21608 wxColour
*arg3
= 0 ;
21610 PyObject
* obj0
= 0 ;
21611 PyObject
* obj1
= 0 ;
21612 PyObject
* obj2
= 0 ;
21613 char *kwnames
[] = {
21614 (char *) "self",(char *) "item",(char *) "col", NULL
21617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21619 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21620 if (arg2
== NULL
) {
21621 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21625 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 Py_INCREF(Py_None
); resultobj
= Py_None
;
21641 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
;
21643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21644 wxTreeItemId
*arg2
= 0 ;
21646 PyObject
* obj0
= 0 ;
21647 PyObject
* obj1
= 0 ;
21648 PyObject
* obj2
= 0 ;
21649 char *kwnames
[] = {
21650 (char *) "self",(char *) "item",(char *) "font", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21655 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21656 if (arg2
== NULL
) {
21657 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21659 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21660 if (arg3
== NULL
) {
21661 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 Py_INCREF(Py_None
); resultobj
= Py_None
;
21677 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21678 PyObject
*resultobj
;
21679 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21680 wxTreeItemId
*arg2
= 0 ;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "self",(char *) "item", NULL
21688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21690 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21691 if (arg2
== NULL
) {
21692 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 resultobj
= PyInt_FromLong((long)result
);
21708 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21709 PyObject
*resultobj
;
21710 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21711 wxTreeItemId
*arg2
= 0 ;
21713 PyObject
* obj0
= 0 ;
21714 PyObject
* obj1
= 0 ;
21715 char *kwnames
[] = {
21716 (char *) "self",(char *) "item", NULL
21719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
21720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21721 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21722 if (arg2
== NULL
) {
21723 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21727 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21732 resultobj
= PyInt_FromLong((long)result
);
21739 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
;
21741 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21742 wxTreeItemId
*arg2
= 0 ;
21744 PyObject
* obj0
= 0 ;
21745 PyObject
* obj1
= 0 ;
21746 char *kwnames
[] = {
21747 (char *) "self",(char *) "item", NULL
21750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
21751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21752 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21753 if (arg2
== NULL
) {
21754 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21758 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
21760 wxPyEndAllowThreads(__tstate
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21763 resultobj
= PyInt_FromLong((long)result
);
21770 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21771 PyObject
*resultobj
;
21772 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21773 wxTreeItemId
*arg2
= 0 ;
21775 PyObject
* obj0
= 0 ;
21776 PyObject
* obj1
= 0 ;
21777 char *kwnames
[] = {
21778 (char *) "self",(char *) "item", NULL
21781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
21782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21783 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21784 if (arg2
== NULL
) {
21785 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 resultobj
= PyInt_FromLong((long)result
);
21801 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
;
21803 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21804 wxTreeItemId
*arg2
= 0 ;
21806 PyObject
* obj0
= 0 ;
21807 PyObject
* obj1
= 0 ;
21808 char *kwnames
[] = {
21809 (char *) "self",(char *) "item", NULL
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
21813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21814 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21815 if (arg2
== NULL
) {
21816 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21825 resultobj
= PyInt_FromLong((long)result
);
21832 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21833 PyObject
*resultobj
;
21834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21835 wxTreeItemId
*arg2
= 0 ;
21836 bool arg3
= (bool) True
;
21838 PyObject
* obj0
= 0 ;
21839 PyObject
* obj1
= 0 ;
21840 PyObject
* obj2
= 0 ;
21841 char *kwnames
[] = {
21842 (char *) "self",(char *) "item",(char *) "recursively", NULL
21845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21847 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21848 if (arg2
== NULL
) {
21849 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21852 arg3
= PyInt_AsLong(obj2
) ? true : false;
21853 if (PyErr_Occurred()) SWIG_fail
;
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21862 resultobj
= PyInt_FromLong((long)result
);
21869 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21870 PyObject
*resultobj
;
21871 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21872 wxTreeItemId result
;
21873 PyObject
* obj0
= 0 ;
21874 char *kwnames
[] = {
21875 (char *) "self", NULL
21878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
21879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21882 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21888 wxTreeItemId
* resultptr
;
21889 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21890 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21898 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
;
21900 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21901 wxTreeItemId result
;
21902 PyObject
* obj0
= 0 ;
21903 char *kwnames
[] = {
21904 (char *) "self", NULL
21907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
21908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21911 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
21913 wxPyEndAllowThreads(__tstate
);
21914 if (PyErr_Occurred()) SWIG_fail
;
21917 wxTreeItemId
* resultptr
;
21918 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21919 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21927 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21928 PyObject
*resultobj
;
21929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21931 PyObject
* obj0
= 0 ;
21932 char *kwnames
[] = {
21933 (char *) "self", NULL
21936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
21937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21945 resultobj
= result
;
21952 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21953 PyObject
*resultobj
;
21954 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21955 wxTreeItemId
*arg2
= 0 ;
21956 wxTreeItemId result
;
21957 PyObject
* obj0
= 0 ;
21958 PyObject
* obj1
= 0 ;
21959 char *kwnames
[] = {
21960 (char *) "self",(char *) "item", NULL
21963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
21964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21965 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21966 if (arg2
== NULL
) {
21967 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21977 wxTreeItemId
* resultptr
;
21978 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21979 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21987 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
;
21989 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21990 wxTreeItemId
*arg2
= 0 ;
21992 PyObject
* obj0
= 0 ;
21993 PyObject
* obj1
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "self",(char *) "item", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22001 if (arg2
== NULL
) {
22002 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22011 resultobj
= result
;
22018 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
;
22020 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22021 wxTreeItemId
*arg2
= 0 ;
22022 wxTreeItemIdValue
*arg3
= 0 ;
22024 PyObject
* obj0
= 0 ;
22025 PyObject
* obj1
= 0 ;
22026 PyObject
* obj2
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "self",(char *) "item",(char *) "cookie", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22033 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22034 if (arg2
== NULL
) {
22035 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22037 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemIdValue
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22038 if (arg3
== NULL
) {
22039 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,*arg3
);
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22048 resultobj
= result
;
22055 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22056 PyObject
*resultobj
;
22057 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22058 wxTreeItemId
*arg2
= 0 ;
22059 wxTreeItemId result
;
22060 PyObject
* obj0
= 0 ;
22061 PyObject
* obj1
= 0 ;
22062 char *kwnames
[] = {
22063 (char *) "self",(char *) "item", NULL
22066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22068 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22069 if (arg2
== NULL
) {
22070 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22074 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22080 wxTreeItemId
* resultptr
;
22081 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22082 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22090 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
;
22092 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22093 wxTreeItemId
*arg2
= 0 ;
22094 wxTreeItemId result
;
22095 PyObject
* obj0
= 0 ;
22096 PyObject
* obj1
= 0 ;
22097 char *kwnames
[] = {
22098 (char *) "self",(char *) "item", NULL
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22103 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22104 if (arg2
== NULL
) {
22105 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22109 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
22111 wxPyEndAllowThreads(__tstate
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22115 wxTreeItemId
* resultptr
;
22116 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22117 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22125 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22126 PyObject
*resultobj
;
22127 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22128 wxTreeItemId
*arg2
= 0 ;
22129 wxTreeItemId result
;
22130 PyObject
* obj0
= 0 ;
22131 PyObject
* obj1
= 0 ;
22132 char *kwnames
[] = {
22133 (char *) "self",(char *) "item", NULL
22136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22138 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22139 if (arg2
== NULL
) {
22140 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22150 wxTreeItemId
* resultptr
;
22151 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22152 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22160 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
;
22162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22163 wxTreeItemId result
;
22164 PyObject
* obj0
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
22170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
22175 wxPyEndAllowThreads(__tstate
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22179 wxTreeItemId
* resultptr
;
22180 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22181 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22189 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22190 PyObject
*resultobj
;
22191 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22192 wxTreeItemId
*arg2
= 0 ;
22193 wxTreeItemId result
;
22194 PyObject
* obj0
= 0 ;
22195 PyObject
* obj1
= 0 ;
22196 char *kwnames
[] = {
22197 (char *) "self",(char *) "item", NULL
22200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22202 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22203 if (arg2
== NULL
) {
22204 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22214 wxTreeItemId
* resultptr
;
22215 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22216 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22224 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
;
22226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22227 wxTreeItemId
*arg2
= 0 ;
22228 wxTreeItemId result
;
22229 PyObject
* obj0
= 0 ;
22230 PyObject
* obj1
= 0 ;
22231 char *kwnames
[] = {
22232 (char *) "self",(char *) "item", NULL
22235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22237 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22238 if (arg2
== NULL
) {
22239 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22249 wxTreeItemId
* resultptr
;
22250 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22251 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22259 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22260 PyObject
*resultobj
;
22261 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22262 wxString
*arg2
= 0 ;
22263 int arg3
= (int) -1 ;
22264 int arg4
= (int) -1 ;
22265 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
22266 wxTreeItemId result
;
22267 bool temp2
= False
;
22268 PyObject
* obj0
= 0 ;
22269 PyObject
* obj1
= 0 ;
22270 PyObject
* obj4
= 0 ;
22271 char *kwnames
[] = {
22272 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
22276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22278 arg2
= wxString_in_helper(obj1
);
22279 if (arg2
== NULL
) SWIG_fail
;
22283 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22293 wxTreeItemId
* resultptr
;
22294 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22295 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22311 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
;
22313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22314 wxTreeItemId
*arg2
= 0 ;
22315 wxString
*arg3
= 0 ;
22316 int arg4
= (int) -1 ;
22317 int arg5
= (int) -1 ;
22318 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22319 wxTreeItemId result
;
22320 bool temp3
= False
;
22321 PyObject
* obj0
= 0 ;
22322 PyObject
* obj1
= 0 ;
22323 PyObject
* obj2
= 0 ;
22324 PyObject
* obj5
= 0 ;
22325 char *kwnames
[] = {
22326 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22331 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22332 if (arg2
== NULL
) {
22333 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22336 arg3
= wxString_in_helper(obj2
);
22337 if (arg3
== NULL
) SWIG_fail
;
22341 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22351 wxTreeItemId
* resultptr
;
22352 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22353 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22369 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22372 wxTreeItemId
*arg2
= 0 ;
22373 wxTreeItemId
*arg3
= 0 ;
22374 wxString
*arg4
= 0 ;
22375 int arg5
= (int) -1 ;
22376 int arg6
= (int) -1 ;
22377 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22378 wxTreeItemId result
;
22379 bool temp4
= False
;
22380 PyObject
* obj0
= 0 ;
22381 PyObject
* obj1
= 0 ;
22382 PyObject
* obj2
= 0 ;
22383 PyObject
* obj3
= 0 ;
22384 PyObject
* obj6
= 0 ;
22385 char *kwnames
[] = {
22386 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22391 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22392 if (arg2
== NULL
) {
22393 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22395 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22396 if (arg3
== NULL
) {
22397 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22400 arg4
= wxString_in_helper(obj3
);
22401 if (arg4
== NULL
) SWIG_fail
;
22405 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22411 wxPyEndAllowThreads(__tstate
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22415 wxTreeItemId
* resultptr
;
22416 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22417 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22433 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22434 PyObject
*resultobj
;
22435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22436 wxTreeItemId
*arg2
= 0 ;
22438 wxString
*arg4
= 0 ;
22439 int arg5
= (int) -1 ;
22440 int arg6
= (int) -1 ;
22441 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22442 wxTreeItemId result
;
22443 bool temp4
= False
;
22444 PyObject
* obj0
= 0 ;
22445 PyObject
* obj1
= 0 ;
22446 PyObject
* obj2
= 0 ;
22447 PyObject
* obj3
= 0 ;
22448 PyObject
* obj6
= 0 ;
22449 char *kwnames
[] = {
22450 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22455 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22456 if (arg2
== NULL
) {
22457 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22459 arg3
= (size_t) PyInt_AsLong(obj2
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22462 arg4
= wxString_in_helper(obj3
);
22463 if (arg4
== NULL
) SWIG_fail
;
22467 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22477 wxTreeItemId
* resultptr
;
22478 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22479 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22495 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
;
22497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22498 wxTreeItemId
*arg2
= 0 ;
22499 wxString
*arg3
= 0 ;
22500 int arg4
= (int) -1 ;
22501 int arg5
= (int) -1 ;
22502 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22503 wxTreeItemId result
;
22504 bool temp3
= False
;
22505 PyObject
* obj0
= 0 ;
22506 PyObject
* obj1
= 0 ;
22507 PyObject
* obj2
= 0 ;
22508 PyObject
* obj5
= 0 ;
22509 char *kwnames
[] = {
22510 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22515 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22516 if (arg2
== NULL
) {
22517 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22520 arg3
= wxString_in_helper(obj2
);
22521 if (arg3
== NULL
) SWIG_fail
;
22525 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22529 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22535 wxTreeItemId
* resultptr
;
22536 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22537 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22553 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
;
22555 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22556 wxTreeItemId
*arg2
= 0 ;
22557 PyObject
* obj0
= 0 ;
22558 PyObject
* obj1
= 0 ;
22559 char *kwnames
[] = {
22560 (char *) "self",(char *) "item", NULL
22563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
22564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22565 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22566 if (arg2
== NULL
) {
22567 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22576 Py_INCREF(Py_None
); resultobj
= Py_None
;
22583 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
;
22585 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22586 wxTreeItemId
*arg2
= 0 ;
22587 PyObject
* obj0
= 0 ;
22588 PyObject
* obj1
= 0 ;
22589 char *kwnames
[] = {
22590 (char *) "self",(char *) "item", NULL
22593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22596 if (arg2
== NULL
) {
22597 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 Py_INCREF(Py_None
); resultobj
= Py_None
;
22613 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22614 PyObject
*resultobj
;
22615 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22616 PyObject
* obj0
= 0 ;
22617 char *kwnames
[] = {
22618 (char *) "self", NULL
22621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 (arg1
)->DeleteAllItems();
22627 wxPyEndAllowThreads(__tstate
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22630 Py_INCREF(Py_None
); resultobj
= Py_None
;
22637 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
;
22639 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22640 wxTreeItemId
*arg2
= 0 ;
22641 PyObject
* obj0
= 0 ;
22642 PyObject
* obj1
= 0 ;
22643 char *kwnames
[] = {
22644 (char *) "self",(char *) "item", NULL
22647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
22648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22649 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22650 if (arg2
== NULL
) {
22651 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22660 Py_INCREF(Py_None
); resultobj
= Py_None
;
22667 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
;
22669 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22670 wxTreeItemId
*arg2
= 0 ;
22671 PyObject
* obj0
= 0 ;
22672 PyObject
* obj1
= 0 ;
22673 char *kwnames
[] = {
22674 (char *) "self",(char *) "item", NULL
22677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
22678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22679 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22680 if (arg2
== NULL
) {
22681 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22685 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 Py_INCREF(Py_None
); resultobj
= Py_None
;
22697 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
;
22699 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22700 wxTreeItemId
*arg2
= 0 ;
22701 PyObject
* obj0
= 0 ;
22702 PyObject
* obj1
= 0 ;
22703 char *kwnames
[] = {
22704 (char *) "self",(char *) "item", NULL
22707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
22708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22709 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22710 if (arg2
== NULL
) {
22711 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22720 Py_INCREF(Py_None
); resultobj
= Py_None
;
22727 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22728 PyObject
*resultobj
;
22729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22730 wxTreeItemId
*arg2
= 0 ;
22731 PyObject
* obj0
= 0 ;
22732 PyObject
* obj1
= 0 ;
22733 char *kwnames
[] = {
22734 (char *) "self",(char *) "item", NULL
22737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
22738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22739 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22740 if (arg2
== NULL
) {
22741 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22745 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 Py_INCREF(Py_None
); resultobj
= Py_None
;
22757 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22758 PyObject
*resultobj
;
22759 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22760 PyObject
* obj0
= 0 ;
22761 char *kwnames
[] = {
22762 (char *) "self", NULL
22765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
22766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22769 (arg1
)->Unselect();
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22774 Py_INCREF(Py_None
); resultobj
= Py_None
;
22781 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22784 PyObject
* obj0
= 0 ;
22785 char *kwnames
[] = {
22786 (char *) "self", NULL
22789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
22790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 (arg1
)->UnselectAll();
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22798 Py_INCREF(Py_None
); resultobj
= Py_None
;
22805 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22806 PyObject
*resultobj
;
22807 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22808 wxTreeItemId
*arg2
= 0 ;
22809 PyObject
* obj0
= 0 ;
22810 PyObject
* obj1
= 0 ;
22811 char *kwnames
[] = {
22812 (char *) "self",(char *) "item", NULL
22815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22817 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22818 if (arg2
== NULL
) {
22819 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22823 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
22825 wxPyEndAllowThreads(__tstate
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22828 Py_INCREF(Py_None
); resultobj
= Py_None
;
22835 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22836 PyObject
*resultobj
;
22837 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22838 wxTreeItemId
*arg2
= 0 ;
22839 PyObject
* obj0
= 0 ;
22840 PyObject
* obj1
= 0 ;
22841 char *kwnames
[] = {
22842 (char *) "self",(char *) "item", NULL
22845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22847 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22848 if (arg2
== NULL
) {
22849 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 Py_INCREF(Py_None
); resultobj
= Py_None
;
22865 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22866 PyObject
*resultobj
;
22867 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22868 wxTreeItemId
*arg2
= 0 ;
22869 PyObject
* obj0
= 0 ;
22870 PyObject
* obj1
= 0 ;
22871 char *kwnames
[] = {
22872 (char *) "self",(char *) "item", NULL
22875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22877 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22878 if (arg2
== NULL
) {
22879 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 Py_INCREF(Py_None
); resultobj
= Py_None
;
22895 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22898 wxTreeItemId
*arg2
= 0 ;
22899 PyObject
* obj0
= 0 ;
22900 PyObject
* obj1
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self",(char *) "item", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22907 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22908 if (arg2
== NULL
) {
22909 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22913 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
22915 wxPyEndAllowThreads(__tstate
);
22916 if (PyErr_Occurred()) SWIG_fail
;
22918 Py_INCREF(Py_None
); resultobj
= Py_None
;
22925 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22926 PyObject
*resultobj
;
22927 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22928 wxTextCtrl
*result
;
22929 PyObject
* obj0
= 0 ;
22930 char *kwnames
[] = {
22931 (char *) "self", NULL
22934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
22935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22944 resultobj
= wxPyMake_wxObject(result
);
22952 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22953 PyObject
*resultobj
;
22954 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22955 wxTreeItemId
*arg2
= 0 ;
22956 bool arg3
= (bool) False
;
22957 PyObject
* obj0
= 0 ;
22958 PyObject
* obj1
= 0 ;
22959 PyObject
* obj2
= 0 ;
22960 char *kwnames
[] = {
22961 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
22964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22966 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22967 if (arg2
== NULL
) {
22968 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22971 arg3
= PyInt_AsLong(obj2
) ? true : false;
22972 if (PyErr_Occurred()) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 Py_INCREF(Py_None
); resultobj
= Py_None
;
22988 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
;
22990 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22991 wxTreeItemId
*arg2
= 0 ;
22992 PyObject
* obj0
= 0 ;
22993 PyObject
* obj1
= 0 ;
22994 char *kwnames
[] = {
22995 (char *) "self",(char *) "item", NULL
22998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23001 if (arg2
== NULL
) {
23002 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 Py_INCREF(Py_None
); resultobj
= Py_None
;
23018 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23019 PyObject
*resultobj
;
23020 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23021 wxPoint
*arg2
= 0 ;
23023 wxTreeItemId result
;
23026 PyObject
* obj0
= 0 ;
23027 PyObject
* obj1
= 0 ;
23028 char *kwnames
[] = {
23029 (char *) "self",(char *) "point", NULL
23033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23037 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23047 wxTreeItemId
* resultptr
;
23048 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23049 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23052 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23053 resultobj
= t_output_helper(resultobj
,o
);
23061 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23062 PyObject
*resultobj
;
23063 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23064 wxTreeItemId
*arg2
= 0 ;
23065 bool arg3
= (bool) False
;
23067 PyObject
* obj0
= 0 ;
23068 PyObject
* obj1
= 0 ;
23069 PyObject
* obj2
= 0 ;
23070 char *kwnames
[] = {
23071 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23077 if (arg2
== NULL
) {
23078 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23081 arg3
= PyInt_AsLong(obj2
) ? true : false;
23082 if (PyErr_Occurred()) SWIG_fail
;
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
23088 wxPyEndAllowThreads(__tstate
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 resultobj
= result
;
23098 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23101 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
23103 return Py_BuildValue((char *)"");
23105 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23106 PyObject
*resultobj
;
23107 wxWindow
*arg1
= (wxWindow
*) 0 ;
23108 int arg2
= (int) (int)-1 ;
23109 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
23110 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23111 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23112 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23113 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23114 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23115 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23116 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23117 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23118 int arg8
= (int) 0 ;
23119 wxString
const &arg9_defvalue
= wxPy_TreeCtrlNameStr
;
23120 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23121 wxGenericDirCtrl
*result
;
23122 bool temp3
= False
;
23125 bool temp7
= False
;
23126 bool temp9
= False
;
23127 PyObject
* obj0
= 0 ;
23128 PyObject
* obj2
= 0 ;
23129 PyObject
* obj3
= 0 ;
23130 PyObject
* obj4
= 0 ;
23131 PyObject
* obj6
= 0 ;
23132 PyObject
* obj8
= 0 ;
23133 char *kwnames
[] = {
23134 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&obj8
)) goto fail
;
23138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23141 arg3
= wxString_in_helper(obj2
);
23142 if (arg3
== NULL
) SWIG_fail
;
23149 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23155 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23160 arg7
= wxString_in_helper(obj6
);
23161 if (arg7
== NULL
) SWIG_fail
;
23167 arg9
= wxString_in_helper(obj8
);
23168 if (arg9
== NULL
) SWIG_fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23210 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
;
23212 wxGenericDirCtrl
*result
;
23213 char *kwnames
[] = {
23217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23225 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23232 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23233 PyObject
*resultobj
;
23234 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23235 wxWindow
*arg2
= (wxWindow
*) 0 ;
23236 int arg3
= (int) (int)-1 ;
23237 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
23238 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23239 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23240 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23241 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23242 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23243 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23244 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23245 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23246 int arg9
= (int) 0 ;
23247 wxString
const &arg10_defvalue
= wxPy_TreeCtrlNameStr
;
23248 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
23250 bool temp4
= False
;
23253 bool temp8
= False
;
23254 bool temp10
= False
;
23255 PyObject
* obj0
= 0 ;
23256 PyObject
* obj1
= 0 ;
23257 PyObject
* obj3
= 0 ;
23258 PyObject
* obj4
= 0 ;
23259 PyObject
* obj5
= 0 ;
23260 PyObject
* obj7
= 0 ;
23261 PyObject
* obj9
= 0 ;
23262 char *kwnames
[] = {
23263 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&arg9
,&obj9
)) goto fail
;
23267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23268 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23271 arg4
= wxString_in_helper(obj3
);
23272 if (arg4
== NULL
) SWIG_fail
;
23279 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23285 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23290 arg8
= wxString_in_helper(obj7
);
23291 if (arg8
== NULL
) SWIG_fail
;
23297 arg10
= wxString_in_helper(obj9
);
23298 if (arg10
== NULL
) SWIG_fail
;
23303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23304 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
23306 wxPyEndAllowThreads(__tstate
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23309 resultobj
= PyInt_FromLong((long)result
);
23340 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23341 PyObject
*resultobj
;
23342 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23343 wxString
*arg2
= 0 ;
23345 bool temp2
= False
;
23346 PyObject
* obj0
= 0 ;
23347 PyObject
* obj1
= 0 ;
23348 char *kwnames
[] = {
23349 (char *) "self",(char *) "path", NULL
23352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23355 arg2
= wxString_in_helper(obj1
);
23356 if (arg2
== NULL
) SWIG_fail
;
23360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23361 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
23363 wxPyEndAllowThreads(__tstate
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23366 resultobj
= PyInt_FromLong((long)result
);
23381 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
;
23383 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23385 PyObject
* obj0
= 0 ;
23386 char *kwnames
[] = {
23387 (char *) "self", NULL
23390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
23391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23394 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23412 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23413 PyObject
*resultobj
;
23414 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23415 wxString
*arg2
= 0 ;
23416 bool temp2
= False
;
23417 PyObject
* obj0
= 0 ;
23418 PyObject
* obj1
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "self",(char *) "path", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23426 arg2
= wxString_in_helper(obj1
);
23427 if (arg2
== NULL
) SWIG_fail
;
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23432 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23437 Py_INCREF(Py_None
); resultobj
= Py_None
;
23452 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23453 PyObject
*resultobj
;
23454 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23456 PyObject
* obj0
= 0 ;
23457 char *kwnames
[] = {
23458 (char *) "self", NULL
23461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
23462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23465 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23483 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23484 PyObject
*resultobj
;
23485 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23487 PyObject
* obj0
= 0 ;
23488 char *kwnames
[] = {
23489 (char *) "self", NULL
23492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
23493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23514 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23515 PyObject
*resultobj
;
23516 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23517 wxString
*arg2
= 0 ;
23518 bool temp2
= False
;
23519 PyObject
* obj0
= 0 ;
23520 PyObject
* obj1
= 0 ;
23521 char *kwnames
[] = {
23522 (char *) "self",(char *) "path", NULL
23525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23528 arg2
= wxString_in_helper(obj1
);
23529 if (arg2
== NULL
) SWIG_fail
;
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23534 (arg1
)->SetPath((wxString
const &)*arg2
);
23536 wxPyEndAllowThreads(__tstate
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23539 Py_INCREF(Py_None
); resultobj
= Py_None
;
23554 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23555 PyObject
*resultobj
;
23556 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23558 PyObject
* obj0
= 0 ;
23559 PyObject
* obj1
= 0 ;
23560 char *kwnames
[] = {
23561 (char *) "self",(char *) "show", NULL
23564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
23565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23566 arg2
= PyInt_AsLong(obj1
) ? true : false;
23567 if (PyErr_Occurred()) SWIG_fail
;
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 (arg1
)->ShowHidden(arg2
);
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23575 Py_INCREF(Py_None
); resultobj
= Py_None
;
23582 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
;
23584 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23586 PyObject
* obj0
= 0 ;
23587 char *kwnames
[] = {
23588 (char *) "self", NULL
23591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
23592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 result
= (bool)(arg1
)->GetShowHidden();
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23600 resultobj
= PyInt_FromLong((long)result
);
23607 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
;
23609 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23611 PyObject
* obj0
= 0 ;
23612 char *kwnames
[] = {
23613 (char *) "self", NULL
23616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
23617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23620 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23627 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23629 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23638 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23639 PyObject
*resultobj
;
23640 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23641 wxString
*arg2
= 0 ;
23642 bool temp2
= False
;
23643 PyObject
* obj0
= 0 ;
23644 PyObject
* obj1
= 0 ;
23645 char *kwnames
[] = {
23646 (char *) "self",(char *) "filter", NULL
23649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
23650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23652 arg2
= wxString_in_helper(obj1
);
23653 if (arg2
== NULL
) SWIG_fail
;
23657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23658 (arg1
)->SetFilter((wxString
const &)*arg2
);
23660 wxPyEndAllowThreads(__tstate
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23663 Py_INCREF(Py_None
); resultobj
= Py_None
;
23678 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23679 PyObject
*resultobj
;
23680 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23682 PyObject
* obj0
= 0 ;
23683 char *kwnames
[] = {
23684 (char *) "self", NULL
23687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
23688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23696 resultobj
= PyInt_FromLong((long)result
);
23703 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23704 PyObject
*resultobj
;
23705 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23707 PyObject
* obj0
= 0 ;
23708 char *kwnames
[] = {
23709 (char *) "self",(char *) "n", NULL
23712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
23713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 (arg1
)->SetFilterIndex(arg2
);
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 Py_INCREF(Py_None
); resultobj
= Py_None
;
23728 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
;
23730 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23731 wxTreeItemId result
;
23732 PyObject
* obj0
= 0 ;
23733 char *kwnames
[] = {
23734 (char *) "self", NULL
23737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
23738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 result
= (arg1
)->GetRootId();
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23747 wxTreeItemId
* resultptr
;
23748 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23749 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23757 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23758 PyObject
*resultobj
;
23759 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23760 wxTreeCtrl
*result
;
23761 PyObject
* obj0
= 0 ;
23762 char *kwnames
[] = {
23763 (char *) "self", NULL
23766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
23767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (wxTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23776 resultobj
= wxPyMake_wxObject(result
);
23784 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
;
23786 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23787 wxDirFilterListCtrl
*result
;
23788 PyObject
* obj0
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "self", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
23794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23802 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
23809 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
;
23811 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23812 wxTreeItemId arg2
;
23813 wxString
*arg3
= 0 ;
23815 wxTreeItemId result
;
23816 wxTreeItemId
*argp2
;
23817 bool temp3
= False
;
23819 PyObject
* obj0
= 0 ;
23820 PyObject
* obj1
= 0 ;
23821 PyObject
* obj2
= 0 ;
23822 char *kwnames
[] = {
23823 (char *) "self",(char *) "parentId",(char *) "path", NULL
23827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23829 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
23832 arg3
= wxString_in_helper(obj2
);
23833 if (arg3
== NULL
) SWIG_fail
;
23837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23838 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23844 wxTreeItemId
* resultptr
;
23845 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23846 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23849 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
23850 resultobj
= t_output_helper(resultobj
,o
);
23866 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23867 PyObject
*resultobj
;
23868 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23869 PyObject
* obj0
= 0 ;
23870 char *kwnames
[] = {
23871 (char *) "self", NULL
23874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
23875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 (arg1
)->DoResize();
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 Py_INCREF(Py_None
); resultobj
= Py_None
;
23890 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
;
23892 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23893 PyObject
* obj0
= 0 ;
23894 char *kwnames
[] = {
23895 (char *) "self", NULL
23898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
23899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 (arg1
)->ReCreateTree();
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23907 Py_INCREF(Py_None
); resultobj
= Py_None
;
23914 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23917 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
23919 return Py_BuildValue((char *)"");
23921 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23922 PyObject
*resultobj
;
23923 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23924 int arg2
= (int) (int)-1 ;
23925 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23926 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23927 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23928 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23929 long arg5
= (long) 0 ;
23930 wxDirFilterListCtrl
*result
;
23933 PyObject
* obj0
= 0 ;
23934 PyObject
* obj2
= 0 ;
23935 PyObject
* obj3
= 0 ;
23936 char *kwnames
[] = {
23937 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
23941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23945 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23951 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
23968 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
;
23970 wxDirFilterListCtrl
*result
;
23971 char *kwnames
[] = {
23975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
23990 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
;
23992 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
23993 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
23994 int arg3
= (int) (int)-1 ;
23995 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23996 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23997 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23998 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23999 long arg6
= (long) 0 ;
24003 PyObject
* obj0
= 0 ;
24004 PyObject
* obj1
= 0 ;
24005 PyObject
* obj3
= 0 ;
24006 PyObject
* obj4
= 0 ;
24007 char *kwnames
[] = {
24008 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
24012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24013 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24017 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24023 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24033 resultobj
= PyInt_FromLong((long)result
);
24040 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
;
24042 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24043 wxString
*arg2
= 0 ;
24045 bool temp2
= False
;
24046 PyObject
* obj0
= 0 ;
24047 PyObject
* obj1
= 0 ;
24048 char *kwnames
[] = {
24049 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
24053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24055 arg2
= wxString_in_helper(obj1
);
24056 if (arg2
== NULL
) SWIG_fail
;
24060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24061 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
24063 wxPyEndAllowThreads(__tstate
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24066 Py_INCREF(Py_None
); resultobj
= Py_None
;
24081 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24084 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
24086 return Py_BuildValue((char *)"");
24088 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
;
24090 wxWindow
*arg1
= (wxWindow
*) 0 ;
24092 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24093 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24094 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24095 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24096 long arg5
= (long) 0 ;
24097 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24098 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24099 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
24100 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24101 wxPyControl
*result
;
24104 bool temp7
= False
;
24105 PyObject
* obj0
= 0 ;
24106 PyObject
* obj2
= 0 ;
24107 PyObject
* obj3
= 0 ;
24108 PyObject
* obj5
= 0 ;
24109 PyObject
* obj6
= 0 ;
24110 char *kwnames
[] = {
24111 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_PyControl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
24115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24119 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24125 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24129 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24130 if (arg6
== NULL
) {
24131 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24136 arg7
= wxString_in_helper(obj6
);
24137 if (arg7
== NULL
) SWIG_fail
;
24142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24143 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24145 wxPyEndAllowThreads(__tstate
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24148 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
24163 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
;
24165 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24166 PyObject
*arg2
= (PyObject
*) 0 ;
24167 PyObject
*arg3
= (PyObject
*) 0 ;
24168 PyObject
* obj0
= 0 ;
24169 PyObject
* obj1
= 0 ;
24170 PyObject
* obj2
= 0 ;
24171 char *kwnames
[] = {
24172 (char *) "self",(char *) "self",(char *) "_class", NULL
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 Py_INCREF(Py_None
); resultobj
= Py_None
;
24193 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
;
24195 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24200 PyObject
* obj0
= 0 ;
24201 char *kwnames
[] = {
24202 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 Py_INCREF(Py_None
); resultobj
= Py_None
;
24221 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24222 PyObject
*resultobj
;
24223 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24228 int arg6
= (int) wxSIZE_AUTO
;
24229 PyObject
* obj0
= 0 ;
24230 char *kwnames
[] = {
24231 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24238 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24240 wxPyEndAllowThreads(__tstate
);
24241 if (PyErr_Occurred()) SWIG_fail
;
24243 Py_INCREF(Py_None
); resultobj
= Py_None
;
24250 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24251 PyObject
*resultobj
;
24252 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24255 PyObject
* obj0
= 0 ;
24256 char *kwnames
[] = {
24257 (char *) "self",(char *) "width",(char *) "height", NULL
24260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 (arg1
)->base_DoSetClientSize(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_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24281 PyObject
* obj0
= 0 ;
24282 char *kwnames
[] = {
24283 (char *) "self",(char *) "x",(char *) "y", NULL
24286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24295 Py_INCREF(Py_None
); resultobj
= Py_None
;
24302 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
;
24304 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24305 int *arg2
= (int *) 0 ;
24306 int *arg3
= (int *) 0 ;
24309 PyObject
* obj0
= 0 ;
24310 char *kwnames
[] = {
24311 (char *) "self", NULL
24316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
24317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24320 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
24322 wxPyEndAllowThreads(__tstate
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24325 Py_INCREF(Py_None
); resultobj
= Py_None
;
24327 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24328 resultobj
= t_output_helper(resultobj
,o
);
24331 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24332 resultobj
= t_output_helper(resultobj
,o
);
24340 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24341 PyObject
*resultobj
;
24342 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24343 int *arg2
= (int *) 0 ;
24344 int *arg3
= (int *) 0 ;
24347 PyObject
* obj0
= 0 ;
24348 char *kwnames
[] = {
24349 (char *) "self", NULL
24354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
24355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24358 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24363 Py_INCREF(Py_None
); resultobj
= Py_None
;
24365 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24366 resultobj
= t_output_helper(resultobj
,o
);
24369 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24370 resultobj
= t_output_helper(resultobj
,o
);
24378 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
;
24380 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24381 int *arg2
= (int *) 0 ;
24382 int *arg3
= (int *) 0 ;
24385 PyObject
* obj0
= 0 ;
24386 char *kwnames
[] = {
24387 (char *) "self", NULL
24392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
24393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 Py_INCREF(Py_None
); resultobj
= Py_None
;
24403 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24404 resultobj
= t_output_helper(resultobj
,o
);
24407 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24408 resultobj
= t_output_helper(resultobj
,o
);
24416 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24417 PyObject
*resultobj
;
24418 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24420 PyObject
* obj0
= 0 ;
24421 char *kwnames
[] = {
24422 (char *) "self", NULL
24425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
24426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24435 wxSize
* resultptr
;
24436 resultptr
= new wxSize((wxSize
&) result
);
24437 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24445 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
;
24447 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24449 PyObject
* obj0
= 0 ;
24450 char *kwnames
[] = {
24451 (char *) "self", NULL
24454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
24455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24464 wxSize
* resultptr
;
24465 resultptr
= new wxSize((wxSize
&) result
);
24466 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24474 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24475 PyObject
*resultobj
;
24476 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24477 PyObject
* obj0
= 0 ;
24478 char *kwnames
[] = {
24479 (char *) "self", NULL
24482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
24483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24486 (arg1
)->base_InitDialog();
24488 wxPyEndAllowThreads(__tstate
);
24489 if (PyErr_Occurred()) SWIG_fail
;
24491 Py_INCREF(Py_None
); resultobj
= Py_None
;
24498 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24499 PyObject
*resultobj
;
24500 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24502 PyObject
* obj0
= 0 ;
24503 char *kwnames
[] = {
24504 (char *) "self", NULL
24507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 result
= (bool)(arg1
)->base_TransferDataToWindow();
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24516 resultobj
= PyInt_FromLong((long)result
);
24523 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24527 PyObject
* obj0
= 0 ;
24528 char *kwnames
[] = {
24529 (char *) "self", NULL
24532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 result
= (bool)(arg1
)->base_TransferDataFromWindow();
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= PyInt_FromLong((long)result
);
24548 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
;
24550 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24552 PyObject
* obj0
= 0 ;
24553 char *kwnames
[] = {
24554 (char *) "self", NULL
24557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
24558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= (bool)(arg1
)->base_Validate();
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= PyInt_FromLong((long)result
);
24573 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24577 PyObject
* obj0
= 0 ;
24578 char *kwnames
[] = {
24579 (char *) "self", NULL
24582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24586 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
24588 wxPyEndAllowThreads(__tstate
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24591 resultobj
= PyInt_FromLong((long)result
);
24598 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24599 PyObject
*resultobj
;
24600 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24602 PyObject
* obj0
= 0 ;
24603 char *kwnames
[] = {
24604 (char *) "self", NULL
24607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24611 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
24613 wxPyEndAllowThreads(__tstate
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24616 resultobj
= PyInt_FromLong((long)result
);
24623 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24624 PyObject
*resultobj
;
24625 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24627 PyObject
* obj0
= 0 ;
24628 char *kwnames
[] = {
24629 (char *) "self", NULL
24632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24642 wxSize
* resultptr
;
24643 resultptr
= new wxSize((wxSize
&) result
);
24644 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24652 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24653 PyObject
*resultobj
;
24654 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24655 wxWindow
*arg2
= (wxWindow
*) 0 ;
24656 PyObject
* obj0
= 0 ;
24657 PyObject
* obj1
= 0 ;
24658 char *kwnames
[] = {
24659 (char *) "self",(char *) "child", NULL
24662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24664 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24667 (arg1
)->base_AddChild(arg2
);
24669 wxPyEndAllowThreads(__tstate
);
24670 if (PyErr_Occurred()) SWIG_fail
;
24672 Py_INCREF(Py_None
); resultobj
= Py_None
;
24679 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24680 PyObject
*resultobj
;
24681 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24682 wxWindow
*arg2
= (wxWindow
*) 0 ;
24683 PyObject
* obj0
= 0 ;
24684 PyObject
* obj1
= 0 ;
24685 char *kwnames
[] = {
24686 (char *) "self",(char *) "child", NULL
24689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24691 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 (arg1
)->base_RemoveChild(arg2
);
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24699 Py_INCREF(Py_None
); resultobj
= Py_None
;
24706 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
24708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24709 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
24711 return Py_BuildValue((char *)"");
24713 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24714 PyObject
*resultobj
;
24715 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24716 int arg2
= (int) 0 ;
24717 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24718 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24719 wxHelpEvent
*result
;
24721 PyObject
* obj2
= 0 ;
24722 char *kwnames
[] = {
24723 (char *) "type",(char *) "winid",(char *) "pt", NULL
24726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_HelpEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
24730 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
24737 wxPyEndAllowThreads(__tstate
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24740 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
24747 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
;
24749 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24751 PyObject
* obj0
= 0 ;
24752 char *kwnames
[] = {
24753 (char *) "self", NULL
24756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
24757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
24762 result
= (wxPoint
*) &_result_ref
;
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24768 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
24775 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24778 wxPoint
*arg2
= 0 ;
24780 PyObject
* obj0
= 0 ;
24781 PyObject
* obj1
= 0 ;
24782 char *kwnames
[] = {
24783 (char *) "self",(char *) "pos", NULL
24786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24790 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24794 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
24796 wxPyEndAllowThreads(__tstate
);
24797 if (PyErr_Occurred()) SWIG_fail
;
24799 Py_INCREF(Py_None
); resultobj
= Py_None
;
24806 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24807 PyObject
*resultobj
;
24808 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24810 PyObject
* obj0
= 0 ;
24811 char *kwnames
[] = {
24812 (char *) "self", NULL
24815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
24816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
24821 result
= (wxString
*) &_result_ref
;
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24827 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
24834 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
;
24836 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24837 wxString
*arg2
= 0 ;
24838 bool temp2
= False
;
24839 PyObject
* obj0
= 0 ;
24840 PyObject
* obj1
= 0 ;
24841 char *kwnames
[] = {
24842 (char *) "self",(char *) "link", NULL
24845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
24846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24848 arg2
= wxString_in_helper(obj1
);
24849 if (arg2
== NULL
) SWIG_fail
;
24853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24854 (arg1
)->SetLink((wxString
const &)*arg2
);
24856 wxPyEndAllowThreads(__tstate
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24859 Py_INCREF(Py_None
); resultobj
= Py_None
;
24874 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24875 PyObject
*resultobj
;
24876 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24878 PyObject
* obj0
= 0 ;
24879 char *kwnames
[] = {
24880 (char *) "self", NULL
24883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
24884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
24889 result
= (wxString
*) &_result_ref
;
24892 wxPyEndAllowThreads(__tstate
);
24893 if (PyErr_Occurred()) SWIG_fail
;
24895 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
24902 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24903 PyObject
*resultobj
;
24904 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24905 wxString
*arg2
= 0 ;
24906 bool temp2
= False
;
24907 PyObject
* obj0
= 0 ;
24908 PyObject
* obj1
= 0 ;
24909 char *kwnames
[] = {
24910 (char *) "self",(char *) "target", NULL
24913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
24914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24916 arg2
= wxString_in_helper(obj1
);
24917 if (arg2
== NULL
) SWIG_fail
;
24921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24922 (arg1
)->SetTarget((wxString
const &)*arg2
);
24924 wxPyEndAllowThreads(__tstate
);
24925 if (PyErr_Occurred()) SWIG_fail
;
24927 Py_INCREF(Py_None
); resultobj
= Py_None
;
24942 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24945 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
24947 return Py_BuildValue((char *)"");
24949 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
;
24951 wxWindow
*arg1
= (wxWindow
*) NULL
;
24952 bool arg2
= (bool) True
;
24953 wxContextHelp
*result
;
24954 PyObject
* obj0
= 0 ;
24955 PyObject
* obj1
= 0 ;
24956 char *kwnames
[] = {
24957 (char *) "window",(char *) "doNow", NULL
24960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24965 arg2
= PyInt_AsLong(obj1
) ? true : false;
24966 if (PyErr_Occurred()) SWIG_fail
;
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
24982 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24983 PyObject
*resultobj
;
24984 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
24985 PyObject
* obj0
= 0 ;
24986 char *kwnames
[] = {
24987 (char *) "self", NULL
24990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
24991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
24999 Py_INCREF(Py_None
); resultobj
= Py_None
;
25006 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25007 PyObject
*resultobj
;
25008 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25009 wxWindow
*arg2
= (wxWindow
*) NULL
;
25011 PyObject
* obj0
= 0 ;
25012 PyObject
* obj1
= 0 ;
25013 char *kwnames
[] = {
25014 (char *) "self",(char *) "window", NULL
25017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25020 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25024 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 resultobj
= PyInt_FromLong((long)result
);
25036 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25037 PyObject
*resultobj
;
25038 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25040 PyObject
* obj0
= 0 ;
25041 char *kwnames
[] = {
25042 (char *) "self", NULL
25045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
25046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 result
= (bool)(arg1
)->EndContextHelp();
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25054 resultobj
= PyInt_FromLong((long)result
);
25061 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
25063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25064 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
25066 return Py_BuildValue((char *)"");
25068 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
;
25070 wxWindow
*arg1
= (wxWindow
*) 0 ;
25071 int arg2
= (int) wxID_CONTEXT_HELP
;
25072 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25073 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25074 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25075 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25076 long arg5
= (long) wxBU_AUTODRAW
;
25077 wxContextHelpButton
*result
;
25080 PyObject
* obj0
= 0 ;
25081 PyObject
* obj2
= 0 ;
25082 PyObject
* obj3
= 0 ;
25083 char *kwnames
[] = {
25084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_ContextHelpButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25092 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25098 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25103 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25108 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
25115 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
25117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25118 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
25120 return Py_BuildValue((char *)"");
25122 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25123 PyObject
*resultobj
;
25124 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25125 wxHelpProvider
*result
;
25126 PyObject
* obj0
= 0 ;
25127 char *kwnames
[] = {
25128 (char *) "helpProvider", NULL
25131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
25132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25135 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25140 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25147 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25148 PyObject
*resultobj
;
25149 wxHelpProvider
*result
;
25150 char *kwnames
[] = {
25154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
25156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25157 result
= (wxHelpProvider
*)wxHelpProvider::Get();
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25169 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25170 PyObject
*resultobj
;
25171 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25172 wxWindow
*arg2
= (wxWindow
*) 0 ;
25174 PyObject
* obj0
= 0 ;
25175 PyObject
* obj1
= 0 ;
25176 char *kwnames
[] = {
25177 (char *) "self",(char *) "window", NULL
25180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25182 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25203 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25204 PyObject
*resultobj
;
25205 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25206 wxWindow
*arg2
= (wxWindow
*) 0 ;
25208 PyObject
* obj0
= 0 ;
25209 PyObject
* obj1
= 0 ;
25210 char *kwnames
[] = {
25211 (char *) "self",(char *) "window", NULL
25214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25216 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 result
= (bool)(arg1
)->ShowHelp(arg2
);
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25224 resultobj
= PyInt_FromLong((long)result
);
25231 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
;
25233 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25234 wxWindow
*arg2
= (wxWindow
*) 0 ;
25235 wxString
*arg3
= 0 ;
25236 bool temp3
= False
;
25237 PyObject
* obj0
= 0 ;
25238 PyObject
* obj1
= 0 ;
25239 PyObject
* obj2
= 0 ;
25240 char *kwnames
[] = {
25241 (char *) "self",(char *) "window",(char *) "text", NULL
25244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25246 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25248 arg3
= wxString_in_helper(obj2
);
25249 if (arg3
== NULL
) SWIG_fail
;
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25256 wxPyEndAllowThreads(__tstate
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25259 Py_INCREF(Py_None
); resultobj
= Py_None
;
25274 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25275 PyObject
*resultobj
;
25276 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25278 wxString
*arg3
= 0 ;
25279 bool temp3
= False
;
25280 PyObject
* obj0
= 0 ;
25281 PyObject
* obj2
= 0 ;
25282 char *kwnames
[] = {
25283 (char *) "self",(char *) "id",(char *) "text", NULL
25286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:HelpProvider_AddHelpById",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25289 arg3
= wxString_in_helper(obj2
);
25290 if (arg3
== NULL
) SWIG_fail
;
25294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25295 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25297 wxPyEndAllowThreads(__tstate
);
25298 if (PyErr_Occurred()) SWIG_fail
;
25300 Py_INCREF(Py_None
); resultobj
= Py_None
;
25315 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25316 PyObject
*resultobj
;
25317 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25318 PyObject
* obj0
= 0 ;
25319 char *kwnames
[] = {
25320 (char *) "self", NULL
25323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
25324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 wxHelpProvider_Destroy(arg1
);
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25332 Py_INCREF(Py_None
); resultobj
= Py_None
;
25339 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25342 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
25344 return Py_BuildValue((char *)"");
25346 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxSimpleHelpProvider
*result
;
25349 char *kwnames
[] = {
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
25355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25356 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
25358 wxPyEndAllowThreads(__tstate
);
25359 if (PyErr_Occurred()) SWIG_fail
;
25361 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
25368 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25371 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
25373 return Py_BuildValue((char *)"");
25375 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25376 PyObject
*resultobj
;
25377 wxBitmap
*arg1
= 0 ;
25378 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25379 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25380 wxGenericDragImage
*result
;
25381 PyObject
* obj0
= 0 ;
25382 PyObject
* obj1
= 0 ;
25383 char *kwnames
[] = {
25384 (char *) "image",(char *) "cursor", NULL
25387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
25388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25389 if (arg1
== NULL
) {
25390 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25394 if (arg2
== NULL
) {
25395 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
25402 wxPyEndAllowThreads(__tstate
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25405 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25412 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25413 PyObject
*resultobj
;
25415 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25416 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25417 wxGenericDragImage
*result
;
25418 PyObject
* obj0
= 0 ;
25419 PyObject
* obj1
= 0 ;
25420 char *kwnames
[] = {
25421 (char *) "image",(char *) "cursor", NULL
25424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
25425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25426 if (arg1
== NULL
) {
25427 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25431 if (arg2
== NULL
) {
25432 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25437 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
25439 wxPyEndAllowThreads(__tstate
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25442 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25449 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25450 PyObject
*resultobj
;
25451 wxString
*arg1
= 0 ;
25452 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25453 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25454 wxGenericDragImage
*result
;
25455 bool temp1
= False
;
25456 PyObject
* obj0
= 0 ;
25457 PyObject
* obj1
= 0 ;
25458 char *kwnames
[] = {
25459 (char *) "str",(char *) "cursor", NULL
25462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
25464 arg1
= wxString_in_helper(obj0
);
25465 if (arg1
== NULL
) SWIG_fail
;
25469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25470 if (arg2
== NULL
) {
25471 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25476 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
25478 wxPyEndAllowThreads(__tstate
);
25479 if (PyErr_Occurred()) SWIG_fail
;
25481 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25496 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25497 PyObject
*resultobj
;
25498 wxPyTreeCtrl
*arg1
= 0 ;
25499 wxTreeItemId
*arg2
= 0 ;
25500 wxGenericDragImage
*result
;
25501 PyObject
* obj0
= 0 ;
25502 PyObject
* obj1
= 0 ;
25503 char *kwnames
[] = {
25504 (char *) "treeCtrl",(char *) "id", NULL
25507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25509 if (arg1
== NULL
) {
25510 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25512 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25513 if (arg2
== NULL
) {
25514 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25518 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
25520 wxPyEndAllowThreads(__tstate
);
25521 if (PyErr_Occurred()) SWIG_fail
;
25523 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25530 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25531 PyObject
*resultobj
;
25532 wxPyListCtrl
*arg1
= 0 ;
25534 wxGenericDragImage
*result
;
25535 PyObject
* obj0
= 0 ;
25536 char *kwnames
[] = {
25537 (char *) "listCtrl",(char *) "id", NULL
25540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_DragListItem",kwnames
,&obj0
,&arg2
)) goto fail
;
25541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25542 if (arg1
== NULL
) {
25543 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25547 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
25549 wxPyEndAllowThreads(__tstate
);
25550 if (PyErr_Occurred()) SWIG_fail
;
25552 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25559 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25560 PyObject
*resultobj
;
25561 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25562 PyObject
* obj0
= 0 ;
25563 char *kwnames
[] = {
25564 (char *) "self", NULL
25567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
25568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25573 wxPyEndAllowThreads(__tstate
);
25574 if (PyErr_Occurred()) SWIG_fail
;
25576 Py_INCREF(Py_None
); resultobj
= Py_None
;
25583 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25584 PyObject
*resultobj
;
25585 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25586 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
25587 PyObject
* obj0
= 0 ;
25588 PyObject
* obj1
= 0 ;
25589 char *kwnames
[] = {
25590 (char *) "self",(char *) "bitmap", NULL
25593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 (arg1
)->SetBackingBitmap(arg2
);
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25603 Py_INCREF(Py_None
); resultobj
= Py_None
;
25610 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25611 PyObject
*resultobj
;
25612 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25613 wxPoint
*arg2
= 0 ;
25614 wxWindow
*arg3
= (wxWindow
*) 0 ;
25615 bool arg4
= (bool) False
;
25616 wxRect
*arg5
= (wxRect
*) NULL
;
25619 PyObject
* obj0
= 0 ;
25620 PyObject
* obj1
= 0 ;
25621 PyObject
* obj2
= 0 ;
25622 PyObject
* obj3
= 0 ;
25623 PyObject
* obj4
= 0 ;
25624 char *kwnames
[] = {
25625 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25632 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25634 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25636 arg4
= PyInt_AsLong(obj3
) ? true : false;
25637 if (PyErr_Occurred()) SWIG_fail
;
25640 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25649 resultobj
= PyInt_FromLong((long)result
);
25656 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25657 PyObject
*resultobj
;
25658 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25659 wxPoint
*arg2
= 0 ;
25660 wxWindow
*arg3
= (wxWindow
*) 0 ;
25661 wxWindow
*arg4
= (wxWindow
*) 0 ;
25664 PyObject
* obj0
= 0 ;
25665 PyObject
* obj1
= 0 ;
25666 PyObject
* obj2
= 0 ;
25667 PyObject
* obj3
= 0 ;
25668 char *kwnames
[] = {
25669 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25676 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25678 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25679 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25687 resultobj
= PyInt_FromLong((long)result
);
25694 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25695 PyObject
*resultobj
;
25696 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25698 PyObject
* obj0
= 0 ;
25699 char *kwnames
[] = {
25700 (char *) "self", NULL
25703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
25704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25707 result
= (bool)(arg1
)->EndDrag();
25709 wxPyEndAllowThreads(__tstate
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25712 resultobj
= PyInt_FromLong((long)result
);
25719 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25720 PyObject
*resultobj
;
25721 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25722 wxPoint
*arg2
= 0 ;
25725 PyObject
* obj0
= 0 ;
25726 PyObject
* obj1
= 0 ;
25727 char *kwnames
[] = {
25728 (char *) "self",(char *) "pt", NULL
25731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
25732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25735 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25739 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
25741 wxPyEndAllowThreads(__tstate
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25744 resultobj
= PyInt_FromLong((long)result
);
25751 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25752 PyObject
*resultobj
;
25753 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25755 PyObject
* obj0
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "self", NULL
25760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
25761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25764 result
= (bool)(arg1
)->Show();
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25769 resultobj
= PyInt_FromLong((long)result
);
25776 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25777 PyObject
*resultobj
;
25778 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25780 PyObject
* obj0
= 0 ;
25781 char *kwnames
[] = {
25782 (char *) "self", NULL
25785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
25786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25789 result
= (bool)(arg1
)->Hide();
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= PyInt_FromLong((long)result
);
25801 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
;
25803 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25804 wxPoint
*arg2
= 0 ;
25807 PyObject
* obj0
= 0 ;
25808 PyObject
* obj1
= 0 ;
25809 char *kwnames
[] = {
25810 (char *) "self",(char *) "pos", NULL
25813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25817 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25827 wxRect
* resultptr
;
25828 resultptr
= new wxRect((wxRect
&) result
);
25829 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
25837 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25838 PyObject
*resultobj
;
25839 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25841 wxPoint
*arg3
= 0 ;
25844 PyObject
* obj0
= 0 ;
25845 PyObject
* obj1
= 0 ;
25846 PyObject
* obj2
= 0 ;
25847 char *kwnames
[] = {
25848 (char *) "self",(char *) "dc",(char *) "pos", NULL
25851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25853 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25854 if (arg2
== NULL
) {
25855 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25859 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
25865 wxPyEndAllowThreads(__tstate
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= PyInt_FromLong((long)result
);
25875 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25876 PyObject
*resultobj
;
25877 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25879 wxMemoryDC
*arg3
= 0 ;
25885 PyObject
* obj0
= 0 ;
25886 PyObject
* obj1
= 0 ;
25887 PyObject
* obj2
= 0 ;
25888 PyObject
* obj3
= 0 ;
25889 PyObject
* obj4
= 0 ;
25890 char *kwnames
[] = {
25891 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25896 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25897 if (arg2
== NULL
) {
25898 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25900 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25901 if (arg3
== NULL
) {
25902 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25906 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25910 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25919 resultobj
= PyInt_FromLong((long)result
);
25926 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
;
25928 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25929 wxPoint
*arg2
= 0 ;
25930 wxPoint
*arg3
= 0 ;
25936 PyObject
* obj0
= 0 ;
25937 PyObject
* obj1
= 0 ;
25938 PyObject
* obj2
= 0 ;
25939 PyObject
* obj3
= 0 ;
25940 PyObject
* obj4
= 0 ;
25941 char *kwnames
[] = {
25942 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
25945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25949 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25953 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25955 arg4
= PyInt_AsLong(obj3
) ? true : false;
25956 if (PyErr_Occurred()) SWIG_fail
;
25957 arg5
= PyInt_AsLong(obj4
) ? true : false;
25958 if (PyErr_Occurred()) SWIG_fail
;
25960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25961 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
25963 wxPyEndAllowThreads(__tstate
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25966 resultobj
= PyInt_FromLong((long)result
);
25973 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
25975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25976 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
25978 return Py_BuildValue((char *)"");
25980 static PyMethodDef SwigMethods
[] = {
25981 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
25982 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
25983 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
25984 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
25985 { (char *)"Button_SetImageLabel", (PyCFunction
) _wrap_Button_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
25986 { (char *)"Button_SetImageMargins", (PyCFunction
) _wrap_Button_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
25987 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
25988 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
25989 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
25990 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
25991 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
25992 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
25993 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
25994 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
25995 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
25996 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
25997 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
25998 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
25999 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26000 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26001 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
26002 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
26003 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
26004 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26005 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26006 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26007 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26008 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26009 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26010 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26011 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26012 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
26013 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
26014 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
26015 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
26016 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
26017 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
26018 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26019 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26020 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26021 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26022 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26023 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
26024 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26025 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26026 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26027 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26028 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26029 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26030 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26031 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26032 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26033 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26034 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26035 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26036 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
26037 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26038 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26039 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26040 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
26041 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
26042 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
26043 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
26044 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26045 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26046 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26047 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26048 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26049 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26050 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26051 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26052 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26053 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
26054 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26055 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26056 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26057 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
26058 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26059 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26060 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
26061 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26062 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26063 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
26064 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
26065 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
26066 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
26067 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
26068 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26069 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26070 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
26071 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26072 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26073 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
26074 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
26075 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
26076 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
26077 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26078 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
26079 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
26080 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
26081 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26082 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26083 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
26084 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
26085 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
26086 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26087 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
26088 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
26089 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
26090 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26091 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26092 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
26093 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
26094 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26095 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26096 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26097 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26098 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
26099 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
26100 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26101 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
26102 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
26103 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
26104 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
26105 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26106 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26107 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26108 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26109 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26110 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26111 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26112 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26113 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26114 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26115 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26116 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26117 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
26118 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26119 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26120 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
26121 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26122 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26123 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26124 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26125 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26126 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26127 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26128 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26129 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
26130 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
26131 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
26132 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26133 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26134 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26135 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26136 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26137 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26138 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
26139 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
26140 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
26141 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
26142 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
26143 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
26144 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
26145 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26146 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26147 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26148 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26149 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26150 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
26151 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
26152 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
26153 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
26154 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
26155 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
26156 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
26157 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
26158 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26159 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26160 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26161 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26162 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
26163 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
26164 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
26165 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26166 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26167 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26168 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
26169 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
26170 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
26171 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
26172 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
26173 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
26174 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
26175 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26176 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26177 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26178 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26179 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26180 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
26181 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26182 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
26183 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
26184 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
26185 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26186 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
26187 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26188 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
26189 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
26190 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
26191 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
26192 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26193 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26194 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26195 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26196 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
26197 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26198 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26199 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26200 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26201 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
26202 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
26203 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26204 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26205 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26206 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26207 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26208 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26209 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26210 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26211 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26212 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26213 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26214 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
26215 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26216 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26217 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26218 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26219 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26220 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
26221 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26222 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26223 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26224 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26225 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
26226 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26227 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26228 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26229 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26230 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26231 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26232 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26233 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26234 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
26235 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26236 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26237 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
26238 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
26239 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26240 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26241 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26242 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
26243 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26244 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26245 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26246 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26247 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26248 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
26249 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
26250 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
26251 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
26252 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26253 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26254 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26255 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26256 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26257 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26258 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26259 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26260 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26261 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26262 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26263 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26264 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26265 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26266 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26267 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
26268 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
26269 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
26270 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
26271 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
26272 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26273 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
26274 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26275 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26276 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26277 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26278 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26279 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26280 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
26281 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
26282 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
26283 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26284 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26285 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26286 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26287 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26288 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26289 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26290 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26291 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26292 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26293 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
26294 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
26295 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
26296 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
26297 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
26298 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26299 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
26300 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
26301 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26302 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26303 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26304 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26305 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26306 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
26307 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
26308 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26309 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26310 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26311 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
26312 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
26313 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26314 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26315 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
26316 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
26317 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26318 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
26319 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
26320 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
26321 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26322 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26323 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
26324 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26325 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
26326 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
26327 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26328 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26329 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26330 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
26331 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
26332 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26333 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26334 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26335 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
26336 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26337 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26338 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26339 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
26340 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
26341 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26342 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26343 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
26344 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26345 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
26346 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
26347 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26348 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26349 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26350 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26351 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26352 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26353 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
26354 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
26355 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26356 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26357 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26358 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26359 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26360 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26361 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
26362 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
26363 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26364 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26365 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
26366 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
26367 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
26368 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
26369 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
26370 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
26371 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26372 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26373 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
26374 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
26375 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
26376 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
26377 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
26378 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
26379 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
26380 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26381 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26382 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26383 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
26384 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
26385 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26386 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26387 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26388 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26389 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26390 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
26391 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26392 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26393 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26394 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
26395 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26396 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26397 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26398 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
26399 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
26400 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
26401 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
26402 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26403 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26404 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
26405 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26406 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26407 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
26408 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26409 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26410 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26411 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26412 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
26413 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
26414 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26415 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26416 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26417 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26418 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26419 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26420 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26421 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26422 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26423 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26424 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
26425 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
26426 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
26427 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26428 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26429 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
26430 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26431 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26432 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
26433 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
26434 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
26435 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
26436 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
26437 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26438 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
26439 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26440 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26441 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26442 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
26443 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26444 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26445 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
26446 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26447 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
26448 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26449 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26450 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
26451 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26452 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26453 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26454 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26455 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26456 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
26457 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
26458 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
26459 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
26460 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
26461 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
26462 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
26463 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
26464 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
26465 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
26466 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
26467 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
26468 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
26469 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
26470 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
26471 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
26472 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
26473 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
26474 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
26475 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
26476 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
26477 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
26478 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
26479 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
26480 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
26481 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
26482 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
26483 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
26484 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
26485 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
26486 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
26487 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
26488 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
26489 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
26490 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
26491 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26492 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26493 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26494 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26495 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
26496 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26497 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
26498 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26499 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
26500 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
26501 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
26502 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
26503 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
26504 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26505 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26506 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26507 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26508 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26509 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26510 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26511 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26512 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
26513 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
26514 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
26515 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
26516 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
26517 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26518 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
26519 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26520 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
26521 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
26522 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26523 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26524 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26525 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26526 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26527 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
26528 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
26529 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
26530 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26531 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26532 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26533 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26534 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26535 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26536 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
26537 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
26538 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
26539 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26540 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26541 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26542 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26543 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
26544 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
26545 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
26546 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
26547 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
26548 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
26549 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
26550 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
26551 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
26552 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26553 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26554 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26555 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
26556 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
26557 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
26558 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26559 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
26560 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26561 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
26562 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26563 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
26564 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
26565 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26566 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
26567 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26568 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26569 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26570 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26571 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
26572 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
26573 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
26574 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
26575 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
26576 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
26577 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
26578 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
26579 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
26580 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
26581 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
26582 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26583 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
26584 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
26585 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
26586 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
26587 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
26588 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26589 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
26590 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
26591 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
26592 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
26593 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
26594 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
26595 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26596 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
26597 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26598 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26599 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26600 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
26601 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
26602 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26603 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
26604 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
26605 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
26606 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26607 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26608 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
26609 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
26610 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
26611 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26612 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26613 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
26614 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
26615 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
26616 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26617 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26618 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26619 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26620 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26621 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
26622 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
26623 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26624 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26625 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26626 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26627 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26628 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26629 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26630 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26631 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26632 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26633 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26634 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
26635 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26636 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26637 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
26638 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26639 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26640 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26641 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
26642 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
26643 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
26644 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26645 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26646 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26647 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
26648 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
26649 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
26650 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
26651 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26652 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
26653 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
26654 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
26655 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26656 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
26657 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
26658 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
26659 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
26660 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
26661 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
26662 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
26663 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
26664 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
26665 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
26666 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
26667 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
26668 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
26669 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
26670 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
26673 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
26674 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
26675 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
26676 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
26677 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
26678 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
26679 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
26680 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
26681 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26682 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
26683 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26684 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
26685 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26686 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
26687 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26688 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
26689 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
26690 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26691 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26692 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26693 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
26694 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
26695 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
26696 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
26697 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
26698 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
26699 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
26700 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
26701 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
26702 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
26703 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
26704 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
26705 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
26706 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26707 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26708 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
26709 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
26710 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
26711 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
26712 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26713 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26714 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26715 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
26716 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
26717 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
26718 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26719 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
26720 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
26721 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
26722 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
26723 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
26724 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
26725 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26726 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
26727 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
26728 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
26729 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
26730 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
26731 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
26732 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
26733 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
26734 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
26735 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
26736 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
26737 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
26738 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
26739 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26740 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26741 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
26742 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
26743 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
26744 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
26745 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
26746 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26747 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26748 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26749 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26750 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
26751 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
26752 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
26753 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
26754 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
26755 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
26756 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
26757 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
26758 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
26759 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26760 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
26761 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
26762 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
26763 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
26764 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
26765 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
26766 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
26767 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
26768 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
26769 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26770 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
26771 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
26772 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
26773 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
26774 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
26775 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
26776 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
26777 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
26778 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
26779 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
26780 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
26785 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26787 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
26788 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
26790 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
26791 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
26793 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
26794 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
26796 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
26797 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26799 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
26800 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26802 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
26803 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
26805 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
26806 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26808 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
26809 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
26811 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
26812 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
26814 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
26815 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
26817 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
26818 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26820 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
26821 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
26823 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
26824 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
26826 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
26827 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
26829 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
26830 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
26832 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
26833 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
26835 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
26836 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
26838 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
26839 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
26841 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
26842 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
26844 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
26845 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
26847 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
26848 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
26850 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
26851 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
26853 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
26854 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26856 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
26857 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
26859 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
26860 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
26862 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
26863 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
26865 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
26866 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
26868 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
26869 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
26871 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
26872 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26874 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
26875 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26877 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26878 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26880 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26881 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26883 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26884 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26886 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26887 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26889 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26890 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26892 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26893 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26895 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26896 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26898 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26899 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26901 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26902 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26904 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26905 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26907 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26908 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26910 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26911 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26913 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26914 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26916 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26917 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26919 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26920 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26922 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26923 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26925 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26926 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26928 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26929 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26931 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26932 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26934 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26935 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26937 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26938 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26940 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26941 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26943 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
26944 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
26946 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
26947 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26949 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
26950 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
26952 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
26953 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
26955 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
26956 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
26958 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
26959 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
26961 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
26962 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
26964 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
26965 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
26967 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
26968 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
26970 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
26971 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
26973 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
26974 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
26976 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
26977 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
26979 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
26980 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
26982 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
26983 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
26985 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
26986 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
26988 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
26989 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
26991 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
26992 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
26994 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
26995 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26997 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
26998 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
27000 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
27001 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
27003 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
27004 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
27006 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
27007 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
27009 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
27010 return (void *)((wxControl
*) ((wxGauge
*) x
));
27012 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
27013 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
27015 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
27016 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
27018 static void *_p_wxButtonTo_p_wxControl(void *x
) {
27019 return (void *)((wxControl
*) ((wxButton
*) x
));
27021 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
27022 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
27024 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
27025 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27027 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
27028 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
27030 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
27031 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
27033 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
27034 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
27036 static void *_p_wxListbookTo_p_wxControl(void *x
) {
27037 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
27039 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
27040 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
27042 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
27043 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
27045 static void *_p_wxListViewTo_p_wxControl(void *x
) {
27046 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
27048 static void *_p_wxSliderTo_p_wxControl(void *x
) {
27049 return (void *)((wxControl
*) ((wxSlider
*) x
));
27051 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
27052 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
27054 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
27055 return (void *)((wxControl
*) ((wxPyControl
*) x
));
27057 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
27058 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
27060 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
27061 return (void *)((wxControl
*) ((wxStaticText
*) x
));
27063 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
27064 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
27066 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
27067 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
27069 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
27070 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27072 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
27073 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27075 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
27076 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27078 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
27079 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
27081 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
27082 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27084 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
27085 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27087 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
27088 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27090 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27091 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27093 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27094 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27096 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27097 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27099 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
27100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27102 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27103 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27105 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
27106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27108 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
27109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27111 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27112 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27114 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27115 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27117 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
27118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27120 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
27121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27123 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
27124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27126 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
27127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27129 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
27130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27132 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27133 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27135 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
27136 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27138 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
27139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27141 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27144 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
27145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27147 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
27148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27150 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
27151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27153 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
27154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27156 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
27157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27159 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
27160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27162 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
27163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27165 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
27166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27168 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
27169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27171 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
27172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27174 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
27175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27177 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
27178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27180 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
27181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27183 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
27184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
27186 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
27187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27189 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
27190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27192 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
27193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27195 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
27196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27198 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
27199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27201 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
27202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27204 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
27205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27207 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
27208 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
27210 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
27211 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
27213 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
27214 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
27216 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
27217 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
27219 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
27220 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27222 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
27223 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27225 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
27226 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
27228 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27229 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27231 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27232 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27234 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27235 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27237 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27238 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27240 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27241 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27243 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
27244 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27246 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
27247 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27249 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27250 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27252 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27253 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27255 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27256 return (void *)((wxObject
*) ((wxSizer
*) x
));
27258 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27259 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27261 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
27262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27264 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
27265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27267 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27268 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27270 static void *_p_wxEventTo_p_wxObject(void *x
) {
27271 return (void *)((wxObject
*) ((wxEvent
*) x
));
27273 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27274 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27276 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27277 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27279 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27280 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27282 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
27283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27285 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
27286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27288 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
27289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27291 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27292 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27294 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27295 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27297 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27298 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27300 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27301 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27303 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27304 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27306 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27307 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27309 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
27310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27312 static void *_p_wxControlTo_p_wxObject(void *x
) {
27313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27315 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
27316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27318 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
27319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27321 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
27322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27324 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
27325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27327 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
27328 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27330 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27331 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27333 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
27334 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27336 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27337 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27339 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27340 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27342 static void *_p_wxListViewTo_p_wxObject(void *x
) {
27343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27345 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
27346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27348 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
27349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27351 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27352 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27354 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27355 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27357 static void *_p_wxListbookTo_p_wxObject(void *x
) {
27358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27360 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27361 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27363 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
27364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27366 static void *_p_wxSliderTo_p_wxObject(void *x
) {
27367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27369 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27370 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27372 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27373 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27375 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27376 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27378 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27379 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27381 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27382 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27384 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27385 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27387 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27388 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27390 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27391 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27393 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27394 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27396 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
27397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27399 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
27400 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
27402 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27403 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27405 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27406 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27408 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27409 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27411 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27412 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27414 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27415 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27417 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27418 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27420 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27421 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27423 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27424 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27426 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27427 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27429 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27430 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27432 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27433 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27435 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27436 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27438 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27439 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27441 static void *_p_wxListEventTo_p_wxObject(void *x
) {
27442 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
27444 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
27445 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27447 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
27448 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27450 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
27451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27453 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
27454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27456 static void *_p_wxButtonTo_p_wxObject(void *x
) {
27457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27459 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
27460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27462 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
27463 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27465 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
27466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27468 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
27469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27471 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
27472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27474 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
27475 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
27477 static void *_p_wxListItemTo_p_wxObject(void *x
) {
27478 return (void *)((wxObject
*) ((wxListItem
*) x
));
27480 static void *_p_wxImageTo_p_wxObject(void *x
) {
27481 return (void *)((wxObject
*) ((wxImage
*) x
));
27483 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
27484 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
27486 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27487 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27489 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
27490 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
27492 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
27493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27495 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
27496 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27498 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
27499 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27501 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27502 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27504 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27505 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27507 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27508 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27510 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27511 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27513 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27514 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27516 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27519 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27520 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27522 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27523 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27525 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
27526 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
27528 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
27529 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
27531 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
27532 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
27534 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
27535 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
27537 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
27538 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
27540 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
27541 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27543 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
27544 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27546 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
27547 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
27549 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
27550 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
27552 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
27553 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
27555 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
27556 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
27558 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
27559 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27561 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
27562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27564 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
27565 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
27567 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
27568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27570 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
27571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
27573 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
27574 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
27576 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
27577 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
27579 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
27580 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
27582 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
27583 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
27585 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
27586 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27588 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
27589 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
27591 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
27592 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
27594 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
27595 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
27597 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27598 return (void *)((wxWindow
*) ((wxControl
*) x
));
27600 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
27601 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
27603 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
27604 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27606 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
27607 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
27609 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
27610 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27612 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
27613 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
27615 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
27616 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
27618 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27619 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27621 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
27622 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
27624 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
27625 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
27627 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
27628 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27630 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
27631 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
27633 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
27634 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
27636 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
27637 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
27639 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
27640 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27642 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
27643 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27645 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
27646 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27648 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
27649 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27651 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
27652 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27654 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
27655 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
27657 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
27658 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
27660 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
27661 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
27663 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
27664 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
27666 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
27667 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
27669 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
27670 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
27672 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
27673 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
27675 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
27676 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27678 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
27679 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27681 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
27682 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
27684 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
27685 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27687 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
27688 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27690 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
27691 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27693 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
27694 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
27696 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
27697 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27699 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
27700 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27702 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
27703 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27705 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
27706 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27708 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
27709 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27711 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
27712 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
27714 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
27715 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27717 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
27718 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27720 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
27721 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
27723 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
27724 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27726 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
27727 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27729 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
27730 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
27732 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
27733 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27735 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
27736 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
27738 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
27739 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
27741 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
27742 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
27744 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
27745 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
27747 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27748 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}};
27749 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}};
27750 static swig_type_info _swigt__p_wxTreeItemIdValue
[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27751 static swig_type_info _swigt__wxTreeItemIdValue
[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27752 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27753 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27754 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}};
27755 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27756 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27757 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27758 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}};
27759 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27760 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
27761 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27762 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}};
27763 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27764 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27765 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
27766 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27767 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27768 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27769 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}};
27770 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27771 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27772 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27773 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27774 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27775 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27776 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27777 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27778 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27779 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}};
27780 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27781 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27782 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27783 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27784 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27785 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27786 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27787 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27788 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}};
27789 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27790 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
27791 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27792 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}};
27793 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27794 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}};
27795 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
27796 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27797 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27798 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27799 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27800 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27801 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27802 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27803 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27804 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27805 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27806 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27807 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27808 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
27809 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27810 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27811 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27812 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27813 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27814 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject
},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxListView", _p_wxListViewTo_p_wxObject
},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject
},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
},{"_p_wxButton", _p_wxButtonTo_p_wxObject
},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_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}};
27815 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27816 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27817 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}};
27818 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27819 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27820 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27821 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27822 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}};
27823 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27824 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}};
27825 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27826 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27827 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27828 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27829 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
27831 static swig_type_info
*swig_types_initial
[] = {
27832 _swigt__p_wxTextUrlEvent
,
27833 _swigt__p_wxBookCtrlEvent
,
27835 _swigt__p_wxTreeItemIdValue
,
27836 _swigt__wxTreeItemIdValue
,
27837 _swigt__p_wxCheckBox
,
27838 _swigt__p_wxPyTreeCtrl
,
27840 _swigt__p_wxGenericDirCtrl
,
27842 _swigt__p_wxPyTreeItemData
,
27843 _swigt__p_wxItemContainer
,
27844 _swigt__p_wxDirFilterListCtrl
,
27845 _swigt__p_wxPyListCtrl
,
27846 _swigt__p_wxStaticLine
,
27847 _swigt__p_wxControl
,
27848 _swigt__p_wxPyControl
,
27850 _swigt__p_wxToolBarBase
,
27852 _swigt__p_wxToggleButton
,
27853 _swigt__p_wxRadioButton
,
27854 _swigt__p_wxChoice
,
27855 _swigt__p_wxMemoryDC
,
27856 _swigt__p_wxListItemAttr
,
27860 _swigt__p_wxListView
,
27862 _swigt__p_wxTextCtrl
,
27863 _swigt__p_wxNotebook
,
27864 _swigt__p_wxNotifyEvent
,
27865 _swigt__p_wxArrayString
,
27866 _swigt__p_wxListbook
,
27867 _swigt__p_wxStaticBitmap
,
27868 _swigt__p_wxSlider
,
27869 _swigt__p_wxStaticBox
,
27870 _swigt__p_wxArrayInt
,
27871 _swigt__p_wxContextHelp
,
27873 _swigt__p_wxEvtHandler
,
27874 _swigt__p_wxListEvent
,
27875 _swigt__p_wxListBox
,
27876 _swigt__p_wxCheckListBox
,
27877 _swigt__p_wxBookCtrl
,
27878 _swigt__p_wxSpinButton
,
27879 _swigt__p_wxButton
,
27880 _swigt__p_wxBitmapButton
,
27882 _swigt__p_wxContextHelpButton
,
27883 _swigt__p_wxRadioBox
,
27884 _swigt__p_wxScrollBar
,
27885 _swigt__p_wxTreeItemId
,
27886 _swigt__p_wxComboBox
,
27887 _swigt__p_wxHelpEvent
,
27888 _swigt__p_wxListItem
,
27889 _swigt__p_wxNotebookSizer
,
27890 _swigt__p_wxGenericDragImage
,
27891 _swigt__p_wxSpinCtrl
,
27892 _swigt__p_wxImageList
,
27893 _swigt__p_wxHelpProvider
,
27894 _swigt__p_wxTextAttr
,
27895 _swigt__p_wxSimpleHelpProvider
,
27897 _swigt__p_wxListbookEvent
,
27898 _swigt__p_wxNotebookEvent
,
27899 _swigt__p_wxObject
,
27900 _swigt__p_wxCursor
,
27901 _swigt__p_wxKeyEvent
,
27902 _swigt__p_wxWindow
,
27903 _swigt__p_wxString
,
27904 _swigt__p_wxBitmap
,
27905 _swigt__p_wxTreeEvent
,
27906 _swigt__p_wxMouseEvent
,
27907 _swigt__p_wxCommandEvent
,
27908 _swigt__p_wxStaticText
,
27909 _swigt__p_wxControlWithItems
,
27910 _swigt__p_wxToolBarToolBase
,
27911 _swigt__p_wxColour
,
27912 _swigt__p_wxToolBar
,
27913 _swigt__p_wxBookCtrlSizer
,
27914 _swigt__p_wxValidator
,
27919 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27921 static swig_const_info swig_const_table
[] = {
27922 { SWIG_PY_INT
, (char *)"BU_LEFT", (long) wxBU_LEFT
, 0, 0, 0},
27923 { SWIG_PY_INT
, (char *)"BU_TOP", (long) wxBU_TOP
, 0, 0, 0},
27924 { SWIG_PY_INT
, (char *)"BU_RIGHT", (long) wxBU_RIGHT
, 0, 0, 0},
27925 { SWIG_PY_INT
, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM
, 0, 0, 0},
27926 { SWIG_PY_INT
, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT
, 0, 0, 0},
27927 { SWIG_PY_INT
, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW
, 0, 0, 0},
27928 { SWIG_PY_INT
, (char *)"CHK_2STATE", (long) wxCHK_2STATE
, 0, 0, 0},
27929 { SWIG_PY_INT
, (char *)"CHK_3STATE", (long) wxCHK_3STATE
, 0, 0, 0},
27930 { SWIG_PY_INT
, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER
, 0, 0, 0},
27931 { SWIG_PY_INT
, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED
, 0, 0, 0},
27932 { SWIG_PY_INT
, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED
, 0, 0, 0},
27933 { SWIG_PY_INT
, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED
, 0, 0, 0},
27934 { SWIG_PY_INT
, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL
, 0, 0, 0},
27935 { SWIG_PY_INT
, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL
, 0, 0, 0},
27936 { SWIG_PY_INT
, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH
, 0, 0, 0},
27937 { SWIG_PY_INT
, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR
, 0, 0, 0},
27938 { SWIG_PY_INT
, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL
, 0, 0, 0},
27939 { SWIG_PY_INT
, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL
, 0, 0, 0},
27940 { SWIG_PY_INT
, (char *)"TE_READONLY", (long) wxTE_READONLY
, 0, 0, 0},
27941 { SWIG_PY_INT
, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE
, 0, 0, 0},
27942 { SWIG_PY_INT
, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB
, 0, 0, 0},
27943 { SWIG_PY_INT
, (char *)"TE_LEFT", (long) wxTE_LEFT
, 0, 0, 0},
27944 { SWIG_PY_INT
, (char *)"TE_CENTER", (long) wxTE_CENTER
, 0, 0, 0},
27945 { SWIG_PY_INT
, (char *)"TE_RIGHT", (long) wxTE_RIGHT
, 0, 0, 0},
27946 { SWIG_PY_INT
, (char *)"TE_CENTRE", (long) wxTE_CENTRE
, 0, 0, 0},
27947 { SWIG_PY_INT
, (char *)"TE_RICH", (long) wxTE_RICH
, 0, 0, 0},
27948 { SWIG_PY_INT
, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER
, 0, 0, 0},
27949 { SWIG_PY_INT
, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD
, 0, 0, 0},
27950 { SWIG_PY_INT
, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL
, 0, 0, 0},
27951 { SWIG_PY_INT
, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL
, 0, 0, 0},
27952 { SWIG_PY_INT
, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP
, 0, 0, 0},
27953 { SWIG_PY_INT
, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP
, 0, 0, 0},
27954 { SWIG_PY_INT
, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP
, 0, 0, 0},
27955 { SWIG_PY_INT
, (char *)"TE_RICH2", (long) wxTE_RICH2
, 0, 0, 0},
27956 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT
, 0, 0, 0},
27957 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT
, 0, 0, 0},
27958 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE
, 0, 0, 0},
27959 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER
, 0, 0, 0},
27960 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT
, 0, 0, 0},
27961 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED
, 0, 0, 0},
27962 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR
, 0, 0, 0},
27963 { SWIG_PY_INT
, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR
, 0, 0, 0},
27964 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE
, 0, 0, 0},
27965 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE
, 0, 0, 0},
27966 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT
, 0, 0, 0},
27967 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC
, 0, 0, 0},
27968 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE
, 0, 0, 0},
27969 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT
, 0, 0, 0},
27970 { SWIG_PY_INT
, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT
, 0, 0, 0},
27971 { SWIG_PY_INT
, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT
, 0, 0, 0},
27972 { SWIG_PY_INT
, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT
, 0, 0, 0},
27973 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS
, 0, 0, 0},
27974 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED
, 0, 0, 0},
27975 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER
, 0, 0, 0},
27976 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL
, 0, 0, 0},
27977 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN
, 0, 0, 0},
27978 { SWIG_PY_INT
, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL
, 0, 0, 0},
27979 { SWIG_PY_INT
, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL
, 0, 0, 0},
27980 { SWIG_PY_INT
, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS
, 0, 0, 0},
27981 { SWIG_PY_INT
, (char *)"SP_WRAP", (long) wxSP_WRAP
, 0, 0, 0},
27982 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED
, 0, 0, 0},
27983 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, 0, 0, 0},
27984 { SWIG_PY_INT
, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH
, 0, 0, 0},
27985 { SWIG_PY_INT
, (char *)"NB_TOP", (long) wxNB_TOP
, 0, 0, 0},
27986 { SWIG_PY_INT
, (char *)"NB_LEFT", (long) wxNB_LEFT
, 0, 0, 0},
27987 { SWIG_PY_INT
, (char *)"NB_RIGHT", (long) wxNB_RIGHT
, 0, 0, 0},
27988 { SWIG_PY_INT
, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM
, 0, 0, 0},
27989 { SWIG_PY_INT
, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE
, 0, 0, 0},
27990 { SWIG_PY_INT
, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE
, 0, 0, 0},
27991 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON
, 0, 0, 0},
27992 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL
, 0, 0, 0},
27993 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM
, 0, 0, 0},
27994 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, 0, 0, 0},
27995 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, 0, 0, 0},
27996 { SWIG_PY_INT
, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT
, 0, 0, 0},
27997 { SWIG_PY_INT
, (char *)"LB_TOP", (long) wxLB_TOP
, 0, 0, 0},
27998 { SWIG_PY_INT
, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM
, 0, 0, 0},
27999 { SWIG_PY_INT
, (char *)"LB_LEFT", (long) wxLB_LEFT
, 0, 0, 0},
28000 { SWIG_PY_INT
, (char *)"LB_RIGHT", (long) wxLB_RIGHT
, 0, 0, 0},
28001 { SWIG_PY_INT
, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK
, 0, 0, 0},
28002 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
, 0, 0, 0},
28003 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
, 0, 0, 0},
28004 { SWIG_PY_INT
, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON
, 0, 0, 0},
28005 { SWIG_PY_INT
, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR
, 0, 0, 0},
28006 { SWIG_PY_INT
, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL
, 0, 0, 0},
28007 { SWIG_PY_INT
, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL
, 0, 0, 0},
28008 { SWIG_PY_INT
, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL
, 0, 0, 0},
28009 { SWIG_PY_INT
, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS
, 0, 0, 0},
28010 { SWIG_PY_INT
, (char *)"TB_FLAT", (long) wxTB_FLAT
, 0, 0, 0},
28011 { SWIG_PY_INT
, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE
, 0, 0, 0},
28012 { SWIG_PY_INT
, (char *)"TB_NOICONS", (long) wxTB_NOICONS
, 0, 0, 0},
28013 { SWIG_PY_INT
, (char *)"TB_TEXT", (long) wxTB_TEXT
, 0, 0, 0},
28014 { SWIG_PY_INT
, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER
, 0, 0, 0},
28015 { SWIG_PY_INT
, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN
, 0, 0, 0},
28016 { SWIG_PY_INT
, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT
, 0, 0, 0},
28017 { SWIG_PY_INT
, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT
, 0, 0, 0},
28018 { SWIG_PY_INT
, (char *)"LC_VRULES", (long) wxLC_VRULES
, 0, 0, 0},
28019 { SWIG_PY_INT
, (char *)"LC_HRULES", (long) wxLC_HRULES
, 0, 0, 0},
28020 { SWIG_PY_INT
, (char *)"LC_ICON", (long) wxLC_ICON
, 0, 0, 0},
28021 { SWIG_PY_INT
, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON
, 0, 0, 0},
28022 { SWIG_PY_INT
, (char *)"LC_LIST", (long) wxLC_LIST
, 0, 0, 0},
28023 { SWIG_PY_INT
, (char *)"LC_REPORT", (long) wxLC_REPORT
, 0, 0, 0},
28024 { SWIG_PY_INT
, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP
, 0, 0, 0},
28025 { SWIG_PY_INT
, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT
, 0, 0, 0},
28026 { SWIG_PY_INT
, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE
, 0, 0, 0},
28027 { SWIG_PY_INT
, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL
, 0, 0, 0},
28028 { SWIG_PY_INT
, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS
, 0, 0, 0},
28029 { SWIG_PY_INT
, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER
, 0, 0, 0},
28030 { SWIG_PY_INT
, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER
, 0, 0, 0},
28031 { SWIG_PY_INT
, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL
, 0, 0, 0},
28032 { SWIG_PY_INT
, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING
, 0, 0, 0},
28033 { SWIG_PY_INT
, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING
, 0, 0, 0},
28034 { SWIG_PY_INT
, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE
, 0, 0, 0},
28035 { SWIG_PY_INT
, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN
, 0, 0, 0},
28036 { SWIG_PY_INT
, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT
, 0, 0, 0},
28037 { SWIG_PY_INT
, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE
, 0, 0, 0},
28038 { SWIG_PY_INT
, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT
, 0, 0, 0},
28039 { SWIG_PY_INT
, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE
, 0, 0, 0},
28040 { SWIG_PY_INT
, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA
, 0, 0, 0},
28041 { SWIG_PY_INT
, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM
, 0, 0, 0},
28042 { SWIG_PY_INT
, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH
, 0, 0, 0},
28043 { SWIG_PY_INT
, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT
, 0, 0, 0},
28044 { SWIG_PY_INT
, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE
, 0, 0, 0},
28045 { SWIG_PY_INT
, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED
, 0, 0, 0},
28046 { SWIG_PY_INT
, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED
, 0, 0, 0},
28047 { SWIG_PY_INT
, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED
, 0, 0, 0},
28048 { SWIG_PY_INT
, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT
, 0, 0, 0},
28049 { SWIG_PY_INT
, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED
, 0, 0, 0},
28050 { SWIG_PY_INT
, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED
, 0, 0, 0},
28051 { SWIG_PY_INT
, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE
, 0, 0, 0},
28052 { SWIG_PY_INT
, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED
, 0, 0, 0},
28053 { SWIG_PY_INT
, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE
, 0, 0, 0},
28054 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE
, 0, 0, 0},
28055 { SWIG_PY_INT
, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW
, 0, 0, 0},
28056 { SWIG_PY_INT
, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE
, 0, 0, 0},
28057 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON
, 0, 0, 0},
28058 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL
, 0, 0, 0},
28059 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28060 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28061 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT
, 0, 0, 0},
28062 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT
, 0, 0, 0},
28063 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM
, 0, 0, 0},
28064 { SWIG_PY_INT
, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE
, 0, 0, 0},
28065 { SWIG_PY_INT
, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL
, 0, 0, 0},
28066 { SWIG_PY_INT
, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW
, 0, 0, 0},
28067 { SWIG_PY_INT
, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT
, 0, 0, 0},
28068 { SWIG_PY_INT
, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT
, 0, 0, 0},
28069 { SWIG_PY_INT
, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT
, 0, 0, 0},
28070 { SWIG_PY_INT
, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT
, 0, 0, 0},
28071 { SWIG_PY_INT
, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP
, 0, 0, 0},
28072 { SWIG_PY_INT
, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID
, 0, 0, 0},
28073 { SWIG_PY_INT
, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT
, 0, 0, 0},
28074 { SWIG_PY_INT
, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT
, 0, 0, 0},
28075 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE
, 0, 0, 0},
28076 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER
, 0, 0, 0},
28077 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE
, 0, 0, 0},
28078 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER
, 0, 0, 0},
28079 { SWIG_PY_INT
, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS
, 0, 0, 0},
28080 { SWIG_PY_INT
, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON
, 0, 0, 0},
28081 { SWIG_PY_INT
, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL
, 0, 0, 0},
28082 { SWIG_PY_INT
, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP
, 0, 0, 0},
28083 { SWIG_PY_INT
, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN
, 0, 0, 0},
28084 { SWIG_PY_INT
, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT
, 0, 0, 0},
28085 { SWIG_PY_INT
, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT
, 0, 0, 0},
28086 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG
, 0, 0, 0},
28087 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
, 0, 0, 0},
28088 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, 0, 0, 0},
28089 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
, 0, 0, 0},
28090 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM
, 0, 0, 0},
28091 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, 0, 0, 0},
28092 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO
, 0, 0, 0},
28093 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO
, 0, 0, 0},
28094 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED
, 0, 0, 0},
28095 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
, 0, 0, 0},
28096 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN
, 0, 0, 0},
28097 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM
, 0, 0, 0},
28098 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK
, 0, 0, 0},
28099 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
, 0, 0, 0},
28100 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28101 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, 0, 0, 0},
28102 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT
, 0, 0, 0},
28103 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
, 0, 0, 0},
28104 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
, 0, 0, 0},
28105 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING
, 0, 0, 0},
28106 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG
, 0, 0, 0},
28107 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
, 0, 0, 0},
28108 { SWIG_PY_INT
, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS
, 0, 0, 0},
28109 { SWIG_PY_INT
, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS
, 0, 0, 0},
28110 { SWIG_PY_INT
, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES
, 0, 0, 0},
28111 { SWIG_PY_INT
, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT
, 0, 0, 0},
28112 { SWIG_PY_INT
, (char *)"TR_SINGLE", (long) wxTR_SINGLE
, 0, 0, 0},
28113 { SWIG_PY_INT
, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE
, 0, 0, 0},
28114 { SWIG_PY_INT
, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED
, 0, 0, 0},
28115 { SWIG_PY_INT
, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT
, 0, 0, 0},
28116 { SWIG_PY_INT
, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS
, 0, 0, 0},
28117 { SWIG_PY_INT
, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT
, 0, 0, 0},
28118 { SWIG_PY_INT
, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES
, 0, 0, 0},
28119 { SWIG_PY_INT
, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT
, 0, 0, 0},
28120 { SWIG_PY_INT
, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE
, 0, 0, 0},
28121 { SWIG_PY_INT
, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS
, 0, 0, 0},
28122 { SWIG_PY_INT
, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS
, 0, 0, 0},
28123 { SWIG_PY_INT
, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS
, 0, 0, 0},
28124 { SWIG_PY_INT
, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal
, 0, 0, 0},
28125 { SWIG_PY_INT
, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected
, 0, 0, 0},
28126 { SWIG_PY_INT
, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded
, 0, 0, 0},
28127 { SWIG_PY_INT
, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded
, 0, 0, 0},
28128 { SWIG_PY_INT
, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max
, 0, 0, 0},
28129 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE
, 0, 0, 0},
28130 { SWIG_PY_INT
, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW
, 0, 0, 0},
28131 { SWIG_PY_INT
, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE
, 0, 0, 0},
28132 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON
, 0, 0, 0},
28133 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON
, 0, 0, 0},
28134 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT
, 0, 0, 0},
28135 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL
, 0, 0, 0},
28136 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28137 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28138 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT
, 0, 0, 0},
28139 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT
, 0, 0, 0},
28140 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART
, 0, 0, 0},
28141 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART
, 0, 0, 0},
28142 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM
, 0, 0, 0},
28143 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG
, 0, 0, 0},
28144 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
, 0, 0, 0},
28145 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, 0, 0, 0},
28146 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
, 0, 0, 0},
28147 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM
, 0, 0, 0},
28148 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO
, 0, 0, 0},
28149 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO
, 0, 0, 0},
28150 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
, 0, 0, 0},
28151 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
, 0, 0, 0},
28152 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, 0, 0, 0},
28153 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, 0, 0, 0},
28154 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED
, 0, 0, 0},
28155 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING
, 0, 0, 0},
28156 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN
, 0, 0, 0},
28157 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
, 0, 0, 0},
28158 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
, 0, 0, 0},
28159 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28160 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG
, 0, 0, 0},
28161 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
, 0, 0, 0},
28162 { SWIG_PY_INT
, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY
, 0, 0, 0},
28163 { SWIG_PY_INT
, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST
, 0, 0, 0},
28164 { SWIG_PY_INT
, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS
, 0, 0, 0},
28165 { SWIG_PY_INT
, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL
, 0, 0, 0},
28166 { SWIG_PY_INT
, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS
, 0, 0, 0},
28167 { SWIG_PY_INT
, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP
, 0, 0, 0},
28168 { SWIG_PY_INT
, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP
, 0, 0, 0},
28169 { SWIG_PY_INT
, (char *)"wxEVT_HELP", (long) wxEVT_HELP
, 0, 0, 0},
28170 { SWIG_PY_INT
, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP
, 0, 0, 0},
28180 SWIGEXPORT(void) SWIG_init(void) {
28181 static PyObject
*SWIG_globals
= 0;
28182 static int typeinit
= 0;
28185 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28186 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28187 d
= PyModule_GetDict(m
);
28190 for (i
= 0; swig_types_initial
[i
]; i
++) {
28191 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28195 SWIG_InstallConstants(d
,swig_const_table
);
28197 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
28198 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
28199 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
28200 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
28201 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
28202 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
28203 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
28204 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
28205 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
28206 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
28207 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
28208 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
28209 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
28210 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
28211 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
28212 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
28213 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
28214 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
28215 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
28216 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
28217 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
28218 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
28219 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
28220 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
28221 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
28222 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
28223 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
28224 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
28225 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
28226 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
28227 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
28228 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
28230 // Map renamed classes back to their common name for OOR
28231 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28233 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
28234 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
28235 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
28236 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
28237 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
28238 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
28239 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
28240 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
28241 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
28242 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
28243 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
28244 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
28245 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
28246 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
28247 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
28248 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
28249 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
28250 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
28251 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
28253 // Map renamed classes back to their common name for OOR
28254 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28255 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28257 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
28258 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
28260 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");