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_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2913 PyObject
* obj0
= 0 ;
2915 (char *) "self",(char *) "n", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ComboBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2922 (arg1
)->SetSelection(arg2
);
2924 wxPyEndAllowThreads(__tstate
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2927 Py_INCREF(Py_None
); resultobj
= Py_None
;
2934 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
*resultobj
;
2936 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2939 PyObject
* obj0
= 0 ;
2941 (char *) "self",(char *) "from",(char *) "to", NULL
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_SetMark",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 (arg1
)->SetSelection(arg2
,arg3
);
2950 wxPyEndAllowThreads(__tstate
);
2951 if (PyErr_Occurred()) SWIG_fail
;
2953 Py_INCREF(Py_None
); resultobj
= Py_None
;
2960 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
*resultobj
;
2962 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2964 PyObject
* obj0
= 0 ;
2965 PyObject
* obj1
= 0 ;
2967 (char *) "self",(char *) "editable", NULL
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
2971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2972 arg2
= PyInt_AsLong(obj1
) ? true : false;
2973 if (PyErr_Occurred()) SWIG_fail
;
2975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2976 (arg1
)->SetEditable(arg2
);
2978 wxPyEndAllowThreads(__tstate
);
2979 if (PyErr_Occurred()) SWIG_fail
;
2981 Py_INCREF(Py_None
); resultobj
= Py_None
;
2988 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
*resultobj
;
2990 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2991 PyObject
* obj0
= 0 ;
2993 (char *) "self", NULL
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
2997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3000 (arg1
)->SetInsertionPointEnd();
3002 wxPyEndAllowThreads(__tstate
);
3003 if (PyErr_Occurred()) SWIG_fail
;
3005 Py_INCREF(Py_None
); resultobj
= Py_None
;
3012 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
*resultobj
;
3014 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3017 PyObject
* obj0
= 0 ;
3019 (char *) "self",(char *) "from",(char *) "to", NULL
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 (arg1
)->Remove(arg2
,arg3
);
3028 wxPyEndAllowThreads(__tstate
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3031 Py_INCREF(Py_None
); resultobj
= Py_None
;
3038 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3041 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3043 return Py_BuildValue((char *)"");
3045 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
*resultobj
;
3047 wxWindow
*arg1
= (wxWindow
*) 0 ;
3050 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3051 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3052 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3053 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3054 long arg6
= (long) wxGA_HORIZONTAL
;
3055 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3056 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3057 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3058 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3062 bool temp8
= False
;
3063 PyObject
* obj0
= 0 ;
3064 PyObject
* obj3
= 0 ;
3065 PyObject
* obj4
= 0 ;
3066 PyObject
* obj6
= 0 ;
3067 PyObject
* obj7
= 0 ;
3069 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|OOlOO:new_Gauge",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
3073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3077 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3083 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3087 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3089 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3094 arg8
= wxString_in_helper(obj7
);
3095 if (arg8
== NULL
) SWIG_fail
;
3100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3101 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3103 wxPyEndAllowThreads(__tstate
);
3104 if (PyErr_Occurred()) SWIG_fail
;
3106 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3121 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3122 PyObject
*resultobj
;
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 result
= (wxGauge
*)new wxGauge();
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) SWIG_fail
;
3136 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3143 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
*resultobj
;
3145 wxGauge
*arg1
= (wxGauge
*) 0 ;
3146 wxWindow
*arg2
= (wxWindow
*) 0 ;
3149 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3150 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3151 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3152 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3153 long arg7
= (long) wxGA_HORIZONTAL
;
3154 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3155 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3156 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3157 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3161 bool temp9
= False
;
3162 PyObject
* obj0
= 0 ;
3163 PyObject
* obj1
= 0 ;
3164 PyObject
* obj4
= 0 ;
3165 PyObject
* obj5
= 0 ;
3166 PyObject
* obj7
= 0 ;
3167 PyObject
* obj8
= 0 ;
3169 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|OOlOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
3173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3174 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3178 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3184 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3188 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3190 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3195 arg9
= wxString_in_helper(obj8
);
3196 if (arg9
== NULL
) SWIG_fail
;
3201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3202 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3204 wxPyEndAllowThreads(__tstate
);
3205 if (PyErr_Occurred()) SWIG_fail
;
3207 resultobj
= PyInt_FromLong((long)result
);
3222 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
*resultobj
;
3224 wxGauge
*arg1
= (wxGauge
*) 0 ;
3226 PyObject
* obj0
= 0 ;
3228 (char *) "self",(char *) "range", NULL
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetRange",kwnames
,&obj0
,&arg2
)) goto fail
;
3232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3235 (arg1
)->SetRange(arg2
);
3237 wxPyEndAllowThreads(__tstate
);
3238 if (PyErr_Occurred()) SWIG_fail
;
3240 Py_INCREF(Py_None
); resultobj
= Py_None
;
3247 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
*resultobj
;
3249 wxGauge
*arg1
= (wxGauge
*) 0 ;
3251 PyObject
* obj0
= 0 ;
3253 (char *) "self", NULL
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3265 resultobj
= PyInt_FromLong((long)result
);
3272 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3273 PyObject
*resultobj
;
3274 wxGauge
*arg1
= (wxGauge
*) 0 ;
3276 PyObject
* obj0
= 0 ;
3278 (char *) "self",(char *) "pos", NULL
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
3282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 (arg1
)->SetValue(arg2
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3290 Py_INCREF(Py_None
); resultobj
= Py_None
;
3297 static PyObject
*_wrap_Gauge_GetValue(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_GetValue",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
= (int)((wxGauge
const *)arg1
)->GetValue();
3312 wxPyEndAllowThreads(__tstate
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3315 resultobj
= PyInt_FromLong((long)result
);
3322 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3323 PyObject
*resultobj
;
3324 wxGauge
*arg1
= (wxGauge
*) 0 ;
3326 PyObject
* obj0
= 0 ;
3328 (char *) "self", NULL
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3335 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3337 wxPyEndAllowThreads(__tstate
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3340 resultobj
= PyInt_FromLong((long)result
);
3347 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
*resultobj
;
3349 wxGauge
*arg1
= (wxGauge
*) 0 ;
3351 PyObject
* obj0
= 0 ;
3353 (char *) "self",(char *) "w", NULL
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetShadowWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 (arg1
)->SetShadowWidth(arg2
);
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3365 Py_INCREF(Py_None
); resultobj
= Py_None
;
3372 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxGauge
*arg1
= (wxGauge
*) 0 ;
3376 PyObject
* obj0
= 0 ;
3378 (char *) "self", NULL
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3385 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3387 wxPyEndAllowThreads(__tstate
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3390 resultobj
= PyInt_FromLong((long)result
);
3397 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
*resultobj
;
3399 wxGauge
*arg1
= (wxGauge
*) 0 ;
3401 PyObject
* obj0
= 0 ;
3403 (char *) "self",(char *) "w", NULL
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetBezelFace",kwnames
,&obj0
,&arg2
)) goto fail
;
3407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3410 (arg1
)->SetBezelFace(arg2
);
3412 wxPyEndAllowThreads(__tstate
);
3413 if (PyErr_Occurred()) SWIG_fail
;
3415 Py_INCREF(Py_None
); resultobj
= Py_None
;
3422 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
*resultobj
;
3424 wxGauge
*arg1
= (wxGauge
*) 0 ;
3426 PyObject
* obj0
= 0 ;
3428 (char *) "self", NULL
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3440 resultobj
= PyInt_FromLong((long)result
);
3447 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3450 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3452 return Py_BuildValue((char *)"");
3454 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxWindow
*arg1
= (wxWindow
*) 0 ;
3458 wxString
*arg3
= 0 ;
3459 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3460 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3461 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3462 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3463 long arg6
= (long) 0 ;
3464 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3465 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3466 wxStaticBox
*result
;
3467 bool temp3
= False
;
3470 bool temp7
= False
;
3471 PyObject
* obj0
= 0 ;
3472 PyObject
* obj2
= 0 ;
3473 PyObject
* obj3
= 0 ;
3474 PyObject
* obj4
= 0 ;
3475 PyObject
* obj6
= 0 ;
3477 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3483 arg3
= wxString_in_helper(obj2
);
3484 if (arg3
== NULL
) SWIG_fail
;
3490 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3496 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3501 arg7
= wxString_in_helper(obj6
);
3502 if (arg7
== NULL
) SWIG_fail
;
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3514 resultobj
= wxPyMake_wxObject(result
);
3538 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
*resultobj
;
3540 wxStaticBox
*result
;
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
3547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3548 result
= (wxStaticBox
*)new wxStaticBox();
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3554 resultobj
= wxPyMake_wxObject(result
);
3562 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
*resultobj
;
3564 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
3565 wxWindow
*arg2
= (wxWindow
*) 0 ;
3567 wxString
*arg4
= 0 ;
3568 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3569 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3570 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3571 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3572 long arg7
= (long) 0 ;
3573 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
3574 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3576 bool temp4
= False
;
3579 bool temp8
= False
;
3580 PyObject
* obj0
= 0 ;
3581 PyObject
* obj1
= 0 ;
3582 PyObject
* obj3
= 0 ;
3583 PyObject
* obj4
= 0 ;
3584 PyObject
* obj5
= 0 ;
3585 PyObject
* obj7
= 0 ;
3587 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3594 arg4
= wxString_in_helper(obj3
);
3595 if (arg4
== NULL
) SWIG_fail
;
3601 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3607 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3612 arg8
= wxString_in_helper(obj7
);
3613 if (arg8
== NULL
) SWIG_fail
;
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3624 resultobj
= PyInt_FromLong((long)result
);
3647 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
3649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3650 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
3652 return Py_BuildValue((char *)"");
3654 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
*resultobj
;
3656 wxWindow
*arg1
= (wxWindow
*) 0 ;
3658 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3659 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3660 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3661 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3662 long arg5
= (long) wxLI_HORIZONTAL
;
3663 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
3664 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3665 wxStaticLine
*result
;
3668 bool temp6
= False
;
3669 PyObject
* obj0
= 0 ;
3670 PyObject
* obj2
= 0 ;
3671 PyObject
* obj3
= 0 ;
3672 PyObject
* obj5
= 0 ;
3674 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_StaticLine",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
3678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3682 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3688 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3693 arg6
= wxString_in_helper(obj5
);
3694 if (arg6
== NULL
) SWIG_fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3720 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
*resultobj
;
3722 wxStaticLine
*result
;
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3730 result
= (wxStaticLine
*)new wxStaticLine();
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3735 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3742 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
;
3744 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3745 wxWindow
*arg2
= (wxWindow
*) 0 ;
3747 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3748 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3749 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3750 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3751 long arg6
= (long) wxLI_HORIZONTAL
;
3752 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3753 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3757 bool temp7
= False
;
3758 PyObject
* obj0
= 0 ;
3759 PyObject
* obj1
= 0 ;
3760 PyObject
* obj3
= 0 ;
3761 PyObject
* obj4
= 0 ;
3762 PyObject
* obj6
= 0 ;
3764 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3769 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3773 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3779 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3784 arg7
= wxString_in_helper(obj6
);
3785 if (arg7
== NULL
) SWIG_fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 resultobj
= PyInt_FromLong((long)result
);
3811 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
*resultobj
;
3813 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3815 PyObject
* obj0
= 0 ;
3817 (char *) "self", NULL
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
3821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= PyInt_FromLong((long)result
);
3836 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
3845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3846 result
= (int)wxStaticLine::GetDefaultSize();
3848 wxPyEndAllowThreads(__tstate
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3851 resultobj
= PyInt_FromLong((long)result
);
3858 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
3860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3861 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
3863 return Py_BuildValue((char *)"");
3865 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
*resultobj
;
3867 wxWindow
*arg1
= (wxWindow
*) 0 ;
3869 wxString
*arg3
= 0 ;
3870 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3871 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3872 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3873 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3874 long arg6
= (long) 0 ;
3875 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3876 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3877 wxStaticText
*result
;
3878 bool temp3
= False
;
3881 bool temp7
= False
;
3882 PyObject
* obj0
= 0 ;
3883 PyObject
* obj2
= 0 ;
3884 PyObject
* obj3
= 0 ;
3885 PyObject
* obj4
= 0 ;
3886 PyObject
* obj6
= 0 ;
3888 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticText",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3894 arg3
= wxString_in_helper(obj2
);
3895 if (arg3
== NULL
) SWIG_fail
;
3901 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3907 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3912 arg7
= wxString_in_helper(obj6
);
3913 if (arg7
== NULL
) SWIG_fail
;
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3924 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
3947 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
*resultobj
;
3949 wxStaticText
*result
;
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 result
= (wxStaticText
*)new wxStaticText();
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3962 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
3969 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
;
3971 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
3972 wxWindow
*arg2
= (wxWindow
*) 0 ;
3974 wxString
*arg4
= 0 ;
3975 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3976 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3977 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3978 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3979 long arg7
= (long) 0 ;
3980 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
3981 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3983 bool temp4
= False
;
3986 bool temp8
= False
;
3987 PyObject
* obj0
= 0 ;
3988 PyObject
* obj1
= 0 ;
3989 PyObject
* obj3
= 0 ;
3990 PyObject
* obj4
= 0 ;
3991 PyObject
* obj5
= 0 ;
3992 PyObject
* obj7
= 0 ;
3994 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticText_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3999 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4001 arg4
= wxString_in_helper(obj3
);
4002 if (arg4
== NULL
) SWIG_fail
;
4008 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4014 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4019 arg8
= wxString_in_helper(obj7
);
4020 if (arg8
== NULL
) SWIG_fail
;
4025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= PyInt_FromLong((long)result
);
4054 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4057 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4059 return Py_BuildValue((char *)"");
4061 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
;
4063 wxWindow
*arg1
= (wxWindow
*) 0 ;
4065 wxBitmap
*arg3
= 0 ;
4066 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4067 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4068 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4069 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4070 long arg6
= (long) 0 ;
4071 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4072 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4073 wxStaticBitmap
*result
;
4076 bool temp7
= False
;
4077 PyObject
* obj0
= 0 ;
4078 PyObject
* obj2
= 0 ;
4079 PyObject
* obj3
= 0 ;
4080 PyObject
* obj4
= 0 ;
4081 PyObject
* obj6
= 0 ;
4083 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBitmap",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4088 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4090 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4095 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4101 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4106 arg7
= wxString_in_helper(obj6
);
4107 if (arg7
== NULL
) SWIG_fail
;
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4133 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxStaticBitmap
*result
;
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4155 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
;
4157 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4158 wxWindow
*arg2
= (wxWindow
*) 0 ;
4160 wxBitmap
*arg4
= 0 ;
4161 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4162 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4163 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4164 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4165 long arg7
= (long) 0 ;
4166 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4167 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4171 bool temp8
= False
;
4172 PyObject
* obj0
= 0 ;
4173 PyObject
* obj1
= 0 ;
4174 PyObject
* obj3
= 0 ;
4175 PyObject
* obj4
= 0 ;
4176 PyObject
* obj5
= 0 ;
4177 PyObject
* obj7
= 0 ;
4179 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4184 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4185 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4187 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4192 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4198 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4203 arg8
= wxString_in_helper(obj7
);
4204 if (arg8
== NULL
) SWIG_fail
;
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= PyInt_FromLong((long)result
);
4230 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
*resultobj
;
4232 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4234 PyObject
* obj0
= 0 ;
4236 (char *) "self", NULL
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 result
= (arg1
)->GetBitmap();
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4249 wxBitmap
* resultptr
;
4250 resultptr
= new wxBitmap((wxBitmap
&) result
);
4251 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4259 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4261 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4262 wxBitmap
*arg2
= 0 ;
4263 PyObject
* obj0
= 0 ;
4264 PyObject
* obj1
= 0 ;
4266 (char *) "self",(char *) "bitmap", NULL
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4271 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4273 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4282 Py_INCREF(Py_None
); resultobj
= Py_None
;
4289 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
;
4291 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4293 PyObject
* obj0
= 0 ;
4294 PyObject
* obj1
= 0 ;
4296 (char *) "self",(char *) "icon", NULL
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4301 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4303 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 Py_INCREF(Py_None
); resultobj
= Py_None
;
4319 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4322 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4324 return Py_BuildValue((char *)"");
4326 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
*resultobj
;
4328 wxWindow
*arg1
= (wxWindow
*) 0 ;
4330 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4331 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4332 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4333 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4334 int arg5
= (int) 0 ;
4335 wxString
*arg6
= (wxString
*) NULL
;
4336 long arg7
= (long) 0 ;
4337 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4338 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4339 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
4340 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4344 bool temp8
= False
;
4345 PyObject
* obj0
= 0 ;
4346 PyObject
* obj2
= 0 ;
4347 PyObject
* obj3
= 0 ;
4348 PyObject
* obj4
= 0 ;
4349 PyObject
* obj6
= 0 ;
4350 PyObject
* obj7
= 0 ;
4352 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_ListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
4356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4360 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4366 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4371 arg5
= PyList_Size(obj4
);
4372 arg6
= wxString_LIST_helper(obj4
);
4373 if (arg6
== NULL
) SWIG_fail
;
4377 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4379 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4384 arg9
= wxString_in_helper(obj7
);
4385 if (arg9
== NULL
) SWIG_fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4396 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4398 if (arg6
) delete [] arg6
;
4407 if (arg6
) delete [] arg6
;
4417 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 result
= (wxListBox
*)new wxListBox();
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4439 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
;
4441 wxListBox
*arg1
= (wxListBox
*) 0 ;
4442 wxWindow
*arg2
= (wxWindow
*) 0 ;
4444 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4445 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4446 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4447 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4448 int arg6
= (int) 0 ;
4449 wxString
*arg7
= (wxString
*) NULL
;
4450 long arg8
= (long) 0 ;
4451 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4452 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4453 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
4454 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4458 bool temp9
= False
;
4459 PyObject
* obj0
= 0 ;
4460 PyObject
* obj1
= 0 ;
4461 PyObject
* obj3
= 0 ;
4462 PyObject
* obj4
= 0 ;
4463 PyObject
* obj5
= 0 ;
4464 PyObject
* obj7
= 0 ;
4465 PyObject
* obj8
= 0 ;
4467 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
4471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4472 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4476 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4482 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4487 arg6
= PyList_Size(obj5
);
4488 arg7
= wxString_LIST_helper(obj5
);
4489 if (arg7
== NULL
) SWIG_fail
;
4493 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4495 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4500 arg10
= wxString_in_helper(obj8
);
4501 if (arg10
== NULL
) SWIG_fail
;
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4512 resultobj
= PyInt_FromLong((long)result
);
4514 if (arg7
) delete [] arg7
;
4523 if (arg7
) delete [] arg7
;
4533 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4535 wxListBox
*arg1
= (wxListBox
*) 0 ;
4536 wxString
*arg2
= 0 ;
4538 PyObject
*arg4
= (PyObject
*) NULL
;
4539 bool temp2
= False
;
4540 PyObject
* obj0
= 0 ;
4541 PyObject
* obj1
= 0 ;
4542 PyObject
* obj3
= 0 ;
4544 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4550 arg2
= wxString_in_helper(obj1
);
4551 if (arg2
== NULL
) SWIG_fail
;
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4564 Py_INCREF(Py_None
); resultobj
= Py_None
;
4579 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxListBox
*arg1
= (wxListBox
*) 0 ;
4582 wxArrayString
*arg2
= 0 ;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4587 (char *) "self",(char *) "items",(char *) "pos", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4593 if (! PySequence_Check(obj1
)) {
4594 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4597 arg2
= new wxArrayString
;
4598 int i
, len
=PySequence_Length(obj1
);
4599 for (i
=0; i
<len
; i
++) {
4600 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4602 PyObject
* str
= PyObject_Unicode(item
);
4604 PyObject
* str
= PyObject_Str(item
);
4606 arg2
->Add(Py2wxString(str
));
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4618 Py_INCREF(Py_None
); resultobj
= Py_None
;
4620 if (arg2
) delete arg2
;
4625 if (arg2
) delete arg2
;
4631 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxListBox
*arg1
= (wxListBox
*) 0 ;
4634 wxArrayString
*arg2
= 0 ;
4635 PyObject
* obj0
= 0 ;
4636 PyObject
* obj1
= 0 ;
4638 (char *) "self",(char *) "items", NULL
4641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
4642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4644 if (! PySequence_Check(obj1
)) {
4645 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4648 arg2
= new wxArrayString
;
4649 int i
, len
=PySequence_Length(obj1
);
4650 for (i
=0; i
<len
; i
++) {
4651 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4653 PyObject
* str
= PyObject_Unicode(item
);
4655 PyObject
* str
= PyObject_Str(item
);
4657 arg2
->Add(Py2wxString(str
));
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 (arg1
)->Set((wxArrayString
const &)*arg2
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4669 Py_INCREF(Py_None
); resultobj
= Py_None
;
4671 if (arg2
) delete arg2
;
4676 if (arg2
) delete arg2
;
4682 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
*resultobj
;
4684 wxListBox
*arg1
= (wxListBox
*) 0 ;
4687 PyObject
* obj0
= 0 ;
4689 (char *) "self",(char *) "n", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
4693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 resultobj
= PyInt_FromLong((long)result
);
4708 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
*resultobj
;
4710 wxListBox
*arg1
= (wxListBox
*) 0 ;
4712 bool arg3
= (bool) True
;
4713 PyObject
* obj0
= 0 ;
4714 PyObject
* obj2
= 0 ;
4716 (char *) "self",(char *) "n",(char *) "select", NULL
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListBox_SetSelection",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4722 arg3
= PyInt_AsLong(obj2
) ? true : false;
4723 if (PyErr_Occurred()) SWIG_fail
;
4726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4727 (arg1
)->SetSelection(arg2
,arg3
);
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4732 Py_INCREF(Py_None
); resultobj
= Py_None
;
4739 static PyObject
*_wrap_ListBox_Select(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_Select",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
)->Select(arg2
);
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4757 Py_INCREF(Py_None
); resultobj
= Py_None
;
4764 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
*resultobj
;
4766 wxListBox
*arg1
= (wxListBox
*) 0 ;
4768 PyObject
* obj0
= 0 ;
4770 (char *) "self",(char *) "n", NULL
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Deselect",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
)->Deselect(arg2
);
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4782 Py_INCREF(Py_None
); resultobj
= Py_None
;
4789 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxListBox
*arg1
= (wxListBox
*) 0 ;
4792 int arg2
= (int) -1 ;
4793 PyObject
* obj0
= 0 ;
4795 (char *) "self",(char *) "itemToLeaveSelected", NULL
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListBox_DeselectAll",kwnames
,&obj0
,&arg2
)) goto fail
;
4799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 (arg1
)->DeselectAll(arg2
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 Py_INCREF(Py_None
); resultobj
= Py_None
;
4814 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
*resultobj
;
4816 wxListBox
*arg1
= (wxListBox
*) 0 ;
4817 wxString
*arg2
= 0 ;
4818 bool arg3
= (bool) True
;
4820 bool temp2
= False
;
4821 PyObject
* obj0
= 0 ;
4822 PyObject
* obj1
= 0 ;
4823 PyObject
* obj2
= 0 ;
4825 (char *) "self",(char *) "s",(char *) "select", NULL
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4831 arg2
= wxString_in_helper(obj1
);
4832 if (arg2
== NULL
) SWIG_fail
;
4836 arg3
= PyInt_AsLong(obj2
) ? true : false;
4837 if (PyErr_Occurred()) SWIG_fail
;
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= PyInt_FromLong((long)result
);
4861 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
;
4863 wxListBox
*arg1
= (wxListBox
*) 0 ;
4865 PyObject
* obj0
= 0 ;
4867 (char *) "self", NULL
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
4871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4886 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
;
4888 wxListBox
*arg1
= (wxListBox
*) 0 ;
4890 PyObject
* obj0
= 0 ;
4892 (char *) "self",(char *) "n", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_SetFirstItem",kwnames
,&obj0
,&arg2
)) goto fail
;
4896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 (arg1
)->SetFirstItem(arg2
);
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 Py_INCREF(Py_None
); resultobj
= Py_None
;
4911 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
;
4913 wxListBox
*arg1
= (wxListBox
*) 0 ;
4914 wxString
*arg2
= 0 ;
4915 bool temp2
= False
;
4916 PyObject
* obj0
= 0 ;
4917 PyObject
* obj1
= 0 ;
4919 (char *) "self",(char *) "s", NULL
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
4923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4925 arg2
= wxString_in_helper(obj1
);
4926 if (arg2
== NULL
) SWIG_fail
;
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4936 Py_INCREF(Py_None
); resultobj
= Py_None
;
4951 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
;
4953 wxListBox
*arg1
= (wxListBox
*) 0 ;
4955 PyObject
* obj0
= 0 ;
4957 (char *) "self",(char *) "n", NULL
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
4961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 (arg1
)->EnsureVisible(arg2
);
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 Py_INCREF(Py_None
); resultobj
= Py_None
;
4976 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
;
4978 wxListBox
*arg1
= (wxListBox
*) 0 ;
4979 wxString
*arg2
= 0 ;
4980 bool temp2
= False
;
4981 PyObject
* obj0
= 0 ;
4982 PyObject
* obj1
= 0 ;
4984 (char *) "self",(char *) "s", NULL
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
4988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4990 arg2
= wxString_in_helper(obj1
);
4991 if (arg2
== NULL
) SWIG_fail
;
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5001 Py_INCREF(Py_None
); resultobj
= Py_None
;
5016 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
*resultobj
;
5018 wxListBox
*arg1
= (wxListBox
*) 0 ;
5020 PyObject
* obj0
= 0 ;
5022 (char *) "self", NULL
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5029 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5031 wxPyEndAllowThreads(__tstate
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5034 resultobj
= PyInt_FromLong((long)result
);
5041 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5044 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5046 return Py_BuildValue((char *)"");
5048 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
*resultobj
;
5050 wxWindow
*arg1
= (wxWindow
*) 0 ;
5052 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5053 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5054 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5055 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5056 int arg5
= (int) 0 ;
5057 wxString
*arg6
= (wxString
*) NULL
;
5058 long arg7
= (long) 0 ;
5059 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5060 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5061 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5062 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5063 wxCheckListBox
*result
;
5066 bool temp8
= False
;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj2
= 0 ;
5069 PyObject
* obj3
= 0 ;
5070 PyObject
* obj4
= 0 ;
5071 PyObject
* obj6
= 0 ;
5072 PyObject
* obj7
= 0 ;
5074 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
5078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5082 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5088 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5093 arg5
= PyList_Size(obj4
);
5094 arg6
= wxString_LIST_helper(obj4
);
5095 if (arg6
== NULL
) SWIG_fail
;
5099 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5101 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5106 arg9
= wxString_in_helper(obj7
);
5107 if (arg9
== NULL
) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5120 if (arg6
) delete [] arg6
;
5129 if (arg6
) delete [] arg6
;
5139 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
;
5141 wxCheckListBox
*result
;
5146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 result
= (wxCheckListBox
*)new wxCheckListBox();
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5161 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
;
5163 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5164 wxWindow
*arg2
= (wxWindow
*) 0 ;
5166 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5167 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5168 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5169 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5170 int arg6
= (int) 0 ;
5171 wxString
*arg7
= (wxString
*) NULL
;
5172 long arg8
= (long) 0 ;
5173 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5174 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5175 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5176 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5180 bool temp9
= False
;
5181 PyObject
* obj0
= 0 ;
5182 PyObject
* obj1
= 0 ;
5183 PyObject
* obj3
= 0 ;
5184 PyObject
* obj4
= 0 ;
5185 PyObject
* obj5
= 0 ;
5186 PyObject
* obj7
= 0 ;
5187 PyObject
* obj8
= 0 ;
5189 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
5193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5194 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5198 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5204 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5209 arg6
= PyList_Size(obj5
);
5210 arg7
= wxString_LIST_helper(obj5
);
5211 if (arg7
== NULL
) SWIG_fail
;
5215 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5217 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5222 arg10
= wxString_in_helper(obj8
);
5223 if (arg10
== NULL
) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) SWIG_fail
;
5234 resultobj
= PyInt_FromLong((long)result
);
5236 if (arg7
) delete [] arg7
;
5245 if (arg7
) delete [] arg7
;
5255 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
;
5257 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5260 PyObject
* obj0
= 0 ;
5262 (char *) "self",(char *) "index", NULL
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckListBox_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
5266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 result
= (bool)(arg1
)->IsChecked(arg2
);
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= PyInt_FromLong((long)result
);
5281 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
;
5283 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5285 int arg3
= (int) True
;
5286 PyObject
* obj0
= 0 ;
5288 (char *) "self",(char *) "index",(char *) "check", NULL
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:CheckListBox_Check",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 (arg1
)->Check(arg2
,arg3
);
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 Py_INCREF(Py_None
); resultobj
= Py_None
;
5307 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5311 PyObject
* obj0
= 0 ;
5313 (char *) "self", NULL
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
5317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 result
= (int)(arg1
)->GetItemHeight();
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5325 resultobj
= PyInt_FromLong((long)result
);
5332 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5338 PyObject
* obj0
= 0 ;
5339 PyObject
* obj1
= 0 ;
5341 (char *) "self",(char *) "pt", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
5345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5348 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 resultobj
= PyInt_FromLong((long)result
);
5364 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5370 PyObject
* obj0
= 0 ;
5372 (char *) "self",(char *) "x",(char *) "y", NULL
5375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:CheckListBox_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5384 resultobj
= PyInt_FromLong((long)result
);
5391 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5394 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
5396 return Py_BuildValue((char *)"");
5398 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
5399 PyObject
*resultobj
;
5402 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 result
= (wxTextAttr
*)new wxTextAttr();
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5417 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
5418 PyObject
*resultobj
;
5419 wxColour
*arg1
= 0 ;
5420 wxColour
const &arg2_defvalue
= wxNullColour
;
5421 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5422 wxFont
const &arg3_defvalue
= wxNullFont
;
5423 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
5424 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
5428 PyObject
* obj0
= 0 ;
5429 PyObject
* obj1
= 0 ;
5430 PyObject
* obj2
= 0 ;
5432 if(!PyArg_ParseTuple(args
,(char *)"O|OOi:new_TextAttr",&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5435 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5440 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5444 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5446 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5451 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
5453 wxPyEndAllowThreads(__tstate
);
5454 if (PyErr_Occurred()) SWIG_fail
;
5456 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5463 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
5468 argc
= PyObject_Length(args
);
5469 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
5470 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5473 return _wrap_new_TextAttr__SWIG_0(self
,args
);
5475 if ((argc
>= 1) && (argc
<= 4)) {
5478 _v
= wxColour_typecheck(argv
[0]);
5482 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5485 _v
= wxColour_typecheck(argv
[1]);
5489 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5493 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
5502 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5505 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
5508 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5515 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
5520 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
;
5522 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5523 PyObject
* obj0
= 0 ;
5525 (char *) "self", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 Py_INCREF(Py_None
); resultobj
= Py_None
;
5544 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5547 wxColour
*arg2
= 0 ;
5549 PyObject
* obj0
= 0 ;
5550 PyObject
* obj1
= 0 ;
5552 (char *) "self",(char *) "colText", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5559 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5568 Py_INCREF(Py_None
); resultobj
= Py_None
;
5575 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5577 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5578 wxColour
*arg2
= 0 ;
5580 PyObject
* obj0
= 0 ;
5581 PyObject
* obj1
= 0 ;
5583 (char *) "self",(char *) "colBack", NULL
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5590 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) SWIG_fail
;
5599 Py_INCREF(Py_None
); resultobj
= Py_None
;
5606 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
*resultobj
;
5608 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5610 long arg3
= (long) wxTEXT_ATTR_FONT
;
5611 PyObject
* obj0
= 0 ;
5612 PyObject
* obj1
= 0 ;
5614 (char *) "self",(char *) "font",(char *) "flags", NULL
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5619 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5621 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 Py_INCREF(Py_None
); resultobj
= Py_None
;
5637 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5639 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5641 PyObject
* obj0
= 0 ;
5643 (char *) "self",(char *) "alignment", NULL
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
5647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5655 Py_INCREF(Py_None
); resultobj
= Py_None
;
5662 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5664 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5665 wxArrayInt
*arg2
= 0 ;
5666 PyObject
* obj0
= 0 ;
5667 PyObject
* obj1
= 0 ;
5669 (char *) "self",(char *) "tabs", NULL
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
5673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5675 if (! PySequence_Check(obj1
)) {
5676 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
5679 arg2
= new wxArrayInt
;
5680 int i
, len
=PySequence_Length(obj1
);
5681 for (i
=0; i
<len
; i
++) {
5682 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5683 PyObject
* number
= PyNumber_Int(item
);
5684 arg2
->Add(PyInt_AS_LONG(number
));
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5696 Py_INCREF(Py_None
); resultobj
= Py_None
;
5698 if (arg2
) delete arg2
;
5703 if (arg2
) delete arg2
;
5709 static PyObject
*_wrap_TextAttr_SetLeftIndent(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_SetLeftIndent",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
)->SetLeftIndent(arg2
);
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5727 Py_INCREF(Py_None
); resultobj
= Py_None
;
5734 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
;
5736 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5738 PyObject
* obj0
= 0 ;
5740 (char *) "self",(char *) "indent", NULL
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetRightIndent",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
)->SetRightIndent(arg2
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5752 Py_INCREF(Py_None
); resultobj
= Py_None
;
5759 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5761 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5763 PyObject
* obj0
= 0 ;
5765 (char *) "self",(char *) "flags", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
5769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 (arg1
)->SetFlags(arg2
);
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) SWIG_fail
;
5777 Py_INCREF(Py_None
); resultobj
= Py_None
;
5784 static PyObject
*_wrap_TextAttr_HasTextColour(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_HasTextColour",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
)->HasTextColour();
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 resultobj
= PyInt_FromLong((long)result
);
5809 static PyObject
*_wrap_TextAttr_HasBackgroundColour(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_HasBackgroundColour",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
)->HasBackgroundColour();
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 resultobj
= PyInt_FromLong((long)result
);
5834 static PyObject
*_wrap_TextAttr_HasFont(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_HasFont",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
)->HasFont();
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 resultobj
= PyInt_FromLong((long)result
);
5859 static PyObject
*_wrap_TextAttr_HasAlignment(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_HasAlignment",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
)->HasAlignment();
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5877 resultobj
= PyInt_FromLong((long)result
);
5884 static PyObject
*_wrap_TextAttr_HasTabs(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_HasTabs",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
)->HasTabs();
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= PyInt_FromLong((long)result
);
5909 static PyObject
*_wrap_TextAttr_HasLeftIndent(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_HasLeftIndent",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
)->HasLeftIndent();
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= PyInt_FromLong((long)result
);
5934 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
;
5936 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5938 PyObject
* obj0
= 0 ;
5940 (char *) "self", NULL
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
5944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5952 resultobj
= PyInt_FromLong((long)result
);
5959 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
*resultobj
;
5961 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5964 PyObject
* obj0
= 0 ;
5966 (char *) "self",(char *) "flag", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
5970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 resultobj
= PyInt_FromLong((long)result
);
5985 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
*resultobj
;
5987 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5989 PyObject
* obj0
= 0 ;
5991 (char *) "self", NULL
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
5995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6000 result
= (wxColour
*) &_result_ref
;
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6006 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6013 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6017 PyObject
* obj0
= 0 ;
6019 (char *) "self", NULL
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6028 result
= (wxColour
*) &_result_ref
;
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6034 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6041 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
*resultobj
;
6043 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6045 PyObject
* obj0
= 0 ;
6047 (char *) "self", NULL
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6056 result
= (wxFont
*) &_result_ref
;
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6069 static PyObject
*_wrap_TextAttr_GetAlignment(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_GetAlignment",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();
6082 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6087 resultobj
= PyInt_FromLong((long)result
);
6094 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
;
6096 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6098 PyObject
* obj0
= 0 ;
6100 (char *) "self", NULL
6103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6109 result
= (wxArrayInt
*) &_result_ref
;
6112 wxPyEndAllowThreads(__tstate
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6116 resultobj
= PyList_New(0);
6118 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
6119 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
6120 PyList_Append(resultobj
, val
);
6130 static PyObject
*_wrap_TextAttr_GetLeftIndent(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_GetLeftIndent",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
)->GetLeftIndent();
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= PyInt_FromLong((long)result
);
6155 static PyObject
*_wrap_TextAttr_GetRightIndent(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_GetRightIndent",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
)->GetRightIndent();
6170 wxPyEndAllowThreads(__tstate
);
6171 if (PyErr_Occurred()) SWIG_fail
;
6173 resultobj
= PyInt_FromLong((long)result
);
6180 static PyObject
*_wrap_TextAttr_GetFlags(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_GetFlags",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
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6198 resultobj
= PyInt_FromLong((long)result
);
6205 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
*resultobj
;
6207 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6209 PyObject
* obj0
= 0 ;
6211 (char *) "self", NULL
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
6215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= PyInt_FromLong((long)result
);
6230 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxTextAttr
*arg1
= 0 ;
6233 wxTextAttr
*arg2
= 0 ;
6234 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
6236 PyObject
* obj0
= 0 ;
6237 PyObject
* obj1
= 0 ;
6238 PyObject
* obj2
= 0 ;
6240 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6246 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6248 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6250 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6252 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6261 wxTextAttr
* resultptr
;
6262 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
6263 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
6271 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
6273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6274 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
6276 return Py_BuildValue((char *)"");
6278 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxWindow
*arg1
= (wxWindow
*) 0 ;
6282 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6283 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6284 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6285 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6286 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6287 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6288 long arg6
= (long) 0 ;
6289 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6290 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6291 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
6292 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6294 bool temp3
= False
;
6297 bool temp8
= False
;
6298 PyObject
* obj0
= 0 ;
6299 PyObject
* obj2
= 0 ;
6300 PyObject
* obj3
= 0 ;
6301 PyObject
* obj4
= 0 ;
6302 PyObject
* obj6
= 0 ;
6303 PyObject
* obj7
= 0 ;
6305 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
6309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6312 arg3
= wxString_in_helper(obj2
);
6313 if (arg3
== NULL
) SWIG_fail
;
6320 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6326 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6330 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6332 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6337 arg8
= wxString_in_helper(obj7
);
6338 if (arg8
== NULL
) SWIG_fail
;
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6350 resultobj
= wxPyMake_wxObject(result
);
6374 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
;
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 result
= (wxTextCtrl
*)new wxTextCtrl();
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6390 resultobj
= wxPyMake_wxObject(result
);
6398 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
;
6400 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6401 wxWindow
*arg2
= (wxWindow
*) 0 ;
6403 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6404 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6405 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6406 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6407 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6408 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6409 long arg7
= (long) 0 ;
6410 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6411 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6412 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
6413 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6415 bool temp4
= False
;
6418 bool temp9
= False
;
6419 PyObject
* obj0
= 0 ;
6420 PyObject
* obj1
= 0 ;
6421 PyObject
* obj3
= 0 ;
6422 PyObject
* obj4
= 0 ;
6423 PyObject
* obj5
= 0 ;
6424 PyObject
* obj7
= 0 ;
6425 PyObject
* obj8
= 0 ;
6427 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
6431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6432 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6435 arg4
= wxString_in_helper(obj3
);
6436 if (arg4
== NULL
) SWIG_fail
;
6443 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6449 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6453 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6455 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6460 arg9
= wxString_in_helper(obj8
);
6461 if (arg9
== NULL
) SWIG_fail
;
6466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6467 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6469 wxPyEndAllowThreads(__tstate
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6472 resultobj
= PyInt_FromLong((long)result
);
6495 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
*resultobj
;
6497 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6499 PyObject
* obj0
= 0 ;
6501 (char *) "self", NULL
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
6505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6526 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
*resultobj
;
6528 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6529 wxString
*arg2
= 0 ;
6530 bool temp2
= False
;
6531 PyObject
* obj0
= 0 ;
6532 PyObject
* obj1
= 0 ;
6534 (char *) "self",(char *) "value", NULL
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6540 arg2
= wxString_in_helper(obj1
);
6541 if (arg2
== NULL
) SWIG_fail
;
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 (arg1
)->SetValue((wxString
const &)*arg2
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 Py_INCREF(Py_None
); resultobj
= Py_None
;
6566 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6568 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6572 PyObject
* obj0
= 0 ;
6574 (char *) "self",(char *) "from",(char *) "to", NULL
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6599 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
;
6601 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6604 PyObject
* obj0
= 0 ;
6606 (char *) "self",(char *) "lineNo", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= PyInt_FromLong((long)result
);
6625 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6630 PyObject
* obj0
= 0 ;
6632 (char *) "self",(char *) "lineNo", NULL
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineText",kwnames
,&obj0
,&arg2
)) goto fail
;
6636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6657 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(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_GetNumberOfLines",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
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 resultobj
= PyInt_FromLong((long)result
);
6682 static PyObject
*_wrap_TextCtrl_IsModified(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_IsModified",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
)->IsModified();
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= PyInt_FromLong((long)result
);
6707 static PyObject
*_wrap_TextCtrl_IsEditable(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_IsEditable",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
)->IsEditable();
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= PyInt_FromLong((long)result
);
6732 static PyObject
*_wrap_TextCtrl_IsSingleLine(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_IsSingleLine",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
)->IsSingleLine();
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6750 resultobj
= PyInt_FromLong((long)result
);
6757 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
;
6759 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6761 PyObject
* obj0
= 0 ;
6763 (char *) "self", NULL
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
6767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6775 resultobj
= PyInt_FromLong((long)result
);
6782 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
;
6784 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6785 long *arg2
= (long *) 0 ;
6786 long *arg3
= (long *) 0 ;
6789 PyObject
* obj0
= 0 ;
6791 (char *) "self", NULL
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
6797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 Py_INCREF(Py_None
); resultobj
= Py_None
;
6807 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
6808 resultobj
= t_output_helper(resultobj
,o
);
6811 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6812 resultobj
= t_output_helper(resultobj
,o
);
6820 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6824 PyObject
* obj0
= 0 ;
6826 (char *) "self", NULL
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
6830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6851 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
;
6853 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6854 PyObject
* obj0
= 0 ;
6856 (char *) "self", NULL
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
6860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6868 Py_INCREF(Py_None
); resultobj
= Py_None
;
6875 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
;
6877 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6880 wxString
*arg4
= 0 ;
6881 bool temp4
= False
;
6882 PyObject
* obj0
= 0 ;
6883 PyObject
* obj3
= 0 ;
6885 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
6889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6891 arg4
= wxString_in_helper(obj3
);
6892 if (arg4
== NULL
) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 Py_INCREF(Py_None
); resultobj
= Py_None
;
6917 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6922 PyObject
* obj0
= 0 ;
6924 (char *) "self",(char *) "from",(char *) "to", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 (arg1
)->Remove(arg2
,arg3
);
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6936 Py_INCREF(Py_None
); resultobj
= Py_None
;
6943 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6946 wxString
*arg2
= 0 ;
6948 bool temp2
= False
;
6949 PyObject
* obj0
= 0 ;
6950 PyObject
* obj1
= 0 ;
6952 (char *) "self",(char *) "file", NULL
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6958 arg2
= wxString_in_helper(obj1
);
6959 if (arg2
== NULL
) SWIG_fail
;
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6969 resultobj
= PyInt_FromLong((long)result
);
6984 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
*resultobj
;
6986 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6987 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6988 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6990 bool temp2
= False
;
6991 PyObject
* obj0
= 0 ;
6992 PyObject
* obj1
= 0 ;
6994 (char *) "self",(char *) "file", NULL
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7001 arg2
= wxString_in_helper(obj1
);
7002 if (arg2
== NULL
) SWIG_fail
;
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= PyInt_FromLong((long)result
);
7028 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
*resultobj
;
7030 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7031 PyObject
* obj0
= 0 ;
7033 (char *) "self", NULL
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
7037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 (arg1
)->MarkDirty();
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 Py_INCREF(Py_None
); resultobj
= Py_None
;
7052 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
;
7054 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7055 PyObject
* obj0
= 0 ;
7057 (char *) "self", NULL
7060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
7061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 (arg1
)->DiscardEdits();
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7069 Py_INCREF(Py_None
); resultobj
= Py_None
;
7076 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
;
7078 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7079 unsigned long arg2
;
7080 PyObject
* obj0
= 0 ;
7081 PyObject
* obj1
= 0 ;
7083 (char *) "self",(char *) "len", NULL
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7088 arg2
= (unsigned long) PyInt_AsLong(obj1
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 (arg1
)->SetMaxLength(arg2
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 Py_INCREF(Py_None
); resultobj
= Py_None
;
7104 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7107 wxString
*arg2
= 0 ;
7108 bool temp2
= False
;
7109 PyObject
* obj0
= 0 ;
7110 PyObject
* obj1
= 0 ;
7112 (char *) "self",(char *) "text", NULL
7115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
7116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7118 arg2
= wxString_in_helper(obj1
);
7119 if (arg2
== NULL
) SWIG_fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 (arg1
)->WriteText((wxString
const &)*arg2
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 Py_INCREF(Py_None
); resultobj
= Py_None
;
7144 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7146 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7147 wxString
*arg2
= 0 ;
7148 bool temp2
= False
;
7149 PyObject
* obj0
= 0 ;
7150 PyObject
* obj1
= 0 ;
7152 (char *) "self",(char *) "text", NULL
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
7156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7158 arg2
= wxString_in_helper(obj1
);
7159 if (arg2
== NULL
) SWIG_fail
;
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 (arg1
)->AppendText((wxString
const &)*arg2
);
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 Py_INCREF(Py_None
); resultobj
= Py_None
;
7184 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
;
7186 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7187 wxKeyEvent
*arg2
= 0 ;
7189 PyObject
* obj0
= 0 ;
7190 PyObject
* obj1
= 0 ;
7192 (char *) "self",(char *) "event", NULL
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
7196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7197 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7199 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 resultobj
= PyInt_FromLong((long)result
);
7215 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
;
7217 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7220 wxTextAttr
*arg4
= 0 ;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj3
= 0 ;
7225 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_SetStyle",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7230 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7232 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 resultobj
= PyInt_FromLong((long)result
);
7248 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7250 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7252 wxTextAttr
*arg3
= 0 ;
7254 PyObject
* obj0
= 0 ;
7255 PyObject
* obj2
= 0 ;
7257 (char *) "self",(char *) "position",(char *) "style", NULL
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:TextCtrl_GetStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7262 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7264 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= PyInt_FromLong((long)result
);
7280 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
;
7282 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7283 wxTextAttr
*arg2
= 0 ;
7285 PyObject
* obj0
= 0 ;
7286 PyObject
* obj1
= 0 ;
7288 (char *) "self",(char *) "style", NULL
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7293 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7295 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 resultobj
= PyInt_FromLong((long)result
);
7311 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
*resultobj
;
7313 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7315 PyObject
* obj0
= 0 ;
7317 (char *) "self", NULL
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
7321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
7326 result
= (wxTextAttr
*) &_result_ref
;
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
7339 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
*resultobj
;
7341 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7345 PyObject
* obj0
= 0 ;
7347 (char *) "self",(char *) "x",(char *) "y", NULL
7350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_XYToPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 resultobj
= PyInt_FromLong((long)result
);
7366 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
*resultobj
;
7368 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7370 long *arg3
= (long *) 0 ;
7371 long *arg4
= (long *) 0 ;
7374 PyObject
* obj0
= 0 ;
7376 (char *) "self",(char *) "pos", NULL
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_PositionToXY",kwnames
,&obj0
,&arg2
)) goto fail
;
7382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 Py_INCREF(Py_None
); resultobj
= Py_None
;
7392 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7393 resultobj
= t_output_helper(resultobj
,o
);
7396 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7397 resultobj
= t_output_helper(resultobj
,o
);
7405 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
;
7407 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7409 PyObject
* obj0
= 0 ;
7411 (char *) "self",(char *) "pos", NULL
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_ShowPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
7415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 (arg1
)->ShowPosition(arg2
);
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 Py_INCREF(Py_None
); resultobj
= Py_None
;
7430 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
;
7432 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7433 PyObject
* obj0
= 0 ;
7435 (char *) "self", NULL
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
7439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 Py_INCREF(Py_None
); resultobj
= Py_None
;
7454 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
*resultobj
;
7456 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7457 PyObject
* obj0
= 0 ;
7459 (char *) "self", NULL
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
7463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7471 Py_INCREF(Py_None
); resultobj
= Py_None
;
7478 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7479 PyObject
*resultobj
;
7480 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7481 PyObject
* obj0
= 0 ;
7483 (char *) "self", NULL
7486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",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();
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 Py_INCREF(Py_None
); resultobj
= Py_None
;
7502 static PyObject
*_wrap_TextCtrl_CanCopy(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_CanCopy",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
)->CanCopy();
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7520 resultobj
= PyInt_FromLong((long)result
);
7527 static PyObject
*_wrap_TextCtrl_CanCut(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_CanCut",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
)->CanCut();
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= PyInt_FromLong((long)result
);
7552 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7556 PyObject
* obj0
= 0 ;
7558 (char *) "self", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
7562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= PyInt_FromLong((long)result
);
7577 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7580 PyObject
* obj0
= 0 ;
7582 (char *) "self", NULL
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
7586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7594 Py_INCREF(Py_None
); resultobj
= Py_None
;
7601 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
*resultobj
;
7603 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7604 PyObject
* obj0
= 0 ;
7606 (char *) "self", NULL
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",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();
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 Py_INCREF(Py_None
); resultobj
= Py_None
;
7625 static PyObject
*_wrap_TextCtrl_CanUndo(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_CanUndo",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
)->CanUndo();
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= PyInt_FromLong((long)result
);
7650 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7656 (char *) "self", NULL
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
7660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= PyInt_FromLong((long)result
);
7675 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
;
7677 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7679 PyObject
* obj0
= 0 ;
7681 (char *) "self",(char *) "pos", NULL
7684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
7685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 (arg1
)->SetInsertionPoint(arg2
);
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 Py_INCREF(Py_None
); resultobj
= Py_None
;
7700 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
;
7702 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7703 PyObject
* obj0
= 0 ;
7705 (char *) "self", NULL
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",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 (arg1
)->SetInsertionPointEnd();
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7717 Py_INCREF(Py_None
); resultobj
= Py_None
;
7724 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(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_GetInsertionPoint",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
)->GetInsertionPoint();
7739 wxPyEndAllowThreads(__tstate
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7742 resultobj
= PyInt_FromLong((long)result
);
7749 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
;
7751 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7753 PyObject
* obj0
= 0 ;
7755 (char *) "self", NULL
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
7759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= PyInt_FromLong((long)result
);
7774 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7775 PyObject
*resultobj
;
7776 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7779 PyObject
* obj0
= 0 ;
7781 (char *) "self",(char *) "from",(char *) "to", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7788 (arg1
)->SetSelection(arg2
,arg3
);
7790 wxPyEndAllowThreads(__tstate
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7793 Py_INCREF(Py_None
); resultobj
= Py_None
;
7800 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
;
7802 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7803 PyObject
* obj0
= 0 ;
7805 (char *) "self", NULL
7808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
7809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 (arg1
)->SelectAll();
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 Py_INCREF(Py_None
); resultobj
= Py_None
;
7824 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7828 PyObject
* obj0
= 0 ;
7829 PyObject
* obj1
= 0 ;
7831 (char *) "self",(char *) "editable", NULL
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
7835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7836 arg2
= PyInt_AsLong(obj1
) ? true : false;
7837 if (PyErr_Occurred()) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 (arg1
)->SetEditable(arg2
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 Py_INCREF(Py_None
); resultobj
= Py_None
;
7852 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
;
7854 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7855 bool arg2
= (bool) True
;
7857 PyObject
* obj0
= 0 ;
7858 PyObject
* obj1
= 0 ;
7860 (char *) "self",(char *) "show", NULL
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
7864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7866 arg2
= PyInt_AsLong(obj1
) ? true : false;
7867 if (PyErr_Occurred()) SWIG_fail
;
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7876 resultobj
= PyInt_FromLong((long)result
);
7883 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7884 PyObject
*resultobj
;
7885 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7887 PyObject
* obj0
= 0 ;
7889 (char *) "self", NULL
7892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
7893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (bool)(arg1
)->HideNativeCaret();
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= PyInt_FromLong((long)result
);
7908 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7911 wxString
*arg2
= 0 ;
7912 bool temp2
= False
;
7913 PyObject
* obj0
= 0 ;
7914 PyObject
* obj1
= 0 ;
7916 (char *) "self",(char *) "text", NULL
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7922 arg2
= wxString_in_helper(obj1
);
7923 if (arg2
== NULL
) SWIG_fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7933 Py_INCREF(Py_None
); resultobj
= Py_None
;
7948 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
;
7950 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7954 PyObject
* obj0
= 0 ;
7956 (char *) "self",(char *) "from",(char *) "to", NULL
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetString",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7981 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7984 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
7986 return Py_BuildValue((char *)"");
7988 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
;
7991 wxMouseEvent
*arg2
= 0 ;
7994 wxTextUrlEvent
*result
;
7995 PyObject
* obj1
= 0 ;
7997 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOll:new_TextUrlEvent",kwnames
,&arg1
,&obj1
,&arg3
,&arg4
)) goto fail
;
8001 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8003 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8012 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
8019 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
*resultobj
;
8021 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8022 wxMouseEvent
*result
;
8023 PyObject
* obj0
= 0 ;
8025 (char *) "self", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
8029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8033 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
8034 result
= (wxMouseEvent
*) &_result_ref
;
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
8047 static PyObject
*_wrap_TextUrlEvent_GetURLStart(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_GetURLStart",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
)->GetURLStart();
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= PyInt_FromLong((long)result
);
8072 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8076 PyObject
* obj0
= 0 ;
8078 (char *) "self", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
8082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 resultobj
= PyInt_FromLong((long)result
);
8097 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8100 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
8102 return Py_BuildValue((char *)"");
8104 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxWindow
*arg1
= (wxWindow
*) 0 ;
8107 int arg2
= (int) -1 ;
8108 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8109 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8110 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8111 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8112 long arg5
= (long) wxSB_HORIZONTAL
;
8113 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
8114 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
8115 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
8116 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8117 wxScrollBar
*result
;
8120 bool temp7
= False
;
8121 PyObject
* obj0
= 0 ;
8122 PyObject
* obj2
= 0 ;
8123 PyObject
* obj3
= 0 ;
8124 PyObject
* obj5
= 0 ;
8125 PyObject
* obj6
= 0 ;
8127 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ScrollBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
8131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8135 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8141 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8145 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8147 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8152 arg7
= wxString_in_helper(obj6
);
8153 if (arg7
== NULL
) SWIG_fail
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8164 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8179 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
;
8181 wxScrollBar
*result
;
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
8188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 result
= (wxScrollBar
*)new wxScrollBar();
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8201 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
*resultobj
;
8203 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8204 wxWindow
*arg2
= (wxWindow
*) 0 ;
8205 int arg3
= (int) -1 ;
8206 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8207 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8208 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8209 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8210 long arg6
= (long) wxSB_HORIZONTAL
;
8211 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8212 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8213 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
8214 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8218 bool temp8
= False
;
8219 PyObject
* obj0
= 0 ;
8220 PyObject
* obj1
= 0 ;
8221 PyObject
* obj3
= 0 ;
8222 PyObject
* obj4
= 0 ;
8223 PyObject
* obj6
= 0 ;
8224 PyObject
* obj7
= 0 ;
8226 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
8230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8231 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8235 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8241 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8245 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8247 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8252 arg8
= wxString_in_helper(obj7
);
8253 if (arg8
== NULL
) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 resultobj
= PyInt_FromLong((long)result
);
8279 static PyObject
*_wrap_ScrollBar_GetThumbPosition(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_GetThumbPosition",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
)->GetThumbPosition();
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8297 resultobj
= PyInt_FromLong((long)result
);
8304 static PyObject
*_wrap_ScrollBar_GetThumbSize(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_GetThumbSize",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
)->GetThumbSize();
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 resultobj
= PyInt_FromLong((long)result
);
8329 static PyObject
*_wrap_ScrollBar_GetPageSize(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_GetPageSize",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
)->GetPageSize();
8344 wxPyEndAllowThreads(__tstate
);
8345 if (PyErr_Occurred()) SWIG_fail
;
8347 resultobj
= PyInt_FromLong((long)result
);
8354 static PyObject
*_wrap_ScrollBar_GetRange(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_GetRange",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
= (int)((wxScrollBar
const *)arg1
)->GetRange();
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 resultobj
= PyInt_FromLong((long)result
);
8379 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
;
8381 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8383 PyObject
* obj0
= 0 ;
8385 (char *) "self", NULL
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
8389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 resultobj
= PyInt_FromLong((long)result
);
8404 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8408 PyObject
* obj0
= 0 ;
8410 (char *) "self",(char *) "viewStart", NULL
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
8414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8417 (arg1
)->SetThumbPosition(arg2
);
8419 wxPyEndAllowThreads(__tstate
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8422 Py_INCREF(Py_None
); resultobj
= Py_None
;
8429 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
*resultobj
;
8431 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8436 bool arg6
= (bool) True
;
8437 PyObject
* obj0
= 0 ;
8438 PyObject
* obj5
= 0 ;
8440 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
8444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8446 arg6
= PyInt_AsLong(obj5
) ? true : false;
8447 if (PyErr_Occurred()) SWIG_fail
;
8450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8451 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
8453 wxPyEndAllowThreads(__tstate
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8456 Py_INCREF(Py_None
); resultobj
= Py_None
;
8463 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
8465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8466 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
8468 return Py_BuildValue((char *)"");
8470 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxWindow
*arg1
= (wxWindow
*) 0 ;
8473 int arg2
= (int) -1 ;
8474 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8475 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8476 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8477 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8478 long arg5
= (long) wxSP_HORIZONTAL
;
8479 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
8480 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8481 wxSpinButton
*result
;
8484 bool temp6
= False
;
8485 PyObject
* obj0
= 0 ;
8486 PyObject
* obj2
= 0 ;
8487 PyObject
* obj3
= 0 ;
8488 PyObject
* obj5
= 0 ;
8490 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_SpinButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8498 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8504 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8509 arg6
= wxString_in_helper(obj5
);
8510 if (arg6
== NULL
) SWIG_fail
;
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8521 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8536 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
;
8538 wxSpinButton
*result
;
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 result
= (wxSpinButton
*)new wxSpinButton();
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8551 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8558 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
*resultobj
;
8560 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8561 wxWindow
*arg2
= (wxWindow
*) 0 ;
8562 int arg3
= (int) -1 ;
8563 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8564 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8565 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8566 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8567 long arg6
= (long) wxSP_HORIZONTAL
;
8568 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
8569 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8573 bool temp7
= False
;
8574 PyObject
* obj0
= 0 ;
8575 PyObject
* obj1
= 0 ;
8576 PyObject
* obj3
= 0 ;
8577 PyObject
* obj4
= 0 ;
8578 PyObject
* obj6
= 0 ;
8580 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8589 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8595 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8600 arg7
= wxString_in_helper(obj6
);
8601 if (arg7
== NULL
) SWIG_fail
;
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 resultobj
= PyInt_FromLong((long)result
);
8627 static PyObject
*_wrap_SpinButton_GetValue(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_GetValue",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
)->GetValue();
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 resultobj
= PyInt_FromLong((long)result
);
8652 static PyObject
*_wrap_SpinButton_GetMin(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_GetMin",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
)->GetMin();
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= PyInt_FromLong((long)result
);
8677 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8681 PyObject
* obj0
= 0 ;
8683 (char *) "self", NULL
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
8687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8695 resultobj
= PyInt_FromLong((long)result
);
8702 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
*resultobj
;
8704 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8706 PyObject
* obj0
= 0 ;
8708 (char *) "self",(char *) "val", NULL
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetValue",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
)->SetValue(arg2
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 Py_INCREF(Py_None
); resultobj
= Py_None
;
8727 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
;
8729 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8731 PyObject
* obj0
= 0 ;
8733 (char *) "self",(char *) "minVal", NULL
8736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMin",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
)->SetMin(arg2
);
8742 wxPyEndAllowThreads(__tstate
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8745 Py_INCREF(Py_None
); resultobj
= Py_None
;
8752 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
*resultobj
;
8754 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8756 PyObject
* obj0
= 0 ;
8758 (char *) "self",(char *) "maxVal", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
8762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8765 (arg1
)->SetMax(arg2
);
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 Py_INCREF(Py_None
); resultobj
= Py_None
;
8777 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
*resultobj
;
8779 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8782 PyObject
* obj0
= 0 ;
8784 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinButton_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 (arg1
)->SetRange(arg2
,arg3
);
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 Py_INCREF(Py_None
); resultobj
= Py_None
;
8803 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8807 PyObject
* obj0
= 0 ;
8809 (char *) "self", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
8813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 resultobj
= PyInt_FromLong((long)result
);
8828 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
8830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8831 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
8833 return Py_BuildValue((char *)"");
8835 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxWindow
*arg1
= (wxWindow
*) 0 ;
8838 int arg2
= (int) -1 ;
8839 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8840 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8841 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8842 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8843 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8844 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8845 long arg6
= (long) wxSP_ARROW_KEYS
;
8846 int arg7
= (int) 0 ;
8847 int arg8
= (int) 100 ;
8848 int arg9
= (int) 0 ;
8849 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
8850 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
8852 bool temp3
= False
;
8855 bool temp10
= False
;
8856 PyObject
* obj0
= 0 ;
8857 PyObject
* obj2
= 0 ;
8858 PyObject
* obj3
= 0 ;
8859 PyObject
* obj4
= 0 ;
8860 PyObject
* obj9
= 0 ;
8862 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
)) goto fail
;
8866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8869 arg3
= wxString_in_helper(obj2
);
8870 if (arg3
== NULL
) SWIG_fail
;
8877 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8883 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8888 arg10
= wxString_in_helper(obj9
);
8889 if (arg10
== NULL
) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
8923 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 result
= (wxSpinCtrl
*)new wxSpinCtrl();
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
8945 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8947 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
8948 wxWindow
*arg2
= (wxWindow
*) 0 ;
8949 int arg3
= (int) -1 ;
8950 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8951 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8952 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8953 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8954 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8955 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8956 long arg7
= (long) wxSP_ARROW_KEYS
;
8957 int arg8
= (int) 0 ;
8958 int arg9
= (int) 100 ;
8959 int arg10
= (int) 0 ;
8960 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
8961 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
8963 bool temp4
= False
;
8966 bool temp11
= False
;
8967 PyObject
* obj0
= 0 ;
8968 PyObject
* obj1
= 0 ;
8969 PyObject
* obj3
= 0 ;
8970 PyObject
* obj4
= 0 ;
8971 PyObject
* obj5
= 0 ;
8972 PyObject
* obj10
= 0 ;
8974 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&arg8
,&arg9
,&arg10
,&obj10
)) goto fail
;
8978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8979 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8982 arg4
= wxString_in_helper(obj3
);
8983 if (arg4
== NULL
) SWIG_fail
;
8990 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8996 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9001 arg11
= wxString_in_helper(obj10
);
9002 if (arg11
== NULL
) SWIG_fail
;
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 resultobj
= PyInt_FromLong((long)result
);
9036 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9040 PyObject
* obj0
= 0 ;
9042 (char *) "self", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 resultobj
= PyInt_FromLong((long)result
);
9061 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9065 PyObject
* obj0
= 0 ;
9067 (char *) "self",(char *) "value", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinCtrl_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 (arg1
)->SetValue(arg2
);
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 Py_INCREF(Py_None
); resultobj
= Py_None
;
9086 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
;
9088 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9089 wxString
*arg2
= 0 ;
9090 bool temp2
= False
;
9091 PyObject
* obj0
= 0 ;
9092 PyObject
* obj1
= 0 ;
9094 (char *) "self",(char *) "text", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
9098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9100 arg2
= wxString_in_helper(obj1
);
9101 if (arg2
== NULL
) SWIG_fail
;
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 (arg1
)->SetValue((wxString
const &)*arg2
);
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 Py_INCREF(Py_None
); resultobj
= Py_None
;
9126 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
;
9128 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9131 PyObject
* obj0
= 0 ;
9133 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinCtrl_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 (arg1
)->SetRange(arg2
,arg3
);
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 Py_INCREF(Py_None
); resultobj
= Py_None
;
9152 static PyObject
*_wrap_SpinCtrl_GetMin(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_GetMin",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
)->GetMin();
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9170 resultobj
= PyInt_FromLong((long)result
);
9177 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
*resultobj
;
9179 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9181 PyObject
* obj0
= 0 ;
9183 (char *) "self", NULL
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
9187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 resultobj
= PyInt_FromLong((long)result
);
9202 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
;
9204 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9207 PyObject
* obj0
= 0 ;
9209 (char *) "self",(char *) "from",(char *) "to", NULL
9212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:SpinCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 (arg1
)->SetSelection(arg2
,arg3
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 Py_INCREF(Py_None
); resultobj
= Py_None
;
9228 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9231 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
9233 return Py_BuildValue((char *)"");
9235 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
;
9237 wxWindow
*arg1
= (wxWindow
*) 0 ;
9239 wxString
*arg3
= 0 ;
9240 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9241 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9242 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9243 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9244 int arg6
= (int) 0 ;
9245 wxString
*arg7
= (wxString
*) NULL
;
9246 int arg8
= (int) 0 ;
9247 long arg9
= (long) wxRA_HORIZONTAL
;
9248 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
9249 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
9250 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
9251 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9253 bool temp3
= False
;
9256 bool temp10
= False
;
9257 PyObject
* obj0
= 0 ;
9258 PyObject
* obj2
= 0 ;
9259 PyObject
* obj3
= 0 ;
9260 PyObject
* obj4
= 0 ;
9261 PyObject
* obj5
= 0 ;
9262 PyObject
* obj8
= 0 ;
9263 PyObject
* obj9
= 0 ;
9265 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOOilOO:new_RadioBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&arg9
,&obj8
,&obj9
)) goto fail
;
9269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9271 arg3
= wxString_in_helper(obj2
);
9272 if (arg3
== NULL
) SWIG_fail
;
9278 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9284 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9289 arg6
= PyList_Size(obj5
);
9290 arg7
= wxString_LIST_helper(obj5
);
9291 if (arg7
== NULL
) SWIG_fail
;
9295 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9296 if (arg10
== NULL
) {
9297 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9302 arg11
= wxString_in_helper(obj9
);
9303 if (arg11
== NULL
) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 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
);
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9320 if (arg7
) delete [] arg7
;
9333 if (arg7
) delete [] arg7
;
9343 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9344 PyObject
*resultobj
;
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
9352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9353 result
= (wxRadioBox
*)new wxRadioBox();
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9365 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
*resultobj
;
9367 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9368 wxWindow
*arg2
= (wxWindow
*) 0 ;
9370 wxString
*arg4
= 0 ;
9371 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9372 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9373 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9374 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9375 int arg7
= (int) 0 ;
9376 wxString
*arg8
= (wxString
*) NULL
;
9377 int arg9
= (int) 0 ;
9378 long arg10
= (long) wxRA_HORIZONTAL
;
9379 wxValidator
const &arg11_defvalue
= wxDefaultValidator
;
9380 wxValidator
*arg11
= (wxValidator
*) &arg11_defvalue
;
9381 wxString
const &arg12_defvalue
= wxPyRadioBoxNameStr
;
9382 wxString
*arg12
= (wxString
*) &arg12_defvalue
;
9384 bool temp4
= False
;
9387 bool temp11
= False
;
9388 PyObject
* obj0
= 0 ;
9389 PyObject
* obj1
= 0 ;
9390 PyObject
* obj3
= 0 ;
9391 PyObject
* obj4
= 0 ;
9392 PyObject
* obj5
= 0 ;
9393 PyObject
* obj6
= 0 ;
9394 PyObject
* obj9
= 0 ;
9395 PyObject
* obj10
= 0 ;
9397 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&arg10
,&obj9
,&obj10
)) goto fail
;
9401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9404 arg4
= wxString_in_helper(obj3
);
9405 if (arg4
== NULL
) SWIG_fail
;
9411 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9417 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9422 arg7
= PyList_Size(obj6
);
9423 arg8
= wxString_LIST_helper(obj6
);
9424 if (arg8
== NULL
) SWIG_fail
;
9428 if ((SWIG_ConvertPtr(obj9
,(void **) &arg11
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9429 if (arg11
== NULL
) {
9430 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9435 arg12
= wxString_in_helper(obj10
);
9436 if (arg12
== NULL
) SWIG_fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 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
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= PyInt_FromLong((long)result
);
9453 if (arg8
) delete [] arg8
;
9466 if (arg8
) delete [] arg8
;
9476 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
*resultobj
;
9478 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9480 PyObject
* obj0
= 0 ;
9482 (char *) "self",(char *) "n", NULL
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
9486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 (arg1
)->SetSelection(arg2
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 Py_INCREF(Py_None
); resultobj
= Py_None
;
9501 static PyObject
*_wrap_RadioBox_GetSelection(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_GetSelection",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
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9519 resultobj
= PyInt_FromLong((long)result
);
9526 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
;
9528 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9530 PyObject
* obj0
= 0 ;
9532 (char *) "self", NULL
9535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
9536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9557 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9559 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9560 wxString
*arg2
= 0 ;
9562 bool temp2
= False
;
9563 PyObject
* obj0
= 0 ;
9564 PyObject
* obj1
= 0 ;
9566 (char *) "self",(char *) "s", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9572 arg2
= wxString_in_helper(obj1
);
9573 if (arg2
== NULL
) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= PyInt_FromLong((long)result
);
9598 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9602 PyObject
* obj0
= 0 ;
9604 (char *) "self", NULL
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
9608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9616 resultobj
= PyInt_FromLong((long)result
);
9623 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
;
9625 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9626 wxString
*arg2
= 0 ;
9628 bool temp2
= False
;
9629 PyObject
* obj0
= 0 ;
9630 PyObject
* obj1
= 0 ;
9632 (char *) "self",(char *) "s", NULL
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
9636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9638 arg2
= wxString_in_helper(obj1
);
9639 if (arg2
== NULL
) SWIG_fail
;
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9649 resultobj
= PyInt_FromLong((long)result
);
9664 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
*resultobj
;
9666 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9669 PyObject
* obj0
= 0 ;
9671 (char *) "self",(char *) "n", NULL
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
9675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9678 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
9680 wxPyEndAllowThreads(__tstate
);
9681 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9696 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
;
9698 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9700 wxString
*arg3
= 0 ;
9701 bool temp3
= False
;
9702 PyObject
* obj0
= 0 ;
9703 PyObject
* obj2
= 0 ;
9705 (char *) "self",(char *) "n",(char *) "label", NULL
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:RadioBox_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9711 arg3
= wxString_in_helper(obj2
);
9712 if (arg3
== NULL
) SWIG_fail
;
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9717 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
9719 wxPyEndAllowThreads(__tstate
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9722 Py_INCREF(Py_None
); resultobj
= Py_None
;
9737 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9741 bool arg3
= (bool) True
;
9742 PyObject
* obj0
= 0 ;
9743 PyObject
* obj2
= 0 ;
9745 (char *) "self",(char *) "n",(char *) "enable", NULL
9748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_EnableItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9751 arg3
= PyInt_AsLong(obj2
) ? true : false;
9752 if (PyErr_Occurred()) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 (arg1
)->Enable(arg2
,arg3
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9761 Py_INCREF(Py_None
); resultobj
= Py_None
;
9768 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
;
9770 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9772 bool arg3
= (bool) True
;
9773 PyObject
* obj0
= 0 ;
9774 PyObject
* obj2
= 0 ;
9776 (char *) "self",(char *) "n",(char *) "show", NULL
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_ShowItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9782 arg3
= PyInt_AsLong(obj2
) ? true : false;
9783 if (PyErr_Occurred()) SWIG_fail
;
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 (arg1
)->Show(arg2
,arg3
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9792 Py_INCREF(Py_None
); resultobj
= Py_None
;
9799 static PyObject
*_wrap_RadioBox_GetColumnCount(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_GetColumnCount",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
)->GetColumnCount();
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= PyInt_FromLong((long)result
);
9824 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
;
9826 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9828 PyObject
* obj0
= 0 ;
9830 (char *) "self", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
9834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= PyInt_FromLong((long)result
);
9849 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9856 PyObject
* obj0
= 0 ;
9858 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:RadioBox_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
9862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9870 resultobj
= PyInt_FromLong((long)result
);
9877 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
9879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9880 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
9882 return Py_BuildValue((char *)"");
9884 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
;
9886 wxWindow
*arg1
= (wxWindow
*) 0 ;
9888 wxString
*arg3
= 0 ;
9889 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9890 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9891 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9892 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9893 long arg6
= (long) 0 ;
9894 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9895 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9896 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
9897 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9898 wxRadioButton
*result
;
9899 bool temp3
= False
;
9902 bool temp8
= False
;
9903 PyObject
* obj0
= 0 ;
9904 PyObject
* obj2
= 0 ;
9905 PyObject
* obj3
= 0 ;
9906 PyObject
* obj4
= 0 ;
9907 PyObject
* obj6
= 0 ;
9908 PyObject
* obj7
= 0 ;
9910 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_RadioButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
9914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9916 arg3
= wxString_in_helper(obj2
);
9917 if (arg3
== NULL
) SWIG_fail
;
9923 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9929 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9933 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9935 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9940 arg8
= wxString_in_helper(obj7
);
9941 if (arg8
== NULL
) SWIG_fail
;
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
9975 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
;
9977 wxRadioButton
*result
;
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 result
= (wxRadioButton
*)new wxRadioButton();
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
9997 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
*resultobj
;
9999 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10000 wxWindow
*arg2
= (wxWindow
*) 0 ;
10002 wxString
*arg4
= 0 ;
10003 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10004 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10005 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10006 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10007 long arg7
= (long) 0 ;
10008 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10009 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10010 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
10011 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10013 bool temp4
= False
;
10016 bool temp9
= False
;
10017 PyObject
* obj0
= 0 ;
10018 PyObject
* obj1
= 0 ;
10019 PyObject
* obj3
= 0 ;
10020 PyObject
* obj4
= 0 ;
10021 PyObject
* obj5
= 0 ;
10022 PyObject
* obj7
= 0 ;
10023 PyObject
* obj8
= 0 ;
10024 char *kwnames
[] = {
10025 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
10029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10030 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10032 arg4
= wxString_in_helper(obj3
);
10033 if (arg4
== NULL
) SWIG_fail
;
10039 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10045 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10049 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10050 if (arg8
== NULL
) {
10051 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10056 arg9
= wxString_in_helper(obj8
);
10057 if (arg9
== NULL
) SWIG_fail
;
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= PyInt_FromLong((long)result
);
10091 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
;
10093 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10095 PyObject
* obj0
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
10101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 result
= (bool)(arg1
)->GetValue();
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 resultobj
= PyInt_FromLong((long)result
);
10116 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10120 PyObject
* obj0
= 0 ;
10121 PyObject
* obj1
= 0 ;
10122 char *kwnames
[] = {
10123 (char *) "self",(char *) "value", NULL
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10128 arg2
= PyInt_AsLong(obj1
) ? true : false;
10129 if (PyErr_Occurred()) SWIG_fail
;
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 (arg1
)->SetValue(arg2
);
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 Py_INCREF(Py_None
); resultobj
= Py_None
;
10144 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
10146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10147 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
10149 return Py_BuildValue((char *)"");
10151 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10153 wxWindow
*arg1
= (wxWindow
*) 0 ;
10158 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
10159 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
10160 wxSize
const &arg7_defvalue
= wxDefaultSize
;
10161 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
10162 long arg8
= (long) wxSL_HORIZONTAL
;
10163 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10164 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10165 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
10166 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10170 bool temp10
= False
;
10171 PyObject
* obj0
= 0 ;
10172 PyObject
* obj5
= 0 ;
10173 PyObject
* obj6
= 0 ;
10174 PyObject
* obj8
= 0 ;
10175 PyObject
* obj9
= 0 ;
10176 char *kwnames
[] = {
10177 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOlOO:new_Slider",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
,&obj8
,&obj9
)) goto fail
;
10181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10185 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
10191 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
10195 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10196 if (arg9
== NULL
) {
10197 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10202 arg10
= wxString_in_helper(obj9
);
10203 if (arg10
== NULL
) SWIG_fail
;
10208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
10211 wxPyEndAllowThreads(__tstate
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10214 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10229 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10232 char *kwnames
[] = {
10236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 result
= (wxSlider
*)new wxSlider();
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10244 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10251 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10253 wxSlider
*arg1
= (wxSlider
*) 0 ;
10254 wxWindow
*arg2
= (wxWindow
*) 0 ;
10259 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10260 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10261 wxSize
const &arg8_defvalue
= wxDefaultSize
;
10262 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
10263 long arg9
= (long) wxSL_HORIZONTAL
;
10264 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10265 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10266 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
10267 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10271 bool temp11
= False
;
10272 PyObject
* obj0
= 0 ;
10273 PyObject
* obj1
= 0 ;
10274 PyObject
* obj6
= 0 ;
10275 PyObject
* obj7
= 0 ;
10276 PyObject
* obj9
= 0 ;
10277 PyObject
* obj10
= 0 ;
10278 char *kwnames
[] = {
10279 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiiii|OOlOO:Slider_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&arg9
,&obj9
,&obj10
)) goto fail
;
10283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10284 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10288 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10294 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
10298 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10299 if (arg10
== NULL
) {
10300 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10305 arg11
= wxString_in_helper(obj10
);
10306 if (arg11
== NULL
) SWIG_fail
;
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 resultobj
= PyInt_FromLong((long)result
);
10332 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
;
10334 wxSlider
*arg1
= (wxSlider
*) 0 ;
10336 PyObject
* obj0
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
10342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10345 result
= (int)((wxSlider
const *)arg1
)->GetValue();
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10350 resultobj
= PyInt_FromLong((long)result
);
10357 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10358 PyObject
*resultobj
;
10359 wxSlider
*arg1
= (wxSlider
*) 0 ;
10361 PyObject
* obj0
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "self",(char *) "value", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
10367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 (arg1
)->SetValue(arg2
);
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10375 Py_INCREF(Py_None
); resultobj
= Py_None
;
10382 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
*resultobj
;
10384 wxSlider
*arg1
= (wxSlider
*) 0 ;
10387 PyObject
* obj0
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 (arg1
)->SetRange(arg2
,arg3
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 Py_INCREF(Py_None
); resultobj
= Py_None
;
10408 static PyObject
*_wrap_Slider_GetMin(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_GetMin",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
)->GetMin();
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10426 resultobj
= PyInt_FromLong((long)result
);
10433 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
;
10435 wxSlider
*arg1
= (wxSlider
*) 0 ;
10437 PyObject
* obj0
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
10443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 result
= (int)((wxSlider
const *)arg1
)->GetMax();
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10451 resultobj
= PyInt_FromLong((long)result
);
10458 static PyObject
*_wrap_Slider_SetMin(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 *) "minValue", NULL
10467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMin",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
)->SetMin(arg2
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 Py_INCREF(Py_None
); resultobj
= Py_None
;
10483 static PyObject
*_wrap_Slider_SetMax(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 *) "maxValue", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMax",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
)->SetMax(arg2
);
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 Py_INCREF(Py_None
); resultobj
= Py_None
;
10508 static PyObject
*_wrap_Slider_SetLineSize(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 *) "lineSize", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetLineSize",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
)->SetLineSize(arg2
);
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 Py_INCREF(Py_None
); resultobj
= Py_None
;
10533 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10535 wxSlider
*arg1
= (wxSlider
*) 0 ;
10537 PyObject
* obj0
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "self",(char *) "pageSize", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 (arg1
)->SetPageSize(arg2
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 Py_INCREF(Py_None
); resultobj
= Py_None
;
10558 static PyObject
*_wrap_Slider_GetLineSize(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_GetLineSize",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
)->GetLineSize();
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10576 resultobj
= PyInt_FromLong((long)result
);
10583 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
;
10585 wxSlider
*arg1
= (wxSlider
*) 0 ;
10587 PyObject
* obj0
= 0 ;
10588 char *kwnames
[] = {
10589 (char *) "self", NULL
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
10593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 resultobj
= PyInt_FromLong((long)result
);
10608 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10610 wxSlider
*arg1
= (wxSlider
*) 0 ;
10612 PyObject
* obj0
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self",(char *) "lenPixels", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetThumbLength",kwnames
,&obj0
,&arg2
)) goto fail
;
10618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10621 (arg1
)->SetThumbLength(arg2
);
10623 wxPyEndAllowThreads(__tstate
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10626 Py_INCREF(Py_None
); resultobj
= Py_None
;
10633 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
*resultobj
;
10635 wxSlider
*arg1
= (wxSlider
*) 0 ;
10637 PyObject
* obj0
= 0 ;
10638 char *kwnames
[] = {
10639 (char *) "self", NULL
10642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
10643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 resultobj
= PyInt_FromLong((long)result
);
10658 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
;
10660 wxSlider
*arg1
= (wxSlider
*) 0 ;
10663 PyObject
* obj0
= 0 ;
10664 char *kwnames
[] = {
10665 (char *) "self",(char *) "n",(char *) "pos", NULL
10668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetTickFreq",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 (arg1
)->SetTickFreq(arg2
,arg3
);
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 Py_INCREF(Py_None
); resultobj
= Py_None
;
10684 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
;
10686 wxSlider
*arg1
= (wxSlider
*) 0 ;
10688 PyObject
* obj0
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "self", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 resultobj
= PyInt_FromLong((long)result
);
10709 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxSlider
*arg1
= (wxSlider
*) 0 ;
10712 PyObject
* obj0
= 0 ;
10713 char *kwnames
[] = {
10714 (char *) "self", NULL
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) 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
)->ClearTicks();
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 Py_INCREF(Py_None
); resultobj
= Py_None
;
10733 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
;
10735 wxSlider
*arg1
= (wxSlider
*) 0 ;
10737 PyObject
* obj0
= 0 ;
10738 char *kwnames
[] = {
10739 (char *) "self",(char *) "tickPos", NULL
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetTick",kwnames
,&obj0
,&arg2
)) goto fail
;
10743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 (arg1
)->SetTick(arg2
);
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 Py_INCREF(Py_None
); resultobj
= Py_None
;
10758 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
;
10760 wxSlider
*arg1
= (wxSlider
*) 0 ;
10761 PyObject
* obj0
= 0 ;
10762 char *kwnames
[] = {
10763 (char *) "self", NULL
10766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",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 (arg1
)->ClearSel();
10772 wxPyEndAllowThreads(__tstate
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10775 Py_INCREF(Py_None
); resultobj
= Py_None
;
10782 static PyObject
*_wrap_Slider_GetSelEnd(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_GetSelEnd",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
)->GetSelEnd();
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= PyInt_FromLong((long)result
);
10807 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
;
10809 wxSlider
*arg1
= (wxSlider
*) 0 ;
10811 PyObject
* obj0
= 0 ;
10812 char *kwnames
[] = {
10813 (char *) "self", NULL
10816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
10817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= PyInt_FromLong((long)result
);
10832 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10833 PyObject
*resultobj
;
10834 wxSlider
*arg1
= (wxSlider
*) 0 ;
10837 PyObject
* obj0
= 0 ;
10838 char *kwnames
[] = {
10839 (char *) "self",(char *) "min",(char *) "max", NULL
10842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 (arg1
)->SetSelection(arg2
,arg3
);
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10851 Py_INCREF(Py_None
); resultobj
= Py_None
;
10858 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
10860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10861 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
10863 return Py_BuildValue((char *)"");
10865 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
;
10867 wxWindow
*arg1
= (wxWindow
*) 0 ;
10869 wxString
*arg3
= 0 ;
10870 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10871 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10872 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10873 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10874 long arg6
= (long) 0 ;
10875 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10876 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10877 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
10878 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10879 wxToggleButton
*result
;
10880 bool temp3
= False
;
10883 bool temp8
= False
;
10884 PyObject
* obj0
= 0 ;
10885 PyObject
* obj2
= 0 ;
10886 PyObject
* obj3
= 0 ;
10887 PyObject
* obj4
= 0 ;
10888 PyObject
* obj6
= 0 ;
10889 PyObject
* obj7
= 0 ;
10890 char *kwnames
[] = {
10891 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_ToggleButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10897 arg3
= wxString_in_helper(obj2
);
10898 if (arg3
== NULL
) SWIG_fail
;
10904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10914 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10915 if (arg7
== NULL
) {
10916 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10921 arg8
= wxString_in_helper(obj7
);
10922 if (arg8
== NULL
) SWIG_fail
;
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10933 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
10956 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10957 PyObject
*resultobj
;
10958 wxToggleButton
*result
;
10959 char *kwnames
[] = {
10963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 result
= (wxToggleButton
*)new wxToggleButton();
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10971 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
10978 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
;
10980 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
10981 wxWindow
*arg2
= (wxWindow
*) 0 ;
10983 wxString
*arg4
= 0 ;
10984 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10985 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10986 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10987 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10988 long arg7
= (long) 0 ;
10989 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10990 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10991 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
10992 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10994 bool temp4
= False
;
10997 bool temp9
= False
;
10998 PyObject
* obj0
= 0 ;
10999 PyObject
* obj1
= 0 ;
11000 PyObject
* obj3
= 0 ;
11001 PyObject
* obj4
= 0 ;
11002 PyObject
* obj5
= 0 ;
11003 PyObject
* obj7
= 0 ;
11004 PyObject
* obj8
= 0 ;
11005 char *kwnames
[] = {
11006 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
11010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11011 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11013 arg4
= wxString_in_helper(obj3
);
11014 if (arg4
== NULL
) SWIG_fail
;
11020 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11026 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11030 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11031 if (arg8
== NULL
) {
11032 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11037 arg9
= wxString_in_helper(obj8
);
11038 if (arg9
== NULL
) SWIG_fail
;
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11049 resultobj
= PyInt_FromLong((long)result
);
11072 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
*resultobj
;
11074 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11076 PyObject
* obj0
= 0 ;
11077 PyObject
* obj1
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "self",(char *) "value", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11084 arg2
= PyInt_AsLong(obj1
) ? true : false;
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 (arg1
)->SetValue(arg2
);
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11093 Py_INCREF(Py_None
); resultobj
= Py_None
;
11100 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11101 PyObject
*resultobj
;
11102 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11104 PyObject
* obj0
= 0 ;
11105 char *kwnames
[] = {
11106 (char *) "self", NULL
11109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
11110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 resultobj
= PyInt_FromLong((long)result
);
11125 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
*resultobj
;
11127 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11128 wxString
*arg2
= 0 ;
11129 bool temp2
= False
;
11130 PyObject
* obj0
= 0 ;
11131 PyObject
* obj1
= 0 ;
11132 char *kwnames
[] = {
11133 (char *) "self",(char *) "label", NULL
11136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
11137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11139 arg2
= wxString_in_helper(obj1
);
11140 if (arg2
== NULL
) SWIG_fail
;
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 (arg1
)->SetLabel((wxString
const &)*arg2
);
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11150 Py_INCREF(Py_None
); resultobj
= Py_None
;
11165 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
11167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11168 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
11170 return Py_BuildValue((char *)"");
11172 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11176 PyObject
* obj0
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "self", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
11182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 resultobj
= PyInt_FromLong((long)result
);
11197 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11202 PyObject
* obj0
= 0 ;
11203 PyObject
* obj1
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self",(char *) "n", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11210 arg2
= (size_t) PyInt_AsLong(obj1
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11220 resultobj
= wxPyMake_wxObject(result
);
11228 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11230 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11232 PyObject
* obj0
= 0 ;
11233 char *kwnames
[] = {
11234 (char *) "self", NULL
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
11238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11246 resultobj
= PyInt_FromLong((long)result
);
11253 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11257 wxString
*arg3
= 0 ;
11259 bool temp3
= False
;
11260 PyObject
* obj0
= 0 ;
11261 PyObject
* obj1
= 0 ;
11262 PyObject
* obj2
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self",(char *) "n",(char *) "strText", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11269 arg2
= (size_t) PyInt_AsLong(obj1
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11272 arg3
= wxString_in_helper(obj2
);
11273 if (arg3
== NULL
) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= PyInt_FromLong((long)result
);
11298 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
;
11300 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11303 PyObject
* obj0
= 0 ;
11304 PyObject
* obj1
= 0 ;
11305 char *kwnames
[] = {
11306 (char *) "self",(char *) "n", NULL
11309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
11310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11311 arg2
= (size_t) PyInt_AsLong(obj1
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11333 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
;
11335 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11336 wxImageList
*arg2
= (wxImageList
*) 0 ;
11337 PyObject
* obj0
= 0 ;
11338 PyObject
* obj1
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "self",(char *) "imageList", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 (arg1
)->SetImageList(arg2
);
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 Py_INCREF(Py_None
); resultobj
= Py_None
;
11360 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
*resultobj
;
11362 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11363 wxImageList
*arg2
= (wxImageList
*) 0 ;
11364 PyObject
* obj0
= 0 ;
11365 PyObject
* obj1
= 0 ;
11366 char *kwnames
[] = {
11367 (char *) "self",(char *) "imageList", NULL
11370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11372 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 (arg1
)->AssignImageList(arg2
);
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11380 Py_INCREF(Py_None
); resultobj
= Py_None
;
11387 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
;
11389 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11390 wxImageList
*result
;
11391 PyObject
* obj0
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
11397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11406 resultobj
= wxPyMake_wxObject(result
);
11414 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
;
11416 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11419 PyObject
* obj0
= 0 ;
11420 PyObject
* obj1
= 0 ;
11421 char *kwnames
[] = {
11422 (char *) "self",(char *) "n", NULL
11425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
11426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11427 arg2
= (size_t) PyInt_AsLong(obj1
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11436 resultobj
= PyInt_FromLong((long)result
);
11443 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
;
11445 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11449 PyObject
* obj0
= 0 ;
11450 PyObject
* obj1
= 0 ;
11451 char *kwnames
[] = {
11452 (char *) "self",(char *) "n",(char *) "imageId", NULL
11455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11457 arg2
= (size_t) PyInt_AsLong(obj1
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 resultobj
= PyInt_FromLong((long)result
);
11473 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11478 PyObject
* obj0
= 0 ;
11479 PyObject
* obj1
= 0 ;
11480 char *kwnames
[] = {
11481 (char *) "self",(char *) "size", NULL
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11488 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 Py_INCREF(Py_None
); resultobj
= Py_None
;
11504 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
;
11506 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11510 PyObject
* obj0
= 0 ;
11511 PyObject
* obj1
= 0 ;
11512 char *kwnames
[] = {
11513 (char *) "self",(char *) "sizePage", NULL
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11520 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11530 wxSize
* resultptr
;
11531 resultptr
= new wxSize((wxSize
&) result
);
11532 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11540 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
*resultobj
;
11542 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11545 PyObject
* obj0
= 0 ;
11546 PyObject
* obj1
= 0 ;
11547 char *kwnames
[] = {
11548 (char *) "self",(char *) "n", NULL
11551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11553 arg2
= (size_t) PyInt_AsLong(obj1
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 result
= (bool)(arg1
)->DeletePage(arg2
);
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11562 resultobj
= PyInt_FromLong((long)result
);
11569 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
;
11571 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11574 PyObject
* obj0
= 0 ;
11575 PyObject
* obj1
= 0 ;
11576 char *kwnames
[] = {
11577 (char *) "self",(char *) "n", NULL
11580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11582 arg2
= (size_t) PyInt_AsLong(obj1
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 result
= (bool)(arg1
)->RemovePage(arg2
);
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11591 resultobj
= PyInt_FromLong((long)result
);
11598 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
;
11600 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11602 PyObject
* obj0
= 0 ;
11603 char *kwnames
[] = {
11604 (char *) "self", NULL
11607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
11608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= (bool)(arg1
)->DeleteAllPages();
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11616 resultobj
= PyInt_FromLong((long)result
);
11623 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
;
11625 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11626 wxWindow
*arg2
= (wxWindow
*) 0 ;
11627 wxString
*arg3
= 0 ;
11628 bool arg4
= (bool) False
;
11629 int arg5
= (int) -1 ;
11631 bool temp3
= False
;
11632 PyObject
* obj0
= 0 ;
11633 PyObject
* obj1
= 0 ;
11634 PyObject
* obj2
= 0 ;
11635 PyObject
* obj3
= 0 ;
11636 char *kwnames
[] = {
11637 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
11641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11642 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11644 arg3
= wxString_in_helper(obj2
);
11645 if (arg3
== NULL
) SWIG_fail
;
11649 arg4
= PyInt_AsLong(obj3
) ? true : false;
11650 if (PyErr_Occurred()) SWIG_fail
;
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= PyInt_FromLong((long)result
);
11674 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11675 PyObject
*resultobj
;
11676 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11678 wxWindow
*arg3
= (wxWindow
*) 0 ;
11679 wxString
*arg4
= 0 ;
11680 bool arg5
= (bool) False
;
11681 int arg6
= (int) -1 ;
11683 bool temp4
= False
;
11684 PyObject
* obj0
= 0 ;
11685 PyObject
* obj1
= 0 ;
11686 PyObject
* obj2
= 0 ;
11687 PyObject
* obj3
= 0 ;
11688 PyObject
* obj4
= 0 ;
11689 char *kwnames
[] = {
11690 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
)) goto fail
;
11694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11695 arg2
= (size_t) PyInt_AsLong(obj1
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11697 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11699 arg4
= wxString_in_helper(obj3
);
11700 if (arg4
== NULL
) SWIG_fail
;
11704 arg5
= PyInt_AsLong(obj4
) ? true : false;
11705 if (PyErr_Occurred()) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= PyInt_FromLong((long)result
);
11729 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11730 PyObject
*resultobj
;
11731 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11734 PyObject
* obj0
= 0 ;
11735 PyObject
* obj1
= 0 ;
11736 char *kwnames
[] = {
11737 (char *) "self",(char *) "n", NULL
11740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11742 arg2
= (size_t) PyInt_AsLong(obj1
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 result
= (int)(arg1
)->SetSelection(arg2
);
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11751 resultobj
= PyInt_FromLong((long)result
);
11758 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
;
11760 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11761 bool arg2
= (bool) True
;
11762 PyObject
* obj0
= 0 ;
11763 PyObject
* obj1
= 0 ;
11764 char *kwnames
[] = {
11765 (char *) "self",(char *) "forward", NULL
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11771 arg2
= PyInt_AsLong(obj1
) ? true : false;
11772 if (PyErr_Occurred()) SWIG_fail
;
11775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 (arg1
)->AdvanceSelection(arg2
);
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11781 Py_INCREF(Py_None
); resultobj
= Py_None
;
11788 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11791 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
11793 return Py_BuildValue((char *)"");
11795 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
;
11797 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11798 int arg2
= (int) 0 ;
11799 int arg3
= (int) -1 ;
11800 int arg4
= (int) -1 ;
11801 wxBookCtrlEvent
*result
;
11802 char *kwnames
[] = {
11803 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_BookCtrlEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
11821 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11825 PyObject
* obj0
= 0 ;
11826 char *kwnames
[] = {
11827 (char *) "self", NULL
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
11831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11839 resultobj
= PyInt_FromLong((long)result
);
11846 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11847 PyObject
*resultobj
;
11848 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11850 PyObject
* obj0
= 0 ;
11851 char *kwnames
[] = {
11852 (char *) "self",(char *) "nSel", NULL
11855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11859 (arg1
)->SetSelection(arg2
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 Py_INCREF(Py_None
); resultobj
= Py_None
;
11871 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11872 PyObject
*resultobj
;
11873 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11875 PyObject
* obj0
= 0 ;
11876 char *kwnames
[] = {
11877 (char *) "self", NULL
11880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
11881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 resultobj
= PyInt_FromLong((long)result
);
11896 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11897 PyObject
*resultobj
;
11898 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
11900 PyObject
* obj0
= 0 ;
11901 char *kwnames
[] = {
11902 (char *) "self",(char *) "nOldSel", NULL
11905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11909 (arg1
)->SetOldSelection(arg2
);
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11914 Py_INCREF(Py_None
); resultobj
= Py_None
;
11921 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11924 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
11926 return Py_BuildValue((char *)"");
11928 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
;
11930 wxWindow
*arg1
= (wxWindow
*) 0 ;
11932 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11933 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11934 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11935 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11936 long arg5
= (long) 0 ;
11937 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
11938 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11939 wxNotebook
*result
;
11942 bool temp6
= False
;
11943 PyObject
* obj0
= 0 ;
11944 PyObject
* obj2
= 0 ;
11945 PyObject
* obj3
= 0 ;
11946 PyObject
* obj5
= 0 ;
11947 char *kwnames
[] = {
11948 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Notebook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11956 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11962 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11967 arg6
= wxString_in_helper(obj5
);
11968 if (arg6
== NULL
) SWIG_fail
;
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= wxPyMake_wxObject(result
);
11996 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
;
11998 wxNotebook
*result
;
11999 char *kwnames
[] = {
12003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
12005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12006 result
= (wxNotebook
*)new wxNotebook();
12008 wxPyEndAllowThreads(__tstate
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= wxPyMake_wxObject(result
);
12020 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12021 PyObject
*resultobj
;
12022 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12023 wxWindow
*arg2
= (wxWindow
*) 0 ;
12025 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12026 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12027 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12028 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12029 long arg6
= (long) 0 ;
12030 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
12031 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12035 bool temp7
= False
;
12036 PyObject
* obj0
= 0 ;
12037 PyObject
* obj1
= 0 ;
12038 PyObject
* obj3
= 0 ;
12039 PyObject
* obj4
= 0 ;
12040 PyObject
* obj6
= 0 ;
12041 char *kwnames
[] = {
12042 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Notebook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12047 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12051 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12057 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12062 arg7
= wxString_in_helper(obj6
);
12063 if (arg7
== NULL
) SWIG_fail
;
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12074 resultobj
= PyInt_FromLong((long)result
);
12089 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12090 PyObject
*resultobj
;
12091 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12093 PyObject
* obj0
= 0 ;
12094 char *kwnames
[] = {
12095 (char *) "self", NULL
12098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
12099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 resultobj
= PyInt_FromLong((long)result
);
12114 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12119 PyObject
* obj0
= 0 ;
12120 PyObject
* obj1
= 0 ;
12121 char *kwnames
[] = {
12122 (char *) "self",(char *) "padding", NULL
12125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
12126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12129 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 (arg1
)->SetPadding((wxSize
const &)*arg2
);
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 Py_INCREF(Py_None
); resultobj
= Py_None
;
12145 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
;
12147 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12150 PyObject
* obj0
= 0 ;
12151 PyObject
* obj1
= 0 ;
12152 char *kwnames
[] = {
12153 (char *) "self",(char *) "sz", NULL
12156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12160 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12169 Py_INCREF(Py_None
); resultobj
= Py_None
;
12176 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12177 PyObject
*resultobj
;
12178 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12179 wxPoint
*arg2
= 0 ;
12180 long *arg3
= (long *) 0 ;
12184 PyObject
* obj0
= 0 ;
12185 PyObject
* obj1
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "self",(char *) "pt", NULL
12191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
12192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12204 resultobj
= PyInt_FromLong((long)result
);
12206 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12207 resultobj
= t_output_helper(resultobj
,o
);
12215 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12216 PyObject
*resultobj
;
12217 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12221 PyObject
* obj0
= 0 ;
12222 PyObject
* obj1
= 0 ;
12223 char *kwnames
[] = {
12224 (char *) "self",(char *) "sizePage", NULL
12227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12231 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12241 wxSize
* resultptr
;
12242 resultptr
= new wxSize((wxSize
&) result
);
12243 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12251 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12254 wxWindow
*arg2
= (wxWindow
*) 0 ;
12255 wxColour
*arg3
= 0 ;
12257 PyObject
* obj0
= 0 ;
12258 PyObject
* obj1
= 0 ;
12259 PyObject
* obj2
= 0 ;
12260 char *kwnames
[] = {
12261 (char *) "self",(char *) "window",(char *) "colour", NULL
12264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12266 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12269 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12278 Py_INCREF(Py_None
); resultobj
= Py_None
;
12285 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
12287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12288 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
12290 return Py_BuildValue((char *)"");
12292 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
;
12294 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12295 int arg2
= (int) 0 ;
12296 int arg3
= (int) -1 ;
12297 int arg4
= (int) -1 ;
12298 wxNotebookEvent
*result
;
12299 char *kwnames
[] = {
12300 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_NotebookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
12318 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12321 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
12323 return Py_BuildValue((char *)"");
12325 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
;
12327 wxWindow
*arg1
= (wxWindow
*) 0 ;
12329 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12330 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12331 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12332 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12333 long arg5
= (long) 0 ;
12334 wxString
const &arg6_defvalue
= wxPyEmptyString
;
12335 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12336 wxListbook
*result
;
12339 bool temp6
= False
;
12340 PyObject
* obj0
= 0 ;
12341 PyObject
* obj2
= 0 ;
12342 PyObject
* obj3
= 0 ;
12343 PyObject
* obj5
= 0 ;
12344 char *kwnames
[] = {
12345 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Listbook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12353 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12359 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12364 arg6
= wxString_in_helper(obj5
);
12365 if (arg6
== NULL
) SWIG_fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12376 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12391 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
;
12393 wxListbook
*result
;
12394 char *kwnames
[] = {
12398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 result
= (wxListbook
*)new wxListbook();
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12413 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
;
12415 wxListbook
*arg1
= (wxListbook
*) 0 ;
12416 wxWindow
*arg2
= (wxWindow
*) 0 ;
12418 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12419 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12420 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12421 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12422 long arg6
= (long) 0 ;
12423 wxString
const &arg7_defvalue
= wxPyEmptyString
;
12424 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12428 bool temp7
= False
;
12429 PyObject
* obj0
= 0 ;
12430 PyObject
* obj1
= 0 ;
12431 PyObject
* obj3
= 0 ;
12432 PyObject
* obj4
= 0 ;
12433 PyObject
* obj6
= 0 ;
12434 char *kwnames
[] = {
12435 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Listbook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12440 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12444 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12450 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12455 arg7
= wxString_in_helper(obj6
);
12456 if (arg7
== NULL
) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= PyInt_FromLong((long)result
);
12482 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
;
12484 wxListbook
*arg1
= (wxListbook
*) 0 ;
12486 PyObject
* obj0
= 0 ;
12487 char *kwnames
[] = {
12488 (char *) "self", NULL
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
12492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= PyInt_FromLong((long)result
);
12507 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
12509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12510 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
12512 return Py_BuildValue((char *)"");
12514 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12515 PyObject
*resultobj
;
12516 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12517 int arg2
= (int) 0 ;
12518 int arg3
= (int) -1 ;
12519 int arg4
= (int) -1 ;
12520 wxListbookEvent
*result
;
12521 char *kwnames
[] = {
12522 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ListbookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12533 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
12540 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12543 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
12545 return Py_BuildValue((char *)"");
12547 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12548 PyObject
*resultobj
;
12549 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12550 wxBookCtrlSizer
*result
;
12551 PyObject
* obj0
= 0 ;
12552 char *kwnames
[] = {
12553 (char *) "nb", NULL
12556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
12557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
12572 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
;
12574 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12575 PyObject
* obj0
= 0 ;
12576 char *kwnames
[] = {
12577 (char *) "self", NULL
12580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",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 (arg1
)->RecalcSizes();
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 Py_INCREF(Py_None
); resultobj
= Py_None
;
12596 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
;
12598 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12600 PyObject
* obj0
= 0 ;
12601 char *kwnames
[] = {
12602 (char *) "self", NULL
12605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 result
= (arg1
)->CalcMin();
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12615 wxSize
* resultptr
;
12616 resultptr
= new wxSize((wxSize
&) result
);
12617 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12625 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
*resultobj
;
12627 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12628 wxBookCtrl
*result
;
12629 PyObject
* obj0
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
12635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 result
= (wxBookCtrl
*)(arg1
)->GetControl();
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
12650 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12653 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
12655 return Py_BuildValue((char *)"");
12657 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12658 PyObject
*resultobj
;
12659 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12660 wxNotebookSizer
*result
;
12661 PyObject
* obj0
= 0 ;
12662 char *kwnames
[] = {
12663 (char *) "nb", NULL
12666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
12667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12675 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
12682 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
*resultobj
;
12684 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12685 PyObject
* obj0
= 0 ;
12686 char *kwnames
[] = {
12687 (char *) "self", NULL
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",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 (arg1
)->RecalcSizes();
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 Py_INCREF(Py_None
); resultobj
= Py_None
;
12706 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
;
12708 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12710 PyObject
* obj0
= 0 ;
12711 char *kwnames
[] = {
12712 (char *) "self", NULL
12715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 result
= (arg1
)->CalcMin();
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12725 wxSize
* resultptr
;
12726 resultptr
= new wxSize((wxSize
&) result
);
12727 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12735 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
;
12737 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12738 wxNotebook
*result
;
12739 PyObject
* obj0
= 0 ;
12740 char *kwnames
[] = {
12741 (char *) "self", NULL
12744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
12745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 result
= (wxNotebook
*)(arg1
)->GetNotebook();
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12754 resultobj
= wxPyMake_wxObject(result
);
12762 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12765 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
12767 return Py_BuildValue((char *)"");
12769 static PyObject
*_wrap_ToolBarToolBase_GetId(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_GetId",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
= (int)(arg1
)->GetId();
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= PyInt_FromLong((long)result
);
12794 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12795 PyObject
*resultobj
;
12796 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12798 PyObject
* obj0
= 0 ;
12799 char *kwnames
[] = {
12800 (char *) "self", NULL
12803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
12804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12807 result
= (wxControl
*)(arg1
)->GetControl();
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= wxPyMake_wxObject(result
);
12821 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12822 PyObject
*resultobj
;
12823 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12824 wxToolBarBase
*result
;
12825 PyObject
* obj0
= 0 ;
12826 char *kwnames
[] = {
12827 (char *) "self", NULL
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
12831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12840 resultobj
= wxPyMake_wxObject(result
);
12848 static PyObject
*_wrap_ToolBarToolBase_IsButton(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_IsButton",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
)->IsButton();
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= PyInt_FromLong((long)result
);
12873 static PyObject
*_wrap_ToolBarToolBase_IsControl(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_IsControl",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
)->IsControl();
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 resultobj
= PyInt_FromLong((long)result
);
12898 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(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_IsSeparator",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
)->IsSeparator();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= PyInt_FromLong((long)result
);
12923 static PyObject
*_wrap_ToolBarToolBase_GetStyle(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_GetStyle",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
)->GetStyle();
12938 wxPyEndAllowThreads(__tstate
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12941 resultobj
= PyInt_FromLong((long)result
);
12948 static PyObject
*_wrap_ToolBarToolBase_GetKind(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_GetKind",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
= (int)(arg1
)->GetKind();
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= PyInt_FromLong((long)result
);
12973 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(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_IsEnabled",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
)->IsEnabled();
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 resultobj
= PyInt_FromLong((long)result
);
12998 static PyObject
*_wrap_ToolBarToolBase_IsToggled(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_IsToggled",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
)->IsToggled();
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 resultobj
= PyInt_FromLong((long)result
);
13023 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(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_CanBeToggled",kwnames
,&obj0
)) goto fail
;
13033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13036 result
= (bool)(arg1
)->CanBeToggled();
13038 wxPyEndAllowThreads(__tstate
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13041 resultobj
= PyInt_FromLong((long)result
);
13048 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13049 PyObject
*resultobj
;
13050 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13052 PyObject
* obj0
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "self", NULL
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
13058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
13063 result
= (wxBitmap
*) &_result_ref
;
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13076 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
;
13078 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13080 PyObject
* obj0
= 0 ;
13081 char *kwnames
[] = {
13082 (char *) "self", NULL
13085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
13086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
13091 result
= (wxBitmap
*) &_result_ref
;
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13104 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13105 PyObject
*resultobj
;
13106 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13108 PyObject
* obj0
= 0 ;
13109 char *kwnames
[] = {
13110 (char *) "self", NULL
13113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
13114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (arg1
)->GetBitmap();
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13123 wxBitmap
* resultptr
;
13124 resultptr
= new wxBitmap((wxBitmap
&) result
);
13125 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13133 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13134 PyObject
*resultobj
;
13135 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13137 PyObject
* obj0
= 0 ;
13138 char *kwnames
[] = {
13139 (char *) "self", NULL
13142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
13143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 result
= (arg1
)->GetLabel();
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13164 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13165 PyObject
*resultobj
;
13166 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13168 PyObject
* obj0
= 0 ;
13169 char *kwnames
[] = {
13170 (char *) "self", NULL
13173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
13174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13177 result
= (arg1
)->GetShortHelp();
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13195 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
;
13197 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13199 PyObject
* obj0
= 0 ;
13200 char *kwnames
[] = {
13201 (char *) "self", NULL
13204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
13205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 result
= (arg1
)->GetLongHelp();
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13226 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13231 PyObject
* obj0
= 0 ;
13232 PyObject
* obj1
= 0 ;
13233 char *kwnames
[] = {
13234 (char *) "self",(char *) "enable", NULL
13237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
13238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13239 arg2
= PyInt_AsLong(obj1
) ? true : false;
13240 if (PyErr_Occurred()) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 result
= (bool)(arg1
)->Enable(arg2
);
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 resultobj
= PyInt_FromLong((long)result
);
13255 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
;
13257 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13258 PyObject
* obj0
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
13264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 Py_INCREF(Py_None
); resultobj
= Py_None
;
13279 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13284 PyObject
* obj0
= 0 ;
13285 PyObject
* obj1
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self",(char *) "toggle", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13292 arg2
= PyInt_AsLong(obj1
) ? true : false;
13293 if (PyErr_Occurred()) SWIG_fail
;
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 result
= (bool)(arg1
)->SetToggle(arg2
);
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13301 resultobj
= PyInt_FromLong((long)result
);
13308 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13309 PyObject
*resultobj
;
13310 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13311 wxString
*arg2
= 0 ;
13313 bool temp2
= False
;
13314 PyObject
* obj0
= 0 ;
13315 PyObject
* obj1
= 0 ;
13316 char *kwnames
[] = {
13317 (char *) "self",(char *) "help", NULL
13320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13323 arg2
= wxString_in_helper(obj1
);
13324 if (arg2
== NULL
) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= PyInt_FromLong((long)result
);
13349 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
;
13351 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13352 wxString
*arg2
= 0 ;
13354 bool temp2
= False
;
13355 PyObject
* obj0
= 0 ;
13356 PyObject
* obj1
= 0 ;
13357 char *kwnames
[] = {
13358 (char *) "self",(char *) "help", NULL
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13364 arg2
= wxString_in_helper(obj1
);
13365 if (arg2
== NULL
) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= PyInt_FromLong((long)result
);
13390 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13393 wxBitmap
*arg2
= 0 ;
13394 PyObject
* obj0
= 0 ;
13395 PyObject
* obj1
= 0 ;
13396 char *kwnames
[] = {
13397 (char *) "self",(char *) "bmp", NULL
13400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13403 if (arg2
== NULL
) {
13404 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 Py_INCREF(Py_None
); resultobj
= Py_None
;
13420 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13423 wxBitmap
*arg2
= 0 ;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 char *kwnames
[] = {
13427 (char *) "self",(char *) "bmp", NULL
13430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13432 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13433 if (arg2
== NULL
) {
13434 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 Py_INCREF(Py_None
); resultobj
= Py_None
;
13450 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
;
13452 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13453 wxString
*arg2
= 0 ;
13454 bool temp2
= False
;
13455 PyObject
* obj0
= 0 ;
13456 PyObject
* obj1
= 0 ;
13457 char *kwnames
[] = {
13458 (char *) "self",(char *) "label", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13464 arg2
= wxString_in_helper(obj1
);
13465 if (arg2
== NULL
) SWIG_fail
;
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 (arg1
)->SetLabel((wxString
const &)*arg2
);
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13475 Py_INCREF(Py_None
); resultobj
= Py_None
;
13490 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13491 PyObject
*resultobj
;
13492 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13493 PyObject
* obj0
= 0 ;
13494 char *kwnames
[] = {
13495 (char *) "self", NULL
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
13499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 Py_INCREF(Py_None
); resultobj
= Py_None
;
13514 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
;
13516 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13517 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
13518 PyObject
* obj0
= 0 ;
13519 PyObject
* obj1
= 0 ;
13520 char *kwnames
[] = {
13521 (char *) "self",(char *) "tbar", NULL
13524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
13525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13526 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 (arg1
)->Attach(arg2
);
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13534 Py_INCREF(Py_None
); resultobj
= Py_None
;
13541 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13545 PyObject
* obj0
= 0 ;
13546 char *kwnames
[] = {
13547 (char *) "self", NULL
13550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
13551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13554 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13559 resultobj
= result
;
13566 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13567 PyObject
*resultobj
;
13568 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13569 PyObject
*arg2
= (PyObject
*) 0 ;
13570 PyObject
* obj0
= 0 ;
13571 PyObject
* obj1
= 0 ;
13572 char *kwnames
[] = {
13573 (char *) "self",(char *) "clientData", NULL
13576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
13577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 wxToolBarToolBase_SetClientData(arg1
,arg2
);
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 Py_INCREF(Py_None
); resultobj
= Py_None
;
13593 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
13595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13596 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
13598 return Py_BuildValue((char *)"");
13600 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13601 PyObject
*resultobj
;
13602 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13604 wxString
*arg3
= 0 ;
13605 wxBitmap
*arg4
= 0 ;
13606 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
13607 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
13608 int arg6
= (int) wxITEM_NORMAL
;
13609 wxString
const &arg7_defvalue
= wxPyEmptyString
;
13610 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13611 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13612 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13613 PyObject
*arg9
= (PyObject
*) NULL
;
13614 wxToolBarToolBase
*result
;
13615 bool temp3
= False
;
13616 bool temp7
= False
;
13617 bool temp8
= False
;
13618 PyObject
* obj0
= 0 ;
13619 PyObject
* obj2
= 0 ;
13620 PyObject
* obj3
= 0 ;
13621 PyObject
* obj4
= 0 ;
13622 PyObject
* obj6
= 0 ;
13623 PyObject
* obj7
= 0 ;
13624 PyObject
* obj8
= 0 ;
13625 char *kwnames
[] = {
13626 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
,&obj8
)) goto fail
;
13630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13632 arg3
= wxString_in_helper(obj2
);
13633 if (arg3
== NULL
) SWIG_fail
;
13636 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13637 if (arg4
== NULL
) {
13638 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13641 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13642 if (arg5
== NULL
) {
13643 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13648 arg7
= wxString_in_helper(obj6
);
13649 if (arg7
== NULL
) SWIG_fail
;
13655 arg8
= wxString_in_helper(obj7
);
13656 if (arg8
== NULL
) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= wxPyMake_wxObject(result
);
13703 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
;
13705 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13708 wxString
*arg4
= 0 ;
13709 wxBitmap
*arg5
= 0 ;
13710 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
13711 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
13712 int arg7
= (int) wxITEM_NORMAL
;
13713 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13714 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13715 wxString
const &arg9_defvalue
= wxPyEmptyString
;
13716 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13717 PyObject
*arg10
= (PyObject
*) NULL
;
13718 wxToolBarToolBase
*result
;
13719 bool temp4
= False
;
13720 bool temp8
= False
;
13721 bool temp9
= False
;
13722 PyObject
* obj0
= 0 ;
13723 PyObject
* obj1
= 0 ;
13724 PyObject
* obj3
= 0 ;
13725 PyObject
* obj4
= 0 ;
13726 PyObject
* obj5
= 0 ;
13727 PyObject
* obj7
= 0 ;
13728 PyObject
* obj8
= 0 ;
13729 PyObject
* obj9
= 0 ;
13730 char *kwnames
[] = {
13731 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
13735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13736 arg2
= (size_t) PyInt_AsLong(obj1
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13739 arg4
= wxString_in_helper(obj3
);
13740 if (arg4
== NULL
) SWIG_fail
;
13743 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13744 if (arg5
== NULL
) {
13745 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13748 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13749 if (arg6
== NULL
) {
13750 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13755 arg8
= wxString_in_helper(obj7
);
13756 if (arg8
== NULL
) SWIG_fail
;
13762 arg9
= wxString_in_helper(obj8
);
13763 if (arg9
== NULL
) SWIG_fail
;
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 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
);
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13778 resultobj
= wxPyMake_wxObject(result
);
13810 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
;
13812 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13813 wxControl
*arg2
= (wxControl
*) 0 ;
13814 wxToolBarToolBase
*result
;
13815 PyObject
* obj0
= 0 ;
13816 PyObject
* obj1
= 0 ;
13817 char *kwnames
[] = {
13818 (char *) "self",(char *) "control", NULL
13821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
13822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13823 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13832 resultobj
= wxPyMake_wxObject(result
);
13840 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13841 PyObject
*resultobj
;
13842 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13844 wxControl
*arg3
= (wxControl
*) 0 ;
13845 wxToolBarToolBase
*result
;
13846 PyObject
* obj0
= 0 ;
13847 PyObject
* obj1
= 0 ;
13848 PyObject
* obj2
= 0 ;
13849 char *kwnames
[] = {
13850 (char *) "self",(char *) "pos",(char *) "control", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13855 arg2
= (size_t) PyInt_AsLong(obj1
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13857 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13866 resultobj
= wxPyMake_wxObject(result
);
13874 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13875 PyObject
*resultobj
;
13876 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13879 PyObject
* obj0
= 0 ;
13880 char *kwnames
[] = {
13881 (char *) "self",(char *) "id", NULL
13884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindControl",kwnames
,&obj0
,&arg2
)) goto fail
;
13885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13894 resultobj
= wxPyMake_wxObject(result
);
13902 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
;
13904 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13905 wxToolBarToolBase
*result
;
13906 PyObject
* obj0
= 0 ;
13907 char *kwnames
[] = {
13908 (char *) "self", NULL
13911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
13912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= wxPyMake_wxObject(result
);
13929 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
;
13931 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13933 wxToolBarToolBase
*result
;
13934 PyObject
* obj0
= 0 ;
13935 PyObject
* obj1
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self",(char *) "pos", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
13941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13942 arg2
= (size_t) PyInt_AsLong(obj1
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13952 resultobj
= wxPyMake_wxObject(result
);
13960 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13964 wxToolBarToolBase
*result
;
13965 PyObject
* obj0
= 0 ;
13966 char *kwnames
[] = {
13967 (char *) "self",(char *) "id", NULL
13970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_RemoveTool",kwnames
,&obj0
,&arg2
)) goto fail
;
13971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= wxPyMake_wxObject(result
);
13988 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13989 PyObject
*resultobj
;
13990 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13993 PyObject
* obj0
= 0 ;
13994 PyObject
* obj1
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "self",(char *) "pos", NULL
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
14000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14001 arg2
= (size_t) PyInt_AsLong(obj1
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
14007 wxPyEndAllowThreads(__tstate
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14010 resultobj
= PyInt_FromLong((long)result
);
14017 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14018 PyObject
*resultobj
;
14019 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14022 PyObject
* obj0
= 0 ;
14023 char *kwnames
[] = {
14024 (char *) "self",(char *) "id", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_DeleteTool",kwnames
,&obj0
,&arg2
)) goto fail
;
14028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 result
= (bool)(arg1
)->DeleteTool(arg2
);
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14036 resultobj
= PyInt_FromLong((long)result
);
14043 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
;
14045 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14046 PyObject
* obj0
= 0 ;
14047 char *kwnames
[] = {
14048 (char *) "self", NULL
14051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",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 (arg1
)->ClearTools();
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14060 Py_INCREF(Py_None
); resultobj
= Py_None
;
14067 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14068 PyObject
*resultobj
;
14069 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14071 PyObject
* obj0
= 0 ;
14072 char *kwnames
[] = {
14073 (char *) "self", NULL
14076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
14077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 result
= (bool)(arg1
)->Realize();
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= PyInt_FromLong((long)result
);
14092 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
;
14094 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14097 PyObject
* obj0
= 0 ;
14098 PyObject
* obj2
= 0 ;
14099 char *kwnames
[] = {
14100 (char *) "self",(char *) "id",(char *) "enable", NULL
14103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_EnableTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14105 arg3
= PyInt_AsLong(obj2
) ? true : false;
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 (arg1
)->EnableTool(arg2
,arg3
);
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14114 Py_INCREF(Py_None
); resultobj
= Py_None
;
14121 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14122 PyObject
*resultobj
;
14123 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14126 PyObject
* obj0
= 0 ;
14127 PyObject
* obj2
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self",(char *) "id",(char *) "toggle", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14134 arg3
= PyInt_AsLong(obj2
) ? true : false;
14135 if (PyErr_Occurred()) SWIG_fail
;
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 (arg1
)->ToggleTool(arg2
,arg3
);
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14143 Py_INCREF(Py_None
); resultobj
= Py_None
;
14150 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14151 PyObject
*resultobj
;
14152 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14155 PyObject
* obj0
= 0 ;
14156 PyObject
* obj2
= 0 ;
14157 char *kwnames
[] = {
14158 (char *) "self",(char *) "id",(char *) "toggle", NULL
14161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToggle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14163 arg3
= PyInt_AsLong(obj2
) ? true : false;
14164 if (PyErr_Occurred()) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 (arg1
)->SetToggle(arg2
,arg3
);
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 Py_INCREF(Py_None
); resultobj
= Py_None
;
14179 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14180 PyObject
*resultobj
;
14181 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14184 PyObject
* obj0
= 0 ;
14185 char *kwnames
[] = {
14186 (char *) "self",(char *) "id", NULL
14189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
14190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14198 resultobj
= result
;
14205 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14206 PyObject
*resultobj
;
14207 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14209 PyObject
*arg3
= (PyObject
*) 0 ;
14210 PyObject
* obj0
= 0 ;
14211 PyObject
* obj2
= 0 ;
14212 char *kwnames
[] = {
14213 (char *) "self",(char *) "id",(char *) "clientData", NULL
14216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14226 Py_INCREF(Py_None
); resultobj
= Py_None
;
14233 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14234 PyObject
*resultobj
;
14235 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14238 PyObject
* obj0
= 0 ;
14239 char *kwnames
[] = {
14240 (char *) "self",(char *) "id", NULL
14243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolPos",kwnames
,&obj0
,&arg2
)) goto fail
;
14244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= PyInt_FromLong((long)result
);
14259 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
;
14261 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14264 PyObject
* obj0
= 0 ;
14265 char *kwnames
[] = {
14266 (char *) "self",(char *) "id", NULL
14269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolState",kwnames
,&obj0
,&arg2
)) goto fail
;
14270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (bool)(arg1
)->GetToolState(arg2
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 resultobj
= PyInt_FromLong((long)result
);
14285 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14290 PyObject
* obj0
= 0 ;
14291 char *kwnames
[] = {
14292 (char *) "self",(char *) "id", NULL
14295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
14296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14299 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
14301 wxPyEndAllowThreads(__tstate
);
14302 if (PyErr_Occurred()) SWIG_fail
;
14304 resultobj
= PyInt_FromLong((long)result
);
14311 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14312 PyObject
*resultobj
;
14313 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14315 wxString
*arg3
= 0 ;
14316 bool temp3
= False
;
14317 PyObject
* obj0
= 0 ;
14318 PyObject
* obj2
= 0 ;
14319 char *kwnames
[] = {
14320 (char *) "self",(char *) "id",(char *) "helpString", NULL
14323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14326 arg3
= wxString_in_helper(obj2
);
14327 if (arg3
== NULL
) SWIG_fail
;
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14337 Py_INCREF(Py_None
); resultobj
= Py_None
;
14352 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
;
14354 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14357 PyObject
* obj0
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self",(char *) "id", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14366 result
= (arg1
)->GetToolShortHelp(arg2
);
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14384 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14385 PyObject
*resultobj
;
14386 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14388 wxString
*arg3
= 0 ;
14389 bool temp3
= False
;
14390 PyObject
* obj0
= 0 ;
14391 PyObject
* obj2
= 0 ;
14392 char *kwnames
[] = {
14393 (char *) "self",(char *) "id",(char *) "helpString", NULL
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14399 arg3
= wxString_in_helper(obj2
);
14400 if (arg3
== NULL
) SWIG_fail
;
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14410 Py_INCREF(Py_None
); resultobj
= Py_None
;
14425 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14426 PyObject
*resultobj
;
14427 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14430 PyObject
* obj0
= 0 ;
14431 char *kwnames
[] = {
14432 (char *) "self",(char *) "id", NULL
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 result
= (arg1
)->GetToolLongHelp(arg2
);
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14457 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14462 PyObject
* obj0
= 0 ;
14463 char *kwnames
[] = {
14464 (char *) "self",(char *) "x",(char *) "y", NULL
14467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 (arg1
)->SetMargins(arg2
,arg3
);
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 Py_INCREF(Py_None
); resultobj
= Py_None
;
14483 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14488 PyObject
* obj0
= 0 ;
14489 PyObject
* obj1
= 0 ;
14490 char *kwnames
[] = {
14491 (char *) "self",(char *) "size", NULL
14494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
14495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14498 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 (arg1
)->SetMargins((wxSize
const &)*arg2
);
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14507 Py_INCREF(Py_None
); resultobj
= Py_None
;
14514 static PyObject
*_wrap_ToolBarBase_SetToolPacking(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 *) "packing", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolPacking",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
)->SetToolPacking(arg2
);
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 Py_INCREF(Py_None
); resultobj
= Py_None
;
14539 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self",(char *) "separation", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&arg2
)) goto fail
;
14549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 (arg1
)->SetToolSeparation(arg2
);
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 Py_INCREF(Py_None
); resultobj
= Py_None
;
14564 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
;
14566 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14568 PyObject
* obj0
= 0 ;
14569 char *kwnames
[] = {
14570 (char *) "self", NULL
14573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
14574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (arg1
)->GetToolMargins();
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14583 wxSize
* resultptr
;
14584 resultptr
= new wxSize((wxSize
&) result
);
14585 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14593 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
;
14595 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14597 PyObject
* obj0
= 0 ;
14598 char *kwnames
[] = {
14599 (char *) "self", NULL
14602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
14603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= (arg1
)->GetMargins();
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14612 wxSize
* resultptr
;
14613 resultptr
= new wxSize((wxSize
&) result
);
14614 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14622 static PyObject
*_wrap_ToolBarBase_GetToolPacking(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_GetToolPacking",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
)->GetToolPacking();
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14640 resultobj
= PyInt_FromLong((long)result
);
14647 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14648 PyObject
*resultobj
;
14649 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14651 PyObject
* obj0
= 0 ;
14652 char *kwnames
[] = {
14653 (char *) "self", NULL
14656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
14657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= (int)(arg1
)->GetToolSeparation();
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= PyInt_FromLong((long)result
);
14672 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14676 PyObject
* obj0
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self",(char *) "nRows", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
14682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 (arg1
)->SetRows(arg2
);
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14690 Py_INCREF(Py_None
); resultobj
= Py_None
;
14697 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14698 PyObject
*resultobj
;
14699 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "self",(char *) "rows",(char *) "cols", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14711 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
14713 wxPyEndAllowThreads(__tstate
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14716 Py_INCREF(Py_None
); resultobj
= Py_None
;
14723 static PyObject
*_wrap_ToolBarBase_GetMaxRows(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_GetMaxRows",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
)->GetMaxRows();
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= PyInt_FromLong((long)result
);
14748 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
;
14750 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14752 PyObject
* obj0
= 0 ;
14753 char *kwnames
[] = {
14754 (char *) "self", NULL
14757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
14758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 result
= (int)(arg1
)->GetMaxCols();
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14766 resultobj
= PyInt_FromLong((long)result
);
14773 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14774 PyObject
*resultobj
;
14775 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14778 PyObject
* obj0
= 0 ;
14779 PyObject
* obj1
= 0 ;
14780 char *kwnames
[] = {
14781 (char *) "self",(char *) "size", NULL
14784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14788 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 Py_INCREF(Py_None
); resultobj
= Py_None
;
14804 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
;
14806 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14808 PyObject
* obj0
= 0 ;
14809 char *kwnames
[] = {
14810 (char *) "self", NULL
14813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
14814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 result
= (arg1
)->GetToolBitmapSize();
14819 wxPyEndAllowThreads(__tstate
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14823 wxSize
* resultptr
;
14824 resultptr
= new wxSize((wxSize
&) result
);
14825 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14833 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
;
14835 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14837 PyObject
* obj0
= 0 ;
14838 char *kwnames
[] = {
14839 (char *) "self", NULL
14842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
14843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 result
= (arg1
)->GetToolSize();
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14852 wxSize
* resultptr
;
14853 resultptr
= new wxSize((wxSize
&) result
);
14854 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14862 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
;
14864 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14867 wxToolBarToolBase
*result
;
14868 PyObject
* obj0
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "self",(char *) "x",(char *) "y", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14877 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
14879 wxPyEndAllowThreads(__tstate
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14883 resultobj
= wxPyMake_wxObject(result
);
14891 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14892 PyObject
*resultobj
;
14893 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14895 PyObject
* obj0
= 0 ;
14896 char *kwnames
[] = {
14897 (char *) "self", NULL
14900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
14901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 result
= (bool)(arg1
)->IsVertical();
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14909 resultobj
= PyInt_FromLong((long)result
);
14916 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
14918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14919 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
14921 return Py_BuildValue((char *)"");
14923 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
;
14925 wxWindow
*arg1
= (wxWindow
*) 0 ;
14927 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14928 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14929 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14930 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14931 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
14932 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
14933 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14937 bool temp6
= False
;
14938 PyObject
* obj0
= 0 ;
14939 PyObject
* obj2
= 0 ;
14940 PyObject
* obj3
= 0 ;
14941 PyObject
* obj5
= 0 ;
14942 char *kwnames
[] = {
14943 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_ToolBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14951 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14957 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14962 arg6
= wxString_in_helper(obj5
);
14963 if (arg6
== NULL
) SWIG_fail
;
14968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14975 resultobj
= wxPyMake_wxObject(result
);
14991 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14994 char *kwnames
[] = {
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (wxToolBar
*)new wxToolBar();
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= wxPyMake_wxObject(result
);
15015 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15018 wxWindow
*arg2
= (wxWindow
*) 0 ;
15020 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15021 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15022 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15023 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15024 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
15025 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
15026 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15030 bool temp7
= False
;
15031 PyObject
* obj0
= 0 ;
15032 PyObject
* obj1
= 0 ;
15033 PyObject
* obj3
= 0 ;
15034 PyObject
* obj4
= 0 ;
15035 PyObject
* obj6
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
15041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15042 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15046 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15052 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15057 arg7
= wxString_in_helper(obj6
);
15058 if (arg7
== NULL
) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= PyInt_FromLong((long)result
);
15084 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
;
15086 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15089 wxToolBarToolBase
*result
;
15090 PyObject
* obj0
= 0 ;
15091 char *kwnames
[] = {
15092 (char *) "self",(char *) "x",(char *) "y", NULL
15095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBar_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15105 resultobj
= wxPyMake_wxObject(result
);
15113 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
15115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15116 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
15118 return Py_BuildValue((char *)"");
15120 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxColour
const &arg1_defvalue
= wxNullColour
;
15123 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
15124 wxColour
const &arg2_defvalue
= wxNullColour
;
15125 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
15126 wxFont
const &arg3_defvalue
= wxNullFont
;
15127 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
15128 wxListItemAttr
*result
;
15131 PyObject
* obj0
= 0 ;
15132 PyObject
* obj1
= 0 ;
15133 PyObject
* obj2
= 0 ;
15134 char *kwnames
[] = {
15135 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15142 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
15148 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15152 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15153 if (arg3
== NULL
) {
15154 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15164 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
15171 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
;
15173 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15174 wxColour
*arg2
= 0 ;
15176 PyObject
* obj0
= 0 ;
15177 PyObject
* obj1
= 0 ;
15178 char *kwnames
[] = {
15179 (char *) "self",(char *) "colText", NULL
15182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15186 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15195 Py_INCREF(Py_None
); resultobj
= Py_None
;
15202 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15203 PyObject
*resultobj
;
15204 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15205 wxColour
*arg2
= 0 ;
15207 PyObject
* obj0
= 0 ;
15208 PyObject
* obj1
= 0 ;
15209 char *kwnames
[] = {
15210 (char *) "self",(char *) "colBack", NULL
15213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15217 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15223 wxPyEndAllowThreads(__tstate
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15226 Py_INCREF(Py_None
); resultobj
= Py_None
;
15233 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15234 PyObject
*resultobj
;
15235 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15237 PyObject
* obj0
= 0 ;
15238 PyObject
* obj1
= 0 ;
15239 char *kwnames
[] = {
15240 (char *) "self",(char *) "font", NULL
15243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15245 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15246 if (arg2
== NULL
) {
15247 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 (arg1
)->SetFont((wxFont
const &)*arg2
);
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15256 Py_INCREF(Py_None
); resultobj
= Py_None
;
15263 static PyObject
*_wrap_ListItemAttr_HasTextColour(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_HasTextColour",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
)->HasTextColour();
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= PyInt_FromLong((long)result
);
15288 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(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_HasBackgroundColour",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
)->HasBackgroundColour();
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 resultobj
= PyInt_FromLong((long)result
);
15313 static PyObject
*_wrap_ListItemAttr_HasFont(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_HasFont",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
= (bool)(arg1
)->HasFont();
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= PyInt_FromLong((long)result
);
15338 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15339 PyObject
*resultobj
;
15340 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15342 PyObject
* obj0
= 0 ;
15343 char *kwnames
[] = {
15344 (char *) "self", NULL
15347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
15348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 result
= (arg1
)->GetTextColour();
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15357 wxColour
* resultptr
;
15358 resultptr
= new wxColour((wxColour
&) result
);
15359 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15367 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15368 PyObject
*resultobj
;
15369 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15371 PyObject
* obj0
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "self", NULL
15376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
15377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 result
= (arg1
)->GetBackgroundColour();
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15386 wxColour
* resultptr
;
15387 resultptr
= new wxColour((wxColour
&) result
);
15388 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15396 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15397 PyObject
*resultobj
;
15398 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15400 PyObject
* obj0
= 0 ;
15401 char *kwnames
[] = {
15402 (char *) "self", NULL
15405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
15406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 result
= (arg1
)->GetFont();
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15415 wxFont
* resultptr
;
15416 resultptr
= new wxFont((wxFont
&) result
);
15417 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
15425 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
;
15427 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15428 PyObject
* obj0
= 0 ;
15429 char *kwnames
[] = {
15430 (char *) "self", NULL
15433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
15434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 wxListItemAttr_Destroy(arg1
);
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15442 Py_INCREF(Py_None
); resultobj
= Py_None
;
15449 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
15451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15452 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
15454 return Py_BuildValue((char *)"");
15456 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
;
15458 wxListItem
*result
;
15459 char *kwnames
[] = {
15463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
15465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 result
= (wxListItem
*)new wxListItem();
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15472 resultobj
= wxPyMake_wxObject(result
);
15480 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15481 PyObject
*resultobj
;
15482 wxListItem
*arg1
= (wxListItem
*) 0 ;
15483 PyObject
* obj0
= 0 ;
15484 char *kwnames
[] = {
15485 (char *) "self", NULL
15488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
15489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 Py_INCREF(Py_None
); resultobj
= Py_None
;
15504 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15506 wxListItem
*arg1
= (wxListItem
*) 0 ;
15507 PyObject
* obj0
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15518 wxPyEndAllowThreads(__tstate
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15521 Py_INCREF(Py_None
); resultobj
= Py_None
;
15528 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
;
15530 wxListItem
*arg1
= (wxListItem
*) 0 ;
15531 PyObject
* obj0
= 0 ;
15532 char *kwnames
[] = {
15533 (char *) "self", NULL
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) 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
)->ClearAttributes();
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15545 Py_INCREF(Py_None
); resultobj
= Py_None
;
15552 static PyObject
*_wrap_ListItem_SetMask(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 *) "mask", NULL
15561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetMask",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
)->SetMask(arg2
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 Py_INCREF(Py_None
); resultobj
= Py_None
;
15577 static PyObject
*_wrap_ListItem_SetId(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 *) "id", NULL
15586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetId",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
)->SetId(arg2
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 Py_INCREF(Py_None
); resultobj
= Py_None
;
15602 static PyObject
*_wrap_ListItem_SetColumn(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 *) "col", NULL
15611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetColumn",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
)->SetColumn(arg2
);
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 Py_INCREF(Py_None
); resultobj
= Py_None
;
15627 static PyObject
*_wrap_ListItem_SetState(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 *) "state", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetState",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
)->SetState(arg2
);
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 Py_INCREF(Py_None
); resultobj
= Py_None
;
15652 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
;
15654 wxListItem
*arg1
= (wxListItem
*) 0 ;
15656 PyObject
* obj0
= 0 ;
15657 char *kwnames
[] = {
15658 (char *) "self",(char *) "stateMask", NULL
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetStateMask",kwnames
,&obj0
,&arg2
)) goto fail
;
15662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 (arg1
)->SetStateMask(arg2
);
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 Py_INCREF(Py_None
); resultobj
= Py_None
;
15677 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
;
15679 wxListItem
*arg1
= (wxListItem
*) 0 ;
15680 wxString
*arg2
= 0 ;
15681 bool temp2
= False
;
15682 PyObject
* obj0
= 0 ;
15683 PyObject
* obj1
= 0 ;
15684 char *kwnames
[] = {
15685 (char *) "self",(char *) "text", NULL
15688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
15689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15691 arg2
= wxString_in_helper(obj1
);
15692 if (arg2
== NULL
) SWIG_fail
;
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 (arg1
)->SetText((wxString
const &)*arg2
);
15699 wxPyEndAllowThreads(__tstate
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15702 Py_INCREF(Py_None
); resultobj
= Py_None
;
15717 static PyObject
*_wrap_ListItem_SetImage(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 *) "image", NULL
15726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetImage",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
)->SetImage(arg2
);
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15735 Py_INCREF(Py_None
); resultobj
= Py_None
;
15742 static PyObject
*_wrap_ListItem_SetData(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 *) "data", NULL
15751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetData",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
)->SetData(arg2
);
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 Py_INCREF(Py_None
); resultobj
= Py_None
;
15767 static PyObject
*_wrap_ListItem_SetWidth(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 *) "width", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetWidth",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
)->SetWidth(arg2
);
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15785 Py_INCREF(Py_None
); resultobj
= Py_None
;
15792 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
;
15794 wxListItem
*arg1
= (wxListItem
*) 0 ;
15796 PyObject
* obj0
= 0 ;
15797 char *kwnames
[] = {
15798 (char *) "self",(char *) "align", NULL
15801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetAlign",kwnames
,&obj0
,&arg2
)) goto fail
;
15802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15810 Py_INCREF(Py_None
); resultobj
= Py_None
;
15817 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15818 PyObject
*resultobj
;
15819 wxListItem
*arg1
= (wxListItem
*) 0 ;
15820 wxColour
*arg2
= 0 ;
15822 PyObject
* obj0
= 0 ;
15823 PyObject
* obj1
= 0 ;
15824 char *kwnames
[] = {
15825 (char *) "self",(char *) "colText", NULL
15828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15832 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15841 Py_INCREF(Py_None
); resultobj
= Py_None
;
15848 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
;
15850 wxListItem
*arg1
= (wxListItem
*) 0 ;
15851 wxColour
*arg2
= 0 ;
15853 PyObject
* obj0
= 0 ;
15854 PyObject
* obj1
= 0 ;
15855 char *kwnames
[] = {
15856 (char *) "self",(char *) "colBack", NULL
15859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15863 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15872 Py_INCREF(Py_None
); resultobj
= Py_None
;
15879 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15880 PyObject
*resultobj
;
15881 wxListItem
*arg1
= (wxListItem
*) 0 ;
15883 PyObject
* obj0
= 0 ;
15884 PyObject
* obj1
= 0 ;
15885 char *kwnames
[] = {
15886 (char *) "self",(char *) "font", NULL
15889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15891 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15892 if (arg2
== NULL
) {
15893 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 (arg1
)->SetFont((wxFont
const &)*arg2
);
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15902 Py_INCREF(Py_None
); resultobj
= Py_None
;
15909 static PyObject
*_wrap_ListItem_GetMask(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_GetMask",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
)->GetMask();
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15927 resultobj
= PyInt_FromLong((long)result
);
15934 static PyObject
*_wrap_ListItem_GetId(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_GetId",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
= (long)(arg1
)->GetId();
15949 wxPyEndAllowThreads(__tstate
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15952 resultobj
= PyInt_FromLong((long)result
);
15959 static PyObject
*_wrap_ListItem_GetColumn(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_GetColumn",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
= (int)(arg1
)->GetColumn();
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= PyInt_FromLong((long)result
);
15984 static PyObject
*_wrap_ListItem_GetState(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_GetState",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();
15997 result
= (long)(arg1
)->GetState();
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16002 resultobj
= PyInt_FromLong((long)result
);
16009 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16010 PyObject
*resultobj
;
16011 wxListItem
*arg1
= (wxListItem
*) 0 ;
16013 PyObject
* obj0
= 0 ;
16014 char *kwnames
[] = {
16015 (char *) "self", NULL
16018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
16019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 wxString
const &_result_ref
= (arg1
)->GetText();
16024 result
= (wxString
*) &_result_ref
;
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
16037 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16038 PyObject
*resultobj
;
16039 wxListItem
*arg1
= (wxListItem
*) 0 ;
16041 PyObject
* obj0
= 0 ;
16042 char *kwnames
[] = {
16043 (char *) "self", NULL
16046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
16047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 result
= (int)(arg1
)->GetImage();
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16055 resultobj
= PyInt_FromLong((long)result
);
16062 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
;
16064 wxListItem
*arg1
= (wxListItem
*) 0 ;
16066 PyObject
* obj0
= 0 ;
16067 char *kwnames
[] = {
16068 (char *) "self", NULL
16071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
16072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 result
= (long)(arg1
)->GetData();
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= PyInt_FromLong((long)result
);
16087 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxListItem
*arg1
= (wxListItem
*) 0 ;
16091 PyObject
* obj0
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
16097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16100 result
= (int)(arg1
)->GetWidth();
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16105 resultobj
= PyInt_FromLong((long)result
);
16112 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxListItem
*arg1
= (wxListItem
*) 0 ;
16116 PyObject
* obj0
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "self", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
16122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16125 result
= (int)(arg1
)->GetAlign();
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16130 resultobj
= PyInt_FromLong((long)result
);
16137 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16138 PyObject
*resultobj
;
16139 wxListItem
*arg1
= (wxListItem
*) 0 ;
16140 wxListItemAttr
*result
;
16141 PyObject
* obj0
= 0 ;
16142 char *kwnames
[] = {
16143 (char *) "self", NULL
16146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
16147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16150 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16155 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
16162 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16163 PyObject
*resultobj
;
16164 wxListItem
*arg1
= (wxListItem
*) 0 ;
16166 PyObject
* obj0
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
16172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= (bool)(arg1
)->HasAttributes();
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 resultobj
= PyInt_FromLong((long)result
);
16187 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxListItem
*arg1
= (wxListItem
*) 0 ;
16191 PyObject
* obj0
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "self", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
16197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16200 result
= ((wxListItem
const *)arg1
)->GetTextColour();
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16206 wxColour
* resultptr
;
16207 resultptr
= new wxColour((wxColour
&) result
);
16208 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16216 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16217 PyObject
*resultobj
;
16218 wxListItem
*arg1
= (wxListItem
*) 0 ;
16220 PyObject
* obj0
= 0 ;
16221 char *kwnames
[] = {
16222 (char *) "self", NULL
16225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
16226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16235 wxColour
* resultptr
;
16236 resultptr
= new wxColour((wxColour
&) result
);
16237 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16245 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
;
16247 wxListItem
*arg1
= (wxListItem
*) 0 ;
16249 PyObject
* obj0
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "self", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
16255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 result
= ((wxListItem
const *)arg1
)->GetFont();
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16264 wxFont
* resultptr
;
16265 resultptr
= new wxFont((wxFont
&) result
);
16266 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
16274 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
;
16276 wxListItem
*arg1
= (wxListItem
*) 0 ;
16278 PyObject
* obj0
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self",(char *) "m_mask", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_mask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16285 if (arg1
) (arg1
)->m_mask
= arg2
;
16287 Py_INCREF(Py_None
); resultobj
= Py_None
;
16294 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16295 PyObject
*resultobj
;
16296 wxListItem
*arg1
= (wxListItem
*) 0 ;
16298 PyObject
* obj0
= 0 ;
16299 char *kwnames
[] = {
16300 (char *) "self", NULL
16303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
16304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16305 result
= (long) ((arg1
)->m_mask
);
16307 resultobj
= PyInt_FromLong((long)result
);
16314 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
;
16316 wxListItem
*arg1
= (wxListItem
*) 0 ;
16318 PyObject
* obj0
= 0 ;
16319 char *kwnames
[] = {
16320 (char *) "self",(char *) "m_itemId", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_itemId_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16325 if (arg1
) (arg1
)->m_itemId
= arg2
;
16327 Py_INCREF(Py_None
); resultobj
= Py_None
;
16334 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
;
16336 wxListItem
*arg1
= (wxListItem
*) 0 ;
16338 PyObject
* obj0
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
16344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16345 result
= (long) ((arg1
)->m_itemId
);
16347 resultobj
= PyInt_FromLong((long)result
);
16354 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
;
16356 wxListItem
*arg1
= (wxListItem
*) 0 ;
16358 PyObject
* obj0
= 0 ;
16359 char *kwnames
[] = {
16360 (char *) "self",(char *) "m_col", NULL
16363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16365 if (arg1
) (arg1
)->m_col
= arg2
;
16367 Py_INCREF(Py_None
); resultobj
= Py_None
;
16374 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
;
16376 wxListItem
*arg1
= (wxListItem
*) 0 ;
16378 PyObject
* obj0
= 0 ;
16379 char *kwnames
[] = {
16380 (char *) "self", NULL
16383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
16384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16385 result
= (int) ((arg1
)->m_col
);
16387 resultobj
= PyInt_FromLong((long)result
);
16394 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
;
16396 wxListItem
*arg1
= (wxListItem
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "self",(char *) "m_state", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_state_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16405 if (arg1
) (arg1
)->m_state
= arg2
;
16407 Py_INCREF(Py_None
); resultobj
= Py_None
;
16414 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16415 PyObject
*resultobj
;
16416 wxListItem
*arg1
= (wxListItem
*) 0 ;
16418 PyObject
* obj0
= 0 ;
16419 char *kwnames
[] = {
16420 (char *) "self", NULL
16423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
16424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16425 result
= (long) ((arg1
)->m_state
);
16427 resultobj
= PyInt_FromLong((long)result
);
16434 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
;
16436 wxListItem
*arg1
= (wxListItem
*) 0 ;
16438 PyObject
* obj0
= 0 ;
16439 char *kwnames
[] = {
16440 (char *) "self",(char *) "m_stateMask", NULL
16443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_stateMask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16445 if (arg1
) (arg1
)->m_stateMask
= arg2
;
16447 Py_INCREF(Py_None
); resultobj
= Py_None
;
16454 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
;
16456 wxListItem
*arg1
= (wxListItem
*) 0 ;
16458 PyObject
* obj0
= 0 ;
16459 char *kwnames
[] = {
16460 (char *) "self", NULL
16463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
16464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16465 result
= (long) ((arg1
)->m_stateMask
);
16467 resultobj
= PyInt_FromLong((long)result
);
16474 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
;
16476 wxListItem
*arg1
= (wxListItem
*) 0 ;
16478 PyObject
* obj0
= 0 ;
16479 PyObject
* obj1
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self",(char *) "m_text", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16487 wxString
* sptr
= wxString_in_helper(obj1
);
16488 if (sptr
== NULL
) SWIG_fail
;
16492 if (arg1
) (arg1
)->m_text
= arg2
;
16494 Py_INCREF(Py_None
); resultobj
= Py_None
;
16501 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16502 PyObject
*resultobj
;
16503 wxListItem
*arg1
= (wxListItem
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 char *kwnames
[] = {
16507 (char *) "self", NULL
16510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
16511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16512 result
= ((arg1
)->m_text
);
16516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16527 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
;
16529 wxListItem
*arg1
= (wxListItem
*) 0 ;
16531 PyObject
* obj0
= 0 ;
16532 char *kwnames
[] = {
16533 (char *) "self",(char *) "m_image", NULL
16536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_image_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16538 if (arg1
) (arg1
)->m_image
= arg2
;
16540 Py_INCREF(Py_None
); resultobj
= Py_None
;
16547 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxListItem
*arg1
= (wxListItem
*) 0 ;
16551 PyObject
* obj0
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
16557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16558 result
= (int) ((arg1
)->m_image
);
16560 resultobj
= PyInt_FromLong((long)result
);
16567 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
;
16569 wxListItem
*arg1
= (wxListItem
*) 0 ;
16571 PyObject
* obj0
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self",(char *) "m_data", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_data_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16578 if (arg1
) (arg1
)->m_data
= arg2
;
16580 Py_INCREF(Py_None
); resultobj
= Py_None
;
16587 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxListItem
*arg1
= (wxListItem
*) 0 ;
16591 PyObject
* obj0
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "self", NULL
16596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
16597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16598 result
= (long) ((arg1
)->m_data
);
16600 resultobj
= PyInt_FromLong((long)result
);
16607 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16608 PyObject
*resultobj
;
16609 wxListItem
*arg1
= (wxListItem
*) 0 ;
16611 PyObject
* obj0
= 0 ;
16612 char *kwnames
[] = {
16613 (char *) "self",(char *) "m_format", NULL
16616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_format_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16618 if (arg1
) (arg1
)->m_format
= arg2
;
16620 Py_INCREF(Py_None
); resultobj
= Py_None
;
16627 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16628 PyObject
*resultobj
;
16629 wxListItem
*arg1
= (wxListItem
*) 0 ;
16631 PyObject
* obj0
= 0 ;
16632 char *kwnames
[] = {
16633 (char *) "self", NULL
16636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
16637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16638 result
= (int) ((arg1
)->m_format
);
16640 resultobj
= PyInt_FromLong((long)result
);
16647 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
;
16649 wxListItem
*arg1
= (wxListItem
*) 0 ;
16651 PyObject
* obj0
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self",(char *) "m_width", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16658 if (arg1
) (arg1
)->m_width
= arg2
;
16660 Py_INCREF(Py_None
); resultobj
= Py_None
;
16667 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16668 PyObject
*resultobj
;
16669 wxListItem
*arg1
= (wxListItem
*) 0 ;
16671 PyObject
* obj0
= 0 ;
16672 char *kwnames
[] = {
16673 (char *) "self", NULL
16676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
16677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16678 result
= (int) ((arg1
)->m_width
);
16680 resultobj
= PyInt_FromLong((long)result
);
16687 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
16689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16690 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
16692 return Py_BuildValue((char *)"");
16694 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16696 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16697 int arg2
= (int) 0 ;
16698 wxListEvent
*result
;
16699 char *kwnames
[] = {
16700 (char *) "commandType",(char *) "id", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_ListEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
16705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16706 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
16718 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
;
16720 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16722 PyObject
* obj0
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self",(char *) "m_code", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_code_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16729 if (arg1
) (arg1
)->m_code
= arg2
;
16731 Py_INCREF(Py_None
); resultobj
= Py_None
;
16738 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
;
16740 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16742 PyObject
* obj0
= 0 ;
16743 char *kwnames
[] = {
16744 (char *) "self", NULL
16747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
16748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16749 result
= (int) ((arg1
)->m_code
);
16751 resultobj
= PyInt_FromLong((long)result
);
16758 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16760 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16762 PyObject
* obj0
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "self",(char *) "m_oldItemIndex", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16769 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
16771 Py_INCREF(Py_None
); resultobj
= Py_None
;
16778 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "self", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
16788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16789 result
= (long) ((arg1
)->m_oldItemIndex
);
16791 resultobj
= PyInt_FromLong((long)result
);
16798 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
;
16800 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16802 PyObject
* obj0
= 0 ;
16803 char *kwnames
[] = {
16804 (char *) "self",(char *) "m_itemIndex", NULL
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16809 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
16811 Py_INCREF(Py_None
); resultobj
= Py_None
;
16818 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
;
16820 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16822 PyObject
* obj0
= 0 ;
16823 char *kwnames
[] = {
16824 (char *) "self", NULL
16827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
16828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16829 result
= (long) ((arg1
)->m_itemIndex
);
16831 resultobj
= PyInt_FromLong((long)result
);
16838 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16839 PyObject
*resultobj
;
16840 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16842 PyObject
* obj0
= 0 ;
16843 char *kwnames
[] = {
16844 (char *) "self",(char *) "m_col", NULL
16847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16849 if (arg1
) (arg1
)->m_col
= arg2
;
16851 Py_INCREF(Py_None
); resultobj
= Py_None
;
16858 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16859 PyObject
*resultobj
;
16860 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16862 PyObject
* obj0
= 0 ;
16863 char *kwnames
[] = {
16864 (char *) "self", NULL
16867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
16868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16869 result
= (int) ((arg1
)->m_col
);
16871 resultobj
= PyInt_FromLong((long)result
);
16878 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16879 PyObject
*resultobj
;
16880 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16881 wxPoint
*arg2
= (wxPoint
*) 0 ;
16882 PyObject
* obj0
= 0 ;
16883 PyObject
* obj1
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "self",(char *) "m_pointDrag", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16890 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16891 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
16893 Py_INCREF(Py_None
); resultobj
= Py_None
;
16900 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
;
16902 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16904 PyObject
* obj0
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "self", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
16910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16911 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
16913 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16920 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16921 PyObject
*resultobj
;
16922 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16923 wxListItem
*result
;
16924 PyObject
* obj0
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "self", NULL
16929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
16930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16931 result
= (wxListItem
*)& ((arg1
)->m_item
);
16934 resultobj
= wxPyMake_wxObject(result
);
16942 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
;
16944 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16946 PyObject
* obj0
= 0 ;
16947 char *kwnames
[] = {
16948 (char *) "self", NULL
16951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
16952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16955 result
= (int)(arg1
)->GetKeyCode();
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 resultobj
= PyInt_FromLong((long)result
);
16967 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
;
16969 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16971 PyObject
* obj0
= 0 ;
16972 char *kwnames
[] = {
16973 (char *) "self", NULL
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
16977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16980 result
= (long)(arg1
)->GetIndex();
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16985 resultobj
= PyInt_FromLong((long)result
);
16992 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
;
16994 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
16996 PyObject
* obj0
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "self", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
17002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 result
= (int)(arg1
)->GetColumn();
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= PyInt_FromLong((long)result
);
17017 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
;
17019 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17021 PyObject
* obj0
= 0 ;
17022 char *kwnames
[] = {
17023 (char *) "self", NULL
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
17027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (arg1
)->GetPoint();
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17036 wxPoint
* resultptr
;
17037 resultptr
= new wxPoint((wxPoint
&) result
);
17038 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17046 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
;
17048 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17050 PyObject
* obj0
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "self", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
17056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 wxString
const &_result_ref
= (arg1
)->GetLabel();
17061 result
= (wxString
*) &_result_ref
;
17064 wxPyEndAllowThreads(__tstate
);
17065 if (PyErr_Occurred()) SWIG_fail
;
17067 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
17074 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
;
17076 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17078 PyObject
* obj0
= 0 ;
17079 char *kwnames
[] = {
17080 (char *) "self", NULL
17083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
17084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17088 wxString
const &_result_ref
= (arg1
)->GetText();
17089 result
= (wxString
*) &_result_ref
;
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
17102 static PyObject
*_wrap_ListEvent_GetImage(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_GetImage",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
= (int)(arg1
)->GetImage();
17117 wxPyEndAllowThreads(__tstate
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17120 resultobj
= PyInt_FromLong((long)result
);
17127 static PyObject
*_wrap_ListEvent_GetData(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_GetData",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
)->GetData();
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 resultobj
= PyInt_FromLong((long)result
);
17152 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
;
17154 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17156 PyObject
* obj0
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "self", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",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();
17165 result
= (long)(arg1
)->GetMask();
17167 wxPyEndAllowThreads(__tstate
);
17168 if (PyErr_Occurred()) SWIG_fail
;
17170 resultobj
= PyInt_FromLong((long)result
);
17177 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17178 PyObject
*resultobj
;
17179 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17180 wxListItem
*result
;
17181 PyObject
* obj0
= 0 ;
17182 char *kwnames
[] = {
17183 (char *) "self", NULL
17186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
17187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17191 wxListItem
const &_result_ref
= (arg1
)->GetItem();
17192 result
= (wxListItem
*) &_result_ref
;
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
17205 static PyObject
*_wrap_ListEvent_GetCacheFrom(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_GetCacheFrom",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
)->GetCacheFrom();
17220 wxPyEndAllowThreads(__tstate
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17223 resultobj
= PyInt_FromLong((long)result
);
17230 static PyObject
*_wrap_ListEvent_GetCacheTo(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_GetCacheTo",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
= (long)(arg1
)->GetCacheTo();
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 resultobj
= PyInt_FromLong((long)result
);
17255 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17259 PyObject
* obj0
= 0 ;
17260 char *kwnames
[] = {
17261 (char *) "self", NULL
17264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
17265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17273 resultobj
= PyInt_FromLong((long)result
);
17280 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
;
17282 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17284 PyObject
* obj0
= 0 ;
17285 PyObject
* obj1
= 0 ;
17286 char *kwnames
[] = {
17287 (char *) "self",(char *) "editCancelled", NULL
17290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
17291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17292 arg2
= PyInt_AsLong(obj1
) ? true : false;
17293 if (PyErr_Occurred()) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 (arg1
)->SetEditCanceled(arg2
);
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17301 Py_INCREF(Py_None
); resultobj
= Py_None
;
17308 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17311 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
17313 return Py_BuildValue((char *)"");
17315 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17316 PyObject
*resultobj
;
17317 wxWindow
*arg1
= (wxWindow
*) 0 ;
17318 int arg2
= (int) -1 ;
17319 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17320 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17321 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17322 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17323 long arg5
= (long) wxLC_ICON
;
17324 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
17325 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
17326 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
17327 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17328 wxPyListCtrl
*result
;
17331 bool temp7
= False
;
17332 PyObject
* obj0
= 0 ;
17333 PyObject
* obj2
= 0 ;
17334 PyObject
* obj3
= 0 ;
17335 PyObject
* obj5
= 0 ;
17336 PyObject
* obj6
= 0 ;
17337 char *kwnames
[] = {
17338 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
17342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17346 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17352 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17356 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17357 if (arg6
== NULL
) {
17358 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17363 arg7
= wxString_in_helper(obj6
);
17364 if (arg7
== NULL
) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17390 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17391 PyObject
*resultobj
;
17392 wxPyListCtrl
*result
;
17393 char *kwnames
[] = {
17397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 result
= (wxPyListCtrl
*)new wxPyListCtrl();
17402 wxPyEndAllowThreads(__tstate
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17405 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17412 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17415 wxWindow
*arg2
= (wxWindow
*) 0 ;
17416 int arg3
= (int) -1 ;
17417 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17418 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17419 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17420 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17421 long arg6
= (long) wxLC_ICON
;
17422 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17423 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17424 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
17425 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17429 bool temp8
= False
;
17430 PyObject
* obj0
= 0 ;
17431 PyObject
* obj1
= 0 ;
17432 PyObject
* obj3
= 0 ;
17433 PyObject
* obj4
= 0 ;
17434 PyObject
* obj6
= 0 ;
17435 PyObject
* obj7
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
17441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17442 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17446 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17452 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17456 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17457 if (arg7
== NULL
) {
17458 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17463 arg8
= wxString_in_helper(obj7
);
17464 if (arg8
== NULL
) SWIG_fail
;
17469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17472 wxPyEndAllowThreads(__tstate
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17475 resultobj
= PyInt_FromLong((long)result
);
17490 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17491 PyObject
*resultobj
;
17492 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17493 PyObject
*arg2
= (PyObject
*) 0 ;
17494 PyObject
*arg3
= (PyObject
*) 0 ;
17495 PyObject
* obj0
= 0 ;
17496 PyObject
* obj1
= 0 ;
17497 PyObject
* obj2
= 0 ;
17498 char *kwnames
[] = {
17499 (char *) "self",(char *) "self",(char *) "_class", NULL
17502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17513 Py_INCREF(Py_None
); resultobj
= Py_None
;
17520 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17522 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17523 wxColour
*arg2
= 0 ;
17526 PyObject
* obj0
= 0 ;
17527 PyObject
* obj1
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "self",(char *) "col", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17536 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17545 resultobj
= PyInt_FromLong((long)result
);
17552 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17553 PyObject
*resultobj
;
17554 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17555 wxColour
*arg2
= 0 ;
17558 PyObject
* obj0
= 0 ;
17559 PyObject
* obj1
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self",(char *) "col", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17568 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 resultobj
= PyInt_FromLong((long)result
);
17584 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
;
17586 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17588 wxListItem
*result
;
17589 PyObject
* obj0
= 0 ;
17590 char *kwnames
[] = {
17591 (char *) "self",(char *) "col", NULL
17594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
17595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= wxPyMake_wxObject(result
);
17612 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
;
17614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17616 wxListItem
*arg3
= 0 ;
17618 PyObject
* obj0
= 0 ;
17619 PyObject
* obj2
= 0 ;
17620 char *kwnames
[] = {
17621 (char *) "self",(char *) "col",(char *) "item", NULL
17624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ListCtrl_SetColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17626 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17627 if (arg3
== NULL
) {
17628 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17637 resultobj
= PyInt_FromLong((long)result
);
17644 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17649 PyObject
* obj0
= 0 ;
17650 char *kwnames
[] = {
17651 (char *) "self",(char *) "col", NULL
17654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
17655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17663 resultobj
= PyInt_FromLong((long)result
);
17670 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
;
17672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17676 PyObject
* obj0
= 0 ;
17677 char *kwnames
[] = {
17678 (char *) "self",(char *) "col",(char *) "width", NULL
17681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&arg2
,&arg3
)) 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
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17690 resultobj
= PyInt_FromLong((long)result
);
17697 static PyObject
*_wrap_ListCtrl_GetCountPerPage(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_GetCountPerPage",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
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= PyInt_FromLong((long)result
);
17722 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17723 PyObject
*resultobj
;
17724 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17726 PyObject
* obj0
= 0 ;
17727 char *kwnames
[] = {
17728 (char *) "self", NULL
17731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
17732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17735 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
17737 wxPyEndAllowThreads(__tstate
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17741 wxRect
* resultptr
;
17742 resultptr
= new wxRect((wxRect
&) result
);
17743 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
17751 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17754 wxTextCtrl
*result
;
17755 PyObject
* obj0
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "self", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
17761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17764 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
17766 wxPyEndAllowThreads(__tstate
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17770 resultobj
= wxPyMake_wxObject(result
);
17778 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17780 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17782 int arg3
= (int) 0 ;
17783 wxListItem
*result
;
17784 PyObject
* obj0
= 0 ;
17785 char *kwnames
[] = {
17786 (char *) "self",(char *) "itemId",(char *) "col", NULL
17789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17799 resultobj
= wxPyMake_wxObject(result
);
17807 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17808 PyObject
*resultobj
;
17809 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17810 wxListItem
*arg2
= 0 ;
17812 PyObject
* obj0
= 0 ;
17813 PyObject
* obj1
= 0 ;
17814 char *kwnames
[] = {
17815 (char *) "self",(char *) "info", NULL
17818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17820 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17821 if (arg2
== NULL
) {
17822 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17826 result
= (bool)(arg1
)->SetItem(*arg2
);
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= PyInt_FromLong((long)result
);
17838 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
;
17840 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17843 wxString
*arg4
= 0 ;
17844 int arg5
= (int) -1 ;
17846 bool temp4
= False
;
17847 PyObject
* obj0
= 0 ;
17848 PyObject
* obj3
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
17854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17856 arg4
= wxString_in_helper(obj3
);
17857 if (arg4
== NULL
) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17867 resultobj
= PyInt_FromLong((long)result
);
17882 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
;
17884 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17888 PyObject
* obj0
= 0 ;
17889 char *kwnames
[] = {
17890 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_GetItemState",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17897 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
17899 wxPyEndAllowThreads(__tstate
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17902 resultobj
= PyInt_FromLong((long)result
);
17909 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
;
17911 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17916 PyObject
* obj0
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olll:ListCtrl_SetItemState",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
17922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 resultobj
= PyInt_FromLong((long)result
);
17937 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17944 PyObject
* obj0
= 0 ;
17945 char *kwnames
[] = {
17946 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olii:ListCtrl_SetItemImage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
17950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17958 resultobj
= PyInt_FromLong((long)result
);
17965 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17970 PyObject
* obj0
= 0 ;
17971 char *kwnames
[] = {
17972 (char *) "self",(char *) "item", NULL
17975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemText",kwnames
,&obj0
,&arg2
)) goto fail
;
17976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17997 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
;
17999 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18001 wxString
*arg3
= 0 ;
18002 bool temp3
= False
;
18003 PyObject
* obj0
= 0 ;
18004 PyObject
* obj2
= 0 ;
18005 char *kwnames
[] = {
18006 (char *) "self",(char *) "item",(char *) "str", NULL
18009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemText",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18012 arg3
= wxString_in_helper(obj2
);
18013 if (arg3
== NULL
) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 Py_INCREF(Py_None
); resultobj
= Py_None
;
18038 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18039 PyObject
*resultobj
;
18040 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18043 PyObject
* obj0
= 0 ;
18044 char *kwnames
[] = {
18045 (char *) "self",(char *) "item", NULL
18048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemData",kwnames
,&obj0
,&arg2
)) goto fail
;
18049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= PyInt_FromLong((long)result
);
18064 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18070 PyObject
* obj0
= 0 ;
18071 char *kwnames
[] = {
18072 (char *) "self",(char *) "item",(char *) "data", NULL
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_SetItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= PyInt_FromLong((long)result
);
18091 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18096 PyObject
* obj0
= 0 ;
18097 char *kwnames
[] = {
18098 (char *) "self",(char *) "item", NULL
18101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
18102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18111 wxPoint
* resultptr
;
18112 resultptr
= new wxPoint((wxPoint
&) result
);
18113 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18121 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18125 int arg3
= (int) wxLIST_RECT_BOUNDS
;
18127 PyObject
* obj0
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "self",(char *) "item",(char *) "code", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18142 wxRect
* resultptr
;
18143 resultptr
= new wxRect((wxRect
&) result
);
18144 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18152 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18153 PyObject
*resultobj
;
18154 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18156 wxPoint
*arg3
= 0 ;
18159 PyObject
* obj0
= 0 ;
18160 PyObject
* obj2
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "self",(char *) "item",(char *) "pos", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18169 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= PyInt_FromLong((long)result
);
18185 static PyObject
*_wrap_ListCtrl_GetItemCount(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_GetItemCount",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
)->GetItemCount();
18200 wxPyEndAllowThreads(__tstate
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 resultobj
= PyInt_FromLong((long)result
);
18210 static PyObject
*_wrap_ListCtrl_GetColumnCount(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_GetColumnCount",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
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
18225 wxPyEndAllowThreads(__tstate
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18228 resultobj
= PyInt_FromLong((long)result
);
18235 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
;
18237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18239 PyObject
* obj0
= 0 ;
18240 char *kwnames
[] = {
18241 (char *) "self", NULL
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
18245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18254 wxSize
* resultptr
;
18255 resultptr
= new wxSize((wxSize
&) result
);
18256 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
18264 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(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_GetSelectedItemCount",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
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= PyInt_FromLong((long)result
);
18289 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
;
18291 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18293 PyObject
* obj0
= 0 ;
18294 char *kwnames
[] = {
18295 (char *) "self", NULL
18298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
18299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18308 wxColour
* resultptr
;
18309 resultptr
= new wxColour((wxColour
&) result
);
18310 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18318 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
;
18320 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18321 wxColour
*arg2
= 0 ;
18323 PyObject
* obj0
= 0 ;
18324 PyObject
* obj1
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "self",(char *) "col", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18333 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 Py_INCREF(Py_None
); resultobj
= Py_None
;
18349 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self", NULL
18358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
18359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18367 resultobj
= PyInt_FromLong((long)result
);
18374 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
;
18376 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18378 bool arg3
= (bool) True
;
18379 PyObject
* obj0
= 0 ;
18380 PyObject
* obj2
= 0 ;
18381 char *kwnames
[] = {
18382 (char *) "self",(char *) "style",(char *) "add", NULL
18385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18388 arg3
= PyInt_AsLong(obj2
) ? true : false;
18389 if (PyErr_Occurred()) SWIG_fail
;
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 (arg1
)->SetSingleStyle(arg2
,arg3
);
18395 wxPyEndAllowThreads(__tstate
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18398 Py_INCREF(Py_None
); resultobj
= Py_None
;
18405 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
;
18407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18409 PyObject
* obj0
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self",(char *) "style", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
18415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 (arg1
)->SetWindowStyleFlag(arg2
);
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 Py_INCREF(Py_None
); resultobj
= Py_None
;
18430 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18432 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18434 int arg3
= (int) wxLIST_NEXT_ALL
;
18435 int arg4
= (int) wxLIST_STATE_DONTCARE
;
18437 PyObject
* obj0
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18446 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
18448 wxPyEndAllowThreads(__tstate
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18451 resultobj
= PyInt_FromLong((long)result
);
18458 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18459 PyObject
*resultobj
;
18460 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18462 wxImageList
*result
;
18463 PyObject
* obj0
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self",(char *) "which", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetImageList",kwnames
,&obj0
,&arg2
)) goto fail
;
18469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18478 resultobj
= wxPyMake_wxObject(result
);
18486 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18487 PyObject
*resultobj
;
18488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18489 wxImageList
*arg2
= (wxImageList
*) 0 ;
18491 PyObject
* obj0
= 0 ;
18492 PyObject
* obj1
= 0 ;
18493 char *kwnames
[] = {
18494 (char *) "self",(char *) "imageList",(char *) "which", NULL
18497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18499 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 (arg1
)->SetImageList(arg2
,arg3
);
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 Py_INCREF(Py_None
); resultobj
= Py_None
;
18514 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18515 PyObject
*resultobj
;
18516 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18517 wxImageList
*arg2
= (wxImageList
*) 0 ;
18519 PyObject
* obj0
= 0 ;
18520 PyObject
* obj1
= 0 ;
18521 char *kwnames
[] = {
18522 (char *) "self",(char *) "imageList",(char *) "which", NULL
18525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18527 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 (arg1
)->AssignImageList(arg2
,arg3
);
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 Py_INCREF(Py_None
); resultobj
= Py_None
;
18542 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
;
18544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18546 PyObject
* obj0
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18555 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= PyInt_FromLong((long)result
);
18567 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18568 PyObject
*resultobj
;
18569 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18571 PyObject
* obj0
= 0 ;
18572 char *kwnames
[] = {
18573 (char *) "self",(char *) "item", NULL
18576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_RefreshItem",kwnames
,&obj0
,&arg2
)) goto fail
;
18577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18580 (arg1
)->RefreshItem(arg2
);
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18585 Py_INCREF(Py_None
); resultobj
= Py_None
;
18592 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
;
18594 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18597 PyObject
* obj0
= 0 ;
18598 char *kwnames
[] = {
18599 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_RefreshItems",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 (arg1
)->RefreshItems(arg2
,arg3
);
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 Py_INCREF(Py_None
); resultobj
= Py_None
;
18618 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
;
18620 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18621 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
18623 PyObject
* obj0
= 0 ;
18624 char *kwnames
[] = {
18625 (char *) "self",(char *) "flag", NULL
18628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListCtrl_Arrange",kwnames
,&obj0
,&arg2
)) goto fail
;
18629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 result
= (bool)(arg1
)->Arrange(arg2
);
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18637 resultobj
= PyInt_FromLong((long)result
);
18644 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18646 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18649 PyObject
* obj0
= 0 ;
18650 char *kwnames
[] = {
18651 (char *) "self",(char *) "item", NULL
18654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_DeleteItem",kwnames
,&obj0
,&arg2
)) 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
)->DeleteItem(arg2
);
18660 wxPyEndAllowThreads(__tstate
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18663 resultobj
= PyInt_FromLong((long)result
);
18670 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18671 PyObject
*resultobj
;
18672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18674 PyObject
* obj0
= 0 ;
18675 char *kwnames
[] = {
18676 (char *) "self", NULL
18679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
18680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 result
= (bool)(arg1
)->DeleteAllItems();
18685 wxPyEndAllowThreads(__tstate
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18688 resultobj
= PyInt_FromLong((long)result
);
18695 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18696 PyObject
*resultobj
;
18697 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18700 PyObject
* obj0
= 0 ;
18701 char *kwnames
[] = {
18702 (char *) "self",(char *) "col", NULL
18705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_DeleteColumn",kwnames
,&obj0
,&arg2
)) 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
)->DeleteColumn(arg2
);
18711 wxPyEndAllowThreads(__tstate
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= PyInt_FromLong((long)result
);
18721 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18722 PyObject
*resultobj
;
18723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18725 PyObject
* obj0
= 0 ;
18726 char *kwnames
[] = {
18727 (char *) "self", NULL
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
18731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= (bool)(arg1
)->DeleteAllColumns();
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18739 resultobj
= PyInt_FromLong((long)result
);
18746 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18747 PyObject
*resultobj
;
18748 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18749 PyObject
* obj0
= 0 ;
18750 char *kwnames
[] = {
18751 (char *) "self", NULL
18754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
18755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 (arg1
)->ClearAll();
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18763 Py_INCREF(Py_None
); resultobj
= Py_None
;
18770 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
;
18772 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18774 wxTextCtrl
*result
;
18775 PyObject
* obj0
= 0 ;
18776 char *kwnames
[] = {
18777 (char *) "self",(char *) "item", NULL
18780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EditLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
18781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
18786 wxPyEndAllowThreads(__tstate
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18790 resultobj
= wxPyMake_wxObject(result
);
18798 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18799 PyObject
*resultobj
;
18800 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18803 PyObject
* obj0
= 0 ;
18804 PyObject
* obj1
= 0 ;
18805 char *kwnames
[] = {
18806 (char *) "self",(char *) "cancel", NULL
18809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
18810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18811 arg2
= PyInt_AsLong(obj1
) ? true : false;
18812 if (PyErr_Occurred()) SWIG_fail
;
18814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18815 result
= (bool)(arg1
)->EndEditLabel(arg2
);
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18820 resultobj
= PyInt_FromLong((long)result
);
18827 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18828 PyObject
*resultobj
;
18829 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18832 PyObject
* obj0
= 0 ;
18833 char *kwnames
[] = {
18834 (char *) "self",(char *) "item", NULL
18837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
18838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 result
= (bool)(arg1
)->EnsureVisible(arg2
);
18843 wxPyEndAllowThreads(__tstate
);
18844 if (PyErr_Occurred()) SWIG_fail
;
18846 resultobj
= PyInt_FromLong((long)result
);
18853 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
;
18855 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18857 wxString
*arg3
= 0 ;
18858 bool arg4
= (bool) False
;
18860 bool temp3
= False
;
18861 PyObject
* obj0
= 0 ;
18862 PyObject
* obj2
= 0 ;
18863 PyObject
* obj3
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|O:ListCtrl_FindItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
18869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18871 arg3
= wxString_in_helper(obj2
);
18872 if (arg3
== NULL
) SWIG_fail
;
18876 arg4
= PyInt_AsLong(obj3
) ? true : false;
18877 if (PyErr_Occurred()) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18886 resultobj
= PyInt_FromLong((long)result
);
18901 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18907 PyObject
* obj0
= 0 ;
18908 char *kwnames
[] = {
18909 (char *) "self",(char *) "start",(char *) "data", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_FindItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= PyInt_FromLong((long)result
);
18928 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
;
18930 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18932 wxPoint
*arg3
= 0 ;
18936 PyObject
* obj0
= 0 ;
18937 PyObject
* obj2
= 0 ;
18938 char *kwnames
[] = {
18939 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
18943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18946 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18950 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18955 resultobj
= PyInt_FromLong((long)result
);
18962 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18963 PyObject
*resultobj
;
18964 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18965 wxPoint
*arg2
= 0 ;
18970 PyObject
* obj0
= 0 ;
18971 PyObject
* obj1
= 0 ;
18972 char *kwnames
[] = {
18973 (char *) "self",(char *) "point", NULL
18977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
18978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18981 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18985 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
18987 wxPyEndAllowThreads(__tstate
);
18988 if (PyErr_Occurred()) SWIG_fail
;
18990 resultobj
= PyInt_FromLong((long)result
);
18992 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18993 resultobj
= t_output_helper(resultobj
,o
);
19001 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19002 PyObject
*resultobj
;
19003 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19004 wxListItem
*arg2
= 0 ;
19006 PyObject
* obj0
= 0 ;
19007 PyObject
* obj1
= 0 ;
19008 char *kwnames
[] = {
19009 (char *) "self",(char *) "info", NULL
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19015 if (arg2
== NULL
) {
19016 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19020 result
= (long)(arg1
)->InsertItem(*arg2
);
19022 wxPyEndAllowThreads(__tstate
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19025 resultobj
= PyInt_FromLong((long)result
);
19032 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
;
19034 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19036 wxString
*arg3
= 0 ;
19038 bool temp3
= False
;
19039 PyObject
* obj0
= 0 ;
19040 PyObject
* obj2
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "self",(char *) "index",(char *) "label", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19048 arg3
= wxString_in_helper(obj2
);
19049 if (arg3
== NULL
) SWIG_fail
;
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19059 resultobj
= PyInt_FromLong((long)result
);
19074 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
;
19076 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19080 PyObject
* obj0
= 0 ;
19081 char *kwnames
[] = {
19082 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oli:ListCtrl_InsertImageItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 resultobj
= PyInt_FromLong((long)result
);
19101 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19105 wxString
*arg3
= 0 ;
19108 bool temp3
= False
;
19109 PyObject
* obj0
= 0 ;
19110 PyObject
* obj2
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19118 arg3
= wxString_in_helper(obj2
);
19119 if (arg3
== NULL
) SWIG_fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19129 resultobj
= PyInt_FromLong((long)result
);
19144 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19145 PyObject
*resultobj
;
19146 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19148 wxListItem
*arg3
= 0 ;
19150 PyObject
* obj0
= 0 ;
19151 PyObject
* obj2
= 0 ;
19152 char *kwnames
[] = {
19153 (char *) "self",(char *) "col",(char *) "info", NULL
19156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19158 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19159 if (arg3
== NULL
) {
19160 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 resultobj
= PyInt_FromLong((long)result
);
19176 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
;
19178 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19180 wxString
*arg3
= 0 ;
19181 int arg4
= (int) wxLIST_FORMAT_LEFT
;
19182 int arg5
= (int) -1 ;
19184 bool temp3
= False
;
19185 PyObject
* obj0
= 0 ;
19186 PyObject
* obj2
= 0 ;
19187 char *kwnames
[] = {
19188 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
)) goto fail
;
19192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19194 arg3
= wxString_in_helper(obj2
);
19195 if (arg3
== NULL
) SWIG_fail
;
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19202 wxPyEndAllowThreads(__tstate
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19205 resultobj
= PyInt_FromLong((long)result
);
19220 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19221 PyObject
*resultobj
;
19222 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19224 PyObject
* obj0
= 0 ;
19225 char *kwnames
[] = {
19226 (char *) "self",(char *) "count", NULL
19229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetItemCount",kwnames
,&obj0
,&arg2
)) goto fail
;
19230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 (arg1
)->SetItemCount(arg2
);
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19238 Py_INCREF(Py_None
); resultobj
= Py_None
;
19245 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
;
19247 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19251 PyObject
* obj0
= 0 ;
19252 char *kwnames
[] = {
19253 (char *) "self",(char *) "dx",(char *) "dy", NULL
19256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_ScrollList",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19260 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
19262 wxPyEndAllowThreads(__tstate
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19265 resultobj
= PyInt_FromLong((long)result
);
19272 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
;
19274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19276 wxColour
*arg3
= 0 ;
19278 PyObject
* obj0
= 0 ;
19279 PyObject
* obj2
= 0 ;
19280 char *kwnames
[] = {
19281 (char *) "self",(char *) "item",(char *) "col", NULL
19284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19288 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 Py_INCREF(Py_None
); resultobj
= Py_None
;
19304 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
;
19306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19309 PyObject
* obj0
= 0 ;
19310 char *kwnames
[] = {
19311 (char *) "self",(char *) "item", NULL
19314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19324 wxColour
* resultptr
;
19325 resultptr
= new wxColour((wxColour
&) result
);
19326 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19334 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
;
19336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19338 wxColour
*arg3
= 0 ;
19340 PyObject
* obj0
= 0 ;
19341 PyObject
* obj2
= 0 ;
19342 char *kwnames
[] = {
19343 (char *) "self",(char *) "item",(char *) "col", NULL
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19350 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 Py_INCREF(Py_None
); resultobj
= Py_None
;
19366 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19371 PyObject
* obj0
= 0 ;
19372 char *kwnames
[] = {
19373 (char *) "self",(char *) "item", NULL
19376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
19382 wxPyEndAllowThreads(__tstate
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19386 wxColour
* resultptr
;
19387 resultptr
= new wxColour((wxColour
&) result
);
19388 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19396 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19397 PyObject
*resultobj
;
19398 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19399 PyObject
*arg2
= (PyObject
*) 0 ;
19401 PyObject
* obj0
= 0 ;
19402 PyObject
* obj1
= 0 ;
19403 char *kwnames
[] = {
19404 (char *) "self",(char *) "func", NULL
19407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
19408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
19414 wxPyEndAllowThreads(__tstate
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19417 resultobj
= PyInt_FromLong((long)result
);
19424 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19425 PyObject
*resultobj
;
19426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19428 PyObject
* obj0
= 0 ;
19429 char *kwnames
[] = {
19430 (char *) "self", NULL
19433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
19434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19437 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
19439 wxPyEndAllowThreads(__tstate
);
19440 if (PyErr_Occurred()) SWIG_fail
;
19443 resultobj
= wxPyMake_wxObject(result
);
19451 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
19453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19454 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
19456 return Py_BuildValue((char *)"");
19458 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19460 wxWindow
*arg1
= (wxWindow
*) 0 ;
19461 int arg2
= (int) -1 ;
19462 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19463 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19464 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19465 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19466 long arg5
= (long) wxLC_REPORT
;
19467 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19468 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19469 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19470 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19471 wxListView
*result
;
19474 bool temp7
= False
;
19475 PyObject
* obj0
= 0 ;
19476 PyObject
* obj2
= 0 ;
19477 PyObject
* obj3
= 0 ;
19478 PyObject
* obj5
= 0 ;
19479 PyObject
* obj6
= 0 ;
19480 char *kwnames
[] = {
19481 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListView",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
19485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19489 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19495 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19499 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19500 if (arg6
== NULL
) {
19501 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19506 arg7
= wxString_in_helper(obj6
);
19507 if (arg7
== NULL
) SWIG_fail
;
19512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19513 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19515 wxPyEndAllowThreads(__tstate
);
19516 if (PyErr_Occurred()) SWIG_fail
;
19518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19533 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxListView
*result
;
19536 char *kwnames
[] = {
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 result
= (wxListView
*)new wxListView();
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19548 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19555 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
;
19557 wxListView
*arg1
= (wxListView
*) 0 ;
19558 wxWindow
*arg2
= (wxWindow
*) 0 ;
19559 int arg3
= (int) -1 ;
19560 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19561 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19562 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19563 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19564 long arg6
= (long) wxLC_REPORT
;
19565 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19566 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19567 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19568 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19572 bool temp8
= False
;
19573 PyObject
* obj0
= 0 ;
19574 PyObject
* obj1
= 0 ;
19575 PyObject
* obj3
= 0 ;
19576 PyObject
* obj4
= 0 ;
19577 PyObject
* obj6
= 0 ;
19578 PyObject
* obj7
= 0 ;
19579 char *kwnames
[] = {
19580 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListView_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
19584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19589 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19595 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19599 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19600 if (arg7
== NULL
) {
19601 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19606 arg8
= wxString_in_helper(obj7
);
19607 if (arg8
== NULL
) SWIG_fail
;
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19613 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 resultobj
= PyInt_FromLong((long)result
);
19633 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxListView
*arg1
= (wxListView
*) 0 ;
19637 bool arg3
= (bool) True
;
19638 PyObject
* obj0
= 0 ;
19639 PyObject
* obj2
= 0 ;
19640 char *kwnames
[] = {
19641 (char *) "self",(char *) "n",(char *) "on", NULL
19644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListView_Select",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19647 arg3
= PyInt_AsLong(obj2
) ? true : false;
19648 if (PyErr_Occurred()) SWIG_fail
;
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 (arg1
)->Select(arg2
,arg3
);
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19657 Py_INCREF(Py_None
); resultobj
= Py_None
;
19664 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19665 PyObject
*resultobj
;
19666 wxListView
*arg1
= (wxListView
*) 0 ;
19668 PyObject
* obj0
= 0 ;
19669 char *kwnames
[] = {
19670 (char *) "self",(char *) "index", NULL
19673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_Focus",kwnames
,&obj0
,&arg2
)) goto fail
;
19674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 (arg1
)->Focus(arg2
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 Py_INCREF(Py_None
); resultobj
= Py_None
;
19689 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxListView
*arg1
= (wxListView
*) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
19699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19702 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19707 resultobj
= PyInt_FromLong((long)result
);
19714 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19715 PyObject
*resultobj
;
19716 wxListView
*arg1
= (wxListView
*) 0 ;
19719 PyObject
* obj0
= 0 ;
19720 char *kwnames
[] = {
19721 (char *) "self",(char *) "item", NULL
19724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_GetNextSelected",kwnames
,&obj0
,&arg2
)) 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
)->GetNextSelected(arg2
);
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19733 resultobj
= PyInt_FromLong((long)result
);
19740 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
;
19742 wxListView
*arg1
= (wxListView
*) 0 ;
19744 PyObject
* obj0
= 0 ;
19745 char *kwnames
[] = {
19746 (char *) "self", NULL
19749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
19750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19753 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19758 resultobj
= PyInt_FromLong((long)result
);
19765 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 wxListView
*arg1
= (wxListView
*) 0 ;
19770 PyObject
* obj0
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "self",(char *) "index", NULL
19775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
19776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 result
= (bool)(arg1
)->IsSelected(arg2
);
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= PyInt_FromLong((long)result
);
19791 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19792 PyObject
*resultobj
;
19793 wxListView
*arg1
= (wxListView
*) 0 ;
19796 PyObject
* obj0
= 0 ;
19797 char *kwnames
[] = {
19798 (char *) "self",(char *) "col",(char *) "image", NULL
19801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListView_SetColumnImage",kwnames
,&obj0
,&arg2
,&arg3
)) 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
)->SetColumnImage(arg2
,arg3
);
19807 wxPyEndAllowThreads(__tstate
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19810 Py_INCREF(Py_None
); resultobj
= Py_None
;
19817 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19818 PyObject
*resultobj
;
19819 wxListView
*arg1
= (wxListView
*) 0 ;
19821 PyObject
* obj0
= 0 ;
19822 char *kwnames
[] = {
19823 (char *) "self",(char *) "col", NULL
19826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListView_ClearColumnImage",kwnames
,&obj0
,&arg2
)) goto fail
;
19827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 (arg1
)->ClearColumnImage(arg2
);
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19835 Py_INCREF(Py_None
); resultobj
= Py_None
;
19842 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
19844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19845 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
19847 return Py_BuildValue((char *)"");
19849 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
;
19851 wxTreeItemId
*result
;
19852 char *kwnames
[] = {
19856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 result
= (wxTreeItemId
*)new wxTreeItemId();
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19864 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
19871 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19872 PyObject
*resultobj
;
19873 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19874 PyObject
* obj0
= 0 ;
19875 char *kwnames
[] = {
19876 (char *) "self", NULL
19879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",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();
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19888 Py_INCREF(Py_None
); resultobj
= Py_None
;
19895 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19896 PyObject
*resultobj
;
19897 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19899 PyObject
* obj0
= 0 ;
19900 char *kwnames
[] = {
19901 (char *) "self", NULL
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
19905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19913 resultobj
= PyInt_FromLong((long)result
);
19920 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19921 PyObject
*resultobj
;
19922 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19923 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
19925 PyObject
* obj0
= 0 ;
19926 PyObject
* obj1
= 0 ;
19927 char *kwnames
[] = {
19928 (char *) "self",(char *) "other", NULL
19931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
19932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19933 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19936 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
19938 wxPyEndAllowThreads(__tstate
);
19939 if (PyErr_Occurred()) SWIG_fail
;
19941 resultobj
= PyInt_FromLong((long)result
);
19948 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
;
19950 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19951 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
19953 PyObject
* obj0
= 0 ;
19954 PyObject
* obj1
= 0 ;
19955 char *kwnames
[] = {
19956 (char *) "self",(char *) "other", NULL
19959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
19960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19964 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
19966 wxPyEndAllowThreads(__tstate
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19969 resultobj
= PyInt_FromLong((long)result
);
19976 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
;
19978 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
19979 wxTreeItemIdValue arg2
= (wxTreeItemIdValue
) 0 ;
19980 PyObject
* obj0
= 0 ;
19981 PyObject
* obj1
= 0 ;
19982 char *kwnames
[] = {
19983 (char *) "self",(char *) "m_pItem", NULL
19986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19988 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
19989 if (arg1
) (arg1
)->m_pItem
= arg2
;
19991 Py_INCREF(Py_None
); resultobj
= Py_None
;
19998 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
;
20000 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20001 wxTreeItemIdValue result
;
20002 PyObject
* obj0
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
20008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20009 result
= (wxTreeItemIdValue
) ((arg1
)->m_pItem
);
20011 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_wxTreeItemIdValue
, 0);
20018 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
20020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20021 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
20023 return Py_BuildValue((char *)"");
20025 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20026 PyObject
*resultobj
;
20027 PyObject
*arg1
= (PyObject
*) NULL
;
20028 wxPyTreeItemData
*result
;
20029 PyObject
* obj0
= 0 ;
20030 char *kwnames
[] = {
20031 (char *) "obj", NULL
20034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20045 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
20052 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20053 PyObject
*resultobj
;
20054 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20056 PyObject
* obj0
= 0 ;
20057 char *kwnames
[] = {
20058 (char *) "self", NULL
20061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
20062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 result
= (PyObject
*)(arg1
)->GetData();
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20070 resultobj
= result
;
20077 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
;
20079 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20080 PyObject
*arg2
= (PyObject
*) 0 ;
20081 PyObject
* obj0
= 0 ;
20082 PyObject
* obj1
= 0 ;
20083 char *kwnames
[] = {
20084 (char *) "self",(char *) "obj", NULL
20087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
20088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 (arg1
)->SetData(arg2
);
20094 wxPyEndAllowThreads(__tstate
);
20095 if (PyErr_Occurred()) SWIG_fail
;
20097 Py_INCREF(Py_None
); resultobj
= Py_None
;
20104 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20105 PyObject
*resultobj
;
20106 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20107 wxTreeItemId
*result
;
20108 PyObject
* obj0
= 0 ;
20109 char *kwnames
[] = {
20110 (char *) "self", NULL
20113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
20114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20118 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
20119 result
= (wxTreeItemId
*) &_result_ref
;
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
20132 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
;
20134 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20135 wxTreeItemId
*arg2
= 0 ;
20136 PyObject
* obj0
= 0 ;
20137 PyObject
* obj1
= 0 ;
20138 char *kwnames
[] = {
20139 (char *) "self",(char *) "id", NULL
20142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
20143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20144 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20145 if (arg2
== NULL
) {
20146 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20150 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
20152 wxPyEndAllowThreads(__tstate
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20155 Py_INCREF(Py_None
); resultobj
= Py_None
;
20162 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20165 PyObject
* obj0
= 0 ;
20166 char *kwnames
[] = {
20167 (char *) "self", NULL
20170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
20171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20174 wxPyTreeItemData_Destroy(arg1
);
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20179 Py_INCREF(Py_None
); resultobj
= Py_None
;
20186 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
20188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20189 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
20191 return Py_BuildValue((char *)"");
20193 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20194 PyObject
*resultobj
;
20195 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20196 int arg2
= (int) 0 ;
20197 wxTreeEvent
*result
;
20198 char *kwnames
[] = {
20199 (char *) "commandType",(char *) "id", NULL
20202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TreeEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20210 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
20217 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20220 wxTreeItemId result
;
20221 PyObject
* obj0
= 0 ;
20222 char *kwnames
[] = {
20223 (char *) "self", NULL
20226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20230 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
20232 wxPyEndAllowThreads(__tstate
);
20233 if (PyErr_Occurred()) SWIG_fail
;
20236 wxTreeItemId
* resultptr
;
20237 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20238 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20246 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
;
20248 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20249 wxTreeItemId
*arg2
= 0 ;
20250 PyObject
* obj0
= 0 ;
20251 PyObject
* obj1
= 0 ;
20252 char *kwnames
[] = {
20253 (char *) "self",(char *) "item", NULL
20256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20258 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20259 if (arg2
== NULL
) {
20260 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20264 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 Py_INCREF(Py_None
); resultobj
= Py_None
;
20276 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
;
20278 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20279 wxTreeItemId result
;
20280 PyObject
* obj0
= 0 ;
20281 char *kwnames
[] = {
20282 (char *) "self", NULL
20285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
20286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20295 wxTreeItemId
* resultptr
;
20296 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20297 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20305 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20306 PyObject
*resultobj
;
20307 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20308 wxTreeItemId
*arg2
= 0 ;
20309 PyObject
* obj0
= 0 ;
20310 PyObject
* obj1
= 0 ;
20311 char *kwnames
[] = {
20312 (char *) "self",(char *) "item", NULL
20315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20317 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20318 if (arg2
== NULL
) {
20319 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20323 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
20325 wxPyEndAllowThreads(__tstate
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20328 Py_INCREF(Py_None
); resultobj
= Py_None
;
20335 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
;
20337 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20339 PyObject
* obj0
= 0 ;
20340 char *kwnames
[] = {
20341 (char *) "self", NULL
20344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
20350 wxPyEndAllowThreads(__tstate
);
20351 if (PyErr_Occurred()) SWIG_fail
;
20354 wxPoint
* resultptr
;
20355 resultptr
= new wxPoint((wxPoint
&) result
);
20356 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20364 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
;
20366 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20367 wxPoint
*arg2
= 0 ;
20369 PyObject
* obj0
= 0 ;
20370 PyObject
* obj1
= 0 ;
20371 char *kwnames
[] = {
20372 (char *) "self",(char *) "pt", NULL
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
20376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20379 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20383 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
20385 wxPyEndAllowThreads(__tstate
);
20386 if (PyErr_Occurred()) SWIG_fail
;
20388 Py_INCREF(Py_None
); resultobj
= Py_None
;
20395 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20396 PyObject
*resultobj
;
20397 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20398 wxKeyEvent
*result
;
20399 PyObject
* obj0
= 0 ;
20400 char *kwnames
[] = {
20401 (char *) "self", NULL
20404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
20405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20409 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
20410 result
= (wxKeyEvent
*) &_result_ref
;
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
20423 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
;
20425 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20427 PyObject
* obj0
= 0 ;
20428 char *kwnames
[] = {
20429 (char *) "self", NULL
20432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20436 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20441 resultobj
= PyInt_FromLong((long)result
);
20448 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
;
20450 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20451 wxKeyEvent
*arg2
= 0 ;
20452 PyObject
* obj0
= 0 ;
20453 PyObject
* obj1
= 0 ;
20454 char *kwnames
[] = {
20455 (char *) "self",(char *) "evt", NULL
20458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20460 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20461 if (arg2
== NULL
) {
20462 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
20468 wxPyEndAllowThreads(__tstate
);
20469 if (PyErr_Occurred()) SWIG_fail
;
20471 Py_INCREF(Py_None
); resultobj
= Py_None
;
20478 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20479 PyObject
*resultobj
;
20480 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20482 PyObject
* obj0
= 0 ;
20483 char *kwnames
[] = {
20484 (char *) "self", NULL
20487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
20493 result
= (wxString
*) &_result_ref
;
20496 wxPyEndAllowThreads(__tstate
);
20497 if (PyErr_Occurred()) SWIG_fail
;
20499 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
20506 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20507 PyObject
*resultobj
;
20508 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20509 wxString
*arg2
= 0 ;
20510 bool temp2
= False
;
20511 PyObject
* obj0
= 0 ;
20512 PyObject
* obj1
= 0 ;
20513 char *kwnames
[] = {
20514 (char *) "self",(char *) "label", NULL
20517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20520 arg2
= wxString_in_helper(obj1
);
20521 if (arg2
== NULL
) SWIG_fail
;
20525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20526 (arg1
)->SetLabel((wxString
const &)*arg2
);
20528 wxPyEndAllowThreads(__tstate
);
20529 if (PyErr_Occurred()) SWIG_fail
;
20531 Py_INCREF(Py_None
); resultobj
= Py_None
;
20546 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
;
20548 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20550 PyObject
* obj0
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20564 resultobj
= PyInt_FromLong((long)result
);
20571 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
;
20573 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20575 PyObject
* obj0
= 0 ;
20576 PyObject
* obj1
= 0 ;
20577 char *kwnames
[] = {
20578 (char *) "self",(char *) "editCancelled", NULL
20581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20583 arg2
= PyInt_AsLong(obj1
) ? true : false;
20584 if (PyErr_Occurred()) SWIG_fail
;
20586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20587 (arg1
)->SetEditCanceled(arg2
);
20589 wxPyEndAllowThreads(__tstate
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20592 Py_INCREF(Py_None
); resultobj
= Py_None
;
20599 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20602 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
20604 return Py_BuildValue((char *)"");
20606 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
;
20608 wxWindow
*arg1
= (wxWindow
*) 0 ;
20609 int arg2
= (int) -1 ;
20610 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20611 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20612 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20613 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20614 long arg5
= (long) wxTR_DEFAULT_STYLE
;
20615 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20616 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20617 wxString
const &arg7_defvalue
= wxPy_TreeCtrlNameStr
;
20618 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20619 wxPyTreeCtrl
*result
;
20622 bool temp7
= False
;
20623 PyObject
* obj0
= 0 ;
20624 PyObject
* obj2
= 0 ;
20625 PyObject
* obj3
= 0 ;
20626 PyObject
* obj5
= 0 ;
20627 PyObject
* obj6
= 0 ;
20628 char *kwnames
[] = {
20629 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_TreeCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
20633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20637 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20643 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20647 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20648 if (arg6
== NULL
) {
20649 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20654 arg7
= wxString_in_helper(obj6
);
20655 if (arg7
== NULL
) SWIG_fail
;
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20666 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeCtrl
, 1);
20681 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20682 PyObject
*resultobj
;
20683 wxPyTreeCtrl
*result
;
20684 char *kwnames
[] = {
20688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20691 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
20693 wxPyEndAllowThreads(__tstate
);
20694 if (PyErr_Occurred()) SWIG_fail
;
20696 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeCtrl
, 1);
20703 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20704 PyObject
*resultobj
;
20705 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20706 wxWindow
*arg2
= (wxWindow
*) 0 ;
20707 int arg3
= (int) -1 ;
20708 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20709 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20710 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20711 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20712 long arg6
= (long) wxTR_DEFAULT_STYLE
;
20713 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20714 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20715 wxString
const &arg8_defvalue
= wxPy_TreeCtrlNameStr
;
20716 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20720 bool temp8
= False
;
20721 PyObject
* obj0
= 0 ;
20722 PyObject
* obj1
= 0 ;
20723 PyObject
* obj3
= 0 ;
20724 PyObject
* obj4
= 0 ;
20725 PyObject
* obj6
= 0 ;
20726 PyObject
* obj7
= 0 ;
20727 char *kwnames
[] = {
20728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
20732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20733 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20737 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20743 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20747 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20748 if (arg7
== NULL
) {
20749 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20754 arg8
= wxString_in_helper(obj7
);
20755 if (arg8
== NULL
) SWIG_fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= PyInt_FromLong((long)result
);
20781 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
;
20783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20784 PyObject
*arg2
= (PyObject
*) 0 ;
20785 PyObject
*arg3
= (PyObject
*) 0 ;
20786 PyObject
* obj0
= 0 ;
20787 PyObject
* obj1
= 0 ;
20788 PyObject
* obj2
= 0 ;
20789 char *kwnames
[] = {
20790 (char *) "self",(char *) "self",(char *) "_class", NULL
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 Py_INCREF(Py_None
); resultobj
= Py_None
;
20811 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
;
20813 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20815 PyObject
* obj0
= 0 ;
20816 char *kwnames
[] = {
20817 (char *) "self", NULL
20820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",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
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20829 resultobj
= PyInt_FromLong((long)result
);
20836 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
;
20838 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20839 unsigned int result
;
20840 PyObject
* obj0
= 0 ;
20841 char *kwnames
[] = {
20842 (char *) "self", NULL
20845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
20846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20849 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
20851 wxPyEndAllowThreads(__tstate
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20854 resultobj
= PyInt_FromLong((long)result
);
20861 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20862 PyObject
*resultobj
;
20863 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20864 unsigned int arg2
;
20865 PyObject
* obj0
= 0 ;
20866 PyObject
* obj1
= 0 ;
20867 char *kwnames
[] = {
20868 (char *) "self",(char *) "indent", NULL
20871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
20872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20873 arg2
= (unsigned int) PyInt_AsLong(obj1
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 (arg1
)->SetIndent(arg2
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 Py_INCREF(Py_None
); resultobj
= Py_None
;
20889 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
;
20891 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20892 unsigned int result
;
20893 PyObject
* obj0
= 0 ;
20894 char *kwnames
[] = {
20895 (char *) "self", NULL
20898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
20899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20902 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
20904 wxPyEndAllowThreads(__tstate
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20907 resultobj
= PyInt_FromLong((long)result
);
20914 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20915 PyObject
*resultobj
;
20916 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20917 unsigned int arg2
;
20918 PyObject
* obj0
= 0 ;
20919 PyObject
* obj1
= 0 ;
20920 char *kwnames
[] = {
20921 (char *) "self",(char *) "spacing", NULL
20924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
20925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20926 arg2
= (unsigned int) PyInt_AsLong(obj1
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 (arg1
)->SetSpacing(arg2
);
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20935 Py_INCREF(Py_None
); resultobj
= Py_None
;
20942 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20944 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20945 wxImageList
*result
;
20946 PyObject
* obj0
= 0 ;
20947 char *kwnames
[] = {
20948 (char *) "self", NULL
20951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
20952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20955 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
20957 wxPyEndAllowThreads(__tstate
);
20958 if (PyErr_Occurred()) SWIG_fail
;
20961 resultobj
= wxPyMake_wxObject(result
);
20969 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20970 PyObject
*resultobj
;
20971 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20972 wxImageList
*result
;
20973 PyObject
* obj0
= 0 ;
20974 char *kwnames
[] = {
20975 (char *) "self", NULL
20978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
20979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20982 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
20984 wxPyEndAllowThreads(__tstate
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20988 resultobj
= wxPyMake_wxObject(result
);
20996 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
;
20998 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
20999 wxImageList
*arg2
= (wxImageList
*) 0 ;
21000 PyObject
* obj0
= 0 ;
21001 PyObject
* obj1
= 0 ;
21002 char *kwnames
[] = {
21003 (char *) "self",(char *) "imageList", NULL
21006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21008 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 (arg1
)->SetImageList(arg2
);
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 Py_INCREF(Py_None
); resultobj
= Py_None
;
21023 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21026 wxImageList
*arg2
= (wxImageList
*) 0 ;
21027 PyObject
* obj0
= 0 ;
21028 PyObject
* obj1
= 0 ;
21029 char *kwnames
[] = {
21030 (char *) "self",(char *) "imageList", NULL
21033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21035 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 (arg1
)->SetStateImageList(arg2
);
21040 wxPyEndAllowThreads(__tstate
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21043 Py_INCREF(Py_None
); resultobj
= Py_None
;
21050 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21051 PyObject
*resultobj
;
21052 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21053 wxImageList
*arg2
= (wxImageList
*) 0 ;
21054 PyObject
* obj0
= 0 ;
21055 PyObject
* obj1
= 0 ;
21056 char *kwnames
[] = {
21057 (char *) "self",(char *) "imageList", NULL
21060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21062 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21065 (arg1
)->AssignImageList(arg2
);
21067 wxPyEndAllowThreads(__tstate
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21070 Py_INCREF(Py_None
); resultobj
= Py_None
;
21077 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21078 PyObject
*resultobj
;
21079 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21080 wxImageList
*arg2
= (wxImageList
*) 0 ;
21081 PyObject
* obj0
= 0 ;
21082 PyObject
* obj1
= 0 ;
21083 char *kwnames
[] = {
21084 (char *) "self",(char *) "imageList", NULL
21087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21089 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 (arg1
)->AssignStateImageList(arg2
);
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21097 Py_INCREF(Py_None
); resultobj
= Py_None
;
21104 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
;
21106 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21107 wxTreeItemId
*arg2
= 0 ;
21109 PyObject
* obj0
= 0 ;
21110 PyObject
* obj1
= 0 ;
21111 char *kwnames
[] = {
21112 (char *) "self",(char *) "item", NULL
21115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21118 if (arg2
== NULL
) {
21119 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
21125 wxPyEndAllowThreads(__tstate
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21141 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
;
21143 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21144 wxTreeItemId
*arg2
= 0 ;
21145 int arg3
= (int) wxTreeItemIcon_Normal
;
21147 PyObject
* obj0
= 0 ;
21148 PyObject
* obj1
= 0 ;
21149 char *kwnames
[] = {
21150 (char *) "self",(char *) "item",(char *) "which", NULL
21153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21155 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21156 if (arg2
== NULL
) {
21157 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21166 resultobj
= PyInt_FromLong((long)result
);
21173 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
;
21175 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21176 wxTreeItemId
*arg2
= 0 ;
21177 wxPyTreeItemData
*result
;
21178 PyObject
* obj0
= 0 ;
21179 PyObject
* obj1
= 0 ;
21180 char *kwnames
[] = {
21181 (char *) "self",(char *) "item", NULL
21184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21186 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21187 if (arg2
== NULL
) {
21188 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21192 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21197 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
21204 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
;
21206 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21207 wxTreeItemId
*arg2
= 0 ;
21209 PyObject
* obj0
= 0 ;
21210 PyObject
* obj1
= 0 ;
21211 char *kwnames
[] = {
21212 (char *) "self",(char *) "item", NULL
21215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
21216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21217 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21218 if (arg2
== NULL
) {
21219 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21228 resultobj
= result
;
21235 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21236 PyObject
*resultobj
;
21237 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21238 wxTreeItemId
*arg2
= 0 ;
21240 PyObject
* obj0
= 0 ;
21241 PyObject
* obj1
= 0 ;
21242 char *kwnames
[] = {
21243 (char *) "self",(char *) "item", NULL
21246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21248 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21249 if (arg2
== NULL
) {
21250 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21260 wxColour
* resultptr
;
21261 resultptr
= new wxColour((wxColour
&) result
);
21262 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21270 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21271 PyObject
*resultobj
;
21272 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21273 wxTreeItemId
*arg2
= 0 ;
21275 PyObject
* obj0
= 0 ;
21276 PyObject
* obj1
= 0 ;
21277 char *kwnames
[] = {
21278 (char *) "self",(char *) "item", NULL
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21283 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21284 if (arg2
== NULL
) {
21285 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
21291 wxPyEndAllowThreads(__tstate
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21295 wxColour
* resultptr
;
21296 resultptr
= new wxColour((wxColour
&) result
);
21297 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21305 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21306 PyObject
*resultobj
;
21307 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21308 wxTreeItemId
*arg2
= 0 ;
21310 PyObject
* obj0
= 0 ;
21311 PyObject
* obj1
= 0 ;
21312 char *kwnames
[] = {
21313 (char *) "self",(char *) "item", NULL
21316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21318 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21319 if (arg2
== NULL
) {
21320 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21330 wxFont
* resultptr
;
21331 resultptr
= new wxFont((wxFont
&) result
);
21332 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
21340 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
;
21342 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21343 wxTreeItemId
*arg2
= 0 ;
21344 wxString
*arg3
= 0 ;
21345 bool temp3
= False
;
21346 PyObject
* obj0
= 0 ;
21347 PyObject
* obj1
= 0 ;
21348 PyObject
* obj2
= 0 ;
21349 char *kwnames
[] = {
21350 (char *) "self",(char *) "item",(char *) "text", NULL
21353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21355 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21356 if (arg2
== NULL
) {
21357 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21360 arg3
= wxString_in_helper(obj2
);
21361 if (arg3
== NULL
) SWIG_fail
;
21365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21366 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
21368 wxPyEndAllowThreads(__tstate
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21371 Py_INCREF(Py_None
); resultobj
= Py_None
;
21386 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21387 PyObject
*resultobj
;
21388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21389 wxTreeItemId
*arg2
= 0 ;
21391 int arg4
= (int) wxTreeItemIcon_Normal
;
21392 PyObject
* obj0
= 0 ;
21393 PyObject
* obj1
= 0 ;
21394 char *kwnames
[] = {
21395 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
21399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21400 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21401 if (arg2
== NULL
) {
21402 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
21408 wxPyEndAllowThreads(__tstate
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21411 Py_INCREF(Py_None
); resultobj
= Py_None
;
21418 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21421 wxTreeItemId
*arg2
= 0 ;
21422 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
21423 PyObject
* obj0
= 0 ;
21424 PyObject
* obj1
= 0 ;
21425 PyObject
* obj2
= 0 ;
21426 char *kwnames
[] = {
21427 (char *) "self",(char *) "item",(char *) "data", NULL
21430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21432 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21433 if (arg2
== NULL
) {
21434 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21436 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21444 Py_INCREF(Py_None
); resultobj
= Py_None
;
21451 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21452 PyObject
*resultobj
;
21453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21454 wxTreeItemId
*arg2
= 0 ;
21455 PyObject
*arg3
= (PyObject
*) 0 ;
21456 PyObject
* obj0
= 0 ;
21457 PyObject
* obj1
= 0 ;
21458 PyObject
* obj2
= 0 ;
21459 char *kwnames
[] = {
21460 (char *) "self",(char *) "item",(char *) "obj", NULL
21463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21465 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21466 if (arg2
== NULL
) {
21467 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21474 wxPyEndAllowThreads(__tstate
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21477 Py_INCREF(Py_None
); resultobj
= Py_None
;
21484 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21485 PyObject
*resultobj
;
21486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21487 wxTreeItemId
*arg2
= 0 ;
21488 bool arg3
= (bool) True
;
21489 PyObject
* obj0
= 0 ;
21490 PyObject
* obj1
= 0 ;
21491 PyObject
* obj2
= 0 ;
21492 char *kwnames
[] = {
21493 (char *) "self",(char *) "item",(char *) "has", NULL
21496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21498 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21499 if (arg2
== NULL
) {
21500 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21503 arg3
= PyInt_AsLong(obj2
) ? true : false;
21504 if (PyErr_Occurred()) SWIG_fail
;
21507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21508 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
21510 wxPyEndAllowThreads(__tstate
);
21511 if (PyErr_Occurred()) SWIG_fail
;
21513 Py_INCREF(Py_None
); resultobj
= Py_None
;
21520 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21521 PyObject
*resultobj
;
21522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21523 wxTreeItemId
*arg2
= 0 ;
21524 bool arg3
= (bool) True
;
21525 PyObject
* obj0
= 0 ;
21526 PyObject
* obj1
= 0 ;
21527 PyObject
* obj2
= 0 ;
21528 char *kwnames
[] = {
21529 (char *) "self",(char *) "item",(char *) "bold", NULL
21532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21534 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21535 if (arg2
== NULL
) {
21536 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21539 arg3
= PyInt_AsLong(obj2
) ? true : false;
21540 if (PyErr_Occurred()) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 Py_INCREF(Py_None
); resultobj
= Py_None
;
21556 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
;
21558 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21559 wxTreeItemId
*arg2
= 0 ;
21560 bool arg3
= (bool) True
;
21561 PyObject
* obj0
= 0 ;
21562 PyObject
* obj1
= 0 ;
21563 PyObject
* obj2
= 0 ;
21564 char *kwnames
[] = {
21565 (char *) "self",(char *) "item",(char *) "highlight", NULL
21568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21570 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21571 if (arg2
== NULL
) {
21572 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21575 arg3
= PyInt_AsLong(obj2
) ? true : false;
21576 if (PyErr_Occurred()) SWIG_fail
;
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
21582 wxPyEndAllowThreads(__tstate
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21585 Py_INCREF(Py_None
); resultobj
= Py_None
;
21592 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
;
21594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21595 wxTreeItemId
*arg2
= 0 ;
21596 wxColour
*arg3
= 0 ;
21598 PyObject
* obj0
= 0 ;
21599 PyObject
* obj1
= 0 ;
21600 PyObject
* obj2
= 0 ;
21601 char *kwnames
[] = {
21602 (char *) "self",(char *) "item",(char *) "col", NULL
21605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21608 if (arg2
== NULL
) {
21609 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21613 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
21619 wxPyEndAllowThreads(__tstate
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21622 Py_INCREF(Py_None
); resultobj
= Py_None
;
21629 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21630 PyObject
*resultobj
;
21631 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21632 wxTreeItemId
*arg2
= 0 ;
21633 wxColour
*arg3
= 0 ;
21635 PyObject
* obj0
= 0 ;
21636 PyObject
* obj1
= 0 ;
21637 PyObject
* obj2
= 0 ;
21638 char *kwnames
[] = {
21639 (char *) "self",(char *) "item",(char *) "col", NULL
21642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21645 if (arg2
== NULL
) {
21646 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21650 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 Py_INCREF(Py_None
); resultobj
= Py_None
;
21666 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
;
21668 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21669 wxTreeItemId
*arg2
= 0 ;
21671 PyObject
* obj0
= 0 ;
21672 PyObject
* obj1
= 0 ;
21673 PyObject
* obj2
= 0 ;
21674 char *kwnames
[] = {
21675 (char *) "self",(char *) "item",(char *) "font", NULL
21678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21680 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21681 if (arg2
== NULL
) {
21682 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21684 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21685 if (arg3
== NULL
) {
21686 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21690 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
21692 wxPyEndAllowThreads(__tstate
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21695 Py_INCREF(Py_None
); resultobj
= Py_None
;
21702 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
;
21704 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21705 wxTreeItemId
*arg2
= 0 ;
21707 PyObject
* obj0
= 0 ;
21708 PyObject
* obj1
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self",(char *) "item", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21715 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21716 if (arg2
== NULL
) {
21717 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21721 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21726 resultobj
= PyInt_FromLong((long)result
);
21733 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21734 PyObject
*resultobj
;
21735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21736 wxTreeItemId
*arg2
= 0 ;
21738 PyObject
* obj0
= 0 ;
21739 PyObject
* obj1
= 0 ;
21740 char *kwnames
[] = {
21741 (char *) "self",(char *) "item", NULL
21744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
21745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21746 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21747 if (arg2
== NULL
) {
21748 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21752 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21757 resultobj
= PyInt_FromLong((long)result
);
21764 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21765 PyObject
*resultobj
;
21766 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21767 wxTreeItemId
*arg2
= 0 ;
21769 PyObject
* obj0
= 0 ;
21770 PyObject
* obj1
= 0 ;
21771 char *kwnames
[] = {
21772 (char *) "self",(char *) "item", NULL
21775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
21776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21777 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21778 if (arg2
== NULL
) {
21779 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21783 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 resultobj
= PyInt_FromLong((long)result
);
21795 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21796 PyObject
*resultobj
;
21797 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21798 wxTreeItemId
*arg2
= 0 ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self",(char *) "item", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
21807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21808 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21809 if (arg2
== NULL
) {
21810 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= PyInt_FromLong((long)result
);
21826 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21827 PyObject
*resultobj
;
21828 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21829 wxTreeItemId
*arg2
= 0 ;
21831 PyObject
* obj0
= 0 ;
21832 PyObject
* obj1
= 0 ;
21833 char *kwnames
[] = {
21834 (char *) "self",(char *) "item", NULL
21837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
21838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21839 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21840 if (arg2
== NULL
) {
21841 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
21847 wxPyEndAllowThreads(__tstate
);
21848 if (PyErr_Occurred()) SWIG_fail
;
21850 resultobj
= PyInt_FromLong((long)result
);
21857 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21858 PyObject
*resultobj
;
21859 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21860 wxTreeItemId
*arg2
= 0 ;
21861 bool arg3
= (bool) True
;
21863 PyObject
* obj0
= 0 ;
21864 PyObject
* obj1
= 0 ;
21865 PyObject
* obj2
= 0 ;
21866 char *kwnames
[] = {
21867 (char *) "self",(char *) "item",(char *) "recursively", NULL
21870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21872 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21873 if (arg2
== NULL
) {
21874 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21877 arg3
= PyInt_AsLong(obj2
) ? true : false;
21878 if (PyErr_Occurred()) SWIG_fail
;
21881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21882 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= PyInt_FromLong((long)result
);
21894 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21895 PyObject
*resultobj
;
21896 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21897 wxTreeItemId result
;
21898 PyObject
* obj0
= 0 ;
21899 char *kwnames
[] = {
21900 (char *) "self", NULL
21903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
21904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21913 wxTreeItemId
* resultptr
;
21914 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21915 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21923 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21924 PyObject
*resultobj
;
21925 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21926 wxTreeItemId result
;
21927 PyObject
* obj0
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
21933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21942 wxTreeItemId
* resultptr
;
21943 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
21944 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
21952 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21953 PyObject
*resultobj
;
21954 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21956 PyObject
* obj0
= 0 ;
21957 char *kwnames
[] = {
21958 (char *) "self", NULL
21961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
21962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21965 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
21967 wxPyEndAllowThreads(__tstate
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21970 resultobj
= result
;
21977 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21978 PyObject
*resultobj
;
21979 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21980 wxTreeItemId
*arg2
= 0 ;
21981 wxTreeItemId result
;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 char *kwnames
[] = {
21985 (char *) "self",(char *) "item", NULL
21988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
21989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21990 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21991 if (arg2
== NULL
) {
21992 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21996 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
21998 wxPyEndAllowThreads(__tstate
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22002 wxTreeItemId
* resultptr
;
22003 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22004 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22012 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22013 PyObject
*resultobj
;
22014 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22015 wxTreeItemId
*arg2
= 0 ;
22017 PyObject
* obj0
= 0 ;
22018 PyObject
* obj1
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self",(char *) "item", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22025 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22026 if (arg2
== NULL
) {
22027 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 resultobj
= result
;
22043 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
;
22045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22046 wxTreeItemId
*arg2
= 0 ;
22047 wxTreeItemIdValue
*arg3
= 0 ;
22049 PyObject
* obj0
= 0 ;
22050 PyObject
* obj1
= 0 ;
22051 PyObject
* obj2
= 0 ;
22052 char *kwnames
[] = {
22053 (char *) "self",(char *) "item",(char *) "cookie", NULL
22056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22058 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22059 if (arg2
== NULL
) {
22060 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22062 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemIdValue
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22063 if (arg3
== NULL
) {
22064 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22068 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,*arg3
);
22070 wxPyEndAllowThreads(__tstate
);
22071 if (PyErr_Occurred()) SWIG_fail
;
22073 resultobj
= result
;
22080 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22081 PyObject
*resultobj
;
22082 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22083 wxTreeItemId
*arg2
= 0 ;
22084 wxTreeItemId result
;
22085 PyObject
* obj0
= 0 ;
22086 PyObject
* obj1
= 0 ;
22087 char *kwnames
[] = {
22088 (char *) "self",(char *) "item", NULL
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22093 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22094 if (arg2
== NULL
) {
22095 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22105 wxTreeItemId
* resultptr
;
22106 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22107 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22115 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
;
22117 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22118 wxTreeItemId
*arg2
= 0 ;
22119 wxTreeItemId result
;
22120 PyObject
* obj0
= 0 ;
22121 PyObject
* obj1
= 0 ;
22122 char *kwnames
[] = {
22123 (char *) "self",(char *) "item", NULL
22126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22128 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22129 if (arg2
== NULL
) {
22130 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22134 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
22136 wxPyEndAllowThreads(__tstate
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22140 wxTreeItemId
* resultptr
;
22141 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22142 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22150 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22151 PyObject
*resultobj
;
22152 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22153 wxTreeItemId
*arg2
= 0 ;
22154 wxTreeItemId result
;
22155 PyObject
* obj0
= 0 ;
22156 PyObject
* obj1
= 0 ;
22157 char *kwnames
[] = {
22158 (char *) "self",(char *) "item", NULL
22161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22163 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22164 if (arg2
== NULL
) {
22165 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22169 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22175 wxTreeItemId
* resultptr
;
22176 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22177 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22185 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22186 PyObject
*resultobj
;
22187 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22188 wxTreeItemId result
;
22189 PyObject
* obj0
= 0 ;
22190 char *kwnames
[] = {
22191 (char *) "self", NULL
22194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
22195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22204 wxTreeItemId
* resultptr
;
22205 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22206 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22214 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22215 PyObject
*resultobj
;
22216 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22217 wxTreeItemId
*arg2
= 0 ;
22218 wxTreeItemId result
;
22219 PyObject
* obj0
= 0 ;
22220 PyObject
* obj1
= 0 ;
22221 char *kwnames
[] = {
22222 (char *) "self",(char *) "item", NULL
22225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22227 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22228 if (arg2
== NULL
) {
22229 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22233 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
22235 wxPyEndAllowThreads(__tstate
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22239 wxTreeItemId
* resultptr
;
22240 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22241 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22249 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22250 PyObject
*resultobj
;
22251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22252 wxTreeItemId
*arg2
= 0 ;
22253 wxTreeItemId result
;
22254 PyObject
* obj0
= 0 ;
22255 PyObject
* obj1
= 0 ;
22256 char *kwnames
[] = {
22257 (char *) "self",(char *) "item", NULL
22260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22262 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22263 if (arg2
== NULL
) {
22264 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22268 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
22270 wxPyEndAllowThreads(__tstate
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22274 wxTreeItemId
* resultptr
;
22275 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22276 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22284 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22285 PyObject
*resultobj
;
22286 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22287 wxString
*arg2
= 0 ;
22288 int arg3
= (int) -1 ;
22289 int arg4
= (int) -1 ;
22290 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
22291 wxTreeItemId result
;
22292 bool temp2
= False
;
22293 PyObject
* obj0
= 0 ;
22294 PyObject
* obj1
= 0 ;
22295 PyObject
* obj4
= 0 ;
22296 char *kwnames
[] = {
22297 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
22301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22303 arg2
= wxString_in_helper(obj1
);
22304 if (arg2
== NULL
) SWIG_fail
;
22308 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22318 wxTreeItemId
* resultptr
;
22319 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22320 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22336 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
;
22338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22339 wxTreeItemId
*arg2
= 0 ;
22340 wxString
*arg3
= 0 ;
22341 int arg4
= (int) -1 ;
22342 int arg5
= (int) -1 ;
22343 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22344 wxTreeItemId result
;
22345 bool temp3
= False
;
22346 PyObject
* obj0
= 0 ;
22347 PyObject
* obj1
= 0 ;
22348 PyObject
* obj2
= 0 ;
22349 PyObject
* obj5
= 0 ;
22350 char *kwnames
[] = {
22351 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22356 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22357 if (arg2
== NULL
) {
22358 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22361 arg3
= wxString_in_helper(obj2
);
22362 if (arg3
== NULL
) SWIG_fail
;
22366 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22372 wxPyEndAllowThreads(__tstate
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22376 wxTreeItemId
* resultptr
;
22377 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22378 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22394 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22397 wxTreeItemId
*arg2
= 0 ;
22398 wxTreeItemId
*arg3
= 0 ;
22399 wxString
*arg4
= 0 ;
22400 int arg5
= (int) -1 ;
22401 int arg6
= (int) -1 ;
22402 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22403 wxTreeItemId result
;
22404 bool temp4
= False
;
22405 PyObject
* obj0
= 0 ;
22406 PyObject
* obj1
= 0 ;
22407 PyObject
* obj2
= 0 ;
22408 PyObject
* obj3
= 0 ;
22409 PyObject
* obj6
= 0 ;
22410 char *kwnames
[] = {
22411 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22416 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22417 if (arg2
== NULL
) {
22418 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22420 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22421 if (arg3
== NULL
) {
22422 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22425 arg4
= wxString_in_helper(obj3
);
22426 if (arg4
== NULL
) SWIG_fail
;
22430 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22440 wxTreeItemId
* resultptr
;
22441 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22442 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22458 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22459 PyObject
*resultobj
;
22460 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22461 wxTreeItemId
*arg2
= 0 ;
22463 wxString
*arg4
= 0 ;
22464 int arg5
= (int) -1 ;
22465 int arg6
= (int) -1 ;
22466 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22467 wxTreeItemId result
;
22468 bool temp4
= False
;
22469 PyObject
* obj0
= 0 ;
22470 PyObject
* obj1
= 0 ;
22471 PyObject
* obj2
= 0 ;
22472 PyObject
* obj3
= 0 ;
22473 PyObject
* obj6
= 0 ;
22474 char *kwnames
[] = {
22475 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22480 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22481 if (arg2
== NULL
) {
22482 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22484 arg3
= (size_t) PyInt_AsLong(obj2
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22487 arg4
= wxString_in_helper(obj3
);
22488 if (arg4
== NULL
) SWIG_fail
;
22492 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22502 wxTreeItemId
* resultptr
;
22503 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22504 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22520 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22521 PyObject
*resultobj
;
22522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22523 wxTreeItemId
*arg2
= 0 ;
22524 wxString
*arg3
= 0 ;
22525 int arg4
= (int) -1 ;
22526 int arg5
= (int) -1 ;
22527 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22528 wxTreeItemId result
;
22529 bool temp3
= False
;
22530 PyObject
* obj0
= 0 ;
22531 PyObject
* obj1
= 0 ;
22532 PyObject
* obj2
= 0 ;
22533 PyObject
* obj5
= 0 ;
22534 char *kwnames
[] = {
22535 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22540 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22541 if (arg2
== NULL
) {
22542 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22545 arg3
= wxString_in_helper(obj2
);
22546 if (arg3
== NULL
) SWIG_fail
;
22550 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22554 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22556 wxPyEndAllowThreads(__tstate
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22560 wxTreeItemId
* resultptr
;
22561 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22562 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22578 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22579 PyObject
*resultobj
;
22580 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22581 wxTreeItemId
*arg2
= 0 ;
22582 PyObject
* obj0
= 0 ;
22583 PyObject
* obj1
= 0 ;
22584 char *kwnames
[] = {
22585 (char *) "self",(char *) "item", NULL
22588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
22589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22590 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22591 if (arg2
== NULL
) {
22592 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22601 Py_INCREF(Py_None
); resultobj
= Py_None
;
22608 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22611 wxTreeItemId
*arg2
= 0 ;
22612 PyObject
* obj0
= 0 ;
22613 PyObject
* obj1
= 0 ;
22614 char *kwnames
[] = {
22615 (char *) "self",(char *) "item", NULL
22618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22620 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22621 if (arg2
== NULL
) {
22622 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22626 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
22628 wxPyEndAllowThreads(__tstate
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22631 Py_INCREF(Py_None
); resultobj
= Py_None
;
22638 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22639 PyObject
*resultobj
;
22640 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22641 PyObject
* obj0
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "self", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22650 (arg1
)->DeleteAllItems();
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 Py_INCREF(Py_None
); resultobj
= Py_None
;
22662 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
;
22664 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22665 wxTreeItemId
*arg2
= 0 ;
22666 PyObject
* obj0
= 0 ;
22667 PyObject
* obj1
= 0 ;
22668 char *kwnames
[] = {
22669 (char *) "self",(char *) "item", NULL
22672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
22673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22674 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22675 if (arg2
== NULL
) {
22676 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22680 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
22682 wxPyEndAllowThreads(__tstate
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 Py_INCREF(Py_None
); resultobj
= Py_None
;
22692 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22693 PyObject
*resultobj
;
22694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22695 wxTreeItemId
*arg2
= 0 ;
22696 PyObject
* obj0
= 0 ;
22697 PyObject
* obj1
= 0 ;
22698 char *kwnames
[] = {
22699 (char *) "self",(char *) "item", NULL
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
22703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22704 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22705 if (arg2
== NULL
) {
22706 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22715 Py_INCREF(Py_None
); resultobj
= Py_None
;
22722 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22723 PyObject
*resultobj
;
22724 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22725 wxTreeItemId
*arg2
= 0 ;
22726 PyObject
* obj0
= 0 ;
22727 PyObject
* obj1
= 0 ;
22728 char *kwnames
[] = {
22729 (char *) "self",(char *) "item", NULL
22732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
22733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22734 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22735 if (arg2
== NULL
) {
22736 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 Py_INCREF(Py_None
); resultobj
= Py_None
;
22752 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
;
22754 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22755 wxTreeItemId
*arg2
= 0 ;
22756 PyObject
* obj0
= 0 ;
22757 PyObject
* obj1
= 0 ;
22758 char *kwnames
[] = {
22759 (char *) "self",(char *) "item", NULL
22762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
22763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22765 if (arg2
== NULL
) {
22766 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22770 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 Py_INCREF(Py_None
); resultobj
= Py_None
;
22782 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
;
22784 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22785 PyObject
* obj0
= 0 ;
22786 char *kwnames
[] = {
22787 (char *) "self", NULL
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
22791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 (arg1
)->Unselect();
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 Py_INCREF(Py_None
); resultobj
= Py_None
;
22806 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22808 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22809 PyObject
* obj0
= 0 ;
22810 char *kwnames
[] = {
22811 (char *) "self", NULL
22814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
22815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 (arg1
)->UnselectAll();
22820 wxPyEndAllowThreads(__tstate
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22823 Py_INCREF(Py_None
); resultobj
= Py_None
;
22830 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22831 PyObject
*resultobj
;
22832 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22833 wxTreeItemId
*arg2
= 0 ;
22834 PyObject
* obj0
= 0 ;
22835 PyObject
* obj1
= 0 ;
22836 char *kwnames
[] = {
22837 (char *) "self",(char *) "item", NULL
22840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22842 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22843 if (arg2
== NULL
) {
22844 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 Py_INCREF(Py_None
); resultobj
= Py_None
;
22860 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22861 PyObject
*resultobj
;
22862 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22863 wxTreeItemId
*arg2
= 0 ;
22864 PyObject
* obj0
= 0 ;
22865 PyObject
* obj1
= 0 ;
22866 char *kwnames
[] = {
22867 (char *) "self",(char *) "item", NULL
22870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22872 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22873 if (arg2
== NULL
) {
22874 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 Py_INCREF(Py_None
); resultobj
= Py_None
;
22890 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22891 PyObject
*resultobj
;
22892 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22893 wxTreeItemId
*arg2
= 0 ;
22894 PyObject
* obj0
= 0 ;
22895 PyObject
* obj1
= 0 ;
22896 char *kwnames
[] = {
22897 (char *) "self",(char *) "item", NULL
22900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22902 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22903 if (arg2
== NULL
) {
22904 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 Py_INCREF(Py_None
); resultobj
= Py_None
;
22920 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
;
22922 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22923 wxTreeItemId
*arg2
= 0 ;
22924 PyObject
* obj0
= 0 ;
22925 PyObject
* obj1
= 0 ;
22926 char *kwnames
[] = {
22927 (char *) "self",(char *) "item", NULL
22930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22933 if (arg2
== NULL
) {
22934 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 Py_INCREF(Py_None
); resultobj
= Py_None
;
22950 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
;
22952 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22953 wxTextCtrl
*result
;
22954 PyObject
* obj0
= 0 ;
22955 char *kwnames
[] = {
22956 (char *) "self", NULL
22959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
22960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= wxPyMake_wxObject(result
);
22977 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
;
22979 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22980 wxTreeItemId
*arg2
= 0 ;
22981 bool arg3
= (bool) False
;
22982 PyObject
* obj0
= 0 ;
22983 PyObject
* obj1
= 0 ;
22984 PyObject
* obj2
= 0 ;
22985 char *kwnames
[] = {
22986 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22991 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22992 if (arg2
== NULL
) {
22993 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22996 arg3
= PyInt_AsLong(obj2
) ? true : false;
22997 if (PyErr_Occurred()) SWIG_fail
;
23000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23001 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
23003 wxPyEndAllowThreads(__tstate
);
23004 if (PyErr_Occurred()) SWIG_fail
;
23006 Py_INCREF(Py_None
); resultobj
= Py_None
;
23013 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23014 PyObject
*resultobj
;
23015 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23016 wxTreeItemId
*arg2
= 0 ;
23017 PyObject
* obj0
= 0 ;
23018 PyObject
* obj1
= 0 ;
23019 char *kwnames
[] = {
23020 (char *) "self",(char *) "item", NULL
23023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
23024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23025 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23026 if (arg2
== NULL
) {
23027 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 Py_INCREF(Py_None
); resultobj
= Py_None
;
23043 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
;
23045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23046 wxPoint
*arg2
= 0 ;
23048 wxTreeItemId result
;
23051 PyObject
* obj0
= 0 ;
23052 PyObject
* obj1
= 0 ;
23053 char *kwnames
[] = {
23054 (char *) "self",(char *) "point", NULL
23058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23062 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23072 wxTreeItemId
* resultptr
;
23073 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23074 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23077 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23078 resultobj
= t_output_helper(resultobj
,o
);
23086 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
;
23088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23089 wxTreeItemId
*arg2
= 0 ;
23090 bool arg3
= (bool) False
;
23092 PyObject
* obj0
= 0 ;
23093 PyObject
* obj1
= 0 ;
23094 PyObject
* obj2
= 0 ;
23095 char *kwnames
[] = {
23096 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23101 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23102 if (arg2
== NULL
) {
23103 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23106 arg3
= PyInt_AsLong(obj2
) ? true : false;
23107 if (PyErr_Occurred()) SWIG_fail
;
23110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23111 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
23113 wxPyEndAllowThreads(__tstate
);
23114 if (PyErr_Occurred()) SWIG_fail
;
23116 resultobj
= result
;
23123 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23126 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
23128 return Py_BuildValue((char *)"");
23130 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
;
23132 wxWindow
*arg1
= (wxWindow
*) 0 ;
23133 int arg2
= (int) (int)-1 ;
23134 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
23135 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23136 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23137 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23138 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23139 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23140 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23141 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23142 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23143 int arg8
= (int) 0 ;
23144 wxString
const &arg9_defvalue
= wxPy_TreeCtrlNameStr
;
23145 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23146 wxGenericDirCtrl
*result
;
23147 bool temp3
= False
;
23150 bool temp7
= False
;
23151 bool temp9
= False
;
23152 PyObject
* obj0
= 0 ;
23153 PyObject
* obj2
= 0 ;
23154 PyObject
* obj3
= 0 ;
23155 PyObject
* obj4
= 0 ;
23156 PyObject
* obj6
= 0 ;
23157 PyObject
* obj8
= 0 ;
23158 char *kwnames
[] = {
23159 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&obj8
)) goto fail
;
23163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23166 arg3
= wxString_in_helper(obj2
);
23167 if (arg3
== NULL
) SWIG_fail
;
23174 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23180 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23185 arg7
= wxString_in_helper(obj6
);
23186 if (arg7
== NULL
) SWIG_fail
;
23192 arg9
= wxString_in_helper(obj8
);
23193 if (arg9
== NULL
) SWIG_fail
;
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
23201 wxPyEndAllowThreads(__tstate
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23235 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23236 PyObject
*resultobj
;
23237 wxGenericDirCtrl
*result
;
23238 char *kwnames
[] = {
23242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23250 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23257 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23258 PyObject
*resultobj
;
23259 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23260 wxWindow
*arg2
= (wxWindow
*) 0 ;
23261 int arg3
= (int) (int)-1 ;
23262 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
23263 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23264 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23265 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23266 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23267 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23268 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23269 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23270 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23271 int arg9
= (int) 0 ;
23272 wxString
const &arg10_defvalue
= wxPy_TreeCtrlNameStr
;
23273 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
23275 bool temp4
= False
;
23278 bool temp8
= False
;
23279 bool temp10
= False
;
23280 PyObject
* obj0
= 0 ;
23281 PyObject
* obj1
= 0 ;
23282 PyObject
* obj3
= 0 ;
23283 PyObject
* obj4
= 0 ;
23284 PyObject
* obj5
= 0 ;
23285 PyObject
* obj7
= 0 ;
23286 PyObject
* obj9
= 0 ;
23287 char *kwnames
[] = {
23288 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&arg9
,&obj9
)) goto fail
;
23292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23293 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23296 arg4
= wxString_in_helper(obj3
);
23297 if (arg4
== NULL
) SWIG_fail
;
23304 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23310 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23315 arg8
= wxString_in_helper(obj7
);
23316 if (arg8
== NULL
) SWIG_fail
;
23322 arg10
= wxString_in_helper(obj9
);
23323 if (arg10
== NULL
) SWIG_fail
;
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23334 resultobj
= PyInt_FromLong((long)result
);
23365 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23366 PyObject
*resultobj
;
23367 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23368 wxString
*arg2
= 0 ;
23370 bool temp2
= False
;
23371 PyObject
* obj0
= 0 ;
23372 PyObject
* obj1
= 0 ;
23373 char *kwnames
[] = {
23374 (char *) "self",(char *) "path", NULL
23377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23380 arg2
= wxString_in_helper(obj1
);
23381 if (arg2
== NULL
) SWIG_fail
;
23385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23386 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
23388 wxPyEndAllowThreads(__tstate
);
23389 if (PyErr_Occurred()) SWIG_fail
;
23391 resultobj
= PyInt_FromLong((long)result
);
23406 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23407 PyObject
*resultobj
;
23408 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23410 PyObject
* obj0
= 0 ;
23411 char *kwnames
[] = {
23412 (char *) "self", NULL
23415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
23416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
23421 wxPyEndAllowThreads(__tstate
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23437 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23438 PyObject
*resultobj
;
23439 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23440 wxString
*arg2
= 0 ;
23441 bool temp2
= False
;
23442 PyObject
* obj0
= 0 ;
23443 PyObject
* obj1
= 0 ;
23444 char *kwnames
[] = {
23445 (char *) "self",(char *) "path", NULL
23448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23451 arg2
= wxString_in_helper(obj1
);
23452 if (arg2
== NULL
) SWIG_fail
;
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
23459 wxPyEndAllowThreads(__tstate
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23462 Py_INCREF(Py_None
); resultobj
= Py_None
;
23477 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23478 PyObject
*resultobj
;
23479 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23481 PyObject
* obj0
= 0 ;
23482 char *kwnames
[] = {
23483 (char *) "self", NULL
23486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
23487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23508 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
;
23510 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23512 PyObject
* obj0
= 0 ;
23513 char *kwnames
[] = {
23514 (char *) "self", NULL
23517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
23518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23539 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23540 PyObject
*resultobj
;
23541 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23542 wxString
*arg2
= 0 ;
23543 bool temp2
= False
;
23544 PyObject
* obj0
= 0 ;
23545 PyObject
* obj1
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "self",(char *) "path", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23553 arg2
= wxString_in_helper(obj1
);
23554 if (arg2
== NULL
) SWIG_fail
;
23558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 (arg1
)->SetPath((wxString
const &)*arg2
);
23561 wxPyEndAllowThreads(__tstate
);
23562 if (PyErr_Occurred()) SWIG_fail
;
23564 Py_INCREF(Py_None
); resultobj
= Py_None
;
23579 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
;
23581 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23583 PyObject
* obj0
= 0 ;
23584 PyObject
* obj1
= 0 ;
23585 char *kwnames
[] = {
23586 (char *) "self",(char *) "show", NULL
23589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
23590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23591 arg2
= PyInt_AsLong(obj1
) ? true : false;
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 (arg1
)->ShowHidden(arg2
);
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23600 Py_INCREF(Py_None
); resultobj
= Py_None
;
23607 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(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_GetShowHidden",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
= (bool)(arg1
)->GetShowHidden();
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23625 resultobj
= PyInt_FromLong((long)result
);
23632 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23633 PyObject
*resultobj
;
23634 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23636 PyObject
* obj0
= 0 ;
23637 char *kwnames
[] = {
23638 (char *) "self", NULL
23641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
23642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23663 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23664 PyObject
*resultobj
;
23665 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23666 wxString
*arg2
= 0 ;
23667 bool temp2
= False
;
23668 PyObject
* obj0
= 0 ;
23669 PyObject
* obj1
= 0 ;
23670 char *kwnames
[] = {
23671 (char *) "self",(char *) "filter", NULL
23674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
23675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23677 arg2
= wxString_in_helper(obj1
);
23678 if (arg2
== NULL
) SWIG_fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 (arg1
)->SetFilter((wxString
const &)*arg2
);
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 Py_INCREF(Py_None
); resultobj
= Py_None
;
23703 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23704 PyObject
*resultobj
;
23705 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23707 PyObject
* obj0
= 0 ;
23708 char *kwnames
[] = {
23709 (char *) "self", NULL
23712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
23713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 resultobj
= PyInt_FromLong((long)result
);
23728 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
;
23730 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23732 PyObject
* obj0
= 0 ;
23733 char *kwnames
[] = {
23734 (char *) "self",(char *) "n", NULL
23737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
23738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 (arg1
)->SetFilterIndex(arg2
);
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 Py_INCREF(Py_None
); resultobj
= Py_None
;
23753 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23756 wxTreeItemId result
;
23757 PyObject
* obj0
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
23763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 result
= (arg1
)->GetRootId();
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23772 wxTreeItemId
* resultptr
;
23773 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23774 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23782 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23783 PyObject
*resultobj
;
23784 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23785 wxTreeCtrl
*result
;
23786 PyObject
* obj0
= 0 ;
23787 char *kwnames
[] = {
23788 (char *) "self", NULL
23791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
23792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 result
= (wxTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= wxPyMake_wxObject(result
);
23809 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
;
23811 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23812 wxDirFilterListCtrl
*result
;
23813 PyObject
* obj0
= 0 ;
23814 char *kwnames
[] = {
23815 (char *) "self", NULL
23818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
23819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
23824 wxPyEndAllowThreads(__tstate
);
23825 if (PyErr_Occurred()) SWIG_fail
;
23827 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
23834 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23835 PyObject
*resultobj
;
23836 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23837 wxTreeItemId arg2
;
23838 wxString
*arg3
= 0 ;
23840 wxTreeItemId result
;
23841 wxTreeItemId
*argp2
;
23842 bool temp3
= False
;
23844 PyObject
* obj0
= 0 ;
23845 PyObject
* obj1
= 0 ;
23846 PyObject
* obj2
= 0 ;
23847 char *kwnames
[] = {
23848 (char *) "self",(char *) "parentId",(char *) "path", NULL
23852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23854 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
23857 arg3
= wxString_in_helper(obj2
);
23858 if (arg3
== NULL
) SWIG_fail
;
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23869 wxTreeItemId
* resultptr
;
23870 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23871 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23874 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
23875 resultobj
= t_output_helper(resultobj
,o
);
23891 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23892 PyObject
*resultobj
;
23893 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23894 PyObject
* obj0
= 0 ;
23895 char *kwnames
[] = {
23896 (char *) "self", NULL
23899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
23900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23903 (arg1
)->DoResize();
23905 wxPyEndAllowThreads(__tstate
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23908 Py_INCREF(Py_None
); resultobj
= Py_None
;
23915 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23916 PyObject
*resultobj
;
23917 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23918 PyObject
* obj0
= 0 ;
23919 char *kwnames
[] = {
23920 (char *) "self", NULL
23923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
23924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23927 (arg1
)->ReCreateTree();
23929 wxPyEndAllowThreads(__tstate
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23932 Py_INCREF(Py_None
); resultobj
= Py_None
;
23939 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23942 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
23944 return Py_BuildValue((char *)"");
23946 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23947 PyObject
*resultobj
;
23948 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23949 int arg2
= (int) (int)-1 ;
23950 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23951 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23952 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23953 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23954 long arg5
= (long) 0 ;
23955 wxDirFilterListCtrl
*result
;
23958 PyObject
* obj0
= 0 ;
23959 PyObject
* obj2
= 0 ;
23960 PyObject
* obj3
= 0 ;
23961 char *kwnames
[] = {
23962 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
23966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23970 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23976 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
23983 wxPyEndAllowThreads(__tstate
);
23984 if (PyErr_Occurred()) SWIG_fail
;
23986 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
23993 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23994 PyObject
*resultobj
;
23995 wxDirFilterListCtrl
*result
;
23996 char *kwnames
[] = {
24000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
24005 wxPyEndAllowThreads(__tstate
);
24006 if (PyErr_Occurred()) SWIG_fail
;
24008 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24015 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24016 PyObject
*resultobj
;
24017 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24018 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
24019 int arg3
= (int) (int)-1 ;
24020 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24021 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24022 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24023 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24024 long arg6
= (long) 0 ;
24028 PyObject
* obj0
= 0 ;
24029 PyObject
* obj1
= 0 ;
24030 PyObject
* obj3
= 0 ;
24031 PyObject
* obj4
= 0 ;
24032 char *kwnames
[] = {
24033 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
24037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24038 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24042 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24048 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24053 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
24055 wxPyEndAllowThreads(__tstate
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24058 resultobj
= PyInt_FromLong((long)result
);
24065 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
;
24067 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24068 wxString
*arg2
= 0 ;
24070 bool temp2
= False
;
24071 PyObject
* obj0
= 0 ;
24072 PyObject
* obj1
= 0 ;
24073 char *kwnames
[] = {
24074 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
24078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24080 arg2
= wxString_in_helper(obj1
);
24081 if (arg2
== NULL
) SWIG_fail
;
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24091 Py_INCREF(Py_None
); resultobj
= Py_None
;
24106 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24109 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
24111 return Py_BuildValue((char *)"");
24113 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
;
24115 wxWindow
*arg1
= (wxWindow
*) 0 ;
24117 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24118 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24119 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24120 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24121 long arg5
= (long) 0 ;
24122 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24123 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24124 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
24125 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24126 wxPyControl
*result
;
24129 bool temp7
= False
;
24130 PyObject
* obj0
= 0 ;
24131 PyObject
* obj2
= 0 ;
24132 PyObject
* obj3
= 0 ;
24133 PyObject
* obj5
= 0 ;
24134 PyObject
* obj6
= 0 ;
24135 char *kwnames
[] = {
24136 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_PyControl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
24140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24144 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24150 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24154 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24155 if (arg6
== NULL
) {
24156 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24161 arg7
= wxString_in_helper(obj6
);
24162 if (arg7
== NULL
) SWIG_fail
;
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
24188 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
;
24190 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24191 PyObject
*arg2
= (PyObject
*) 0 ;
24192 PyObject
*arg3
= (PyObject
*) 0 ;
24193 PyObject
* obj0
= 0 ;
24194 PyObject
* obj1
= 0 ;
24195 PyObject
* obj2
= 0 ;
24196 char *kwnames
[] = {
24197 (char *) "self",(char *) "self",(char *) "_class", NULL
24200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24206 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24211 Py_INCREF(Py_None
); resultobj
= Py_None
;
24218 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24219 PyObject
*resultobj
;
24220 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24225 PyObject
* obj0
= 0 ;
24226 char *kwnames
[] = {
24227 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24234 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24239 Py_INCREF(Py_None
); resultobj
= Py_None
;
24246 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
;
24248 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24253 int arg6
= (int) wxSIZE_AUTO
;
24254 PyObject
* obj0
= 0 ;
24255 char *kwnames
[] = {
24256 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 Py_INCREF(Py_None
); resultobj
= Py_None
;
24275 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
;
24277 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24280 PyObject
* obj0
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self",(char *) "width",(char *) "height", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24289 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24294 Py_INCREF(Py_None
); resultobj
= Py_None
;
24301 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24302 PyObject
*resultobj
;
24303 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24306 PyObject
* obj0
= 0 ;
24307 char *kwnames
[] = {
24308 (char *) "self",(char *) "x",(char *) "y", NULL
24311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24315 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
24317 wxPyEndAllowThreads(__tstate
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24320 Py_INCREF(Py_None
); resultobj
= Py_None
;
24327 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24328 PyObject
*resultobj
;
24329 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24330 int *arg2
= (int *) 0 ;
24331 int *arg3
= (int *) 0 ;
24334 PyObject
* obj0
= 0 ;
24335 char *kwnames
[] = {
24336 (char *) "self", NULL
24341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
24342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24350 Py_INCREF(Py_None
); resultobj
= Py_None
;
24352 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24353 resultobj
= t_output_helper(resultobj
,o
);
24356 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24357 resultobj
= t_output_helper(resultobj
,o
);
24365 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24366 PyObject
*resultobj
;
24367 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24368 int *arg2
= (int *) 0 ;
24369 int *arg3
= (int *) 0 ;
24372 PyObject
* obj0
= 0 ;
24373 char *kwnames
[] = {
24374 (char *) "self", NULL
24379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
24380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
24385 wxPyEndAllowThreads(__tstate
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24388 Py_INCREF(Py_None
); resultobj
= Py_None
;
24390 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24391 resultobj
= t_output_helper(resultobj
,o
);
24394 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24395 resultobj
= t_output_helper(resultobj
,o
);
24403 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
;
24405 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24406 int *arg2
= (int *) 0 ;
24407 int *arg3
= (int *) 0 ;
24410 PyObject
* obj0
= 0 ;
24411 char *kwnames
[] = {
24412 (char *) "self", NULL
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
24418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 Py_INCREF(Py_None
); resultobj
= Py_None
;
24428 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24429 resultobj
= t_output_helper(resultobj
,o
);
24432 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24433 resultobj
= t_output_helper(resultobj
,o
);
24441 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
;
24443 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24445 PyObject
* obj0
= 0 ;
24446 char *kwnames
[] = {
24447 (char *) "self", NULL
24450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
24451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24454 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24460 wxSize
* resultptr
;
24461 resultptr
= new wxSize((wxSize
&) result
);
24462 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24470 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
;
24472 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24474 PyObject
* obj0
= 0 ;
24475 char *kwnames
[] = {
24476 (char *) "self", NULL
24479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
24480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
24485 wxPyEndAllowThreads(__tstate
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24489 wxSize
* resultptr
;
24490 resultptr
= new wxSize((wxSize
&) result
);
24491 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24499 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
;
24501 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_InitDialog",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 (arg1
)->base_InitDialog();
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24516 Py_INCREF(Py_None
); resultobj
= Py_None
;
24523 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(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_TransferDataToWindow",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_TransferDataToWindow();
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= PyInt_FromLong((long)result
);
24548 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(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_TransferDataFromWindow",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_TransferDataFromWindow();
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= PyInt_FromLong((long)result
);
24573 static PyObject
*_wrap_PyControl_base_Validate(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_Validate",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)(arg1
)->base_Validate();
24588 wxPyEndAllowThreads(__tstate
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24591 resultobj
= PyInt_FromLong((long)result
);
24598 static PyObject
*_wrap_PyControl_base_AcceptsFocus(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_AcceptsFocus",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_AcceptsFocus();
24613 wxPyEndAllowThreads(__tstate
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24616 resultobj
= PyInt_FromLong((long)result
);
24623 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(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_AcceptsFocusFromKeyboard",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
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24641 resultobj
= PyInt_FromLong((long)result
);
24648 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24649 PyObject
*resultobj
;
24650 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24652 PyObject
* obj0
= 0 ;
24653 char *kwnames
[] = {
24654 (char *) "self", NULL
24657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24667 wxSize
* resultptr
;
24668 resultptr
= new wxSize((wxSize
&) result
);
24669 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24677 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24678 PyObject
*resultobj
;
24679 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24680 wxWindow
*arg2
= (wxWindow
*) 0 ;
24681 PyObject
* obj0
= 0 ;
24682 PyObject
* obj1
= 0 ;
24683 char *kwnames
[] = {
24684 (char *) "self",(char *) "child", NULL
24687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24689 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 (arg1
)->base_AddChild(arg2
);
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24697 Py_INCREF(Py_None
); resultobj
= Py_None
;
24704 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24705 PyObject
*resultobj
;
24706 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24707 wxWindow
*arg2
= (wxWindow
*) 0 ;
24708 PyObject
* obj0
= 0 ;
24709 PyObject
* obj1
= 0 ;
24710 char *kwnames
[] = {
24711 (char *) "self",(char *) "child", NULL
24714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24716 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24719 (arg1
)->base_RemoveChild(arg2
);
24721 wxPyEndAllowThreads(__tstate
);
24722 if (PyErr_Occurred()) SWIG_fail
;
24724 Py_INCREF(Py_None
); resultobj
= Py_None
;
24731 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
24733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24734 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
24736 return Py_BuildValue((char *)"");
24738 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24739 PyObject
*resultobj
;
24740 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24741 int arg2
= (int) 0 ;
24742 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24743 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24744 wxHelpEvent
*result
;
24746 PyObject
* obj2
= 0 ;
24747 char *kwnames
[] = {
24748 (char *) "type",(char *) "winid",(char *) "pt", NULL
24751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_HelpEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
24755 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24765 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
24772 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24773 PyObject
*resultobj
;
24774 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24776 PyObject
* obj0
= 0 ;
24777 char *kwnames
[] = {
24778 (char *) "self", NULL
24781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
24782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
24787 result
= (wxPoint
*) &_result_ref
;
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24793 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
24800 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24801 PyObject
*resultobj
;
24802 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24803 wxPoint
*arg2
= 0 ;
24805 PyObject
* obj0
= 0 ;
24806 PyObject
* obj1
= 0 ;
24807 char *kwnames
[] = {
24808 (char *) "self",(char *) "pos", NULL
24811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24815 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 Py_INCREF(Py_None
); resultobj
= Py_None
;
24831 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
;
24833 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24835 PyObject
* obj0
= 0 ;
24836 char *kwnames
[] = {
24837 (char *) "self", NULL
24840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
24841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
24846 result
= (wxString
*) &_result_ref
;
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
24859 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24860 PyObject
*resultobj
;
24861 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24862 wxString
*arg2
= 0 ;
24863 bool temp2
= False
;
24864 PyObject
* obj0
= 0 ;
24865 PyObject
* obj1
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self",(char *) "link", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
24871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24873 arg2
= wxString_in_helper(obj1
);
24874 if (arg2
== NULL
) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 (arg1
)->SetLink((wxString
const &)*arg2
);
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 Py_INCREF(Py_None
); resultobj
= Py_None
;
24899 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
;
24901 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24903 PyObject
* obj0
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
24909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24913 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
24914 result
= (wxString
*) &_result_ref
;
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
24927 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
;
24929 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
24930 wxString
*arg2
= 0 ;
24931 bool temp2
= False
;
24932 PyObject
* obj0
= 0 ;
24933 PyObject
* obj1
= 0 ;
24934 char *kwnames
[] = {
24935 (char *) "self",(char *) "target", NULL
24938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
24939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24941 arg2
= wxString_in_helper(obj1
);
24942 if (arg2
== NULL
) SWIG_fail
;
24946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24947 (arg1
)->SetTarget((wxString
const &)*arg2
);
24949 wxPyEndAllowThreads(__tstate
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24952 Py_INCREF(Py_None
); resultobj
= Py_None
;
24967 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24970 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
24972 return Py_BuildValue((char *)"");
24974 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24975 PyObject
*resultobj
;
24976 wxWindow
*arg1
= (wxWindow
*) NULL
;
24977 bool arg2
= (bool) True
;
24978 wxContextHelp
*result
;
24979 PyObject
* obj0
= 0 ;
24980 PyObject
* obj1
= 0 ;
24981 char *kwnames
[] = {
24982 (char *) "window",(char *) "doNow", NULL
24985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
24987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24990 arg2
= PyInt_AsLong(obj1
) ? true : false;
24991 if (PyErr_Occurred()) SWIG_fail
;
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
24997 wxPyEndAllowThreads(__tstate
);
24998 if (PyErr_Occurred()) SWIG_fail
;
25000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
25007 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25008 PyObject
*resultobj
;
25009 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25010 PyObject
* obj0
= 0 ;
25011 char *kwnames
[] = {
25012 (char *) "self", NULL
25015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
25016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25024 Py_INCREF(Py_None
); resultobj
= Py_None
;
25031 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25032 PyObject
*resultobj
;
25033 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25034 wxWindow
*arg2
= (wxWindow
*) NULL
;
25036 PyObject
* obj0
= 0 ;
25037 PyObject
* obj1
= 0 ;
25038 char *kwnames
[] = {
25039 (char *) "self",(char *) "window", NULL
25042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25045 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25054 resultobj
= PyInt_FromLong((long)result
);
25061 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
;
25063 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25065 PyObject
* obj0
= 0 ;
25066 char *kwnames
[] = {
25067 (char *) "self", NULL
25070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
25071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25074 result
= (bool)(arg1
)->EndContextHelp();
25076 wxPyEndAllowThreads(__tstate
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25079 resultobj
= PyInt_FromLong((long)result
);
25086 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
25088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25089 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
25091 return Py_BuildValue((char *)"");
25093 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
;
25095 wxWindow
*arg1
= (wxWindow
*) 0 ;
25096 int arg2
= (int) wxID_CONTEXT_HELP
;
25097 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25098 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25099 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25100 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25101 long arg5
= (long) wxBU_AUTODRAW
;
25102 wxContextHelpButton
*result
;
25105 PyObject
* obj0
= 0 ;
25106 PyObject
* obj2
= 0 ;
25107 PyObject
* obj3
= 0 ;
25108 char *kwnames
[] = {
25109 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_ContextHelpButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25117 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25123 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25133 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
25140 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
25142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25143 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
25145 return Py_BuildValue((char *)"");
25147 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25148 PyObject
*resultobj
;
25149 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25150 wxHelpProvider
*result
;
25151 PyObject
* obj0
= 0 ;
25152 char *kwnames
[] = {
25153 (char *) "helpProvider", NULL
25156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
25157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25165 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25172 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25173 PyObject
*resultobj
;
25174 wxHelpProvider
*result
;
25175 char *kwnames
[] = {
25179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 result
= (wxHelpProvider
*)wxHelpProvider::Get();
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25194 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25195 PyObject
*resultobj
;
25196 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25197 wxWindow
*arg2
= (wxWindow
*) 0 ;
25199 PyObject
* obj0
= 0 ;
25200 PyObject
* obj1
= 0 ;
25201 char *kwnames
[] = {
25202 (char *) "self",(char *) "window", NULL
25205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25207 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25210 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
25212 wxPyEndAllowThreads(__tstate
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25217 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25219 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25228 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25229 PyObject
*resultobj
;
25230 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25231 wxWindow
*arg2
= (wxWindow
*) 0 ;
25233 PyObject
* obj0
= 0 ;
25234 PyObject
* obj1
= 0 ;
25235 char *kwnames
[] = {
25236 (char *) "self",(char *) "window", NULL
25239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25241 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 result
= (bool)(arg1
)->ShowHelp(arg2
);
25246 wxPyEndAllowThreads(__tstate
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25249 resultobj
= PyInt_FromLong((long)result
);
25256 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25257 PyObject
*resultobj
;
25258 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25259 wxWindow
*arg2
= (wxWindow
*) 0 ;
25260 wxString
*arg3
= 0 ;
25261 bool temp3
= False
;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 PyObject
* obj2
= 0 ;
25265 char *kwnames
[] = {
25266 (char *) "self",(char *) "window",(char *) "text", NULL
25269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25271 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25273 arg3
= wxString_in_helper(obj2
);
25274 if (arg3
== NULL
) SWIG_fail
;
25278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25279 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 Py_INCREF(Py_None
); resultobj
= Py_None
;
25299 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25300 PyObject
*resultobj
;
25301 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25303 wxString
*arg3
= 0 ;
25304 bool temp3
= False
;
25305 PyObject
* obj0
= 0 ;
25306 PyObject
* obj2
= 0 ;
25307 char *kwnames
[] = {
25308 (char *) "self",(char *) "id",(char *) "text", NULL
25311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:HelpProvider_AddHelpById",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25314 arg3
= wxString_in_helper(obj2
);
25315 if (arg3
== NULL
) SWIG_fail
;
25319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25320 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25322 wxPyEndAllowThreads(__tstate
);
25323 if (PyErr_Occurred()) SWIG_fail
;
25325 Py_INCREF(Py_None
); resultobj
= Py_None
;
25340 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25341 PyObject
*resultobj
;
25342 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25343 PyObject
* obj0
= 0 ;
25344 char *kwnames
[] = {
25345 (char *) "self", NULL
25348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
25349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 wxHelpProvider_Destroy(arg1
);
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25357 Py_INCREF(Py_None
); resultobj
= Py_None
;
25364 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25367 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
25369 return Py_BuildValue((char *)"");
25371 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25372 PyObject
*resultobj
;
25373 wxSimpleHelpProvider
*result
;
25374 char *kwnames
[] = {
25378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25386 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
25393 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25396 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
25398 return Py_BuildValue((char *)"");
25400 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25401 PyObject
*resultobj
;
25402 wxBitmap
*arg1
= 0 ;
25403 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25404 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25405 wxGenericDragImage
*result
;
25406 PyObject
* obj0
= 0 ;
25407 PyObject
* obj1
= 0 ;
25408 char *kwnames
[] = {
25409 (char *) "image",(char *) "cursor", NULL
25412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
25413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25414 if (arg1
== NULL
) {
25415 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25418 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25419 if (arg2
== NULL
) {
25420 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25425 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
25427 wxPyEndAllowThreads(__tstate
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25437 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
;
25440 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25441 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25442 wxGenericDragImage
*result
;
25443 PyObject
* obj0
= 0 ;
25444 PyObject
* obj1
= 0 ;
25445 char *kwnames
[] = {
25446 (char *) "image",(char *) "cursor", NULL
25449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
25450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25451 if (arg1
== NULL
) {
25452 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25455 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25456 if (arg2
== NULL
) {
25457 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25467 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25474 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
;
25476 wxString
*arg1
= 0 ;
25477 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25478 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25479 wxGenericDragImage
*result
;
25480 bool temp1
= False
;
25481 PyObject
* obj0
= 0 ;
25482 PyObject
* obj1
= 0 ;
25483 char *kwnames
[] = {
25484 (char *) "str",(char *) "cursor", NULL
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
25489 arg1
= wxString_in_helper(obj0
);
25490 if (arg1
== NULL
) SWIG_fail
;
25494 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25495 if (arg2
== NULL
) {
25496 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25501 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
25503 wxPyEndAllowThreads(__tstate
);
25504 if (PyErr_Occurred()) SWIG_fail
;
25506 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25521 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25522 PyObject
*resultobj
;
25523 wxPyTreeCtrl
*arg1
= 0 ;
25524 wxTreeItemId
*arg2
= 0 ;
25525 wxGenericDragImage
*result
;
25526 PyObject
* obj0
= 0 ;
25527 PyObject
* obj1
= 0 ;
25528 char *kwnames
[] = {
25529 (char *) "treeCtrl",(char *) "id", NULL
25532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25534 if (arg1
== NULL
) {
25535 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25537 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25538 if (arg2
== NULL
) {
25539 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25543 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
25545 wxPyEndAllowThreads(__tstate
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25548 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25555 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25556 PyObject
*resultobj
;
25557 wxPyListCtrl
*arg1
= 0 ;
25559 wxGenericDragImage
*result
;
25560 PyObject
* obj0
= 0 ;
25561 char *kwnames
[] = {
25562 (char *) "listCtrl",(char *) "id", NULL
25565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_DragListItem",kwnames
,&obj0
,&arg2
)) goto fail
;
25566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25567 if (arg1
== NULL
) {
25568 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25572 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25577 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25584 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25585 PyObject
*resultobj
;
25586 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25587 PyObject
* obj0
= 0 ;
25588 char *kwnames
[] = {
25589 (char *) "self", NULL
25592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
25593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25601 Py_INCREF(Py_None
); resultobj
= Py_None
;
25608 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25609 PyObject
*resultobj
;
25610 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25611 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
25612 PyObject
* obj0
= 0 ;
25613 PyObject
* obj1
= 0 ;
25614 char *kwnames
[] = {
25615 (char *) "self",(char *) "bitmap", NULL
25618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25620 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25623 (arg1
)->SetBackingBitmap(arg2
);
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25628 Py_INCREF(Py_None
); resultobj
= Py_None
;
25635 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25636 PyObject
*resultobj
;
25637 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25638 wxPoint
*arg2
= 0 ;
25639 wxWindow
*arg3
= (wxWindow
*) 0 ;
25640 bool arg4
= (bool) False
;
25641 wxRect
*arg5
= (wxRect
*) NULL
;
25644 PyObject
* obj0
= 0 ;
25645 PyObject
* obj1
= 0 ;
25646 PyObject
* obj2
= 0 ;
25647 PyObject
* obj3
= 0 ;
25648 PyObject
* obj4
= 0 ;
25649 char *kwnames
[] = {
25650 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25657 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25659 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25661 arg4
= PyInt_AsLong(obj3
) ? true : false;
25662 if (PyErr_Occurred()) SWIG_fail
;
25665 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25669 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
25671 wxPyEndAllowThreads(__tstate
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= PyInt_FromLong((long)result
);
25681 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25682 PyObject
*resultobj
;
25683 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25684 wxPoint
*arg2
= 0 ;
25685 wxWindow
*arg3
= (wxWindow
*) 0 ;
25686 wxWindow
*arg4
= (wxWindow
*) 0 ;
25689 PyObject
* obj0
= 0 ;
25690 PyObject
* obj1
= 0 ;
25691 PyObject
* obj2
= 0 ;
25692 PyObject
* obj3
= 0 ;
25693 char *kwnames
[] = {
25694 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25701 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25703 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25704 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25707 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
25709 wxPyEndAllowThreads(__tstate
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25712 resultobj
= PyInt_FromLong((long)result
);
25719 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25720 PyObject
*resultobj
;
25721 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25723 PyObject
* obj0
= 0 ;
25724 char *kwnames
[] = {
25725 (char *) "self", NULL
25728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
25729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 result
= (bool)(arg1
)->EndDrag();
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25737 resultobj
= PyInt_FromLong((long)result
);
25744 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25745 PyObject
*resultobj
;
25746 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25747 wxPoint
*arg2
= 0 ;
25750 PyObject
* obj0
= 0 ;
25751 PyObject
* obj1
= 0 ;
25752 char *kwnames
[] = {
25753 (char *) "self",(char *) "pt", NULL
25756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
25757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25760 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25764 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25769 resultobj
= PyInt_FromLong((long)result
);
25776 static PyObject
*_wrap_DragImage_Show(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_Show",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
)->Show();
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= PyInt_FromLong((long)result
);
25801 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
;
25803 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25805 PyObject
* obj0
= 0 ;
25806 char *kwnames
[] = {
25807 (char *) "self", NULL
25810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
25811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 result
= (bool)(arg1
)->Hide();
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25819 resultobj
= PyInt_FromLong((long)result
);
25826 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25827 PyObject
*resultobj
;
25828 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25829 wxPoint
*arg2
= 0 ;
25832 PyObject
* obj0
= 0 ;
25833 PyObject
* obj1
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self",(char *) "pos", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25842 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25846 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
25848 wxPyEndAllowThreads(__tstate
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25852 wxRect
* resultptr
;
25853 resultptr
= new wxRect((wxRect
&) result
);
25854 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
25862 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25863 PyObject
*resultobj
;
25864 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25866 wxPoint
*arg3
= 0 ;
25869 PyObject
* obj0
= 0 ;
25870 PyObject
* obj1
= 0 ;
25871 PyObject
* obj2
= 0 ;
25872 char *kwnames
[] = {
25873 (char *) "self",(char *) "dc",(char *) "pos", NULL
25876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25878 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25879 if (arg2
== NULL
) {
25880 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25884 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25888 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
25890 wxPyEndAllowThreads(__tstate
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25893 resultobj
= PyInt_FromLong((long)result
);
25900 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25901 PyObject
*resultobj
;
25902 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25904 wxMemoryDC
*arg3
= 0 ;
25910 PyObject
* obj0
= 0 ;
25911 PyObject
* obj1
= 0 ;
25912 PyObject
* obj2
= 0 ;
25913 PyObject
* obj3
= 0 ;
25914 PyObject
* obj4
= 0 ;
25915 char *kwnames
[] = {
25916 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25921 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25922 if (arg2
== NULL
) {
25923 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25925 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25926 if (arg3
== NULL
) {
25927 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25931 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25935 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
25938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25939 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
25941 wxPyEndAllowThreads(__tstate
);
25942 if (PyErr_Occurred()) SWIG_fail
;
25944 resultobj
= PyInt_FromLong((long)result
);
25951 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25952 PyObject
*resultobj
;
25953 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25954 wxPoint
*arg2
= 0 ;
25955 wxPoint
*arg3
= 0 ;
25961 PyObject
* obj0
= 0 ;
25962 PyObject
* obj1
= 0 ;
25963 PyObject
* obj2
= 0 ;
25964 PyObject
* obj3
= 0 ;
25965 PyObject
* obj4
= 0 ;
25966 char *kwnames
[] = {
25967 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
25970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25974 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25978 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25980 arg4
= PyInt_AsLong(obj3
) ? true : false;
25981 if (PyErr_Occurred()) SWIG_fail
;
25982 arg5
= PyInt_AsLong(obj4
) ? true : false;
25983 if (PyErr_Occurred()) SWIG_fail
;
25985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25986 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 resultobj
= PyInt_FromLong((long)result
);
25998 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
26000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26001 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
26003 return Py_BuildValue((char *)"");
26005 static PyMethodDef SwigMethods
[] = {
26006 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
26007 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
26008 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
26009 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
26010 { (char *)"Button_SetImageLabel", (PyCFunction
) _wrap_Button_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
26011 { (char *)"Button_SetImageMargins", (PyCFunction
) _wrap_Button_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
26012 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26013 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
26014 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26015 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26016 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26017 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26018 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26019 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26020 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26021 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26022 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26023 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26024 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26025 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26026 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
26027 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
26028 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
26029 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26030 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26031 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26032 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26033 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26034 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26035 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26036 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26037 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
26038 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
26039 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
26040 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
26041 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
26042 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
26043 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26044 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26045 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26046 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26047 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26048 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
26049 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26050 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26051 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26052 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26053 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26054 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26055 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26056 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26057 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26058 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26059 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26060 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26061 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26062 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
26063 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26064 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26065 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26066 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
26067 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
26068 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
26069 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
26070 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26071 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26072 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26073 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26074 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26075 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26076 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26077 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26078 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26079 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
26080 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26081 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26082 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26083 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
26084 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26085 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26086 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
26087 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26088 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26089 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
26090 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
26091 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
26092 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
26093 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
26094 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26095 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26096 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
26097 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26098 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26099 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
26100 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
26101 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
26102 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
26103 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26104 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
26105 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
26106 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
26107 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26108 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26109 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
26110 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
26111 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
26112 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26113 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
26114 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
26115 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
26116 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26117 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26118 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
26119 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
26120 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26121 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26122 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26123 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26124 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
26125 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
26126 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26127 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
26128 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
26129 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
26130 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
26131 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26132 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26133 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26134 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26135 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26136 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26137 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26138 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26139 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26140 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26141 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26142 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26143 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
26144 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26145 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26146 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
26147 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26148 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26149 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26150 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26151 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26152 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26153 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26154 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26155 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
26156 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
26157 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
26158 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26159 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26160 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26161 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26162 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26163 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26164 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
26165 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
26166 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
26167 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
26168 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
26169 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
26170 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
26171 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26172 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26173 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26174 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26175 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26176 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
26177 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
26178 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
26179 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
26180 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
26181 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
26182 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
26183 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
26184 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26185 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26186 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26187 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26188 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
26189 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
26190 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
26191 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26192 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26193 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26194 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
26195 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
26196 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
26197 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
26198 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
26199 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
26200 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
26201 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26202 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26203 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26204 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26205 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26206 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
26207 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26208 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
26209 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
26210 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
26211 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26212 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
26213 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26214 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
26215 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
26216 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
26217 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
26218 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26219 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26220 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26221 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26222 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
26223 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26224 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26225 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26226 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26227 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
26228 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
26229 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26230 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26231 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26232 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26233 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26234 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26235 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26236 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26237 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26238 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26239 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26240 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
26241 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26242 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26243 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26244 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26245 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26246 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
26247 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26248 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26249 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26250 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26251 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
26252 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26253 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26254 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26255 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26256 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26257 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26258 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26259 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26260 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
26261 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26262 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26263 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
26264 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
26265 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26266 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26267 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26268 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
26269 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26270 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26271 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26272 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26273 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26274 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
26275 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
26276 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
26277 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
26278 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26279 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26280 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26281 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26282 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26283 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26284 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26285 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26286 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26287 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26288 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26289 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26290 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26291 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26292 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26293 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
26294 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
26295 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
26296 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
26297 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
26298 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26299 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
26300 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26301 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26302 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26303 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26304 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26305 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26306 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
26307 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
26308 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
26309 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26310 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26311 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26312 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26313 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26314 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26315 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26316 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26317 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26318 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26319 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
26320 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
26321 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
26322 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
26323 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
26324 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26325 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
26326 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
26327 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26328 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26329 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26330 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26331 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26332 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
26333 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
26334 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26335 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26336 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26337 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
26338 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
26339 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26340 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26341 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
26342 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
26343 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26344 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
26345 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
26346 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
26347 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26348 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26349 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
26350 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26351 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
26352 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
26353 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26354 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26355 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26356 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
26357 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
26358 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26359 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26360 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26361 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
26362 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26363 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26364 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26365 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
26366 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
26367 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26368 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26369 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
26370 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26371 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
26372 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
26373 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26374 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26375 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26376 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26377 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26378 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26379 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
26380 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
26381 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26382 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26383 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26384 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26385 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26386 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26387 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
26388 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
26389 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26390 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26391 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
26392 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
26393 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
26394 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
26395 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
26396 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
26397 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26398 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26399 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
26400 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
26401 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
26402 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
26403 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
26404 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
26405 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
26406 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26407 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26408 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26409 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
26410 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
26411 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26412 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26413 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26414 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26415 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26416 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
26417 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26418 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26419 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26420 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
26421 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26422 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26423 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26424 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
26425 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
26426 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
26427 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
26428 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26429 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26430 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
26431 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26432 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26433 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
26434 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26435 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26436 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26437 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26438 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
26439 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
26440 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26441 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26442 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26443 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26444 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26445 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26446 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26447 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26448 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26449 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26450 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
26451 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
26452 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
26453 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26454 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26455 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
26456 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26457 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26458 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
26459 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
26460 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
26461 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
26462 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
26463 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26464 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
26465 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26466 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26467 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26468 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
26469 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26470 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26471 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
26472 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26473 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
26474 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26475 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26476 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
26477 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26478 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26479 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26480 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26481 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26482 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
26483 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
26484 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
26485 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
26486 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
26487 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
26488 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
26489 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
26490 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
26491 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
26492 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
26493 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
26494 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
26495 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
26496 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
26497 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
26498 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
26499 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
26500 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
26501 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
26502 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
26503 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
26504 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
26505 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
26506 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
26507 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
26508 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
26509 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
26510 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
26511 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
26512 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
26513 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
26514 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
26515 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
26516 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
26517 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26518 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26519 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26520 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26521 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
26522 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26523 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
26524 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26525 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
26526 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
26527 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
26528 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
26529 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
26530 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26531 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26532 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26533 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26534 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26535 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26536 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26537 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26538 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
26539 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
26540 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
26541 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
26542 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
26543 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26544 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
26545 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26546 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
26547 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
26548 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26549 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26550 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26551 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26552 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26553 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
26554 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
26555 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
26556 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26557 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26558 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26559 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26560 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26561 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26562 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
26563 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
26564 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
26565 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26566 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26567 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26568 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26569 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
26570 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
26571 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
26572 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
26573 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
26574 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
26575 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
26576 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
26577 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
26578 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26579 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26580 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26581 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
26582 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
26583 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
26584 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26585 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
26586 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26587 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
26588 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26589 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
26590 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
26591 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26592 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
26593 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26594 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26595 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26596 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26597 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
26598 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
26599 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
26600 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
26601 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
26602 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
26603 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
26604 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
26605 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
26606 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
26607 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
26608 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26609 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
26610 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
26611 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
26612 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
26613 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
26614 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26615 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
26616 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
26617 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
26618 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
26619 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
26620 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
26621 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26622 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
26623 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26624 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26625 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26626 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
26627 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
26628 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26629 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
26630 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
26631 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
26632 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26633 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26634 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
26635 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
26636 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
26637 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26638 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26639 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
26640 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
26641 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
26642 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26643 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26644 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26645 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26646 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26647 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
26648 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
26649 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26650 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26651 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26652 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26653 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26654 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26655 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26656 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26657 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26658 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26659 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26660 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
26661 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26662 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26663 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
26664 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26665 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26666 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26667 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
26668 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
26669 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
26670 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26673 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
26674 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
26675 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
26676 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
26677 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26678 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
26679 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
26680 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
26681 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26682 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
26683 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
26684 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
26685 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
26686 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
26687 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
26688 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
26689 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
26690 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
26691 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
26692 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
26693 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
26694 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
26695 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
26696 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
26697 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
26698 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
26699 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
26700 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
26701 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
26702 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
26703 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
26704 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
26705 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
26706 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
26707 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26708 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
26709 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26710 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
26711 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26712 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
26713 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26714 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
26715 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
26716 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26717 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26718 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26719 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
26720 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
26721 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
26722 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
26723 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
26724 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
26725 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
26726 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
26727 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
26728 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
26729 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
26730 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
26731 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
26732 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26733 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26734 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
26735 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
26736 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
26737 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
26738 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26739 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26740 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26741 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
26742 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
26743 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
26744 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26745 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
26746 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
26747 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
26748 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
26749 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
26750 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
26751 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26752 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
26753 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
26754 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
26755 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
26756 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
26757 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
26758 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
26759 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
26760 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
26761 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
26762 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
26763 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
26764 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
26765 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26766 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26767 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
26768 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
26769 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
26770 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
26771 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
26772 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26773 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26774 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26775 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
26776 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
26777 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
26778 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
26779 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
26780 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
26781 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
26782 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
26783 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
26784 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
26785 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26786 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
26787 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
26788 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
26789 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
26790 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
26791 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
26792 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
26793 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
26794 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
26795 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26796 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
26797 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
26798 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
26799 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
26800 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
26801 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
26802 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
26803 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
26804 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
26805 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
26806 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
26811 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26813 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
26814 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
26816 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
26817 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
26819 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
26820 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
26822 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
26823 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26825 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
26826 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26828 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
26829 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
26831 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
26832 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26834 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
26835 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
26837 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
26838 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
26840 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
26841 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
26843 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
26844 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26846 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
26847 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
26849 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
26850 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
26852 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
26853 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
26855 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
26856 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
26858 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
26859 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
26861 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
26862 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
26864 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
26865 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
26867 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
26868 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
26870 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
26871 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
26873 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
26874 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
26876 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
26877 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
26879 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
26880 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26882 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
26883 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
26885 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
26886 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
26888 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
26889 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
26891 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
26892 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
26894 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
26895 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
26897 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
26898 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26900 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
26901 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26903 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26904 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26906 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26907 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26909 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26910 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26912 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26913 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26915 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26916 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26918 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26919 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26921 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26922 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26924 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26925 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26927 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26928 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26930 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26931 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26933 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26934 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26936 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26937 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26939 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26940 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26942 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26943 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26945 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26946 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26948 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26949 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26951 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26952 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26954 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26955 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26957 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26958 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26960 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26961 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26963 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26964 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26966 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26967 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26969 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
26970 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
26972 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
26973 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
26975 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
26976 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
26978 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
26979 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
26981 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
26982 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
26984 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
26985 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
26987 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
26988 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
26990 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
26991 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
26993 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
26994 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
26996 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
26997 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
26999 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
27000 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
27002 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
27003 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
27005 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
27006 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27008 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
27009 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
27011 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
27012 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
27014 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
27015 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
27017 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
27018 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
27020 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
27021 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27023 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
27024 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
27026 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
27027 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
27029 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
27030 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
27032 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
27033 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
27035 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
27036 return (void *)((wxControl
*) ((wxGauge
*) x
));
27038 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
27039 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
27041 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
27042 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
27044 static void *_p_wxButtonTo_p_wxControl(void *x
) {
27045 return (void *)((wxControl
*) ((wxButton
*) x
));
27047 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
27048 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
27050 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
27051 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27053 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
27054 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
27056 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
27057 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
27059 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
27060 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
27062 static void *_p_wxListbookTo_p_wxControl(void *x
) {
27063 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
27065 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
27066 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
27068 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
27069 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
27071 static void *_p_wxListViewTo_p_wxControl(void *x
) {
27072 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
27074 static void *_p_wxSliderTo_p_wxControl(void *x
) {
27075 return (void *)((wxControl
*) ((wxSlider
*) x
));
27077 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
27078 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
27080 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
27081 return (void *)((wxControl
*) ((wxPyControl
*) x
));
27083 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
27084 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
27086 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
27087 return (void *)((wxControl
*) ((wxStaticText
*) x
));
27089 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
27090 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
27092 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
27093 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
27095 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
27096 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27098 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
27099 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27101 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
27102 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27104 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
27105 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
27107 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
27108 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27110 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
27111 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27113 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
27114 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27116 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27117 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27119 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27120 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27122 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27123 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27125 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
27126 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27128 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27129 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27131 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
27132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27134 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
27135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27137 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27138 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27140 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27141 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27143 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
27144 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27146 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
27147 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27149 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
27150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27152 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
27153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27155 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
27156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27158 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27159 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27161 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
27162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27164 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
27165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27167 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27168 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27170 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
27171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27173 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
27174 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27176 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
27177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27179 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
27180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27182 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
27183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27185 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
27186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27188 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
27189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27191 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
27192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27194 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
27195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27197 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
27198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27200 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
27201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27203 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
27204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27206 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
27207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27209 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
27210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
27212 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
27213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27215 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
27216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27218 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
27219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27221 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
27222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27224 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
27225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27227 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
27228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27230 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
27231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27233 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
27234 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
27236 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
27237 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
27239 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
27240 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
27242 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
27243 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
27245 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
27246 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27248 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
27249 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27251 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
27252 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
27254 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27255 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27257 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27258 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27260 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27261 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27263 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27264 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27266 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27267 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27269 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
27270 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27272 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
27273 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27275 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27276 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27278 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27279 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27281 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27282 return (void *)((wxObject
*) ((wxSizer
*) x
));
27284 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27285 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27287 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
27288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27290 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
27291 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27293 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27294 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27296 static void *_p_wxEventTo_p_wxObject(void *x
) {
27297 return (void *)((wxObject
*) ((wxEvent
*) x
));
27299 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27300 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27302 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27303 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27305 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27306 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27308 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
27309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27311 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
27312 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27314 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
27315 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27317 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27318 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27320 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27321 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27323 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27324 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27326 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27327 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27329 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27330 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27332 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27333 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27335 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
27336 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27338 static void *_p_wxControlTo_p_wxObject(void *x
) {
27339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27341 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
27342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27344 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
27345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27347 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
27348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27350 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
27351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27353 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
27354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27356 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27357 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27359 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
27360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27362 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27363 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27365 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27366 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27368 static void *_p_wxListViewTo_p_wxObject(void *x
) {
27369 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27371 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
27372 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27374 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
27375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27377 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27378 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27380 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27381 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27383 static void *_p_wxListbookTo_p_wxObject(void *x
) {
27384 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27386 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27387 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27389 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
27390 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27392 static void *_p_wxSliderTo_p_wxObject(void *x
) {
27393 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27395 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27396 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27398 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27399 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27401 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27402 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27404 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27405 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27407 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27408 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27410 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27411 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27413 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27414 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27416 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27417 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27419 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27420 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27422 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
27423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27425 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
27426 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
27428 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27429 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27431 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27432 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27434 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27435 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27437 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27438 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27440 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27441 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27443 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27444 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27446 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27447 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27449 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27450 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27452 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27453 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27455 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27456 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27458 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27459 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27461 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27462 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27464 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27465 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27467 static void *_p_wxListEventTo_p_wxObject(void *x
) {
27468 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
27470 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
27471 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27473 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
27474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27476 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
27477 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27479 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
27480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27482 static void *_p_wxButtonTo_p_wxObject(void *x
) {
27483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27485 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
27486 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27488 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
27489 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27491 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
27492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27494 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
27495 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27497 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
27498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27500 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
27501 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
27503 static void *_p_wxListItemTo_p_wxObject(void *x
) {
27504 return (void *)((wxObject
*) ((wxListItem
*) x
));
27506 static void *_p_wxImageTo_p_wxObject(void *x
) {
27507 return (void *)((wxObject
*) ((wxImage
*) x
));
27509 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
27510 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
27512 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27513 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27515 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
27516 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
27518 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
27519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27521 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
27522 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27524 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
27525 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27527 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27528 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27530 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27531 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27533 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27534 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27536 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27537 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27539 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27540 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27542 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27545 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27546 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27548 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27549 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27551 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
27552 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
27554 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
27555 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
27557 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
27558 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
27560 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
27561 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
27563 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
27564 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
27566 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
27567 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27569 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
27570 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27572 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
27573 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
27575 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
27576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
27578 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
27579 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
27581 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
27582 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
27584 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
27585 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27587 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
27588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27590 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
27591 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
27593 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
27594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27596 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
27597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
27599 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
27600 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
27602 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
27603 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
27605 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
27606 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
27608 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
27609 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
27611 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
27612 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27614 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
27615 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
27617 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
27618 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
27620 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
27621 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
27623 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27624 return (void *)((wxWindow
*) ((wxControl
*) x
));
27626 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
27627 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
27629 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
27630 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27632 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
27633 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
27635 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
27636 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27638 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
27639 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
27641 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
27642 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
27644 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27645 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27647 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
27648 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
27650 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
27651 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
27653 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
27654 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27656 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
27657 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
27659 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
27660 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
27662 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
27663 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
27665 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
27666 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27668 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
27669 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27671 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
27672 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27674 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
27675 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27677 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
27678 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27680 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
27681 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
27683 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
27684 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
27686 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
27687 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
27689 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
27690 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
27692 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
27693 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
27695 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
27696 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
27698 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
27699 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
27701 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
27702 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27704 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
27705 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27707 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
27708 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
27710 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
27711 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27713 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
27714 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27716 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
27717 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27719 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
27720 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
27722 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
27723 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27725 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
27726 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27728 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
27729 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27731 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
27732 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27734 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
27735 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27737 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
27738 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
27740 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
27741 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27743 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
27744 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27746 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
27747 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
27749 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
27750 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27752 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
27753 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27755 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
27756 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
27758 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
27759 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27761 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
27762 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
27764 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
27765 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
27767 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
27768 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
27770 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
27771 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
27773 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27774 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}};
27775 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}};
27776 static swig_type_info _swigt__p_wxTreeItemIdValue
[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27777 static swig_type_info _swigt__wxTreeItemIdValue
[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27778 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27779 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27780 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}};
27781 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27782 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27783 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27784 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}};
27785 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27786 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
27787 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27788 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}};
27789 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27790 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27791 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
27792 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27793 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27794 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27795 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}};
27796 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27797 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27798 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27799 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27800 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27801 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27802 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27803 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27804 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27805 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}};
27806 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27807 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27808 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27809 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27810 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27811 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27812 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27813 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27814 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}};
27815 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27816 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
27817 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27818 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}};
27819 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27820 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}};
27821 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
27822 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27823 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27824 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27825 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27826 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27827 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27828 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27829 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27830 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27831 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27832 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27833 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27834 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
27835 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27836 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27837 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27838 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27839 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27840 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}};
27841 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27842 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27843 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}};
27844 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27845 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27846 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27847 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27848 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}};
27849 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27850 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}};
27851 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27852 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27853 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27854 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27855 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
27857 static swig_type_info
*swig_types_initial
[] = {
27858 _swigt__p_wxTextUrlEvent
,
27859 _swigt__p_wxBookCtrlEvent
,
27861 _swigt__p_wxTreeItemIdValue
,
27862 _swigt__wxTreeItemIdValue
,
27863 _swigt__p_wxCheckBox
,
27864 _swigt__p_wxPyTreeCtrl
,
27866 _swigt__p_wxGenericDirCtrl
,
27868 _swigt__p_wxPyTreeItemData
,
27869 _swigt__p_wxItemContainer
,
27870 _swigt__p_wxDirFilterListCtrl
,
27871 _swigt__p_wxPyListCtrl
,
27872 _swigt__p_wxStaticLine
,
27873 _swigt__p_wxControl
,
27874 _swigt__p_wxPyControl
,
27876 _swigt__p_wxToolBarBase
,
27878 _swigt__p_wxToggleButton
,
27879 _swigt__p_wxRadioButton
,
27880 _swigt__p_wxChoice
,
27881 _swigt__p_wxMemoryDC
,
27882 _swigt__p_wxListItemAttr
,
27886 _swigt__p_wxListView
,
27888 _swigt__p_wxTextCtrl
,
27889 _swigt__p_wxNotebook
,
27890 _swigt__p_wxNotifyEvent
,
27891 _swigt__p_wxArrayString
,
27892 _swigt__p_wxListbook
,
27893 _swigt__p_wxStaticBitmap
,
27894 _swigt__p_wxSlider
,
27895 _swigt__p_wxStaticBox
,
27896 _swigt__p_wxArrayInt
,
27897 _swigt__p_wxContextHelp
,
27899 _swigt__p_wxEvtHandler
,
27900 _swigt__p_wxListEvent
,
27901 _swigt__p_wxListBox
,
27902 _swigt__p_wxCheckListBox
,
27903 _swigt__p_wxBookCtrl
,
27904 _swigt__p_wxSpinButton
,
27905 _swigt__p_wxButton
,
27906 _swigt__p_wxBitmapButton
,
27908 _swigt__p_wxContextHelpButton
,
27909 _swigt__p_wxRadioBox
,
27910 _swigt__p_wxScrollBar
,
27911 _swigt__p_wxTreeItemId
,
27912 _swigt__p_wxComboBox
,
27913 _swigt__p_wxHelpEvent
,
27914 _swigt__p_wxListItem
,
27915 _swigt__p_wxNotebookSizer
,
27916 _swigt__p_wxGenericDragImage
,
27917 _swigt__p_wxSpinCtrl
,
27918 _swigt__p_wxImageList
,
27919 _swigt__p_wxHelpProvider
,
27920 _swigt__p_wxTextAttr
,
27921 _swigt__p_wxSimpleHelpProvider
,
27923 _swigt__p_wxListbookEvent
,
27924 _swigt__p_wxNotebookEvent
,
27925 _swigt__p_wxObject
,
27926 _swigt__p_wxCursor
,
27927 _swigt__p_wxKeyEvent
,
27928 _swigt__p_wxWindow
,
27929 _swigt__p_wxString
,
27930 _swigt__p_wxBitmap
,
27931 _swigt__p_wxTreeEvent
,
27932 _swigt__p_wxMouseEvent
,
27933 _swigt__p_wxCommandEvent
,
27934 _swigt__p_wxStaticText
,
27935 _swigt__p_wxControlWithItems
,
27936 _swigt__p_wxToolBarToolBase
,
27937 _swigt__p_wxColour
,
27938 _swigt__p_wxToolBar
,
27939 _swigt__p_wxBookCtrlSizer
,
27940 _swigt__p_wxValidator
,
27945 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27947 static swig_const_info swig_const_table
[] = {
27948 { SWIG_PY_INT
, (char *)"BU_LEFT", (long) wxBU_LEFT
, 0, 0, 0},
27949 { SWIG_PY_INT
, (char *)"BU_TOP", (long) wxBU_TOP
, 0, 0, 0},
27950 { SWIG_PY_INT
, (char *)"BU_RIGHT", (long) wxBU_RIGHT
, 0, 0, 0},
27951 { SWIG_PY_INT
, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM
, 0, 0, 0},
27952 { SWIG_PY_INT
, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT
, 0, 0, 0},
27953 { SWIG_PY_INT
, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW
, 0, 0, 0},
27954 { SWIG_PY_INT
, (char *)"CHK_2STATE", (long) wxCHK_2STATE
, 0, 0, 0},
27955 { SWIG_PY_INT
, (char *)"CHK_3STATE", (long) wxCHK_3STATE
, 0, 0, 0},
27956 { SWIG_PY_INT
, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER
, 0, 0, 0},
27957 { SWIG_PY_INT
, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED
, 0, 0, 0},
27958 { SWIG_PY_INT
, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED
, 0, 0, 0},
27959 { SWIG_PY_INT
, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED
, 0, 0, 0},
27960 { SWIG_PY_INT
, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL
, 0, 0, 0},
27961 { SWIG_PY_INT
, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL
, 0, 0, 0},
27962 { SWIG_PY_INT
, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH
, 0, 0, 0},
27963 { SWIG_PY_INT
, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR
, 0, 0, 0},
27964 { SWIG_PY_INT
, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL
, 0, 0, 0},
27965 { SWIG_PY_INT
, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL
, 0, 0, 0},
27966 { SWIG_PY_INT
, (char *)"TE_READONLY", (long) wxTE_READONLY
, 0, 0, 0},
27967 { SWIG_PY_INT
, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE
, 0, 0, 0},
27968 { SWIG_PY_INT
, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB
, 0, 0, 0},
27969 { SWIG_PY_INT
, (char *)"TE_LEFT", (long) wxTE_LEFT
, 0, 0, 0},
27970 { SWIG_PY_INT
, (char *)"TE_CENTER", (long) wxTE_CENTER
, 0, 0, 0},
27971 { SWIG_PY_INT
, (char *)"TE_RIGHT", (long) wxTE_RIGHT
, 0, 0, 0},
27972 { SWIG_PY_INT
, (char *)"TE_CENTRE", (long) wxTE_CENTRE
, 0, 0, 0},
27973 { SWIG_PY_INT
, (char *)"TE_RICH", (long) wxTE_RICH
, 0, 0, 0},
27974 { SWIG_PY_INT
, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER
, 0, 0, 0},
27975 { SWIG_PY_INT
, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD
, 0, 0, 0},
27976 { SWIG_PY_INT
, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL
, 0, 0, 0},
27977 { SWIG_PY_INT
, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL
, 0, 0, 0},
27978 { SWIG_PY_INT
, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP
, 0, 0, 0},
27979 { SWIG_PY_INT
, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP
, 0, 0, 0},
27980 { SWIG_PY_INT
, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP
, 0, 0, 0},
27981 { SWIG_PY_INT
, (char *)"TE_RICH2", (long) wxTE_RICH2
, 0, 0, 0},
27982 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT
, 0, 0, 0},
27983 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT
, 0, 0, 0},
27984 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE
, 0, 0, 0},
27985 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER
, 0, 0, 0},
27986 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT
, 0, 0, 0},
27987 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED
, 0, 0, 0},
27988 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR
, 0, 0, 0},
27989 { SWIG_PY_INT
, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR
, 0, 0, 0},
27990 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE
, 0, 0, 0},
27991 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE
, 0, 0, 0},
27992 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT
, 0, 0, 0},
27993 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC
, 0, 0, 0},
27994 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE
, 0, 0, 0},
27995 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT
, 0, 0, 0},
27996 { SWIG_PY_INT
, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT
, 0, 0, 0},
27997 { SWIG_PY_INT
, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT
, 0, 0, 0},
27998 { SWIG_PY_INT
, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT
, 0, 0, 0},
27999 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS
, 0, 0, 0},
28000 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED
, 0, 0, 0},
28001 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER
, 0, 0, 0},
28002 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL
, 0, 0, 0},
28003 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN
, 0, 0, 0},
28004 { SWIG_PY_INT
, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL
, 0, 0, 0},
28005 { SWIG_PY_INT
, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL
, 0, 0, 0},
28006 { SWIG_PY_INT
, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS
, 0, 0, 0},
28007 { SWIG_PY_INT
, (char *)"SP_WRAP", (long) wxSP_WRAP
, 0, 0, 0},
28008 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED
, 0, 0, 0},
28009 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, 0, 0, 0},
28010 { SWIG_PY_INT
, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH
, 0, 0, 0},
28011 { SWIG_PY_INT
, (char *)"NB_TOP", (long) wxNB_TOP
, 0, 0, 0},
28012 { SWIG_PY_INT
, (char *)"NB_LEFT", (long) wxNB_LEFT
, 0, 0, 0},
28013 { SWIG_PY_INT
, (char *)"NB_RIGHT", (long) wxNB_RIGHT
, 0, 0, 0},
28014 { SWIG_PY_INT
, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM
, 0, 0, 0},
28015 { SWIG_PY_INT
, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE
, 0, 0, 0},
28016 { SWIG_PY_INT
, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE
, 0, 0, 0},
28017 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON
, 0, 0, 0},
28018 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL
, 0, 0, 0},
28019 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM
, 0, 0, 0},
28020 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, 0, 0, 0},
28021 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, 0, 0, 0},
28022 { SWIG_PY_INT
, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT
, 0, 0, 0},
28023 { SWIG_PY_INT
, (char *)"LB_TOP", (long) wxLB_TOP
, 0, 0, 0},
28024 { SWIG_PY_INT
, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM
, 0, 0, 0},
28025 { SWIG_PY_INT
, (char *)"LB_LEFT", (long) wxLB_LEFT
, 0, 0, 0},
28026 { SWIG_PY_INT
, (char *)"LB_RIGHT", (long) wxLB_RIGHT
, 0, 0, 0},
28027 { SWIG_PY_INT
, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK
, 0, 0, 0},
28028 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
, 0, 0, 0},
28029 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
, 0, 0, 0},
28030 { SWIG_PY_INT
, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON
, 0, 0, 0},
28031 { SWIG_PY_INT
, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR
, 0, 0, 0},
28032 { SWIG_PY_INT
, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL
, 0, 0, 0},
28033 { SWIG_PY_INT
, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL
, 0, 0, 0},
28034 { SWIG_PY_INT
, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL
, 0, 0, 0},
28035 { SWIG_PY_INT
, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS
, 0, 0, 0},
28036 { SWIG_PY_INT
, (char *)"TB_FLAT", (long) wxTB_FLAT
, 0, 0, 0},
28037 { SWIG_PY_INT
, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE
, 0, 0, 0},
28038 { SWIG_PY_INT
, (char *)"TB_NOICONS", (long) wxTB_NOICONS
, 0, 0, 0},
28039 { SWIG_PY_INT
, (char *)"TB_TEXT", (long) wxTB_TEXT
, 0, 0, 0},
28040 { SWIG_PY_INT
, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER
, 0, 0, 0},
28041 { SWIG_PY_INT
, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN
, 0, 0, 0},
28042 { SWIG_PY_INT
, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT
, 0, 0, 0},
28043 { SWIG_PY_INT
, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT
, 0, 0, 0},
28044 { SWIG_PY_INT
, (char *)"LC_VRULES", (long) wxLC_VRULES
, 0, 0, 0},
28045 { SWIG_PY_INT
, (char *)"LC_HRULES", (long) wxLC_HRULES
, 0, 0, 0},
28046 { SWIG_PY_INT
, (char *)"LC_ICON", (long) wxLC_ICON
, 0, 0, 0},
28047 { SWIG_PY_INT
, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON
, 0, 0, 0},
28048 { SWIG_PY_INT
, (char *)"LC_LIST", (long) wxLC_LIST
, 0, 0, 0},
28049 { SWIG_PY_INT
, (char *)"LC_REPORT", (long) wxLC_REPORT
, 0, 0, 0},
28050 { SWIG_PY_INT
, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP
, 0, 0, 0},
28051 { SWIG_PY_INT
, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT
, 0, 0, 0},
28052 { SWIG_PY_INT
, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE
, 0, 0, 0},
28053 { SWIG_PY_INT
, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL
, 0, 0, 0},
28054 { SWIG_PY_INT
, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS
, 0, 0, 0},
28055 { SWIG_PY_INT
, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER
, 0, 0, 0},
28056 { SWIG_PY_INT
, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER
, 0, 0, 0},
28057 { SWIG_PY_INT
, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL
, 0, 0, 0},
28058 { SWIG_PY_INT
, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING
, 0, 0, 0},
28059 { SWIG_PY_INT
, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING
, 0, 0, 0},
28060 { SWIG_PY_INT
, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE
, 0, 0, 0},
28061 { SWIG_PY_INT
, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN
, 0, 0, 0},
28062 { SWIG_PY_INT
, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT
, 0, 0, 0},
28063 { SWIG_PY_INT
, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE
, 0, 0, 0},
28064 { SWIG_PY_INT
, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT
, 0, 0, 0},
28065 { SWIG_PY_INT
, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE
, 0, 0, 0},
28066 { SWIG_PY_INT
, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA
, 0, 0, 0},
28067 { SWIG_PY_INT
, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM
, 0, 0, 0},
28068 { SWIG_PY_INT
, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH
, 0, 0, 0},
28069 { SWIG_PY_INT
, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT
, 0, 0, 0},
28070 { SWIG_PY_INT
, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE
, 0, 0, 0},
28071 { SWIG_PY_INT
, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED
, 0, 0, 0},
28072 { SWIG_PY_INT
, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED
, 0, 0, 0},
28073 { SWIG_PY_INT
, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED
, 0, 0, 0},
28074 { SWIG_PY_INT
, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT
, 0, 0, 0},
28075 { SWIG_PY_INT
, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED
, 0, 0, 0},
28076 { SWIG_PY_INT
, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED
, 0, 0, 0},
28077 { SWIG_PY_INT
, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE
, 0, 0, 0},
28078 { SWIG_PY_INT
, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED
, 0, 0, 0},
28079 { SWIG_PY_INT
, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE
, 0, 0, 0},
28080 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE
, 0, 0, 0},
28081 { SWIG_PY_INT
, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW
, 0, 0, 0},
28082 { SWIG_PY_INT
, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE
, 0, 0, 0},
28083 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON
, 0, 0, 0},
28084 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL
, 0, 0, 0},
28085 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28086 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28087 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT
, 0, 0, 0},
28088 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT
, 0, 0, 0},
28089 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM
, 0, 0, 0},
28090 { SWIG_PY_INT
, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE
, 0, 0, 0},
28091 { SWIG_PY_INT
, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL
, 0, 0, 0},
28092 { SWIG_PY_INT
, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW
, 0, 0, 0},
28093 { SWIG_PY_INT
, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT
, 0, 0, 0},
28094 { SWIG_PY_INT
, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT
, 0, 0, 0},
28095 { SWIG_PY_INT
, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT
, 0, 0, 0},
28096 { SWIG_PY_INT
, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT
, 0, 0, 0},
28097 { SWIG_PY_INT
, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP
, 0, 0, 0},
28098 { SWIG_PY_INT
, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID
, 0, 0, 0},
28099 { SWIG_PY_INT
, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT
, 0, 0, 0},
28100 { SWIG_PY_INT
, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT
, 0, 0, 0},
28101 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE
, 0, 0, 0},
28102 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER
, 0, 0, 0},
28103 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE
, 0, 0, 0},
28104 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER
, 0, 0, 0},
28105 { SWIG_PY_INT
, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS
, 0, 0, 0},
28106 { SWIG_PY_INT
, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON
, 0, 0, 0},
28107 { SWIG_PY_INT
, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL
, 0, 0, 0},
28108 { SWIG_PY_INT
, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP
, 0, 0, 0},
28109 { SWIG_PY_INT
, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN
, 0, 0, 0},
28110 { SWIG_PY_INT
, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT
, 0, 0, 0},
28111 { SWIG_PY_INT
, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT
, 0, 0, 0},
28112 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG
, 0, 0, 0},
28113 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
, 0, 0, 0},
28114 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, 0, 0, 0},
28115 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
, 0, 0, 0},
28116 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM
, 0, 0, 0},
28117 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, 0, 0, 0},
28118 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO
, 0, 0, 0},
28119 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO
, 0, 0, 0},
28120 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED
, 0, 0, 0},
28121 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
, 0, 0, 0},
28122 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN
, 0, 0, 0},
28123 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM
, 0, 0, 0},
28124 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK
, 0, 0, 0},
28125 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
, 0, 0, 0},
28126 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28127 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, 0, 0, 0},
28128 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT
, 0, 0, 0},
28129 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
, 0, 0, 0},
28130 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
, 0, 0, 0},
28131 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING
, 0, 0, 0},
28132 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG
, 0, 0, 0},
28133 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
, 0, 0, 0},
28134 { SWIG_PY_INT
, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS
, 0, 0, 0},
28135 { SWIG_PY_INT
, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS
, 0, 0, 0},
28136 { SWIG_PY_INT
, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES
, 0, 0, 0},
28137 { SWIG_PY_INT
, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT
, 0, 0, 0},
28138 { SWIG_PY_INT
, (char *)"TR_SINGLE", (long) wxTR_SINGLE
, 0, 0, 0},
28139 { SWIG_PY_INT
, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE
, 0, 0, 0},
28140 { SWIG_PY_INT
, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED
, 0, 0, 0},
28141 { SWIG_PY_INT
, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT
, 0, 0, 0},
28142 { SWIG_PY_INT
, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS
, 0, 0, 0},
28143 { SWIG_PY_INT
, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT
, 0, 0, 0},
28144 { SWIG_PY_INT
, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES
, 0, 0, 0},
28145 { SWIG_PY_INT
, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT
, 0, 0, 0},
28146 { SWIG_PY_INT
, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE
, 0, 0, 0},
28147 { SWIG_PY_INT
, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS
, 0, 0, 0},
28148 { SWIG_PY_INT
, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS
, 0, 0, 0},
28149 { SWIG_PY_INT
, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS
, 0, 0, 0},
28150 { SWIG_PY_INT
, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal
, 0, 0, 0},
28151 { SWIG_PY_INT
, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected
, 0, 0, 0},
28152 { SWIG_PY_INT
, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded
, 0, 0, 0},
28153 { SWIG_PY_INT
, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded
, 0, 0, 0},
28154 { SWIG_PY_INT
, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max
, 0, 0, 0},
28155 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE
, 0, 0, 0},
28156 { SWIG_PY_INT
, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW
, 0, 0, 0},
28157 { SWIG_PY_INT
, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE
, 0, 0, 0},
28158 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON
, 0, 0, 0},
28159 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON
, 0, 0, 0},
28160 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT
, 0, 0, 0},
28161 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL
, 0, 0, 0},
28162 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28163 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28164 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT
, 0, 0, 0},
28165 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT
, 0, 0, 0},
28166 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART
, 0, 0, 0},
28167 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART
, 0, 0, 0},
28168 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM
, 0, 0, 0},
28169 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG
, 0, 0, 0},
28170 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
, 0, 0, 0},
28171 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, 0, 0, 0},
28172 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
, 0, 0, 0},
28173 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM
, 0, 0, 0},
28174 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO
, 0, 0, 0},
28175 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO
, 0, 0, 0},
28176 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
, 0, 0, 0},
28177 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
, 0, 0, 0},
28178 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, 0, 0, 0},
28179 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, 0, 0, 0},
28180 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED
, 0, 0, 0},
28181 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING
, 0, 0, 0},
28182 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN
, 0, 0, 0},
28183 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
, 0, 0, 0},
28184 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
, 0, 0, 0},
28185 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28186 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG
, 0, 0, 0},
28187 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
, 0, 0, 0},
28188 { SWIG_PY_INT
, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY
, 0, 0, 0},
28189 { SWIG_PY_INT
, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST
, 0, 0, 0},
28190 { SWIG_PY_INT
, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS
, 0, 0, 0},
28191 { SWIG_PY_INT
, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL
, 0, 0, 0},
28192 { SWIG_PY_INT
, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS
, 0, 0, 0},
28193 { SWIG_PY_INT
, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP
, 0, 0, 0},
28194 { SWIG_PY_INT
, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP
, 0, 0, 0},
28195 { SWIG_PY_INT
, (char *)"wxEVT_HELP", (long) wxEVT_HELP
, 0, 0, 0},
28196 { SWIG_PY_INT
, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP
, 0, 0, 0},
28206 SWIGEXPORT(void) SWIG_init(void) {
28207 static PyObject
*SWIG_globals
= 0;
28208 static int typeinit
= 0;
28211 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28212 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28213 d
= PyModule_GetDict(m
);
28216 for (i
= 0; swig_types_initial
[i
]; i
++) {
28217 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28221 SWIG_InstallConstants(d
,swig_const_table
);
28223 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
28224 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
28225 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
28226 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
28227 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
28228 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
28229 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
28230 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
28231 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
28232 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
28233 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
28234 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
28235 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
28236 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
28237 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
28238 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
28239 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
28240 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
28241 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
28242 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
28243 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
28244 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
28245 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
28246 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
28247 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
28248 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
28249 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
28250 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
28251 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
28252 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
28253 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
28254 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
28256 // Map renamed classes back to their common name for OOR
28257 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28259 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
28260 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
28261 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
28262 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
28263 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
28264 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
28265 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
28266 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
28267 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
28268 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
28269 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
28270 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
28271 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
28272 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
28273 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
28274 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
28275 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
28276 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
28277 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
28279 // Map renamed classes back to their common name for OOR
28280 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28281 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28283 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
28284 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
28286 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");