1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
150 /* Flags for pointer conversion */
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
158 /* Constant information structure */
159 typedef struct swig_const_info
{
165 swig_type_info
**ptype
;
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
200 /* Contract support */
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
210 /* -------- TYPES TABLE (BEGIN) -------- */
212 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
213 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
214 #define SWIGTYPE_p_wxSizer swig_types[2]
215 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
216 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
217 #define SWIGTYPE_p_wxCheckBox swig_types[5]
218 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
221 #define SWIGTYPE_p_bool swig_types[9]
222 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
223 #define SWIGTYPE_p_wxItemContainer swig_types[11]
224 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
225 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
226 #define SWIGTYPE_p_wxStaticLine swig_types[14]
227 #define SWIGTYPE_p_wxControl swig_types[15]
228 #define SWIGTYPE_p_wxPyControl swig_types[16]
229 #define SWIGTYPE_p_wxGauge swig_types[17]
230 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
231 #define SWIGTYPE_p_wxFont swig_types[19]
232 #define SWIGTYPE_p_wxToggleButton swig_types[20]
233 #define SWIGTYPE_p_wxRadioButton swig_types[21]
234 #define SWIGTYPE_p_wxChoice swig_types[22]
235 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
236 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
237 #define SWIGTYPE_p_int swig_types[25]
238 #define SWIGTYPE_p_wxSize swig_types[26]
239 #define SWIGTYPE_p_wxDC swig_types[27]
240 #define SWIGTYPE_p_wxListView swig_types[28]
241 #define SWIGTYPE_p_wxIcon swig_types[29]
242 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
243 #define SWIGTYPE_p_wxNotebook swig_types[31]
244 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
245 #define SWIGTYPE_p_wxArrayString swig_types[33]
246 #define SWIGTYPE_p_wxListbook swig_types[34]
247 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
248 #define SWIGTYPE_p_wxSlider swig_types[36]
249 #define SWIGTYPE_p_wxStaticBox swig_types[37]
250 #define SWIGTYPE_p_wxArrayInt swig_types[38]
251 #define SWIGTYPE_p_wxContextHelp swig_types[39]
252 #define SWIGTYPE_p_long swig_types[40]
253 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
254 #define SWIGTYPE_p_wxListEvent swig_types[42]
255 #define SWIGTYPE_p_wxListBox swig_types[43]
256 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
257 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
258 #define SWIGTYPE_p_wxSpinButton swig_types[46]
259 #define SWIGTYPE_p_wxButton swig_types[47]
260 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
261 #define SWIGTYPE_p_wxRect swig_types[49]
262 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
263 #define SWIGTYPE_p_wxRadioBox swig_types[51]
264 #define SWIGTYPE_p_wxScrollBar swig_types[52]
265 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
266 #define SWIGTYPE_p_wxComboBox swig_types[54]
267 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
268 #define SWIGTYPE_p_wxListItem swig_types[56]
269 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
270 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
271 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
272 #define SWIGTYPE_p_wxImageList swig_types[60]
273 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
274 #define SWIGTYPE_p_wxTextAttr swig_types[62]
275 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
276 #define SWIGTYPE_p_wxPoint swig_types[64]
277 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
278 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
279 #define SWIGTYPE_p_wxObject swig_types[67]
280 #define SWIGTYPE_p_wxCursor swig_types[68]
281 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
282 #define SWIGTYPE_p_wxWindow swig_types[70]
283 #define SWIGTYPE_p_wxString swig_types[71]
284 #define SWIGTYPE_p_wxBitmap swig_types[72]
285 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
286 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
288 #define SWIGTYPE_p_wxStaticText swig_types[76]
289 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
290 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
291 #define SWIGTYPE_p_wxColour swig_types[79]
292 #define SWIGTYPE_p_wxToolBar swig_types[80]
293 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
294 #define SWIGTYPE_p_wxValidator swig_types[82]
295 static swig_type_info
*swig_types
[84];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _controls.so
302 ------------------------------------------------*/
303 #define SWIG_init init_controls
305 #define SWIG_name "_controls"
307 #include "wx/wxPython/wxPython.h"
308 #include "wx/wxPython/pyclasses.h"
310 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
311 static const wxString
wxPyEmptyString(wxEmptyString
);
312 static const wxString
wxPyControlNameStr(wxControlNameStr
);
313 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
314 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
315 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
316 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
317 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
318 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
319 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
320 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
322 #include <wx/checklst.h>
325 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
326 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
328 wxPyClientData
* data
= new wxPyClientData(clientData
);
329 self
->Insert(item
, pos
, data
);
331 self
->Insert(item
, pos
);
333 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
335 self
->GetSelections(lst
);
336 PyObject
*tup
= PyTuple_New(lst
.GetCount());
337 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
338 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
342 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
344 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
350 } else if (target
== Py_None
) {
354 if (!PyTuple_Check(target
)) {
356 target
= PyTuple_New(1);
357 PyTuple_SetItem(target
, 0, o2
);
360 PyTuple_SetItem(o3
, 0, o
);
363 target
= PySequence_Concat(o2
, o3
);
370 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
371 self
->AppendText(text
);
373 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
374 return self
->GetValue().Mid(from
, to
- from
);
376 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
377 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
378 static const wxString
wxPySpinCtrlNameStr(wxT(_T("wxSpinCtrl")));
379 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
380 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
382 #include <wx/slider.h>
385 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
386 static const wxString
wxPyToggleButtonNameStr(wxT(_T("wxToggleButton")));
389 // implement dummy classes and such for wxMac
391 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
393 class wxToggleButton
: public wxControl
396 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
397 const wxPoint
&, const wxSize
&, long,
398 const wxValidator
&, const wxString
&)
399 { wxPyRaiseNotImplemented(); }
402 { wxPyRaiseNotImplemented(); }
406 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
407 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
408 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
409 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
411 Py_INCREF(udata
->m_obj
);
418 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
419 self
->SetClientData(new wxPyUserData(clientData
));
421 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
){
422 wxPyUserData
* udata
= NULL
;
423 if (clientData
&& clientData
!= Py_None
)
424 udata
= new wxPyUserData(clientData
);
425 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
426 shortHelp
, longHelp
, udata
);
428 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
){
429 wxPyUserData
* udata
= NULL
;
430 if (clientData
&& clientData
!= Py_None
)
431 udata
= new wxPyUserData(clientData
);
432 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
433 shortHelp
, longHelp
, udata
);
435 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
436 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
438 Py_INCREF(udata
->m_obj
);
445 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
446 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
449 #include <wx/listctrl.h>
452 static const wxString
wxPyListCtrlNameStr(wxT(_T("wxListCtrl")));
453 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
454 // Python aware sorting function for wxPyListCtrl
455 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
457 PyObject
* func
= (PyObject
*)funcPtr
;
458 wxPyBeginBlockThreads();
460 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
461 PyObject
* result
= PyEval_CallObject(func
, args
);
464 retval
= PyInt_AsLong(result
);
468 wxPyEndBlockThreads();
472 // C++ Version of a Python aware class
473 class wxPyListCtrl
: public wxListCtrl
{
474 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
476 wxPyListCtrl() : wxListCtrl() {}
477 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
481 const wxValidator
& validator
,
482 const wxString
& name
) :
483 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
485 bool Create(wxWindow
* parent
, wxWindowID id
,
489 const wxValidator
& validator
,
490 const wxString
& name
) {
491 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
494 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
495 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
496 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
501 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
503 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
504 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
505 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
507 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
509 item
.SetMask( wxLIST_MASK_STATE
|
517 if (self
->GetColumn(col
, item
))
518 return new wxListItem(item
);
522 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
523 wxListItem
* info
= new wxListItem
;
524 info
->m_itemId
= itemId
;
526 info
->m_mask
= 0xFFFF;
527 self
->GetItem(*info
);
530 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
532 self
->GetItemPosition(item
, pos
);
535 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
537 self
->GetItemRect(item
, rect
, code
);
540 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
541 if (!PyCallable_Check(func
))
543 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
545 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
553 #include <wx/treectrl.h>
554 #include "wx/wxPython/pytree.h"
556 static const wxString
wxPyTreeCtrlNameStr(wxT(_T("wxTreeCtrl")));
557 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
558 if (!other
) return False
;
559 return *self
== *other
;
561 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
562 if (!other
) return True
;
563 return *self
!= *other
;
565 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
566 // C++ version of Python aware wxTreeCtrl
567 class wxPyTreeCtrl
: public wxTreeCtrl
{
568 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
570 wxPyTreeCtrl() : wxTreeCtrl() {}
571 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
575 const wxValidator
& validator
,
576 const wxString
& name
) :
577 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
579 bool Create(wxWindow
*parent
, wxWindowID id
,
583 const wxValidator
& validator
,
584 const wxString
& name
) {
585 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
589 int OnCompareItems(const wxTreeItemId
& item1
,
590 const wxTreeItemId
& item2
) {
593 wxPyBeginBlockThreads();
594 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
595 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
596 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
597 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
601 wxPyEndBlockThreads();
603 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
609 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
612 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
613 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
615 data
= new wxPyTreeItemData();
616 data
->SetId(item
); // set the id
617 self
->SetItemData(item
, data
);
621 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
622 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
624 data
= new wxPyTreeItemData();
625 data
->SetId(item
); // set the id
626 self
->SetItemData(item
, data
);
628 return data
->GetData();
630 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
631 data
->SetId(item
); // set the id
632 self
->SetItemData(item
, data
);
634 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
635 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
637 data
= new wxPyTreeItemData(obj
);
638 data
->SetId(item
); // set the id
639 self
->SetItemData(item
, data
);
643 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
644 wxPyBeginBlockThreads();
645 PyObject
* rval
= PyList_New(0);
646 wxArrayTreeItemIds array
;
648 num
= self
->GetSelections(array
);
649 for (x
=0; x
< num
; x
++) {
650 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
651 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
652 PyList_Append(rval
, item
);
654 wxPyEndBlockThreads();
657 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
658 wxTreeItemIdValue cookie
= 0;
659 wxTreeItemId ritem
= self
->GetFirstChild(item
, cookie
);
660 wxPyBeginBlockThreads();
661 PyObject
* tup
= PyTuple_New(2);
662 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
663 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
664 wxPyEndBlockThreads();
667 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxTreeItemIdValue
&cookie
){
668 wxTreeItemId ritem
= self
->GetNextChild(item
, cookie
);
669 wxPyBeginBlockThreads();
670 PyObject
* tup
= PyTuple_New(2);
671 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
672 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
673 wxPyEndBlockThreads();
676 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
678 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
679 wxPyBeginBlockThreads();
680 wxRect
* r
= new wxRect(rect
);
681 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
682 wxPyEndBlockThreads();
688 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
689 // C++ version of Python aware wxControl
690 class wxPyControl
: public wxControl
692 DECLARE_DYNAMIC_CLASS(wxPyControl
)
694 wxPyControl() : wxControl() {}
695 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
696 const wxPoint
& pos
= wxDefaultPosition
,
697 const wxSize
& size
= wxDefaultSize
,
699 const wxValidator
& validator
=wxDefaultValidator
,
700 const wxString
& name
= wxPyControlNameStr
)
701 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
704 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
705 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
706 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
707 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
709 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
710 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
711 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
713 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
714 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
716 DEC_PYCALLBACK__(InitDialog
);
717 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
718 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
719 DEC_PYCALLBACK_BOOL_(Validate
);
721 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
722 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
723 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
725 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
726 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
731 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
733 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
734 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
735 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
736 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
738 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
739 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
740 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
742 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
743 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
745 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
746 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
747 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
748 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
750 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
751 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
752 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
754 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
755 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
760 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
762 #include <wx/generic/dragimgg.h>
767 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
768 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
773 static PyObject
*_wrap_ButtonNameStr_get() {
778 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
780 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
787 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
789 wxWindow
*arg1
= (wxWindow
*) 0 ;
792 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
793 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
794 wxSize
const &arg5_defvalue
= wxDefaultSize
;
795 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
796 long arg6
= (long) 0 ;
797 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
798 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
799 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
800 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
806 PyObject
* obj0
= 0 ;
807 PyObject
* obj2
= 0 ;
808 PyObject
* obj3
= 0 ;
809 PyObject
* obj4
= 0 ;
810 PyObject
* obj6
= 0 ;
811 PyObject
* obj7
= 0 ;
813 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_Button",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
819 arg3
= wxString_in_helper(obj2
);
820 if (arg3
== NULL
) SWIG_fail
;
826 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
832 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
836 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
838 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
843 arg8
= wxString_in_helper(obj7
);
844 if (arg8
== NULL
) SWIG_fail
;
849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
850 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
852 wxPyEndAllowThreads(__tstate
);
853 if (PyErr_Occurred()) SWIG_fail
;
856 resultobj
= wxPyMake_wxObject(result
);
880 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
890 result
= (wxButton
*)new wxButton();
892 wxPyEndAllowThreads(__tstate
);
893 if (PyErr_Occurred()) SWIG_fail
;
896 resultobj
= wxPyMake_wxObject(result
);
904 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
906 wxButton
*arg1
= (wxButton
*) 0 ;
907 wxWindow
*arg2
= (wxWindow
*) 0 ;
910 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
911 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
912 wxSize
const &arg6_defvalue
= wxDefaultSize
;
913 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
914 long arg7
= (long) 0 ;
915 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
916 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
917 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
918 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
924 PyObject
* obj0
= 0 ;
925 PyObject
* obj1
= 0 ;
926 PyObject
* obj3
= 0 ;
927 PyObject
* obj4
= 0 ;
928 PyObject
* obj5
= 0 ;
929 PyObject
* obj7
= 0 ;
930 PyObject
* obj8
= 0 ;
932 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:Button_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
939 arg4
= wxString_in_helper(obj3
);
940 if (arg4
== NULL
) SWIG_fail
;
946 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
952 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
956 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
958 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
963 arg9
= wxString_in_helper(obj8
);
964 if (arg9
== NULL
) SWIG_fail
;
969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
970 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
972 wxPyEndAllowThreads(__tstate
);
973 if (PyErr_Occurred()) SWIG_fail
;
975 resultobj
= PyInt_FromLong((long)result
);
998 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 wxButton
*arg1
= (wxButton
*) 0 ;
1001 PyObject
* obj0
= 0 ;
1003 (char *) "self", NULL
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1010 (arg1
)->SetDefault();
1012 wxPyEndAllowThreads(__tstate
);
1013 if (PyErr_Occurred()) SWIG_fail
;
1015 Py_INCREF(Py_None
); resultobj
= Py_None
;
1022 static PyObject
*_wrap_Button_SetImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1023 PyObject
*resultobj
;
1024 wxButton
*arg1
= (wxButton
*) 0 ;
1025 wxBitmap
*arg2
= 0 ;
1026 PyObject
* obj0
= 0 ;
1027 PyObject
* obj1
= 0 ;
1029 (char *) "self",(char *) "bitmap", NULL
1032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Button_SetImageLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1034 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1036 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1040 (arg1
)->SetImageLabel((wxBitmap
const &)*arg2
);
1042 wxPyEndAllowThreads(__tstate
);
1043 if (PyErr_Occurred()) SWIG_fail
;
1045 Py_INCREF(Py_None
); resultobj
= Py_None
;
1052 static PyObject
*_wrap_Button_SetImageMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1053 PyObject
*resultobj
;
1054 wxButton
*arg1
= (wxButton
*) 0 ;
1057 PyObject
* obj0
= 0 ;
1059 (char *) "self",(char *) "x",(char *) "y", NULL
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Button_SetImageMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1066 (arg1
)->SetImageMargins(arg2
,arg3
);
1068 wxPyEndAllowThreads(__tstate
);
1069 if (PyErr_Occurred()) SWIG_fail
;
1071 Py_INCREF(Py_None
); resultobj
= Py_None
;
1078 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1079 PyObject
*resultobj
;
1085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1088 result
= wxButton::GetDefaultSize();
1090 wxPyEndAllowThreads(__tstate
);
1091 if (PyErr_Occurred()) SWIG_fail
;
1095 resultptr
= new wxSize((wxSize
&) result
);
1096 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1104 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1107 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1109 return Py_BuildValue((char *)"");
1111 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1112 PyObject
*resultobj
;
1113 wxWindow
*arg1
= (wxWindow
*) 0 ;
1115 wxBitmap
*arg3
= 0 ;
1116 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1117 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1118 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1119 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1120 long arg6
= (long) wxBU_AUTODRAW
;
1121 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1122 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1123 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1124 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1125 wxBitmapButton
*result
;
1128 bool temp8
= False
;
1129 PyObject
* obj0
= 0 ;
1130 PyObject
* obj2
= 0 ;
1131 PyObject
* obj3
= 0 ;
1132 PyObject
* obj4
= 0 ;
1133 PyObject
* obj6
= 0 ;
1134 PyObject
* obj7
= 0 ;
1136 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_BitmapButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1141 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1143 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1148 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1154 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1158 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1160 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1165 arg8
= wxString_in_helper(obj7
);
1166 if (arg8
== NULL
) SWIG_fail
;
1171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1172 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1174 wxPyEndAllowThreads(__tstate
);
1175 if (PyErr_Occurred()) SWIG_fail
;
1178 resultobj
= wxPyMake_wxObject(result
);
1194 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
*resultobj
;
1196 wxBitmapButton
*result
;
1201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1204 result
= (wxBitmapButton
*)new wxBitmapButton();
1206 wxPyEndAllowThreads(__tstate
);
1207 if (PyErr_Occurred()) SWIG_fail
;
1210 resultobj
= wxPyMake_wxObject(result
);
1218 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1219 PyObject
*resultobj
;
1220 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1221 wxWindow
*arg2
= (wxWindow
*) 0 ;
1223 wxBitmap
*arg4
= 0 ;
1224 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1225 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1226 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1227 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1228 long arg7
= (long) wxBU_AUTODRAW
;
1229 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1230 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1231 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1232 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1236 bool temp9
= False
;
1237 PyObject
* obj0
= 0 ;
1238 PyObject
* obj1
= 0 ;
1239 PyObject
* obj3
= 0 ;
1240 PyObject
* obj4
= 0 ;
1241 PyObject
* obj5
= 0 ;
1242 PyObject
* obj7
= 0 ;
1243 PyObject
* obj8
= 0 ;
1245 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1250 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1251 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1253 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1258 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1264 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1268 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1270 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1275 arg9
= wxString_in_helper(obj8
);
1276 if (arg9
== NULL
) SWIG_fail
;
1281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1282 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1284 wxPyEndAllowThreads(__tstate
);
1285 if (PyErr_Occurred()) SWIG_fail
;
1287 resultobj
= PyInt_FromLong((long)result
);
1302 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
*resultobj
;
1304 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1306 PyObject
* obj0
= 0 ;
1308 (char *) "self", NULL
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1315 result
= (arg1
)->GetBitmapLabel();
1317 wxPyEndAllowThreads(__tstate
);
1318 if (PyErr_Occurred()) SWIG_fail
;
1321 wxBitmap
* resultptr
;
1322 resultptr
= new wxBitmap((wxBitmap
&) result
);
1323 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1331 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
*resultobj
;
1333 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1335 PyObject
* obj0
= 0 ;
1337 (char *) "self", NULL
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1344 result
= (arg1
)->GetBitmapDisabled();
1346 wxPyEndAllowThreads(__tstate
);
1347 if (PyErr_Occurred()) SWIG_fail
;
1350 wxBitmap
* resultptr
;
1351 resultptr
= new wxBitmap((wxBitmap
&) result
);
1352 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1360 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
*resultobj
;
1362 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1364 PyObject
* obj0
= 0 ;
1366 (char *) "self", NULL
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1373 result
= (arg1
)->GetBitmapFocus();
1375 wxPyEndAllowThreads(__tstate
);
1376 if (PyErr_Occurred()) SWIG_fail
;
1379 wxBitmap
* resultptr
;
1380 resultptr
= new wxBitmap((wxBitmap
&) result
);
1381 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1389 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
*resultobj
;
1391 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1393 PyObject
* obj0
= 0 ;
1395 (char *) "self", NULL
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1402 result
= (arg1
)->GetBitmapSelected();
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) SWIG_fail
;
1408 wxBitmap
* resultptr
;
1409 resultptr
= new wxBitmap((wxBitmap
&) result
);
1410 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1418 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
*resultobj
;
1420 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1421 wxBitmap
*arg2
= 0 ;
1422 PyObject
* obj0
= 0 ;
1423 PyObject
* obj1
= 0 ;
1425 (char *) "self",(char *) "bitmap", NULL
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1432 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) SWIG_fail
;
1441 Py_INCREF(Py_None
); resultobj
= Py_None
;
1448 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
*resultobj
;
1450 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1451 wxBitmap
*arg2
= 0 ;
1452 PyObject
* obj0
= 0 ;
1453 PyObject
* obj1
= 0 ;
1455 (char *) "self",(char *) "bitmap", NULL
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1460 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1462 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) SWIG_fail
;
1471 Py_INCREF(Py_None
); resultobj
= Py_None
;
1478 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
*resultobj
;
1480 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1481 wxBitmap
*arg2
= 0 ;
1482 PyObject
* obj0
= 0 ;
1483 PyObject
* obj1
= 0 ;
1485 (char *) "self",(char *) "bitmap", NULL
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1492 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) SWIG_fail
;
1501 Py_INCREF(Py_None
); resultobj
= Py_None
;
1508 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
*resultobj
;
1510 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1511 wxBitmap
*arg2
= 0 ;
1512 PyObject
* obj0
= 0 ;
1513 PyObject
* obj1
= 0 ;
1515 (char *) "self",(char *) "bitmap", NULL
1518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1520 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1522 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) SWIG_fail
;
1531 Py_INCREF(Py_None
); resultobj
= Py_None
;
1538 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
*resultobj
;
1540 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1543 PyObject
* obj0
= 0 ;
1545 (char *) "self",(char *) "x",(char *) "y", NULL
1548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:BitmapButton_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1552 (arg1
)->SetMargins(arg2
,arg3
);
1554 wxPyEndAllowThreads(__tstate
);
1555 if (PyErr_Occurred()) SWIG_fail
;
1557 Py_INCREF(Py_None
); resultobj
= Py_None
;
1564 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
*resultobj
;
1566 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1568 PyObject
* obj0
= 0 ;
1570 (char *) "self", NULL
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1577 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1579 wxPyEndAllowThreads(__tstate
);
1580 if (PyErr_Occurred()) SWIG_fail
;
1582 resultobj
= PyInt_FromLong((long)result
);
1589 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
*resultobj
;
1591 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1593 PyObject
* obj0
= 0 ;
1595 (char *) "self", NULL
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1602 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1604 wxPyEndAllowThreads(__tstate
);
1605 if (PyErr_Occurred()) SWIG_fail
;
1607 resultobj
= PyInt_FromLong((long)result
);
1614 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1617 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1619 return Py_BuildValue((char *)"");
1621 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1622 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1627 static PyObject
*_wrap_CheckBoxNameStr_get() {
1632 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1634 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1641 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
*resultobj
;
1643 wxWindow
*arg1
= (wxWindow
*) 0 ;
1645 wxString
*arg3
= 0 ;
1646 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1647 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1648 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1649 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1650 long arg6
= (long) 0 ;
1651 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1652 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1653 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1654 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1656 bool temp3
= False
;
1659 bool temp8
= False
;
1660 PyObject
* obj0
= 0 ;
1661 PyObject
* obj2
= 0 ;
1662 PyObject
* obj3
= 0 ;
1663 PyObject
* obj4
= 0 ;
1664 PyObject
* obj6
= 0 ;
1665 PyObject
* obj7
= 0 ;
1667 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_CheckBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1673 arg3
= wxString_in_helper(obj2
);
1674 if (arg3
== NULL
) SWIG_fail
;
1680 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1686 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1690 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1692 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1697 arg8
= wxString_in_helper(obj7
);
1698 if (arg8
== NULL
) SWIG_fail
;
1703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1704 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1706 wxPyEndAllowThreads(__tstate
);
1707 if (PyErr_Occurred()) SWIG_fail
;
1709 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1732 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
*resultobj
;
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1742 result
= (wxCheckBox
*)new wxCheckBox();
1744 wxPyEndAllowThreads(__tstate
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1747 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1754 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
*resultobj
;
1756 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1757 wxWindow
*arg2
= (wxWindow
*) 0 ;
1759 wxString
*arg4
= 0 ;
1760 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1761 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1762 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1763 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1764 long arg7
= (long) 0 ;
1765 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1766 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1767 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1768 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1770 bool temp4
= False
;
1773 bool temp9
= False
;
1774 PyObject
* obj0
= 0 ;
1775 PyObject
* obj1
= 0 ;
1776 PyObject
* obj3
= 0 ;
1777 PyObject
* obj4
= 0 ;
1778 PyObject
* obj5
= 0 ;
1779 PyObject
* obj7
= 0 ;
1780 PyObject
* obj8
= 0 ;
1782 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1787 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1789 arg4
= wxString_in_helper(obj3
);
1790 if (arg4
== NULL
) SWIG_fail
;
1796 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1802 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1806 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1808 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1813 arg9
= wxString_in_helper(obj8
);
1814 if (arg9
== NULL
) SWIG_fail
;
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1825 resultobj
= PyInt_FromLong((long)result
);
1848 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
*resultobj
;
1850 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1852 PyObject
* obj0
= 0 ;
1854 (char *) "self", NULL
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
1858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 result
= (bool)(arg1
)->GetValue();
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1866 resultobj
= PyInt_FromLong((long)result
);
1873 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
*resultobj
;
1875 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1877 PyObject
* obj0
= 0 ;
1879 (char *) "self", NULL
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
1883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 result
= (bool)(arg1
)->IsChecked();
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 resultobj
= PyInt_FromLong((long)result
);
1898 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
*resultobj
;
1900 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1902 PyObject
* obj0
= 0 ;
1903 PyObject
* obj1
= 0 ;
1905 (char *) "self",(char *) "state", NULL
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
1909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1910 arg2
= PyInt_AsLong(obj1
) ? true : false;
1911 if (PyErr_Occurred()) SWIG_fail
;
1913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1914 (arg1
)->SetValue(arg2
);
1916 wxPyEndAllowThreads(__tstate
);
1917 if (PyErr_Occurred()) SWIG_fail
;
1919 Py_INCREF(Py_None
); resultobj
= Py_None
;
1926 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
*resultobj
;
1928 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1930 PyObject
* obj0
= 0 ;
1932 (char *) "self", NULL
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
1936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1939 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
1941 wxPyEndAllowThreads(__tstate
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1944 resultobj
= PyInt_FromLong((long)result
);
1951 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
*resultobj
;
1953 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1955 PyObject
* obj0
= 0 ;
1957 (char *) "self",(char *) "state", NULL
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckBox_Set3StateValue",kwnames
,&obj0
,&arg2
)) goto fail
;
1961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1969 Py_INCREF(Py_None
); resultobj
= Py_None
;
1976 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
*resultobj
;
1978 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1980 PyObject
* obj0
= 0 ;
1982 (char *) "self", NULL
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
1986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1989 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
1991 wxPyEndAllowThreads(__tstate
);
1992 if (PyErr_Occurred()) SWIG_fail
;
1994 resultobj
= PyInt_FromLong((long)result
);
2001 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2002 PyObject
*resultobj
;
2003 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2005 PyObject
* obj0
= 0 ;
2007 (char *) "self", NULL
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2014 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2016 wxPyEndAllowThreads(__tstate
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2019 resultobj
= PyInt_FromLong((long)result
);
2026 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2029 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2031 return Py_BuildValue((char *)"");
2033 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2034 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2039 static PyObject
*_wrap_ChoiceNameStr_get() {
2044 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2046 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2053 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
*resultobj
;
2055 wxWindow
*arg1
= (wxWindow
*) 0 ;
2057 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2058 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2059 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2060 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2061 int arg5
= (int) 0 ;
2062 wxString
*arg6
= (wxString
*) NULL
;
2063 long arg7
= (long) 0 ;
2064 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2065 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2066 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2067 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2071 bool temp8
= False
;
2072 PyObject
* obj0
= 0 ;
2073 PyObject
* obj2
= 0 ;
2074 PyObject
* obj3
= 0 ;
2075 PyObject
* obj4
= 0 ;
2076 PyObject
* obj6
= 0 ;
2077 PyObject
* obj7
= 0 ;
2079 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_Choice",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
2083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2087 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2093 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2098 arg5
= PyList_Size(obj4
);
2099 arg6
= wxString_LIST_helper(obj4
);
2100 if (arg6
== NULL
) SWIG_fail
;
2104 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2106 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2111 arg9
= wxString_in_helper(obj7
);
2112 if (arg9
== NULL
) SWIG_fail
;
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2123 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2125 if (arg6
) delete [] arg6
;
2134 if (arg6
) delete [] arg6
;
2144 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
*resultobj
;
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 result
= (wxChoice
*)new wxChoice();
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) SWIG_fail
;
2159 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2166 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
*resultobj
;
2168 wxChoice
*arg1
= (wxChoice
*) 0 ;
2169 wxWindow
*arg2
= (wxWindow
*) 0 ;
2171 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2172 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2173 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2174 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2175 int arg6
= (int) 0 ;
2176 wxString
*arg7
= (wxString
*) NULL
;
2177 long arg8
= (long) 0 ;
2178 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2179 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2180 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2181 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2185 bool temp9
= False
;
2186 PyObject
* obj0
= 0 ;
2187 PyObject
* obj1
= 0 ;
2188 PyObject
* obj3
= 0 ;
2189 PyObject
* obj4
= 0 ;
2190 PyObject
* obj5
= 0 ;
2191 PyObject
* obj7
= 0 ;
2192 PyObject
* obj8
= 0 ;
2194 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:Choice_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2199 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2203 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2209 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2214 arg6
= PyList_Size(obj5
);
2215 arg7
= wxString_LIST_helper(obj5
);
2216 if (arg7
== NULL
) SWIG_fail
;
2220 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2222 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2227 arg10
= wxString_in_helper(obj8
);
2228 if (arg10
== NULL
) SWIG_fail
;
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2234 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2236 wxPyEndAllowThreads(__tstate
);
2237 if (PyErr_Occurred()) SWIG_fail
;
2239 resultobj
= PyInt_FromLong((long)result
);
2241 if (arg7
) delete [] arg7
;
2250 if (arg7
) delete [] arg7
;
2260 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
*resultobj
;
2262 wxChoice
*arg1
= (wxChoice
*) 0 ;
2264 PyObject
* obj0
= 0 ;
2266 (char *) "self", NULL
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 result
= (int)(arg1
)->GetColumns();
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2278 resultobj
= PyInt_FromLong((long)result
);
2285 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
*resultobj
;
2287 wxChoice
*arg1
= (wxChoice
*) 0 ;
2288 int arg2
= (int) (int)1 ;
2289 PyObject
* obj0
= 0 ;
2291 (char *) "self",(char *) "n", NULL
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Choice_SetColumns",kwnames
,&obj0
,&arg2
)) goto fail
;
2295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 (arg1
)->SetColumns(arg2
);
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) SWIG_fail
;
2303 Py_INCREF(Py_None
); resultobj
= Py_None
;
2310 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
*resultobj
;
2312 wxChoice
*arg1
= (wxChoice
*) 0 ;
2314 PyObject
* obj0
= 0 ;
2316 (char *) "self",(char *) "n", NULL
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Choice_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2323 (arg1
)->SetSelection(arg2
);
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) SWIG_fail
;
2328 Py_INCREF(Py_None
); resultobj
= Py_None
;
2335 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
*resultobj
;
2337 wxChoice
*arg1
= (wxChoice
*) 0 ;
2338 wxString
*arg2
= 0 ;
2339 bool temp2
= False
;
2340 PyObject
* obj0
= 0 ;
2341 PyObject
* obj1
= 0 ;
2343 (char *) "self",(char *) "string", NULL
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2349 arg2
= wxString_in_helper(obj1
);
2350 if (arg2
== NULL
) SWIG_fail
;
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) SWIG_fail
;
2360 Py_INCREF(Py_None
); resultobj
= Py_None
;
2375 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2376 PyObject
*resultobj
;
2377 wxChoice
*arg1
= (wxChoice
*) 0 ;
2379 wxString
*arg3
= 0 ;
2380 bool temp3
= False
;
2381 PyObject
* obj0
= 0 ;
2382 PyObject
* obj2
= 0 ;
2384 (char *) "self",(char *) "n",(char *) "s", NULL
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Choice_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
2388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2390 arg3
= wxString_in_helper(obj2
);
2391 if (arg3
== NULL
) SWIG_fail
;
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2401 Py_INCREF(Py_None
); resultobj
= Py_None
;
2416 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2419 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2421 return Py_BuildValue((char *)"");
2423 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2424 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2429 static PyObject
*_wrap_ComboBoxNameStr_get() {
2434 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2436 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2443 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
*resultobj
;
2445 wxWindow
*arg1
= (wxWindow
*) 0 ;
2447 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2448 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2449 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2450 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2451 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2452 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2453 int arg6
= (int) 0 ;
2454 wxString
*arg7
= (wxString
*) NULL
;
2455 long arg8
= (long) 0 ;
2456 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2457 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2458 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2459 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2461 bool temp3
= False
;
2464 bool temp9
= False
;
2465 PyObject
* obj0
= 0 ;
2466 PyObject
* obj2
= 0 ;
2467 PyObject
* obj3
= 0 ;
2468 PyObject
* obj4
= 0 ;
2469 PyObject
* obj5
= 0 ;
2470 PyObject
* obj7
= 0 ;
2471 PyObject
* obj8
= 0 ;
2473 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2480 arg3
= wxString_in_helper(obj2
);
2481 if (arg3
== NULL
) SWIG_fail
;
2488 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2494 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2499 arg6
= PyList_Size(obj5
);
2500 arg7
= wxString_LIST_helper(obj5
);
2501 if (arg7
== NULL
) SWIG_fail
;
2505 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2507 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2512 arg10
= wxString_in_helper(obj8
);
2513 if (arg10
== NULL
) SWIG_fail
;
2518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2519 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2521 wxPyEndAllowThreads(__tstate
);
2522 if (PyErr_Occurred()) SWIG_fail
;
2524 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2530 if (arg7
) delete [] arg7
;
2543 if (arg7
) delete [] arg7
;
2553 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
*resultobj
;
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 result
= (wxComboBox
*)new wxComboBox();
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2568 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2575 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
*resultobj
;
2577 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2578 wxWindow
*arg2
= (wxWindow
*) 0 ;
2580 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2581 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2582 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2583 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2584 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2585 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2586 int arg7
= (int) 0 ;
2587 wxString
*arg8
= (wxString
*) NULL
;
2588 long arg9
= (long) 0 ;
2589 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
2590 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
2591 wxString
const &arg11_defvalue
= wxPyComboBoxNameStr
;
2592 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
2594 bool temp4
= False
;
2597 bool temp10
= False
;
2598 PyObject
* obj0
= 0 ;
2599 PyObject
* obj1
= 0 ;
2600 PyObject
* obj3
= 0 ;
2601 PyObject
* obj4
= 0 ;
2602 PyObject
* obj5
= 0 ;
2603 PyObject
* obj6
= 0 ;
2604 PyObject
* obj8
= 0 ;
2605 PyObject
* obj9
= 0 ;
2607 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&obj8
,&obj9
)) goto fail
;
2611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2612 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2615 arg4
= wxString_in_helper(obj3
);
2616 if (arg4
== NULL
) SWIG_fail
;
2623 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2629 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2634 arg7
= PyList_Size(obj6
);
2635 arg8
= wxString_LIST_helper(obj6
);
2636 if (arg8
== NULL
) SWIG_fail
;
2640 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2641 if (arg10
== NULL
) {
2642 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2647 arg11
= wxString_in_helper(obj9
);
2648 if (arg11
== NULL
) SWIG_fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2659 resultobj
= PyInt_FromLong((long)result
);
2665 if (arg8
) delete [] arg8
;
2678 if (arg8
) delete [] arg8
;
2688 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
*resultobj
;
2690 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2692 PyObject
* obj0
= 0 ;
2694 (char *) "self", NULL
2697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2701 result
= ((wxComboBox
const *)arg1
)->GetValue();
2703 wxPyEndAllowThreads(__tstate
);
2704 if (PyErr_Occurred()) SWIG_fail
;
2708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2719 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2720 PyObject
*resultobj
;
2721 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2722 wxString
*arg2
= 0 ;
2723 bool temp2
= False
;
2724 PyObject
* obj0
= 0 ;
2725 PyObject
* obj1
= 0 ;
2727 (char *) "self",(char *) "value", NULL
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2733 arg2
= wxString_in_helper(obj1
);
2734 if (arg2
== NULL
) SWIG_fail
;
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 (arg1
)->SetValue((wxString
const &)*arg2
);
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2744 Py_INCREF(Py_None
); resultobj
= Py_None
;
2759 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
*resultobj
;
2761 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2762 PyObject
* obj0
= 0 ;
2764 (char *) "self", NULL
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2776 Py_INCREF(Py_None
); resultobj
= Py_None
;
2783 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
*resultobj
;
2785 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2786 PyObject
* obj0
= 0 ;
2788 (char *) "self", NULL
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
2792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 wxPyEndAllowThreads(__tstate
);
2798 if (PyErr_Occurred()) SWIG_fail
;
2800 Py_INCREF(Py_None
); resultobj
= Py_None
;
2807 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
*resultobj
;
2809 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2810 PyObject
* obj0
= 0 ;
2812 (char *) "self", NULL
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
2816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 Py_INCREF(Py_None
); resultobj
= Py_None
;
2831 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
*resultobj
;
2833 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2835 PyObject
* obj0
= 0 ;
2837 (char *) "self",(char *) "pos", NULL
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
2841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 (arg1
)->SetInsertionPoint(arg2
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2849 Py_INCREF(Py_None
); resultobj
= Py_None
;
2856 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2857 PyObject
*resultobj
;
2858 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2860 PyObject
* obj0
= 0 ;
2862 (char *) "self", NULL
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
2866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2874 resultobj
= PyInt_FromLong((long)result
);
2881 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
*resultobj
;
2883 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2885 PyObject
* obj0
= 0 ;
2887 (char *) "self", NULL
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
2891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2899 resultobj
= PyInt_FromLong((long)result
);
2906 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
*resultobj
;
2908 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2911 wxString
*arg4
= 0 ;
2912 bool temp4
= False
;
2913 PyObject
* obj0
= 0 ;
2914 PyObject
* obj3
= 0 ;
2916 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:ComboBox_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2922 arg4
= wxString_in_helper(obj3
);
2923 if (arg4
== NULL
) SWIG_fail
;
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2933 Py_INCREF(Py_None
); resultobj
= Py_None
;
2948 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
*resultobj
;
2950 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2952 PyObject
* obj0
= 0 ;
2954 (char *) "self",(char *) "n", NULL
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ComboBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2961 (arg1
)->SetSelection(arg2
);
2963 wxPyEndAllowThreads(__tstate
);
2964 if (PyErr_Occurred()) SWIG_fail
;
2966 Py_INCREF(Py_None
); resultobj
= Py_None
;
2973 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
*resultobj
;
2975 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2978 PyObject
* obj0
= 0 ;
2980 (char *) "self",(char *) "from",(char *) "to", NULL
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_SetMark",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 (arg1
)->SetSelection(arg2
,arg3
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2992 Py_INCREF(Py_None
); resultobj
= Py_None
;
2999 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
*resultobj
;
3001 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3003 PyObject
* obj0
= 0 ;
3004 PyObject
* obj1
= 0 ;
3006 (char *) "self",(char *) "editable", NULL
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3011 arg2
= PyInt_AsLong(obj1
) ? true : false;
3012 if (PyErr_Occurred()) SWIG_fail
;
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 (arg1
)->SetEditable(arg2
);
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3020 Py_INCREF(Py_None
); resultobj
= Py_None
;
3027 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
*resultobj
;
3029 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3030 PyObject
* obj0
= 0 ;
3032 (char *) "self", NULL
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 (arg1
)->SetInsertionPointEnd();
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3044 Py_INCREF(Py_None
); resultobj
= Py_None
;
3051 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
*resultobj
;
3053 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3056 PyObject
* obj0
= 0 ;
3058 (char *) "self",(char *) "from",(char *) "to", NULL
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3065 (arg1
)->Remove(arg2
,arg3
);
3067 wxPyEndAllowThreads(__tstate
);
3068 if (PyErr_Occurred()) SWIG_fail
;
3070 Py_INCREF(Py_None
); resultobj
= Py_None
;
3077 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3080 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3082 return Py_BuildValue((char *)"");
3084 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3085 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3090 static PyObject
*_wrap_GaugeNameStr_get() {
3095 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3097 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3104 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxWindow
*arg1
= (wxWindow
*) 0 ;
3109 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3110 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3111 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3112 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3113 long arg6
= (long) wxGA_HORIZONTAL
;
3114 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3115 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3116 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3117 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3121 bool temp8
= False
;
3122 PyObject
* obj0
= 0 ;
3123 PyObject
* obj3
= 0 ;
3124 PyObject
* obj4
= 0 ;
3125 PyObject
* obj6
= 0 ;
3126 PyObject
* obj7
= 0 ;
3128 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|OOlOO:new_Gauge",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
3132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3136 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3142 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3146 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3148 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3153 arg8
= wxString_in_helper(obj7
);
3154 if (arg8
== NULL
) SWIG_fail
;
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3165 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3180 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
*resultobj
;
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3190 result
= (wxGauge
*)new wxGauge();
3192 wxPyEndAllowThreads(__tstate
);
3193 if (PyErr_Occurred()) SWIG_fail
;
3195 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3202 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
*resultobj
;
3204 wxGauge
*arg1
= (wxGauge
*) 0 ;
3205 wxWindow
*arg2
= (wxWindow
*) 0 ;
3208 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3209 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3210 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3211 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3212 long arg7
= (long) wxGA_HORIZONTAL
;
3213 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3214 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3215 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3216 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3220 bool temp9
= False
;
3221 PyObject
* obj0
= 0 ;
3222 PyObject
* obj1
= 0 ;
3223 PyObject
* obj4
= 0 ;
3224 PyObject
* obj5
= 0 ;
3225 PyObject
* obj7
= 0 ;
3226 PyObject
* obj8
= 0 ;
3228 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|OOlOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
3232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3233 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3237 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3243 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3247 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3249 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3254 arg9
= wxString_in_helper(obj8
);
3255 if (arg9
== NULL
) SWIG_fail
;
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3266 resultobj
= PyInt_FromLong((long)result
);
3281 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxGauge
*arg1
= (wxGauge
*) 0 ;
3285 PyObject
* obj0
= 0 ;
3287 (char *) "self",(char *) "range", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetRange",kwnames
,&obj0
,&arg2
)) goto fail
;
3291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 (arg1
)->SetRange(arg2
);
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 Py_INCREF(Py_None
); resultobj
= Py_None
;
3306 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
*resultobj
;
3308 wxGauge
*arg1
= (wxGauge
*) 0 ;
3310 PyObject
* obj0
= 0 ;
3312 (char *) "self", NULL
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3324 resultobj
= PyInt_FromLong((long)result
);
3331 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
;
3333 wxGauge
*arg1
= (wxGauge
*) 0 ;
3335 PyObject
* obj0
= 0 ;
3337 (char *) "self",(char *) "pos", NULL
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
3341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 (arg1
)->SetValue(arg2
);
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3349 Py_INCREF(Py_None
); resultobj
= Py_None
;
3356 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
*resultobj
;
3358 wxGauge
*arg1
= (wxGauge
*) 0 ;
3360 PyObject
* obj0
= 0 ;
3362 (char *) "self", NULL
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3374 resultobj
= PyInt_FromLong((long)result
);
3381 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
*resultobj
;
3383 wxGauge
*arg1
= (wxGauge
*) 0 ;
3385 PyObject
* obj0
= 0 ;
3387 (char *) "self", NULL
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3396 wxPyEndAllowThreads(__tstate
);
3397 if (PyErr_Occurred()) SWIG_fail
;
3399 resultobj
= PyInt_FromLong((long)result
);
3406 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
*resultobj
;
3408 wxGauge
*arg1
= (wxGauge
*) 0 ;
3410 PyObject
* obj0
= 0 ;
3412 (char *) "self",(char *) "w", NULL
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetShadowWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 (arg1
)->SetShadowWidth(arg2
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3424 Py_INCREF(Py_None
); resultobj
= Py_None
;
3431 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
*resultobj
;
3433 wxGauge
*arg1
= (wxGauge
*) 0 ;
3435 PyObject
* obj0
= 0 ;
3437 (char *) "self", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) SWIG_fail
;
3449 resultobj
= PyInt_FromLong((long)result
);
3456 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
*resultobj
;
3458 wxGauge
*arg1
= (wxGauge
*) 0 ;
3460 PyObject
* obj0
= 0 ;
3462 (char *) "self",(char *) "w", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetBezelFace",kwnames
,&obj0
,&arg2
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 (arg1
)->SetBezelFace(arg2
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 Py_INCREF(Py_None
); resultobj
= Py_None
;
3481 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
*resultobj
;
3483 wxGauge
*arg1
= (wxGauge
*) 0 ;
3485 PyObject
* obj0
= 0 ;
3487 (char *) "self", NULL
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3496 wxPyEndAllowThreads(__tstate
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3499 resultobj
= PyInt_FromLong((long)result
);
3506 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3509 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3511 return Py_BuildValue((char *)"");
3513 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
3514 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3519 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3524 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3526 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3533 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
3534 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3539 static PyObject
*_wrap_StaticBoxNameStr_get() {
3544 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3546 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3553 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
3554 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3559 static PyObject
*_wrap_StaticTextNameStr_get() {
3564 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3566 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3573 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
*resultobj
;
3575 wxWindow
*arg1
= (wxWindow
*) 0 ;
3577 wxString
*arg3
= 0 ;
3578 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3579 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3580 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3581 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3582 long arg6
= (long) 0 ;
3583 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3584 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3585 wxStaticBox
*result
;
3586 bool temp3
= False
;
3589 bool temp7
= False
;
3590 PyObject
* obj0
= 0 ;
3591 PyObject
* obj2
= 0 ;
3592 PyObject
* obj3
= 0 ;
3593 PyObject
* obj4
= 0 ;
3594 PyObject
* obj6
= 0 ;
3596 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3602 arg3
= wxString_in_helper(obj2
);
3603 if (arg3
== NULL
) SWIG_fail
;
3609 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3615 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3620 arg7
= wxString_in_helper(obj6
);
3621 if (arg7
== NULL
) SWIG_fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3633 resultobj
= wxPyMake_wxObject(result
);
3657 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
*resultobj
;
3659 wxStaticBox
*result
;
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
3666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3667 result
= (wxStaticBox
*)new wxStaticBox();
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3673 resultobj
= wxPyMake_wxObject(result
);
3681 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
*resultobj
;
3683 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
3684 wxWindow
*arg2
= (wxWindow
*) 0 ;
3686 wxString
*arg4
= 0 ;
3687 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3688 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3689 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3690 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3691 long arg7
= (long) 0 ;
3692 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
3693 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3695 bool temp4
= False
;
3698 bool temp8
= False
;
3699 PyObject
* obj0
= 0 ;
3700 PyObject
* obj1
= 0 ;
3701 PyObject
* obj3
= 0 ;
3702 PyObject
* obj4
= 0 ;
3703 PyObject
* obj5
= 0 ;
3704 PyObject
* obj7
= 0 ;
3706 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3713 arg4
= wxString_in_helper(obj3
);
3714 if (arg4
== NULL
) SWIG_fail
;
3720 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3726 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3731 arg8
= wxString_in_helper(obj7
);
3732 if (arg8
== NULL
) SWIG_fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3743 resultobj
= PyInt_FromLong((long)result
);
3766 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
3768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3769 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
3771 return Py_BuildValue((char *)"");
3773 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
*resultobj
;
3775 wxWindow
*arg1
= (wxWindow
*) 0 ;
3777 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3778 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3779 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3780 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3781 long arg5
= (long) wxLI_HORIZONTAL
;
3782 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
3783 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3784 wxStaticLine
*result
;
3787 bool temp6
= False
;
3788 PyObject
* obj0
= 0 ;
3789 PyObject
* obj2
= 0 ;
3790 PyObject
* obj3
= 0 ;
3791 PyObject
* obj5
= 0 ;
3793 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_StaticLine",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
3797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3801 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3807 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3812 arg6
= wxString_in_helper(obj5
);
3813 if (arg6
== NULL
) SWIG_fail
;
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3824 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3839 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
*resultobj
;
3841 wxStaticLine
*result
;
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 result
= (wxStaticLine
*)new wxStaticLine();
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3861 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
;
3863 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3864 wxWindow
*arg2
= (wxWindow
*) 0 ;
3866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3870 long arg6
= (long) wxLI_HORIZONTAL
;
3871 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3876 bool temp7
= False
;
3877 PyObject
* obj0
= 0 ;
3878 PyObject
* obj1
= 0 ;
3879 PyObject
* obj3
= 0 ;
3880 PyObject
* obj4
= 0 ;
3881 PyObject
* obj6
= 0 ;
3883 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3888 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3892 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3898 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3903 arg7
= wxString_in_helper(obj6
);
3904 if (arg7
== NULL
) SWIG_fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3915 resultobj
= PyInt_FromLong((long)result
);
3930 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
*resultobj
;
3932 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3934 PyObject
* obj0
= 0 ;
3936 (char *) "self", NULL
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
3940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= PyInt_FromLong((long)result
);
3955 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
;
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 result
= (int)wxStaticLine::GetDefaultSize();
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3970 resultobj
= PyInt_FromLong((long)result
);
3977 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
3979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3980 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
3982 return Py_BuildValue((char *)"");
3984 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
;
3986 wxWindow
*arg1
= (wxWindow
*) 0 ;
3988 wxString
*arg3
= 0 ;
3989 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3990 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3991 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3992 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3993 long arg6
= (long) 0 ;
3994 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3995 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3996 wxStaticText
*result
;
3997 bool temp3
= False
;
4000 bool temp7
= False
;
4001 PyObject
* obj0
= 0 ;
4002 PyObject
* obj2
= 0 ;
4003 PyObject
* obj3
= 0 ;
4004 PyObject
* obj4
= 0 ;
4005 PyObject
* obj6
= 0 ;
4007 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticText",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4013 arg3
= wxString_in_helper(obj2
);
4014 if (arg3
== NULL
) SWIG_fail
;
4020 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4026 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4031 arg7
= wxString_in_helper(obj6
);
4032 if (arg7
== NULL
) SWIG_fail
;
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4066 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
*resultobj
;
4068 wxStaticText
*result
;
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 result
= (wxStaticText
*)new wxStaticText();
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4081 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4088 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
*resultobj
;
4090 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4091 wxWindow
*arg2
= (wxWindow
*) 0 ;
4093 wxString
*arg4
= 0 ;
4094 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4095 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4096 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4097 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4098 long arg7
= (long) 0 ;
4099 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4100 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4102 bool temp4
= False
;
4105 bool temp8
= False
;
4106 PyObject
* obj0
= 0 ;
4107 PyObject
* obj1
= 0 ;
4108 PyObject
* obj3
= 0 ;
4109 PyObject
* obj4
= 0 ;
4110 PyObject
* obj5
= 0 ;
4111 PyObject
* obj7
= 0 ;
4113 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticText_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4118 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4120 arg4
= wxString_in_helper(obj3
);
4121 if (arg4
== NULL
) SWIG_fail
;
4127 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4133 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4138 arg8
= wxString_in_helper(obj7
);
4139 if (arg8
== NULL
) SWIG_fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= PyInt_FromLong((long)result
);
4173 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4176 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4178 return Py_BuildValue((char *)"");
4180 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
;
4182 wxWindow
*arg1
= (wxWindow
*) 0 ;
4184 wxBitmap
*arg3
= 0 ;
4185 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4186 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4187 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4188 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4189 long arg6
= (long) 0 ;
4190 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4191 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4192 wxStaticBitmap
*result
;
4195 bool temp7
= False
;
4196 PyObject
* obj0
= 0 ;
4197 PyObject
* obj2
= 0 ;
4198 PyObject
* obj3
= 0 ;
4199 PyObject
* obj4
= 0 ;
4200 PyObject
* obj6
= 0 ;
4202 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBitmap",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4207 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4209 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4214 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4220 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4225 arg7
= wxString_in_helper(obj6
);
4226 if (arg7
== NULL
) SWIG_fail
;
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4252 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
*resultobj
;
4254 wxStaticBitmap
*result
;
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4267 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4274 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
*resultobj
;
4276 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4277 wxWindow
*arg2
= (wxWindow
*) 0 ;
4279 wxBitmap
*arg4
= 0 ;
4280 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4281 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4282 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4283 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4284 long arg7
= (long) 0 ;
4285 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4286 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4290 bool temp8
= False
;
4291 PyObject
* obj0
= 0 ;
4292 PyObject
* obj1
= 0 ;
4293 PyObject
* obj3
= 0 ;
4294 PyObject
* obj4
= 0 ;
4295 PyObject
* obj5
= 0 ;
4296 PyObject
* obj7
= 0 ;
4298 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4303 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4304 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4306 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4311 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4317 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4322 arg8
= wxString_in_helper(obj7
);
4323 if (arg8
== NULL
) SWIG_fail
;
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 resultobj
= PyInt_FromLong((long)result
);
4349 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4353 PyObject
* obj0
= 0 ;
4355 (char *) "self", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 result
= (arg1
)->GetBitmap();
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4368 wxBitmap
* resultptr
;
4369 resultptr
= new wxBitmap((wxBitmap
&) result
);
4370 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4378 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
;
4380 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4381 wxBitmap
*arg2
= 0 ;
4382 PyObject
* obj0
= 0 ;
4383 PyObject
* obj1
= 0 ;
4385 (char *) "self",(char *) "bitmap", NULL
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4390 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4392 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4401 Py_INCREF(Py_None
); resultobj
= Py_None
;
4408 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
;
4410 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4412 PyObject
* obj0
= 0 ;
4413 PyObject
* obj1
= 0 ;
4415 (char *) "self",(char *) "icon", NULL
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4420 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4422 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 Py_INCREF(Py_None
); resultobj
= Py_None
;
4438 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4441 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4443 return Py_BuildValue((char *)"");
4445 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
4446 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4451 static PyObject
*_wrap_ListBoxNameStr_get() {
4456 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4458 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4465 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
*resultobj
;
4467 wxWindow
*arg1
= (wxWindow
*) 0 ;
4469 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4470 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4471 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4472 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4473 int arg5
= (int) 0 ;
4474 wxString
*arg6
= (wxString
*) NULL
;
4475 long arg7
= (long) 0 ;
4476 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4477 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4478 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
4479 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4483 bool temp8
= False
;
4484 PyObject
* obj0
= 0 ;
4485 PyObject
* obj2
= 0 ;
4486 PyObject
* obj3
= 0 ;
4487 PyObject
* obj4
= 0 ;
4488 PyObject
* obj6
= 0 ;
4489 PyObject
* obj7
= 0 ;
4491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_ListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
4495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4499 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4505 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4510 arg5
= PyList_Size(obj4
);
4511 arg6
= wxString_LIST_helper(obj4
);
4512 if (arg6
== NULL
) SWIG_fail
;
4516 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4518 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4523 arg9
= wxString_in_helper(obj7
);
4524 if (arg9
== NULL
) SWIG_fail
;
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4535 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4537 if (arg6
) delete [] arg6
;
4546 if (arg6
) delete [] arg6
;
4556 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
*resultobj
;
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
4565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 result
= (wxListBox
*)new wxListBox();
4568 wxPyEndAllowThreads(__tstate
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4571 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4578 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxListBox
*arg1
= (wxListBox
*) 0 ;
4581 wxWindow
*arg2
= (wxWindow
*) 0 ;
4583 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4584 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4585 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4586 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4587 int arg6
= (int) 0 ;
4588 wxString
*arg7
= (wxString
*) NULL
;
4589 long arg8
= (long) 0 ;
4590 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4591 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4592 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
4593 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4597 bool temp9
= False
;
4598 PyObject
* obj0
= 0 ;
4599 PyObject
* obj1
= 0 ;
4600 PyObject
* obj3
= 0 ;
4601 PyObject
* obj4
= 0 ;
4602 PyObject
* obj5
= 0 ;
4603 PyObject
* obj7
= 0 ;
4604 PyObject
* obj8
= 0 ;
4606 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
4610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4611 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4615 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4621 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4626 arg6
= PyList_Size(obj5
);
4627 arg7
= wxString_LIST_helper(obj5
);
4628 if (arg7
== NULL
) SWIG_fail
;
4632 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4634 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4639 arg10
= wxString_in_helper(obj8
);
4640 if (arg10
== NULL
) SWIG_fail
;
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= PyInt_FromLong((long)result
);
4653 if (arg7
) delete [] arg7
;
4662 if (arg7
) delete [] arg7
;
4672 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
*resultobj
;
4674 wxListBox
*arg1
= (wxListBox
*) 0 ;
4675 wxString
*arg2
= 0 ;
4677 PyObject
*arg4
= (PyObject
*) NULL
;
4678 bool temp2
= False
;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4681 PyObject
* obj3
= 0 ;
4683 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4689 arg2
= wxString_in_helper(obj1
);
4690 if (arg2
== NULL
) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4703 Py_INCREF(Py_None
); resultobj
= Py_None
;
4718 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
;
4720 wxListBox
*arg1
= (wxListBox
*) 0 ;
4721 wxArrayString
*arg2
= 0 ;
4723 PyObject
* obj0
= 0 ;
4724 PyObject
* obj1
= 0 ;
4726 (char *) "self",(char *) "items",(char *) "pos", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4732 if (! PySequence_Check(obj1
)) {
4733 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4736 arg2
= new wxArrayString
;
4737 int i
, len
=PySequence_Length(obj1
);
4738 for (i
=0; i
<len
; i
++) {
4739 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4741 PyObject
* str
= PyObject_Unicode(item
);
4743 PyObject
* str
= PyObject_Str(item
);
4745 arg2
->Add(Py2wxString(str
));
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4757 Py_INCREF(Py_None
); resultobj
= Py_None
;
4759 if (arg2
) delete arg2
;
4764 if (arg2
) delete arg2
;
4770 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
*resultobj
;
4772 wxListBox
*arg1
= (wxListBox
*) 0 ;
4773 wxArrayString
*arg2
= 0 ;
4774 PyObject
* obj0
= 0 ;
4775 PyObject
* obj1
= 0 ;
4777 (char *) "self",(char *) "items", NULL
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
4781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4783 if (! PySequence_Check(obj1
)) {
4784 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4787 arg2
= new wxArrayString
;
4788 int i
, len
=PySequence_Length(obj1
);
4789 for (i
=0; i
<len
; i
++) {
4790 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4792 PyObject
* str
= PyObject_Unicode(item
);
4794 PyObject
* str
= PyObject_Str(item
);
4796 arg2
->Add(Py2wxString(str
));
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 (arg1
)->Set((wxArrayString
const &)*arg2
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4808 Py_INCREF(Py_None
); resultobj
= Py_None
;
4810 if (arg2
) delete arg2
;
4815 if (arg2
) delete arg2
;
4821 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4823 wxListBox
*arg1
= (wxListBox
*) 0 ;
4826 PyObject
* obj0
= 0 ;
4828 (char *) "self",(char *) "n", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
4832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4840 resultobj
= PyInt_FromLong((long)result
);
4847 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4848 PyObject
*resultobj
;
4849 wxListBox
*arg1
= (wxListBox
*) 0 ;
4851 bool arg3
= (bool) True
;
4852 PyObject
* obj0
= 0 ;
4853 PyObject
* obj2
= 0 ;
4855 (char *) "self",(char *) "n",(char *) "select", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListBox_SetSelection",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4861 arg3
= PyInt_AsLong(obj2
) ? true : false;
4862 if (PyErr_Occurred()) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 (arg1
)->SetSelection(arg2
,arg3
);
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4871 Py_INCREF(Py_None
); resultobj
= Py_None
;
4878 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
;
4880 wxListBox
*arg1
= (wxListBox
*) 0 ;
4882 PyObject
* obj0
= 0 ;
4884 (char *) "self",(char *) "n", NULL
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
4888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 (arg1
)->Select(arg2
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4896 Py_INCREF(Py_None
); resultobj
= Py_None
;
4903 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
*resultobj
;
4905 wxListBox
*arg1
= (wxListBox
*) 0 ;
4907 PyObject
* obj0
= 0 ;
4909 (char *) "self",(char *) "n", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Deselect",kwnames
,&obj0
,&arg2
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 (arg1
)->Deselect(arg2
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 Py_INCREF(Py_None
); resultobj
= Py_None
;
4928 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
;
4930 wxListBox
*arg1
= (wxListBox
*) 0 ;
4931 int arg2
= (int) -1 ;
4932 PyObject
* obj0
= 0 ;
4934 (char *) "self",(char *) "itemToLeaveSelected", NULL
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListBox_DeselectAll",kwnames
,&obj0
,&arg2
)) goto fail
;
4938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 (arg1
)->DeselectAll(arg2
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4946 Py_INCREF(Py_None
); resultobj
= Py_None
;
4953 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
*resultobj
;
4955 wxListBox
*arg1
= (wxListBox
*) 0 ;
4956 wxString
*arg2
= 0 ;
4957 bool arg3
= (bool) True
;
4959 bool temp2
= False
;
4960 PyObject
* obj0
= 0 ;
4961 PyObject
* obj1
= 0 ;
4962 PyObject
* obj2
= 0 ;
4964 (char *) "self",(char *) "s",(char *) "select", NULL
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4970 arg2
= wxString_in_helper(obj1
);
4971 if (arg2
== NULL
) SWIG_fail
;
4975 arg3
= PyInt_AsLong(obj2
) ? true : false;
4976 if (PyErr_Occurred()) SWIG_fail
;
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4985 resultobj
= PyInt_FromLong((long)result
);
5000 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
;
5002 wxListBox
*arg1
= (wxListBox
*) 0 ;
5004 PyObject
* obj0
= 0 ;
5006 (char *) "self", NULL
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5025 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxListBox
*arg1
= (wxListBox
*) 0 ;
5029 PyObject
* obj0
= 0 ;
5031 (char *) "self",(char *) "n", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_SetFirstItem",kwnames
,&obj0
,&arg2
)) goto fail
;
5035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 (arg1
)->SetFirstItem(arg2
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5043 Py_INCREF(Py_None
); resultobj
= Py_None
;
5050 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
*resultobj
;
5052 wxListBox
*arg1
= (wxListBox
*) 0 ;
5053 wxString
*arg2
= 0 ;
5054 bool temp2
= False
;
5055 PyObject
* obj0
= 0 ;
5056 PyObject
* obj1
= 0 ;
5058 (char *) "self",(char *) "s", NULL
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5064 arg2
= wxString_in_helper(obj1
);
5065 if (arg2
== NULL
) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5075 Py_INCREF(Py_None
); resultobj
= Py_None
;
5090 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxListBox
*arg1
= (wxListBox
*) 0 ;
5094 PyObject
* obj0
= 0 ;
5096 (char *) "self",(char *) "n", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
5100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 (arg1
)->EnsureVisible(arg2
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 Py_INCREF(Py_None
); resultobj
= Py_None
;
5115 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
*resultobj
;
5117 wxListBox
*arg1
= (wxListBox
*) 0 ;
5118 wxString
*arg2
= 0 ;
5119 bool temp2
= False
;
5120 PyObject
* obj0
= 0 ;
5121 PyObject
* obj1
= 0 ;
5123 (char *) "self",(char *) "s", NULL
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5129 arg2
= wxString_in_helper(obj1
);
5130 if (arg2
== NULL
) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 Py_INCREF(Py_None
); resultobj
= Py_None
;
5155 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
*resultobj
;
5157 wxListBox
*arg1
= (wxListBox
*) 0 ;
5159 PyObject
* obj0
= 0 ;
5161 (char *) "self", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= PyInt_FromLong((long)result
);
5180 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5183 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5185 return Py_BuildValue((char *)"");
5187 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
;
5189 wxWindow
*arg1
= (wxWindow
*) 0 ;
5191 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5192 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5193 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5194 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5195 int arg5
= (int) 0 ;
5196 wxString
*arg6
= (wxString
*) NULL
;
5197 long arg7
= (long) 0 ;
5198 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5199 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5200 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5201 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5202 wxCheckListBox
*result
;
5205 bool temp8
= False
;
5206 PyObject
* obj0
= 0 ;
5207 PyObject
* obj2
= 0 ;
5208 PyObject
* obj3
= 0 ;
5209 PyObject
* obj4
= 0 ;
5210 PyObject
* obj6
= 0 ;
5211 PyObject
* obj7
= 0 ;
5213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
5217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5221 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5227 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5232 arg5
= PyList_Size(obj4
);
5233 arg6
= wxString_LIST_helper(obj4
);
5234 if (arg6
== NULL
) SWIG_fail
;
5238 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5240 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5245 arg9
= wxString_in_helper(obj7
);
5246 if (arg9
== NULL
) SWIG_fail
;
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5257 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5259 if (arg6
) delete [] arg6
;
5268 if (arg6
) delete [] arg6
;
5278 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
*resultobj
;
5280 wxCheckListBox
*result
;
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5288 result
= (wxCheckListBox
*)new wxCheckListBox();
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5293 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5300 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
;
5302 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5303 wxWindow
*arg2
= (wxWindow
*) 0 ;
5305 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5306 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5307 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5308 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5309 int arg6
= (int) 0 ;
5310 wxString
*arg7
= (wxString
*) NULL
;
5311 long arg8
= (long) 0 ;
5312 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5313 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5314 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5315 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5319 bool temp9
= False
;
5320 PyObject
* obj0
= 0 ;
5321 PyObject
* obj1
= 0 ;
5322 PyObject
* obj3
= 0 ;
5323 PyObject
* obj4
= 0 ;
5324 PyObject
* obj5
= 0 ;
5325 PyObject
* obj7
= 0 ;
5326 PyObject
* obj8
= 0 ;
5328 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
5332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5333 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5337 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5343 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5348 arg6
= PyList_Size(obj5
);
5349 arg7
= wxString_LIST_helper(obj5
);
5350 if (arg7
== NULL
) SWIG_fail
;
5354 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5356 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5361 arg10
= wxString_in_helper(obj8
);
5362 if (arg10
== NULL
) SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5373 resultobj
= PyInt_FromLong((long)result
);
5375 if (arg7
) delete [] arg7
;
5384 if (arg7
) delete [] arg7
;
5394 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5396 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5399 PyObject
* obj0
= 0 ;
5401 (char *) "self",(char *) "index", NULL
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckListBox_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
5405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 result
= (bool)(arg1
)->IsChecked(arg2
);
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 resultobj
= PyInt_FromLong((long)result
);
5420 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
;
5422 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5424 int arg3
= (int) True
;
5425 PyObject
* obj0
= 0 ;
5427 (char *) "self",(char *) "index",(char *) "check", NULL
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:CheckListBox_Check",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 (arg1
)->Check(arg2
,arg3
);
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5439 Py_INCREF(Py_None
); resultobj
= Py_None
;
5446 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
;
5448 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5450 PyObject
* obj0
= 0 ;
5452 (char *) "self", NULL
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
5456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 result
= (int)(arg1
)->GetItemHeight();
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5464 resultobj
= PyInt_FromLong((long)result
);
5471 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
*resultobj
;
5473 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5477 PyObject
* obj0
= 0 ;
5478 PyObject
* obj1
= 0 ;
5480 (char *) "self",(char *) "pt", NULL
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
5484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5487 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= PyInt_FromLong((long)result
);
5503 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5509 PyObject
* obj0
= 0 ;
5511 (char *) "self",(char *) "x",(char *) "y", NULL
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:CheckListBox_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5523 resultobj
= PyInt_FromLong((long)result
);
5530 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5533 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
5535 return Py_BuildValue((char *)"");
5537 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
5538 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
5543 static PyObject
*_wrap_TextCtrlNameStr_get() {
5548 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
5550 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
5557 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
5558 PyObject
*resultobj
;
5561 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 result
= (wxTextAttr
*)new wxTextAttr();
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5576 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
5577 PyObject
*resultobj
;
5578 wxColour
*arg1
= 0 ;
5579 wxColour
const &arg2_defvalue
= wxNullColour
;
5580 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5581 wxFont
const &arg3_defvalue
= wxNullFont
;
5582 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
5583 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
5587 PyObject
* obj0
= 0 ;
5588 PyObject
* obj1
= 0 ;
5589 PyObject
* obj2
= 0 ;
5591 if(!PyArg_ParseTuple(args
,(char *)"O|OOi:new_TextAttr",&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5594 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5599 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5603 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5605 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5622 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
5627 argc
= PyObject_Length(args
);
5628 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
5629 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5632 return _wrap_new_TextAttr__SWIG_0(self
,args
);
5634 if ((argc
>= 1) && (argc
<= 4)) {
5637 _v
= wxColour_typecheck(argv
[0]);
5641 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5644 _v
= wxColour_typecheck(argv
[1]);
5648 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5652 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
5661 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5664 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
5667 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5674 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
5679 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
*resultobj
;
5681 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5682 PyObject
* obj0
= 0 ;
5684 (char *) "self", NULL
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
5688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5696 Py_INCREF(Py_None
); resultobj
= Py_None
;
5703 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
*resultobj
;
5705 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5706 wxColour
*arg2
= 0 ;
5708 PyObject
* obj0
= 0 ;
5709 PyObject
* obj1
= 0 ;
5711 (char *) "self",(char *) "colText", NULL
5714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5718 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5727 Py_INCREF(Py_None
); resultobj
= Py_None
;
5734 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
;
5736 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5737 wxColour
*arg2
= 0 ;
5739 PyObject
* obj0
= 0 ;
5740 PyObject
* obj1
= 0 ;
5742 (char *) "self",(char *) "colBack", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5749 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5758 Py_INCREF(Py_None
); resultobj
= Py_None
;
5765 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5767 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5769 long arg3
= (long) wxTEXT_ATTR_FONT
;
5770 PyObject
* obj0
= 0 ;
5771 PyObject
* obj1
= 0 ;
5773 (char *) "self",(char *) "font",(char *) "flags", NULL
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5778 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5780 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 Py_INCREF(Py_None
); resultobj
= Py_None
;
5796 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
;
5798 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5800 PyObject
* obj0
= 0 ;
5802 (char *) "self",(char *) "alignment", NULL
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
5806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5814 Py_INCREF(Py_None
); resultobj
= Py_None
;
5821 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
*resultobj
;
5823 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5824 wxArrayInt
*arg2
= 0 ;
5825 PyObject
* obj0
= 0 ;
5826 PyObject
* obj1
= 0 ;
5828 (char *) "self",(char *) "tabs", NULL
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
5832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5834 if (! PySequence_Check(obj1
)) {
5835 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
5838 arg2
= new wxArrayInt
;
5839 int i
, len
=PySequence_Length(obj1
);
5840 for (i
=0; i
<len
; i
++) {
5841 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5842 PyObject
* number
= PyNumber_Int(item
);
5843 arg2
->Add(PyInt_AS_LONG(number
));
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5855 Py_INCREF(Py_None
); resultobj
= Py_None
;
5857 if (arg2
) delete arg2
;
5862 if (arg2
) delete arg2
;
5868 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
;
5870 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5872 PyObject
* obj0
= 0 ;
5874 (char *) "self",(char *) "indent", NULL
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetLeftIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->SetLeftIndent(arg2
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 Py_INCREF(Py_None
); resultobj
= Py_None
;
5893 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5895 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5897 PyObject
* obj0
= 0 ;
5899 (char *) "self",(char *) "indent", NULL
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetRightIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 (arg1
)->SetRightIndent(arg2
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 Py_INCREF(Py_None
); resultobj
= Py_None
;
5918 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5920 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5924 (char *) "self",(char *) "flags", NULL
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
5928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 (arg1
)->SetFlags(arg2
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 Py_INCREF(Py_None
); resultobj
= Py_None
;
5943 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
;
5945 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5947 PyObject
* obj0
= 0 ;
5949 (char *) "self", NULL
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
5953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5961 resultobj
= PyInt_FromLong((long)result
);
5968 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
*resultobj
;
5970 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5972 PyObject
* obj0
= 0 ;
5974 (char *) "self", NULL
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
5978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= PyInt_FromLong((long)result
);
5993 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
;
5995 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5997 PyObject
* obj0
= 0 ;
5999 (char *) "self", NULL
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6006 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= PyInt_FromLong((long)result
);
6018 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
*resultobj
;
6020 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6022 PyObject
* obj0
= 0 ;
6024 (char *) "self", NULL
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6036 resultobj
= PyInt_FromLong((long)result
);
6043 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
;
6045 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6047 PyObject
* obj0
= 0 ;
6049 (char *) "self", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 resultobj
= PyInt_FromLong((long)result
);
6068 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6072 PyObject
* obj0
= 0 ;
6074 (char *) "self", NULL
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6086 resultobj
= PyInt_FromLong((long)result
);
6093 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
;
6095 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6097 PyObject
* obj0
= 0 ;
6099 (char *) "self", NULL
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6111 resultobj
= PyInt_FromLong((long)result
);
6118 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
*resultobj
;
6120 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6123 PyObject
* obj0
= 0 ;
6125 (char *) "self",(char *) "flag", NULL
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
6129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= PyInt_FromLong((long)result
);
6144 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6148 PyObject
* obj0
= 0 ;
6150 (char *) "self", NULL
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6159 result
= (wxColour
*) &_result_ref
;
6162 wxPyEndAllowThreads(__tstate
);
6163 if (PyErr_Occurred()) SWIG_fail
;
6165 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6172 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6174 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6176 PyObject
* obj0
= 0 ;
6178 (char *) "self", NULL
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6187 result
= (wxColour
*) &_result_ref
;
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6200 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
;
6202 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6204 PyObject
* obj0
= 0 ;
6206 (char *) "self", NULL
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6215 result
= (wxFont
*) &_result_ref
;
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6221 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6228 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
*resultobj
;
6230 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6232 PyObject
* obj0
= 0 ;
6234 (char *) "self", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 resultobj
= PyInt_FromLong((long)result
);
6253 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6257 PyObject
* obj0
= 0 ;
6259 (char *) "self", NULL
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6268 result
= (wxArrayInt
*) &_result_ref
;
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6275 resultobj
= PyList_New(0);
6277 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
6278 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
6279 PyList_Append(resultobj
, val
);
6289 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6290 PyObject
*resultobj
;
6291 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6293 PyObject
* obj0
= 0 ;
6295 (char *) "self", NULL
6298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
6299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 resultobj
= PyInt_FromLong((long)result
);
6314 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
;
6316 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6318 PyObject
* obj0
= 0 ;
6320 (char *) "self", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
6324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6332 resultobj
= PyInt_FromLong((long)result
);
6339 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
;
6341 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6343 PyObject
* obj0
= 0 ;
6345 (char *) "self", NULL
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
6349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= PyInt_FromLong((long)result
);
6364 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
;
6366 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6370 (char *) "self", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 resultobj
= PyInt_FromLong((long)result
);
6389 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxTextAttr
*arg1
= 0 ;
6392 wxTextAttr
*arg2
= 0 ;
6393 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6397 PyObject
* obj2
= 0 ;
6399 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6405 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6407 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6409 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6411 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6420 wxTextAttr
* resultptr
;
6421 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
6422 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
6430 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
6432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6433 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
6435 return Py_BuildValue((char *)"");
6437 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxWindow
*arg1
= (wxWindow
*) 0 ;
6441 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6442 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6443 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6444 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6445 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6446 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6447 long arg6
= (long) 0 ;
6448 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6449 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6450 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
6451 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6453 bool temp3
= False
;
6456 bool temp8
= False
;
6457 PyObject
* obj0
= 0 ;
6458 PyObject
* obj2
= 0 ;
6459 PyObject
* obj3
= 0 ;
6460 PyObject
* obj4
= 0 ;
6461 PyObject
* obj6
= 0 ;
6462 PyObject
* obj7
= 0 ;
6464 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6471 arg3
= wxString_in_helper(obj2
);
6472 if (arg3
== NULL
) SWIG_fail
;
6479 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6485 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6489 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6491 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6496 arg8
= wxString_in_helper(obj7
);
6497 if (arg8
== NULL
) SWIG_fail
;
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6509 resultobj
= wxPyMake_wxObject(result
);
6533 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 result
= (wxTextCtrl
*)new wxTextCtrl();
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= wxPyMake_wxObject(result
);
6557 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6560 wxWindow
*arg2
= (wxWindow
*) 0 ;
6562 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6563 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6564 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6565 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6566 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6567 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6568 long arg7
= (long) 0 ;
6569 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6570 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6571 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
6572 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6574 bool temp4
= False
;
6577 bool temp9
= False
;
6578 PyObject
* obj0
= 0 ;
6579 PyObject
* obj1
= 0 ;
6580 PyObject
* obj3
= 0 ;
6581 PyObject
* obj4
= 0 ;
6582 PyObject
* obj5
= 0 ;
6583 PyObject
* obj7
= 0 ;
6584 PyObject
* obj8
= 0 ;
6586 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
6590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6594 arg4
= wxString_in_helper(obj3
);
6595 if (arg4
== NULL
) SWIG_fail
;
6602 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6608 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6612 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6614 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6619 arg9
= wxString_in_helper(obj8
);
6620 if (arg9
== NULL
) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= PyInt_FromLong((long)result
);
6654 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6655 PyObject
*resultobj
;
6656 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6658 PyObject
* obj0
= 0 ;
6660 (char *) "self", NULL
6663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
6664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6685 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6688 wxString
*arg2
= 0 ;
6689 bool temp2
= False
;
6690 PyObject
* obj0
= 0 ;
6691 PyObject
* obj1
= 0 ;
6693 (char *) "self",(char *) "value", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6699 arg2
= wxString_in_helper(obj1
);
6700 if (arg2
== NULL
) SWIG_fail
;
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 (arg1
)->SetValue((wxString
const &)*arg2
);
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 Py_INCREF(Py_None
); resultobj
= Py_None
;
6725 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
;
6727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6731 PyObject
* obj0
= 0 ;
6733 (char *) "self",(char *) "from",(char *) "to", NULL
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6758 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
*resultobj
;
6760 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6763 PyObject
* obj0
= 0 ;
6765 (char *) "self",(char *) "lineNo", NULL
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= PyInt_FromLong((long)result
);
6784 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
;
6786 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6789 PyObject
* obj0
= 0 ;
6791 (char *) "self",(char *) "lineNo", NULL
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineText",kwnames
,&obj0
,&arg2
)) goto fail
;
6795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
6800 wxPyEndAllowThreads(__tstate
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6816 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
*resultobj
;
6818 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6820 PyObject
* obj0
= 0 ;
6822 (char *) "self", NULL
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
6826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
6831 wxPyEndAllowThreads(__tstate
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6834 resultobj
= PyInt_FromLong((long)result
);
6841 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
*resultobj
;
6843 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6845 PyObject
* obj0
= 0 ;
6847 (char *) "self", NULL
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
6851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6854 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
6856 wxPyEndAllowThreads(__tstate
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6859 resultobj
= PyInt_FromLong((long)result
);
6866 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
*resultobj
;
6868 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6870 PyObject
* obj0
= 0 ;
6872 (char *) "self", NULL
6875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
6876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6884 resultobj
= PyInt_FromLong((long)result
);
6891 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
*resultobj
;
6893 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6895 PyObject
* obj0
= 0 ;
6897 (char *) "self", NULL
6900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
6901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= PyInt_FromLong((long)result
);
6916 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
*resultobj
;
6918 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6920 PyObject
* obj0
= 0 ;
6922 (char *) "self", NULL
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
6926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 resultobj
= PyInt_FromLong((long)result
);
6941 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
*resultobj
;
6943 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6944 long *arg2
= (long *) 0 ;
6945 long *arg3
= (long *) 0 ;
6948 PyObject
* obj0
= 0 ;
6950 (char *) "self", NULL
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
6956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 Py_INCREF(Py_None
); resultobj
= Py_None
;
6966 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
6967 resultobj
= t_output_helper(resultobj
,o
);
6970 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6971 resultobj
= t_output_helper(resultobj
,o
);
6979 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
*resultobj
;
6981 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6983 PyObject
* obj0
= 0 ;
6985 (char *) "self", NULL
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
6989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7010 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7013 PyObject
* obj0
= 0 ;
7015 (char *) "self", NULL
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 Py_INCREF(Py_None
); resultobj
= Py_None
;
7034 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
*resultobj
;
7036 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7039 wxString
*arg4
= 0 ;
7040 bool temp4
= False
;
7041 PyObject
* obj0
= 0 ;
7042 PyObject
* obj3
= 0 ;
7044 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7050 arg4
= wxString_in_helper(obj3
);
7051 if (arg4
== NULL
) SWIG_fail
;
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7061 Py_INCREF(Py_None
); resultobj
= Py_None
;
7076 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
;
7078 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7081 PyObject
* obj0
= 0 ;
7083 (char *) "self",(char *) "from",(char *) "to", NULL
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 (arg1
)->Remove(arg2
,arg3
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 Py_INCREF(Py_None
); resultobj
= Py_None
;
7102 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7104 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7105 wxString
*arg2
= 0 ;
7107 bool temp2
= False
;
7108 PyObject
* obj0
= 0 ;
7109 PyObject
* obj1
= 0 ;
7111 (char *) "self",(char *) "file", NULL
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7117 arg2
= wxString_in_helper(obj1
);
7118 if (arg2
== NULL
) SWIG_fail
;
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7128 resultobj
= PyInt_FromLong((long)result
);
7143 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7145 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7146 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7147 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7149 bool temp2
= False
;
7150 PyObject
* obj0
= 0 ;
7151 PyObject
* obj1
= 0 ;
7153 (char *) "self",(char *) "file", NULL
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7160 arg2
= wxString_in_helper(obj1
);
7161 if (arg2
== NULL
) SWIG_fail
;
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= PyInt_FromLong((long)result
);
7187 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
*resultobj
;
7189 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7190 PyObject
* obj0
= 0 ;
7192 (char *) "self", NULL
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
7196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 (arg1
)->MarkDirty();
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 Py_INCREF(Py_None
); resultobj
= Py_None
;
7211 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
;
7213 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7214 PyObject
* obj0
= 0 ;
7216 (char *) "self", NULL
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
7220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 (arg1
)->DiscardEdits();
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) SWIG_fail
;
7228 Py_INCREF(Py_None
); resultobj
= Py_None
;
7235 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7236 PyObject
*resultobj
;
7237 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7238 unsigned long arg2
;
7239 PyObject
* obj0
= 0 ;
7240 PyObject
* obj1
= 0 ;
7242 (char *) "self",(char *) "len", NULL
7245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7247 arg2
= (unsigned long) PyInt_AsLong(obj1
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 (arg1
)->SetMaxLength(arg2
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 Py_INCREF(Py_None
); resultobj
= Py_None
;
7263 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
;
7265 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7266 wxString
*arg2
= 0 ;
7267 bool temp2
= False
;
7268 PyObject
* obj0
= 0 ;
7269 PyObject
* obj1
= 0 ;
7271 (char *) "self",(char *) "text", NULL
7274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
7275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7277 arg2
= wxString_in_helper(obj1
);
7278 if (arg2
== NULL
) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 (arg1
)->WriteText((wxString
const &)*arg2
);
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7288 Py_INCREF(Py_None
); resultobj
= Py_None
;
7303 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
;
7305 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7306 wxString
*arg2
= 0 ;
7307 bool temp2
= False
;
7308 PyObject
* obj0
= 0 ;
7309 PyObject
* obj1
= 0 ;
7311 (char *) "self",(char *) "text", NULL
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
7315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7317 arg2
= wxString_in_helper(obj1
);
7318 if (arg2
== NULL
) SWIG_fail
;
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 (arg1
)->AppendText((wxString
const &)*arg2
);
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7328 Py_INCREF(Py_None
); resultobj
= Py_None
;
7343 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
*resultobj
;
7345 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7346 wxKeyEvent
*arg2
= 0 ;
7348 PyObject
* obj0
= 0 ;
7349 PyObject
* obj1
= 0 ;
7351 (char *) "self",(char *) "event", NULL
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
7355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7356 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7358 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 resultobj
= PyInt_FromLong((long)result
);
7374 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7379 wxTextAttr
*arg4
= 0 ;
7381 PyObject
* obj0
= 0 ;
7382 PyObject
* obj3
= 0 ;
7384 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_SetStyle",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7389 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7391 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7395 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7400 resultobj
= PyInt_FromLong((long)result
);
7407 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
*resultobj
;
7409 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7411 wxTextAttr
*arg3
= 0 ;
7413 PyObject
* obj0
= 0 ;
7414 PyObject
* obj2
= 0 ;
7416 (char *) "self",(char *) "position",(char *) "style", NULL
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:TextCtrl_GetStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7421 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7423 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7432 resultobj
= PyInt_FromLong((long)result
);
7439 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
;
7441 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7442 wxTextAttr
*arg2
= 0 ;
7444 PyObject
* obj0
= 0 ;
7445 PyObject
* obj1
= 0 ;
7447 (char *) "self",(char *) "style", NULL
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7452 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7454 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= PyInt_FromLong((long)result
);
7470 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
;
7472 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7474 PyObject
* obj0
= 0 ;
7476 (char *) "self", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
7480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
7485 result
= (wxTextAttr
*) &_result_ref
;
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
7498 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7504 PyObject
* obj0
= 0 ;
7506 (char *) "self",(char *) "x",(char *) "y", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_XYToPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7518 resultobj
= PyInt_FromLong((long)result
);
7525 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
*resultobj
;
7527 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7529 long *arg3
= (long *) 0 ;
7530 long *arg4
= (long *) 0 ;
7533 PyObject
* obj0
= 0 ;
7535 (char *) "self",(char *) "pos", NULL
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_PositionToXY",kwnames
,&obj0
,&arg2
)) goto fail
;
7541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7549 Py_INCREF(Py_None
); resultobj
= Py_None
;
7551 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7552 resultobj
= t_output_helper(resultobj
,o
);
7555 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7556 resultobj
= t_output_helper(resultobj
,o
);
7564 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
*resultobj
;
7566 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7568 PyObject
* obj0
= 0 ;
7570 (char *) "self",(char *) "pos", NULL
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_ShowPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
7574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7577 (arg1
)->ShowPosition(arg2
);
7579 wxPyEndAllowThreads(__tstate
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7582 Py_INCREF(Py_None
); resultobj
= Py_None
;
7589 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7592 PyObject
* obj0
= 0 ;
7594 (char *) "self", NULL
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
7598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 Py_INCREF(Py_None
); resultobj
= Py_None
;
7613 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7615 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7616 PyObject
* obj0
= 0 ;
7618 (char *) "self", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
7622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 Py_INCREF(Py_None
); resultobj
= Py_None
;
7637 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
;
7639 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7640 PyObject
* obj0
= 0 ;
7642 (char *) "self", NULL
7645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
7646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7654 Py_INCREF(Py_None
); resultobj
= Py_None
;
7661 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "self", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 resultobj
= PyInt_FromLong((long)result
);
7686 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
;
7688 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7690 PyObject
* obj0
= 0 ;
7692 (char *) "self", NULL
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
7696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7704 resultobj
= PyInt_FromLong((long)result
);
7711 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
;
7713 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7715 PyObject
* obj0
= 0 ;
7717 (char *) "self", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
7721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= PyInt_FromLong((long)result
);
7736 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
;
7738 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7739 PyObject
* obj0
= 0 ;
7741 (char *) "self", NULL
7744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
7745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7753 Py_INCREF(Py_None
); resultobj
= Py_None
;
7760 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
;
7762 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7763 PyObject
* obj0
= 0 ;
7765 (char *) "self", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
7769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 Py_INCREF(Py_None
); resultobj
= Py_None
;
7784 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7788 PyObject
* obj0
= 0 ;
7790 (char *) "self", NULL
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
7794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7802 resultobj
= PyInt_FromLong((long)result
);
7809 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
*resultobj
;
7811 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7813 PyObject
* obj0
= 0 ;
7815 (char *) "self", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
7819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 resultobj
= PyInt_FromLong((long)result
);
7834 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
;
7836 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7838 PyObject
* obj0
= 0 ;
7840 (char *) "self",(char *) "pos", NULL
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
7844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7847 (arg1
)->SetInsertionPoint(arg2
);
7849 wxPyEndAllowThreads(__tstate
);
7850 if (PyErr_Occurred()) SWIG_fail
;
7852 Py_INCREF(Py_None
); resultobj
= Py_None
;
7859 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
*resultobj
;
7861 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7862 PyObject
* obj0
= 0 ;
7864 (char *) "self", NULL
7867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
7868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 (arg1
)->SetInsertionPointEnd();
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7876 Py_INCREF(Py_None
); resultobj
= Py_None
;
7883 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(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_GetInsertionPoint",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
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= PyInt_FromLong((long)result
);
7908 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7914 (char *) "self", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= PyInt_FromLong((long)result
);
7933 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
;
7935 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7938 PyObject
* obj0
= 0 ;
7940 (char *) "self",(char *) "from",(char *) "to", NULL
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 (arg1
)->SetSelection(arg2
,arg3
);
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7952 Py_INCREF(Py_None
); resultobj
= Py_None
;
7959 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
;
7961 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7962 PyObject
* obj0
= 0 ;
7964 (char *) "self", NULL
7967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
7968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 (arg1
)->SelectAll();
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 Py_INCREF(Py_None
); resultobj
= Py_None
;
7983 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7987 PyObject
* obj0
= 0 ;
7988 PyObject
* obj1
= 0 ;
7990 (char *) "self",(char *) "editable", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
7994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7995 arg2
= PyInt_AsLong(obj1
) ? true : false;
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 (arg1
)->SetEditable(arg2
);
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 Py_INCREF(Py_None
); resultobj
= Py_None
;
8011 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
*resultobj
;
8013 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8014 bool arg2
= (bool) True
;
8016 PyObject
* obj0
= 0 ;
8017 PyObject
* obj1
= 0 ;
8019 (char *) "self",(char *) "show", NULL
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
8023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8025 arg2
= PyInt_AsLong(obj1
) ? true : false;
8026 if (PyErr_Occurred()) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8035 resultobj
= PyInt_FromLong((long)result
);
8042 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
;
8044 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8046 PyObject
* obj0
= 0 ;
8048 (char *) "self", NULL
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
8052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 result
= (bool)(arg1
)->HideNativeCaret();
8057 wxPyEndAllowThreads(__tstate
);
8058 if (PyErr_Occurred()) SWIG_fail
;
8060 resultobj
= PyInt_FromLong((long)result
);
8067 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8068 PyObject
*resultobj
;
8069 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8070 wxString
*arg2
= 0 ;
8071 bool temp2
= False
;
8072 PyObject
* obj0
= 0 ;
8073 PyObject
* obj1
= 0 ;
8075 (char *) "self",(char *) "text", NULL
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
8079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8081 arg2
= wxString_in_helper(obj1
);
8082 if (arg2
== NULL
) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 Py_INCREF(Py_None
); resultobj
= Py_None
;
8107 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
*resultobj
;
8109 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8113 PyObject
* obj0
= 0 ;
8115 (char *) "self",(char *) "from",(char *) "to", NULL
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetString",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8140 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
8142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8143 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
8145 return Py_BuildValue((char *)"");
8147 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
;
8150 wxMouseEvent
*arg2
= 0 ;
8153 wxTextUrlEvent
*result
;
8154 PyObject
* obj1
= 0 ;
8156 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOll:new_TextUrlEvent",kwnames
,&arg1
,&obj1
,&arg3
,&arg4
)) goto fail
;
8160 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8162 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
8178 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8181 wxMouseEvent
*result
;
8182 PyObject
* obj0
= 0 ;
8184 (char *) "self", NULL
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
8188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
8193 result
= (wxMouseEvent
*) &_result_ref
;
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8199 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
8206 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8210 PyObject
* obj0
= 0 ;
8212 (char *) "self", NULL
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
8216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8219 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
8221 wxPyEndAllowThreads(__tstate
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8224 resultobj
= PyInt_FromLong((long)result
);
8231 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
;
8233 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8235 PyObject
* obj0
= 0 ;
8237 (char *) "self", NULL
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
8241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8244 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
8246 wxPyEndAllowThreads(__tstate
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 resultobj
= PyInt_FromLong((long)result
);
8256 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8259 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
8261 return Py_BuildValue((char *)"");
8263 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
8264 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
8269 static PyObject
*_wrap_ScrollBarNameStr_get() {
8274 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8276 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8283 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
*resultobj
;
8285 wxWindow
*arg1
= (wxWindow
*) 0 ;
8286 int arg2
= (int) -1 ;
8287 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8288 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8289 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8290 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8291 long arg5
= (long) wxSB_HORIZONTAL
;
8292 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
8293 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
8294 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
8295 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8296 wxScrollBar
*result
;
8299 bool temp7
= False
;
8300 PyObject
* obj0
= 0 ;
8301 PyObject
* obj2
= 0 ;
8302 PyObject
* obj3
= 0 ;
8303 PyObject
* obj5
= 0 ;
8304 PyObject
* obj6
= 0 ;
8306 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ScrollBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
8310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8314 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8320 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8324 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8331 arg7
= wxString_in_helper(obj6
);
8332 if (arg7
== NULL
) SWIG_fail
;
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8338 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8358 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
*resultobj
;
8360 wxScrollBar
*result
;
8365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 result
= (wxScrollBar
*)new wxScrollBar();
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8380 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
*resultobj
;
8382 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8383 wxWindow
*arg2
= (wxWindow
*) 0 ;
8384 int arg3
= (int) -1 ;
8385 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8386 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8387 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8388 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8389 long arg6
= (long) wxSB_HORIZONTAL
;
8390 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8391 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8392 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
8393 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8397 bool temp8
= False
;
8398 PyObject
* obj0
= 0 ;
8399 PyObject
* obj1
= 0 ;
8400 PyObject
* obj3
= 0 ;
8401 PyObject
* obj4
= 0 ;
8402 PyObject
* obj6
= 0 ;
8403 PyObject
* obj7
= 0 ;
8405 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
8409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8410 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8414 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8420 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8424 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8426 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8431 arg8
= wxString_in_helper(obj7
);
8432 if (arg8
== NULL
) SWIG_fail
;
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= PyInt_FromLong((long)result
);
8458 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
;
8460 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8462 PyObject
* obj0
= 0 ;
8464 (char *) "self", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
8468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8471 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
8473 wxPyEndAllowThreads(__tstate
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8476 resultobj
= PyInt_FromLong((long)result
);
8483 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8484 PyObject
*resultobj
;
8485 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8487 PyObject
* obj0
= 0 ;
8489 (char *) "self", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
8493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 resultobj
= PyInt_FromLong((long)result
);
8508 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
;
8510 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8512 PyObject
* obj0
= 0 ;
8514 (char *) "self", NULL
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
8518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8521 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
8523 wxPyEndAllowThreads(__tstate
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= PyInt_FromLong((long)result
);
8533 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8537 PyObject
* obj0
= 0 ;
8539 (char *) "self", NULL
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
8543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8551 resultobj
= PyInt_FromLong((long)result
);
8558 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
*resultobj
;
8560 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8562 PyObject
* obj0
= 0 ;
8564 (char *) "self", NULL
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
8568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 resultobj
= PyInt_FromLong((long)result
);
8583 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8585 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8587 PyObject
* obj0
= 0 ;
8589 (char *) "self",(char *) "viewStart", NULL
8592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
8593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 (arg1
)->SetThumbPosition(arg2
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 Py_INCREF(Py_None
); resultobj
= Py_None
;
8608 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
*resultobj
;
8610 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8615 bool arg6
= (bool) True
;
8616 PyObject
* obj0
= 0 ;
8617 PyObject
* obj5
= 0 ;
8619 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
8623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8625 arg6
= PyInt_AsLong(obj5
) ? true : false;
8626 if (PyErr_Occurred()) SWIG_fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 Py_INCREF(Py_None
); resultobj
= Py_None
;
8642 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
8644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8645 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
8647 return Py_BuildValue((char *)"");
8649 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
8650 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
8655 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
8660 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
8662 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
8669 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
8670 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
8675 static PyObject
*_wrap_SpinCtrlNameStr_get() {
8680 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
8682 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
8689 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
*resultobj
;
8691 wxWindow
*arg1
= (wxWindow
*) 0 ;
8692 int arg2
= (int) -1 ;
8693 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8694 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8695 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8696 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8697 long arg5
= (long) wxSP_HORIZONTAL
;
8698 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
8699 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8700 wxSpinButton
*result
;
8703 bool temp6
= False
;
8704 PyObject
* obj0
= 0 ;
8705 PyObject
* obj2
= 0 ;
8706 PyObject
* obj3
= 0 ;
8707 PyObject
* obj5
= 0 ;
8709 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_SpinButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8717 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8723 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8728 arg6
= wxString_in_helper(obj5
);
8729 if (arg6
== NULL
) SWIG_fail
;
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8755 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
;
8757 wxSpinButton
*result
;
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8765 result
= (wxSpinButton
*)new wxSpinButton();
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8777 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
*resultobj
;
8779 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8780 wxWindow
*arg2
= (wxWindow
*) 0 ;
8781 int arg3
= (int) -1 ;
8782 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8783 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8784 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8785 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8786 long arg6
= (long) wxSP_HORIZONTAL
;
8787 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
8788 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8792 bool temp7
= False
;
8793 PyObject
* obj0
= 0 ;
8794 PyObject
* obj1
= 0 ;
8795 PyObject
* obj3
= 0 ;
8796 PyObject
* obj4
= 0 ;
8797 PyObject
* obj6
= 0 ;
8799 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8808 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8814 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8819 arg7
= wxString_in_helper(obj6
);
8820 if (arg7
== NULL
) SWIG_fail
;
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8828 wxPyEndAllowThreads(__tstate
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8831 resultobj
= PyInt_FromLong((long)result
);
8846 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
;
8848 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8850 PyObject
* obj0
= 0 ;
8852 (char *) "self", NULL
8855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
8856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8864 resultobj
= PyInt_FromLong((long)result
);
8871 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
*resultobj
;
8873 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8875 PyObject
* obj0
= 0 ;
8877 (char *) "self", NULL
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
8881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 resultobj
= PyInt_FromLong((long)result
);
8896 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
;
8898 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8900 PyObject
* obj0
= 0 ;
8902 (char *) "self", NULL
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
8906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8914 resultobj
= PyInt_FromLong((long)result
);
8921 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
;
8923 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8925 PyObject
* obj0
= 0 ;
8927 (char *) "self",(char *) "val", NULL
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
8931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 (arg1
)->SetValue(arg2
);
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8939 Py_INCREF(Py_None
); resultobj
= Py_None
;
8946 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8947 PyObject
*resultobj
;
8948 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8950 PyObject
* obj0
= 0 ;
8952 (char *) "self",(char *) "minVal", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
8956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 (arg1
)->SetMin(arg2
);
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 Py_INCREF(Py_None
); resultobj
= Py_None
;
8971 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8975 PyObject
* obj0
= 0 ;
8977 (char *) "self",(char *) "maxVal", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
8981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 (arg1
)->SetMax(arg2
);
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8989 Py_INCREF(Py_None
); resultobj
= Py_None
;
8996 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
*resultobj
;
8998 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9001 PyObject
* obj0
= 0 ;
9003 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinButton_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 (arg1
)->SetRange(arg2
,arg3
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9015 Py_INCREF(Py_None
); resultobj
= Py_None
;
9022 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
*resultobj
;
9024 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9026 PyObject
* obj0
= 0 ;
9028 (char *) "self", NULL
9031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
9032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9040 resultobj
= PyInt_FromLong((long)result
);
9047 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
9049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9050 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
9052 return Py_BuildValue((char *)"");
9054 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9056 wxWindow
*arg1
= (wxWindow
*) 0 ;
9057 int arg2
= (int) -1 ;
9058 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9059 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9060 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9061 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9062 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9063 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9064 long arg6
= (long) wxSP_ARROW_KEYS
;
9065 int arg7
= (int) 0 ;
9066 int arg8
= (int) 100 ;
9067 int arg9
= (int) 0 ;
9068 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
9069 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
9071 bool temp3
= False
;
9074 bool temp10
= False
;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj2
= 0 ;
9077 PyObject
* obj3
= 0 ;
9078 PyObject
* obj4
= 0 ;
9079 PyObject
* obj9
= 0 ;
9081 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
)) goto fail
;
9085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9088 arg3
= wxString_in_helper(obj2
);
9089 if (arg3
== NULL
) SWIG_fail
;
9096 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9102 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9107 arg10
= wxString_in_helper(obj9
);
9108 if (arg10
== NULL
) SWIG_fail
;
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9119 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9142 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 result
= (wxSpinCtrl
*)new wxSpinCtrl();
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9164 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
*resultobj
;
9166 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9167 wxWindow
*arg2
= (wxWindow
*) 0 ;
9168 int arg3
= (int) -1 ;
9169 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9170 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9171 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9172 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9173 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9174 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9175 long arg7
= (long) wxSP_ARROW_KEYS
;
9176 int arg8
= (int) 0 ;
9177 int arg9
= (int) 100 ;
9178 int arg10
= (int) 0 ;
9179 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
9180 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9182 bool temp4
= False
;
9185 bool temp11
= False
;
9186 PyObject
* obj0
= 0 ;
9187 PyObject
* obj1
= 0 ;
9188 PyObject
* obj3
= 0 ;
9189 PyObject
* obj4
= 0 ;
9190 PyObject
* obj5
= 0 ;
9191 PyObject
* obj10
= 0 ;
9193 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&arg8
,&arg9
,&arg10
,&obj10
)) goto fail
;
9197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9198 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9201 arg4
= wxString_in_helper(obj3
);
9202 if (arg4
== NULL
) SWIG_fail
;
9209 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9215 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9220 arg11
= wxString_in_helper(obj10
);
9221 if (arg11
== NULL
) SWIG_fail
;
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 resultobj
= PyInt_FromLong((long)result
);
9255 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
;
9257 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9259 PyObject
* obj0
= 0 ;
9261 (char *) "self", NULL
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 resultobj
= PyInt_FromLong((long)result
);
9280 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
;
9282 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9284 PyObject
* obj0
= 0 ;
9286 (char *) "self",(char *) "value", NULL
9289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinCtrl_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 (arg1
)->SetValue(arg2
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 Py_INCREF(Py_None
); resultobj
= Py_None
;
9305 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
;
9307 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9308 wxString
*arg2
= 0 ;
9309 bool temp2
= False
;
9310 PyObject
* obj0
= 0 ;
9311 PyObject
* obj1
= 0 ;
9313 (char *) "self",(char *) "text", NULL
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
9317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9319 arg2
= wxString_in_helper(obj1
);
9320 if (arg2
== NULL
) SWIG_fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 (arg1
)->SetValue((wxString
const &)*arg2
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 Py_INCREF(Py_None
); resultobj
= Py_None
;
9345 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
;
9347 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9352 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinCtrl_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 (arg1
)->SetRange(arg2
,arg3
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 Py_INCREF(Py_None
); resultobj
= Py_None
;
9371 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
;
9373 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9375 PyObject
* obj0
= 0 ;
9377 (char *) "self", NULL
9380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
9381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= PyInt_FromLong((long)result
);
9396 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
;
9398 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9400 PyObject
* obj0
= 0 ;
9402 (char *) "self", NULL
9405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
9406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= PyInt_FromLong((long)result
);
9421 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9426 PyObject
* obj0
= 0 ;
9428 (char *) "self",(char *) "from",(char *) "to", NULL
9431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:SpinCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 (arg1
)->SetSelection(arg2
,arg3
);
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 Py_INCREF(Py_None
); resultobj
= Py_None
;
9447 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9450 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
9452 return Py_BuildValue((char *)"");
9454 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
9455 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
9460 static PyObject
*_wrap_RadioBoxNameStr_get() {
9465 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
9467 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
9474 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
9475 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
9480 static PyObject
*_wrap_RadioButtonNameStr_get() {
9485 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
9487 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
9494 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
;
9496 wxWindow
*arg1
= (wxWindow
*) 0 ;
9498 wxString
*arg3
= 0 ;
9499 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9500 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9501 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9502 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9503 int arg6
= (int) 0 ;
9504 wxString
*arg7
= (wxString
*) NULL
;
9505 int arg8
= (int) 0 ;
9506 long arg9
= (long) wxRA_HORIZONTAL
;
9507 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
9508 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
9509 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
9510 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9512 bool temp3
= False
;
9515 bool temp10
= False
;
9516 PyObject
* obj0
= 0 ;
9517 PyObject
* obj2
= 0 ;
9518 PyObject
* obj3
= 0 ;
9519 PyObject
* obj4
= 0 ;
9520 PyObject
* obj5
= 0 ;
9521 PyObject
* obj8
= 0 ;
9522 PyObject
* obj9
= 0 ;
9524 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOOilOO:new_RadioBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&arg9
,&obj8
,&obj9
)) goto fail
;
9528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9530 arg3
= wxString_in_helper(obj2
);
9531 if (arg3
== NULL
) SWIG_fail
;
9537 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9543 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9548 arg6
= PyList_Size(obj5
);
9549 arg7
= wxString_LIST_helper(obj5
);
9550 if (arg7
== NULL
) SWIG_fail
;
9554 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9555 if (arg10
== NULL
) {
9556 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9561 arg11
= wxString_in_helper(obj9
);
9562 if (arg11
== NULL
) SWIG_fail
;
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 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
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9573 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9579 if (arg7
) delete [] arg7
;
9592 if (arg7
) delete [] arg7
;
9602 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
;
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 result
= (wxRadioBox
*)new wxRadioBox();
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9617 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9624 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
;
9626 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9627 wxWindow
*arg2
= (wxWindow
*) 0 ;
9629 wxString
*arg4
= 0 ;
9630 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9631 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9632 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9633 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9634 int arg7
= (int) 0 ;
9635 wxString
*arg8
= (wxString
*) NULL
;
9636 int arg9
= (int) 0 ;
9637 long arg10
= (long) wxRA_HORIZONTAL
;
9638 wxValidator
const &arg11_defvalue
= wxDefaultValidator
;
9639 wxValidator
*arg11
= (wxValidator
*) &arg11_defvalue
;
9640 wxString
const &arg12_defvalue
= wxPyRadioBoxNameStr
;
9641 wxString
*arg12
= (wxString
*) &arg12_defvalue
;
9643 bool temp4
= False
;
9646 bool temp11
= False
;
9647 PyObject
* obj0
= 0 ;
9648 PyObject
* obj1
= 0 ;
9649 PyObject
* obj3
= 0 ;
9650 PyObject
* obj4
= 0 ;
9651 PyObject
* obj5
= 0 ;
9652 PyObject
* obj6
= 0 ;
9653 PyObject
* obj9
= 0 ;
9654 PyObject
* obj10
= 0 ;
9656 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&arg10
,&obj9
,&obj10
)) goto fail
;
9660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9661 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9663 arg4
= wxString_in_helper(obj3
);
9664 if (arg4
== NULL
) SWIG_fail
;
9670 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9676 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9681 arg7
= PyList_Size(obj6
);
9682 arg8
= wxString_LIST_helper(obj6
);
9683 if (arg8
== NULL
) SWIG_fail
;
9687 if ((SWIG_ConvertPtr(obj9
,(void **) &arg11
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9688 if (arg11
== NULL
) {
9689 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9694 arg12
= wxString_in_helper(obj10
);
9695 if (arg12
== NULL
) SWIG_fail
;
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 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
);
9703 wxPyEndAllowThreads(__tstate
);
9704 if (PyErr_Occurred()) SWIG_fail
;
9706 resultobj
= PyInt_FromLong((long)result
);
9712 if (arg8
) delete [] arg8
;
9725 if (arg8
) delete [] arg8
;
9735 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
;
9737 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9739 PyObject
* obj0
= 0 ;
9741 (char *) "self",(char *) "n", NULL
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
9745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 (arg1
)->SetSelection(arg2
);
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 Py_INCREF(Py_None
); resultobj
= Py_None
;
9760 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9764 PyObject
* obj0
= 0 ;
9766 (char *) "self", NULL
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= PyInt_FromLong((long)result
);
9785 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9791 (char *) "self", NULL
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
9795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9798 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9816 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
;
9818 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9819 wxString
*arg2
= 0 ;
9821 bool temp2
= False
;
9822 PyObject
* obj0
= 0 ;
9823 PyObject
* obj1
= 0 ;
9825 (char *) "self",(char *) "s", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9831 arg2
= wxString_in_helper(obj1
);
9832 if (arg2
== NULL
) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= PyInt_FromLong((long)result
);
9857 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
*resultobj
;
9859 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9861 PyObject
* obj0
= 0 ;
9863 (char *) "self", NULL
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
9867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= PyInt_FromLong((long)result
);
9882 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
;
9884 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9885 wxString
*arg2
= 0 ;
9887 bool temp2
= False
;
9888 PyObject
* obj0
= 0 ;
9889 PyObject
* obj1
= 0 ;
9891 (char *) "self",(char *) "s", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
9895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9897 arg2
= wxString_in_helper(obj1
);
9898 if (arg2
== NULL
) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= PyInt_FromLong((long)result
);
9923 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9928 PyObject
* obj0
= 0 ;
9930 (char *) "self",(char *) "n", NULL
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
9934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9955 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
*resultobj
;
9957 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9959 wxString
*arg3
= 0 ;
9960 bool temp3
= False
;
9961 PyObject
* obj0
= 0 ;
9962 PyObject
* obj2
= 0 ;
9964 (char *) "self",(char *) "n",(char *) "label", NULL
9967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:RadioBox_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9970 arg3
= wxString_in_helper(obj2
);
9971 if (arg3
== NULL
) SWIG_fail
;
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 Py_INCREF(Py_None
); resultobj
= Py_None
;
9996 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
*resultobj
;
9998 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10000 bool arg3
= (bool) True
;
10001 PyObject
* obj0
= 0 ;
10002 PyObject
* obj2
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self",(char *) "n",(char *) "enable", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_EnableItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10010 arg3
= PyInt_AsLong(obj2
) ? true : false;
10011 if (PyErr_Occurred()) SWIG_fail
;
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 (arg1
)->Enable(arg2
,arg3
);
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10020 Py_INCREF(Py_None
); resultobj
= Py_None
;
10027 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
;
10029 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10031 bool arg3
= (bool) True
;
10032 PyObject
* obj0
= 0 ;
10033 PyObject
* obj2
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "self",(char *) "n",(char *) "show", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_ShowItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10041 arg3
= PyInt_AsLong(obj2
) ? true : false;
10042 if (PyErr_Occurred()) SWIG_fail
;
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 (arg1
)->Show(arg2
,arg3
);
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10051 Py_INCREF(Py_None
); resultobj
= Py_None
;
10058 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
;
10060 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10062 PyObject
* obj0
= 0 ;
10063 char *kwnames
[] = {
10064 (char *) "self", NULL
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
10068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= PyInt_FromLong((long)result
);
10083 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
;
10085 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10087 PyObject
* obj0
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
10093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= PyInt_FromLong((long)result
);
10108 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10115 PyObject
* obj0
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:RadioBox_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= PyInt_FromLong((long)result
);
10136 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
10138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10139 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
10141 return Py_BuildValue((char *)"");
10143 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
;
10145 wxWindow
*arg1
= (wxWindow
*) 0 ;
10147 wxString
*arg3
= 0 ;
10148 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10149 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10150 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10151 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10152 long arg6
= (long) 0 ;
10153 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10154 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10155 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
10156 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10157 wxRadioButton
*result
;
10158 bool temp3
= False
;
10161 bool temp8
= False
;
10162 PyObject
* obj0
= 0 ;
10163 PyObject
* obj2
= 0 ;
10164 PyObject
* obj3
= 0 ;
10165 PyObject
* obj4
= 0 ;
10166 PyObject
* obj6
= 0 ;
10167 PyObject
* obj7
= 0 ;
10168 char *kwnames
[] = {
10169 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_RadioButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10175 arg3
= wxString_in_helper(obj2
);
10176 if (arg3
== NULL
) SWIG_fail
;
10182 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10188 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10192 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10193 if (arg7
== NULL
) {
10194 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10199 arg8
= wxString_in_helper(obj7
);
10200 if (arg8
== NULL
) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
10234 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
*resultobj
;
10236 wxRadioButton
*result
;
10237 char *kwnames
[] = {
10241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (wxRadioButton
*)new wxRadioButton();
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
10256 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
;
10258 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10259 wxWindow
*arg2
= (wxWindow
*) 0 ;
10261 wxString
*arg4
= 0 ;
10262 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10263 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10264 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10265 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10266 long arg7
= (long) 0 ;
10267 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10268 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10269 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
10270 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10272 bool temp4
= False
;
10275 bool temp9
= False
;
10276 PyObject
* obj0
= 0 ;
10277 PyObject
* obj1
= 0 ;
10278 PyObject
* obj3
= 0 ;
10279 PyObject
* obj4
= 0 ;
10280 PyObject
* obj5
= 0 ;
10281 PyObject
* obj7
= 0 ;
10282 PyObject
* obj8
= 0 ;
10283 char *kwnames
[] = {
10284 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
10288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10289 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10291 arg4
= wxString_in_helper(obj3
);
10292 if (arg4
== NULL
) SWIG_fail
;
10298 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10304 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10308 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10309 if (arg8
== NULL
) {
10310 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10315 arg9
= wxString_in_helper(obj8
);
10316 if (arg9
== NULL
) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= PyInt_FromLong((long)result
);
10350 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10354 PyObject
* obj0
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
10360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 result
= (bool)(arg1
)->GetValue();
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 resultobj
= PyInt_FromLong((long)result
);
10375 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 PyObject
* obj1
= 0 ;
10381 char *kwnames
[] = {
10382 (char *) "self",(char *) "value", NULL
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10387 arg2
= PyInt_AsLong(obj1
) ? true : false;
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10391 (arg1
)->SetValue(arg2
);
10393 wxPyEndAllowThreads(__tstate
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10396 Py_INCREF(Py_None
); resultobj
= Py_None
;
10403 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
10405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10406 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
10408 return Py_BuildValue((char *)"");
10410 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
10411 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
10416 static PyObject
*_wrap_SliderNameStr_get() {
10421 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
10423 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
10430 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
;
10432 wxWindow
*arg1
= (wxWindow
*) 0 ;
10437 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
10438 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
10439 wxSize
const &arg7_defvalue
= wxDefaultSize
;
10440 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
10441 long arg8
= (long) wxSL_HORIZONTAL
;
10442 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10443 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10444 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
10445 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10449 bool temp10
= False
;
10450 PyObject
* obj0
= 0 ;
10451 PyObject
* obj5
= 0 ;
10452 PyObject
* obj6
= 0 ;
10453 PyObject
* obj8
= 0 ;
10454 PyObject
* obj9
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOlOO:new_Slider",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
,&obj8
,&obj9
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10464 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
10470 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
10474 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10475 if (arg9
== NULL
) {
10476 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10481 arg10
= wxString_in_helper(obj9
);
10482 if (arg10
== NULL
) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10508 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10511 char *kwnames
[] = {
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 result
= (wxSlider
*)new wxSlider();
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10530 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
;
10532 wxSlider
*arg1
= (wxSlider
*) 0 ;
10533 wxWindow
*arg2
= (wxWindow
*) 0 ;
10538 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10539 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10540 wxSize
const &arg8_defvalue
= wxDefaultSize
;
10541 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
10542 long arg9
= (long) wxSL_HORIZONTAL
;
10543 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10544 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10545 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
10546 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10550 bool temp11
= False
;
10551 PyObject
* obj0
= 0 ;
10552 PyObject
* obj1
= 0 ;
10553 PyObject
* obj6
= 0 ;
10554 PyObject
* obj7
= 0 ;
10555 PyObject
* obj9
= 0 ;
10556 PyObject
* obj10
= 0 ;
10557 char *kwnames
[] = {
10558 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiiii|OOlOO:Slider_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&arg9
,&obj9
,&obj10
)) goto fail
;
10562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10563 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10567 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10573 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
10577 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10578 if (arg10
== NULL
) {
10579 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10584 arg11
= wxString_in_helper(obj10
);
10585 if (arg11
== NULL
) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= PyInt_FromLong((long)result
);
10611 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10612 PyObject
*resultobj
;
10613 wxSlider
*arg1
= (wxSlider
*) 0 ;
10615 PyObject
* obj0
= 0 ;
10616 char *kwnames
[] = {
10617 (char *) "self", NULL
10620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
10621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 result
= (int)((wxSlider
const *)arg1
)->GetValue();
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10629 resultobj
= PyInt_FromLong((long)result
);
10636 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxSlider
*arg1
= (wxSlider
*) 0 ;
10640 PyObject
* obj0
= 0 ;
10641 char *kwnames
[] = {
10642 (char *) "self",(char *) "value", NULL
10645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
10646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 (arg1
)->SetValue(arg2
);
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 Py_INCREF(Py_None
); resultobj
= Py_None
;
10661 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
;
10663 wxSlider
*arg1
= (wxSlider
*) 0 ;
10666 PyObject
* obj0
= 0 ;
10667 char *kwnames
[] = {
10668 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 (arg1
)->SetRange(arg2
,arg3
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10680 Py_INCREF(Py_None
); resultobj
= Py_None
;
10687 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxSlider
*arg1
= (wxSlider
*) 0 ;
10691 PyObject
* obj0
= 0 ;
10692 char *kwnames
[] = {
10693 (char *) "self", NULL
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
10697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10700 result
= (int)((wxSlider
const *)arg1
)->GetMin();
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10705 resultobj
= PyInt_FromLong((long)result
);
10712 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
;
10714 wxSlider
*arg1
= (wxSlider
*) 0 ;
10716 PyObject
* obj0
= 0 ;
10717 char *kwnames
[] = {
10718 (char *) "self", NULL
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
10722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 result
= (int)((wxSlider
const *)arg1
)->GetMax();
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= PyInt_FromLong((long)result
);
10737 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
;
10739 wxSlider
*arg1
= (wxSlider
*) 0 ;
10741 PyObject
* obj0
= 0 ;
10742 char *kwnames
[] = {
10743 (char *) "self",(char *) "minValue", NULL
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
10747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 (arg1
)->SetMin(arg2
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 Py_INCREF(Py_None
); resultobj
= Py_None
;
10762 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
;
10764 wxSlider
*arg1
= (wxSlider
*) 0 ;
10766 PyObject
* obj0
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self",(char *) "maxValue", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 (arg1
)->SetMax(arg2
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 Py_INCREF(Py_None
); resultobj
= Py_None
;
10787 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
;
10789 wxSlider
*arg1
= (wxSlider
*) 0 ;
10791 PyObject
* obj0
= 0 ;
10792 char *kwnames
[] = {
10793 (char *) "self",(char *) "lineSize", NULL
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetLineSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 (arg1
)->SetLineSize(arg2
);
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10805 Py_INCREF(Py_None
); resultobj
= Py_None
;
10812 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
;
10814 wxSlider
*arg1
= (wxSlider
*) 0 ;
10816 PyObject
* obj0
= 0 ;
10817 char *kwnames
[] = {
10818 (char *) "self",(char *) "pageSize", NULL
10821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 (arg1
)->SetPageSize(arg2
);
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10830 Py_INCREF(Py_None
); resultobj
= Py_None
;
10837 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
;
10839 wxSlider
*arg1
= (wxSlider
*) 0 ;
10841 PyObject
* obj0
= 0 ;
10842 char *kwnames
[] = {
10843 (char *) "self", NULL
10846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
10847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
10852 wxPyEndAllowThreads(__tstate
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10855 resultobj
= PyInt_FromLong((long)result
);
10862 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
;
10864 wxSlider
*arg1
= (wxSlider
*) 0 ;
10866 PyObject
* obj0
= 0 ;
10867 char *kwnames
[] = {
10868 (char *) "self", NULL
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
10872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 resultobj
= PyInt_FromLong((long)result
);
10887 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxSlider
*arg1
= (wxSlider
*) 0 ;
10891 PyObject
* obj0
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "self",(char *) "lenPixels", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetThumbLength",kwnames
,&obj0
,&arg2
)) goto fail
;
10897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 (arg1
)->SetThumbLength(arg2
);
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10905 Py_INCREF(Py_None
); resultobj
= Py_None
;
10912 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
;
10914 wxSlider
*arg1
= (wxSlider
*) 0 ;
10916 PyObject
* obj0
= 0 ;
10917 char *kwnames
[] = {
10918 (char *) "self", NULL
10921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
10922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 resultobj
= PyInt_FromLong((long)result
);
10937 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
;
10939 wxSlider
*arg1
= (wxSlider
*) 0 ;
10942 PyObject
* obj0
= 0 ;
10943 char *kwnames
[] = {
10944 (char *) "self",(char *) "n",(char *) "pos", NULL
10947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetTickFreq",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10951 (arg1
)->SetTickFreq(arg2
,arg3
);
10953 wxPyEndAllowThreads(__tstate
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10956 Py_INCREF(Py_None
); resultobj
= Py_None
;
10963 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10964 PyObject
*resultobj
;
10965 wxSlider
*arg1
= (wxSlider
*) 0 ;
10967 PyObject
* obj0
= 0 ;
10968 char *kwnames
[] = {
10969 (char *) "self", NULL
10972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
10973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10981 resultobj
= PyInt_FromLong((long)result
);
10988 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10989 PyObject
*resultobj
;
10990 wxSlider
*arg1
= (wxSlider
*) 0 ;
10991 PyObject
* obj0
= 0 ;
10992 char *kwnames
[] = {
10993 (char *) "self", NULL
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
10997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 (arg1
)->ClearTicks();
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11005 Py_INCREF(Py_None
); resultobj
= Py_None
;
11012 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxSlider
*arg1
= (wxSlider
*) 0 ;
11016 PyObject
* obj0
= 0 ;
11017 char *kwnames
[] = {
11018 (char *) "self",(char *) "tickPos", NULL
11021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetTick",kwnames
,&obj0
,&arg2
)) goto fail
;
11022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 (arg1
)->SetTick(arg2
);
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11030 Py_INCREF(Py_None
); resultobj
= Py_None
;
11037 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
;
11039 wxSlider
*arg1
= (wxSlider
*) 0 ;
11040 PyObject
* obj0
= 0 ;
11041 char *kwnames
[] = {
11042 (char *) "self", NULL
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
11046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 (arg1
)->ClearSel();
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11054 Py_INCREF(Py_None
); resultobj
= Py_None
;
11061 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
;
11063 wxSlider
*arg1
= (wxSlider
*) 0 ;
11065 PyObject
* obj0
= 0 ;
11066 char *kwnames
[] = {
11067 (char *) "self", NULL
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
11071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11079 resultobj
= PyInt_FromLong((long)result
);
11086 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
;
11088 wxSlider
*arg1
= (wxSlider
*) 0 ;
11090 PyObject
* obj0
= 0 ;
11091 char *kwnames
[] = {
11092 (char *) "self", NULL
11095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
11096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 resultobj
= PyInt_FromLong((long)result
);
11111 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxSlider
*arg1
= (wxSlider
*) 0 ;
11116 PyObject
* obj0
= 0 ;
11117 char *kwnames
[] = {
11118 (char *) "self",(char *) "min",(char *) "max", NULL
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 (arg1
)->SetSelection(arg2
,arg3
);
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11130 Py_INCREF(Py_None
); resultobj
= Py_None
;
11137 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
11139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11140 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
11142 return Py_BuildValue((char *)"");
11144 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
11145 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
11150 static PyObject
*_wrap_ToggleButtonNameStr_get() {
11155 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
11157 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
11164 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
*resultobj
;
11166 wxWindow
*arg1
= (wxWindow
*) 0 ;
11168 wxString
*arg3
= 0 ;
11169 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11170 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11171 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11172 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11173 long arg6
= (long) 0 ;
11174 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11175 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11176 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
11177 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11178 wxToggleButton
*result
;
11179 bool temp3
= False
;
11182 bool temp8
= False
;
11183 PyObject
* obj0
= 0 ;
11184 PyObject
* obj2
= 0 ;
11185 PyObject
* obj3
= 0 ;
11186 PyObject
* obj4
= 0 ;
11187 PyObject
* obj6
= 0 ;
11188 PyObject
* obj7
= 0 ;
11189 char *kwnames
[] = {
11190 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_ToggleButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
11194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11196 arg3
= wxString_in_helper(obj2
);
11197 if (arg3
== NULL
) SWIG_fail
;
11203 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11209 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11213 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11214 if (arg7
== NULL
) {
11215 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11220 arg8
= wxString_in_helper(obj7
);
11221 if (arg8
== NULL
) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
11255 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11256 PyObject
*resultobj
;
11257 wxToggleButton
*result
;
11258 char *kwnames
[] = {
11262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
11264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 result
= (wxToggleButton
*)new wxToggleButton();
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11270 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
11277 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
;
11279 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11280 wxWindow
*arg2
= (wxWindow
*) 0 ;
11282 wxString
*arg4
= 0 ;
11283 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11284 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11285 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11286 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11287 long arg7
= (long) 0 ;
11288 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11289 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11290 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
11291 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11293 bool temp4
= False
;
11296 bool temp9
= False
;
11297 PyObject
* obj0
= 0 ;
11298 PyObject
* obj1
= 0 ;
11299 PyObject
* obj3
= 0 ;
11300 PyObject
* obj4
= 0 ;
11301 PyObject
* obj5
= 0 ;
11302 PyObject
* obj7
= 0 ;
11303 PyObject
* obj8
= 0 ;
11304 char *kwnames
[] = {
11305 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
11309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11310 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11312 arg4
= wxString_in_helper(obj3
);
11313 if (arg4
== NULL
) SWIG_fail
;
11319 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11325 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11329 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11330 if (arg8
== NULL
) {
11331 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11336 arg9
= wxString_in_helper(obj8
);
11337 if (arg9
== NULL
) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= PyInt_FromLong((long)result
);
11371 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
;
11373 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11375 PyObject
* obj0
= 0 ;
11376 PyObject
* obj1
= 0 ;
11377 char *kwnames
[] = {
11378 (char *) "self",(char *) "value", NULL
11381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11383 arg2
= PyInt_AsLong(obj1
) ? true : false;
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 (arg1
)->SetValue(arg2
);
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 Py_INCREF(Py_None
); resultobj
= Py_None
;
11399 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
*resultobj
;
11401 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11403 PyObject
* obj0
= 0 ;
11404 char *kwnames
[] = {
11405 (char *) "self", NULL
11408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
11409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 resultobj
= PyInt_FromLong((long)result
);
11424 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
;
11426 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11427 wxString
*arg2
= 0 ;
11428 bool temp2
= False
;
11429 PyObject
* obj0
= 0 ;
11430 PyObject
* obj1
= 0 ;
11431 char *kwnames
[] = {
11432 (char *) "self",(char *) "label", NULL
11435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
11436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11438 arg2
= wxString_in_helper(obj1
);
11439 if (arg2
== NULL
) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 (arg1
)->SetLabel((wxString
const &)*arg2
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 Py_INCREF(Py_None
); resultobj
= Py_None
;
11464 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
11466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11467 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
11469 return Py_BuildValue((char *)"");
11471 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
11472 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
11477 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
11482 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
11484 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
11491 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11495 PyObject
* obj0
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
11501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11509 resultobj
= PyInt_FromLong((long)result
);
11516 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
;
11518 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11521 PyObject
* obj0
= 0 ;
11522 PyObject
* obj1
= 0 ;
11523 char *kwnames
[] = {
11524 (char *) "self",(char *) "n", NULL
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11529 arg2
= (size_t) PyInt_AsLong(obj1
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11539 resultobj
= wxPyMake_wxObject(result
);
11547 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
;
11549 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11551 PyObject
* obj0
= 0 ;
11552 char *kwnames
[] = {
11553 (char *) "self", NULL
11556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
11557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11565 resultobj
= PyInt_FromLong((long)result
);
11572 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11574 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11576 wxString
*arg3
= 0 ;
11578 bool temp3
= False
;
11579 PyObject
* obj0
= 0 ;
11580 PyObject
* obj1
= 0 ;
11581 PyObject
* obj2
= 0 ;
11582 char *kwnames
[] = {
11583 (char *) "self",(char *) "n",(char *) "strText", NULL
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11588 arg2
= (size_t) PyInt_AsLong(obj1
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11591 arg3
= wxString_in_helper(obj2
);
11592 if (arg3
== NULL
) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11602 resultobj
= PyInt_FromLong((long)result
);
11617 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
;
11619 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11622 PyObject
* obj0
= 0 ;
11623 PyObject
* obj1
= 0 ;
11624 char *kwnames
[] = {
11625 (char *) "self",(char *) "n", NULL
11628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
11629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11630 arg2
= (size_t) PyInt_AsLong(obj1
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11652 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11655 wxImageList
*arg2
= (wxImageList
*) 0 ;
11656 PyObject
* obj0
= 0 ;
11657 PyObject
* obj1
= 0 ;
11658 char *kwnames
[] = {
11659 (char *) "self",(char *) "imageList", NULL
11662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11664 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 (arg1
)->SetImageList(arg2
);
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 Py_INCREF(Py_None
); resultobj
= Py_None
;
11679 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11682 wxImageList
*arg2
= (wxImageList
*) 0 ;
11683 PyObject
* obj0
= 0 ;
11684 PyObject
* obj1
= 0 ;
11685 char *kwnames
[] = {
11686 (char *) "self",(char *) "imageList", NULL
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11691 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 (arg1
)->AssignImageList(arg2
);
11696 wxPyEndAllowThreads(__tstate
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11699 Py_INCREF(Py_None
); resultobj
= Py_None
;
11706 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11707 PyObject
*resultobj
;
11708 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11709 wxImageList
*result
;
11710 PyObject
* obj0
= 0 ;
11711 char *kwnames
[] = {
11712 (char *) "self", NULL
11715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
11716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11719 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
11721 wxPyEndAllowThreads(__tstate
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11725 resultobj
= wxPyMake_wxObject(result
);
11733 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
*resultobj
;
11735 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11738 PyObject
* obj0
= 0 ;
11739 PyObject
* obj1
= 0 ;
11740 char *kwnames
[] = {
11741 (char *) "self",(char *) "n", NULL
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
11745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11746 arg2
= (size_t) PyInt_AsLong(obj1
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= PyInt_FromLong((long)result
);
11762 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
;
11764 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11768 PyObject
* obj0
= 0 ;
11769 PyObject
* obj1
= 0 ;
11770 char *kwnames
[] = {
11771 (char *) "self",(char *) "n",(char *) "imageId", NULL
11774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11776 arg2
= (size_t) PyInt_AsLong(obj1
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= PyInt_FromLong((long)result
);
11792 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11797 PyObject
* obj0
= 0 ;
11798 PyObject
* obj1
= 0 ;
11799 char *kwnames
[] = {
11800 (char *) "self",(char *) "size", NULL
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11807 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11811 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11816 Py_INCREF(Py_None
); resultobj
= Py_None
;
11823 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
;
11825 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11829 PyObject
* obj0
= 0 ;
11830 PyObject
* obj1
= 0 ;
11831 char *kwnames
[] = {
11832 (char *) "self",(char *) "sizePage", NULL
11835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11839 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11849 wxSize
* resultptr
;
11850 resultptr
= new wxSize((wxSize
&) result
);
11851 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11859 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
;
11861 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11864 PyObject
* obj0
= 0 ;
11865 PyObject
* obj1
= 0 ;
11866 char *kwnames
[] = {
11867 (char *) "self",(char *) "n", NULL
11870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11872 arg2
= (size_t) PyInt_AsLong(obj1
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= (bool)(arg1
)->DeletePage(arg2
);
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= PyInt_FromLong((long)result
);
11888 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11889 PyObject
*resultobj
;
11890 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11893 PyObject
* obj0
= 0 ;
11894 PyObject
* obj1
= 0 ;
11895 char *kwnames
[] = {
11896 (char *) "self",(char *) "n", NULL
11899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11901 arg2
= (size_t) PyInt_AsLong(obj1
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= (bool)(arg1
)->RemovePage(arg2
);
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11910 resultobj
= PyInt_FromLong((long)result
);
11917 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11918 PyObject
*resultobj
;
11919 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11921 PyObject
* obj0
= 0 ;
11922 char *kwnames
[] = {
11923 (char *) "self", NULL
11926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
11927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 result
= (bool)(arg1
)->DeleteAllPages();
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= PyInt_FromLong((long)result
);
11942 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
;
11944 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11945 wxWindow
*arg2
= (wxWindow
*) 0 ;
11946 wxString
*arg3
= 0 ;
11947 bool arg4
= (bool) False
;
11948 int arg5
= (int) -1 ;
11950 bool temp3
= False
;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 PyObject
* obj2
= 0 ;
11954 PyObject
* obj3
= 0 ;
11955 char *kwnames
[] = {
11956 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
11960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11963 arg3
= wxString_in_helper(obj2
);
11964 if (arg3
== NULL
) SWIG_fail
;
11968 arg4
= PyInt_AsLong(obj3
) ? true : false;
11969 if (PyErr_Occurred()) SWIG_fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= PyInt_FromLong((long)result
);
11993 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11995 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11997 wxWindow
*arg3
= (wxWindow
*) 0 ;
11998 wxString
*arg4
= 0 ;
11999 bool arg5
= (bool) False
;
12000 int arg6
= (int) -1 ;
12002 bool temp4
= False
;
12003 PyObject
* obj0
= 0 ;
12004 PyObject
* obj1
= 0 ;
12005 PyObject
* obj2
= 0 ;
12006 PyObject
* obj3
= 0 ;
12007 PyObject
* obj4
= 0 ;
12008 char *kwnames
[] = {
12009 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
)) goto fail
;
12013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12014 arg2
= (size_t) PyInt_AsLong(obj1
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12016 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12018 arg4
= wxString_in_helper(obj3
);
12019 if (arg4
== NULL
) SWIG_fail
;
12023 arg5
= PyInt_AsLong(obj4
) ? true : false;
12024 if (PyErr_Occurred()) SWIG_fail
;
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= PyInt_FromLong((long)result
);
12048 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12049 PyObject
*resultobj
;
12050 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12053 PyObject
* obj0
= 0 ;
12054 PyObject
* obj1
= 0 ;
12055 char *kwnames
[] = {
12056 (char *) "self",(char *) "n", NULL
12059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12061 arg2
= (size_t) PyInt_AsLong(obj1
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 result
= (int)(arg1
)->SetSelection(arg2
);
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 resultobj
= PyInt_FromLong((long)result
);
12077 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
;
12079 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12080 bool arg2
= (bool) True
;
12081 PyObject
* obj0
= 0 ;
12082 PyObject
* obj1
= 0 ;
12083 char *kwnames
[] = {
12084 (char *) "self",(char *) "forward", NULL
12087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12090 arg2
= PyInt_AsLong(obj1
) ? true : false;
12091 if (PyErr_Occurred()) SWIG_fail
;
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 (arg1
)->AdvanceSelection(arg2
);
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12100 Py_INCREF(Py_None
); resultobj
= Py_None
;
12107 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
12109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12110 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
12112 return Py_BuildValue((char *)"");
12114 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12117 int arg2
= (int) 0 ;
12118 int arg3
= (int) -1 ;
12119 int arg4
= (int) -1 ;
12120 wxBookCtrlEvent
*result
;
12121 char *kwnames
[] = {
12122 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_BookCtrlEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
12140 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12144 PyObject
* obj0
= 0 ;
12145 char *kwnames
[] = {
12146 (char *) "self", NULL
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 resultobj
= PyInt_FromLong((long)result
);
12165 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
;
12167 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12169 PyObject
* obj0
= 0 ;
12170 char *kwnames
[] = {
12171 (char *) "self",(char *) "nSel", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
12175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 (arg1
)->SetSelection(arg2
);
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 Py_INCREF(Py_None
); resultobj
= Py_None
;
12190 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
;
12192 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12194 PyObject
* obj0
= 0 ;
12195 char *kwnames
[] = {
12196 (char *) "self", NULL
12199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
12200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12208 resultobj
= PyInt_FromLong((long)result
);
12215 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12216 PyObject
*resultobj
;
12217 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12219 PyObject
* obj0
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self",(char *) "nOldSel", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
12225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 (arg1
)->SetOldSelection(arg2
);
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 Py_INCREF(Py_None
); resultobj
= Py_None
;
12240 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12243 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
12245 return Py_BuildValue((char *)"");
12247 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
*resultobj
;
12249 wxWindow
*arg1
= (wxWindow
*) 0 ;
12251 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12252 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12253 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12254 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12255 long arg5
= (long) 0 ;
12256 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
12257 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12258 wxNotebook
*result
;
12261 bool temp6
= False
;
12262 PyObject
* obj0
= 0 ;
12263 PyObject
* obj2
= 0 ;
12264 PyObject
* obj3
= 0 ;
12265 PyObject
* obj5
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Notebook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12275 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12281 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12286 arg6
= wxString_in_helper(obj5
);
12287 if (arg6
== NULL
) SWIG_fail
;
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= wxPyMake_wxObject(result
);
12315 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
*resultobj
;
12317 wxNotebook
*result
;
12318 char *kwnames
[] = {
12322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 result
= (wxNotebook
*)new wxNotebook();
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12331 resultobj
= wxPyMake_wxObject(result
);
12339 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
;
12341 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12342 wxWindow
*arg2
= (wxWindow
*) 0 ;
12344 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12345 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12346 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12347 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12348 long arg6
= (long) 0 ;
12349 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
12350 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12354 bool temp7
= False
;
12355 PyObject
* obj0
= 0 ;
12356 PyObject
* obj1
= 0 ;
12357 PyObject
* obj3
= 0 ;
12358 PyObject
* obj4
= 0 ;
12359 PyObject
* obj6
= 0 ;
12360 char *kwnames
[] = {
12361 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Notebook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12366 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12370 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12376 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12381 arg7
= wxString_in_helper(obj6
);
12382 if (arg7
== NULL
) SWIG_fail
;
12387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12388 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= PyInt_FromLong((long)result
);
12408 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
;
12410 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12412 PyObject
* obj0
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "self", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
12418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= PyInt_FromLong((long)result
);
12433 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12438 PyObject
* obj0
= 0 ;
12439 PyObject
* obj1
= 0 ;
12440 char *kwnames
[] = {
12441 (char *) "self",(char *) "padding", NULL
12444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
12445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12448 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 (arg1
)->SetPadding((wxSize
const &)*arg2
);
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12457 Py_INCREF(Py_None
); resultobj
= Py_None
;
12464 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
;
12466 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12469 PyObject
* obj0
= 0 ;
12470 PyObject
* obj1
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self",(char *) "sz", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12479 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12488 Py_INCREF(Py_None
); resultobj
= Py_None
;
12495 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
;
12497 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12498 wxPoint
*arg2
= 0 ;
12499 long *arg3
= (long *) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 PyObject
* obj1
= 0 ;
12505 char *kwnames
[] = {
12506 (char *) "self",(char *) "pt", NULL
12510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
12511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12514 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= PyInt_FromLong((long)result
);
12525 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12526 resultobj
= t_output_helper(resultobj
,o
);
12534 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12535 PyObject
*resultobj
;
12536 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12540 PyObject
* obj0
= 0 ;
12541 PyObject
* obj1
= 0 ;
12542 char *kwnames
[] = {
12543 (char *) "self",(char *) "sizePage", NULL
12546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12550 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12560 wxSize
* resultptr
;
12561 resultptr
= new wxSize((wxSize
&) result
);
12562 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12570 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
;
12572 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12573 wxWindow
*arg2
= (wxWindow
*) 0 ;
12574 wxColour
*arg3
= 0 ;
12576 PyObject
* obj0
= 0 ;
12577 PyObject
* obj1
= 0 ;
12578 PyObject
* obj2
= 0 ;
12579 char *kwnames
[] = {
12580 (char *) "self",(char *) "window",(char *) "colour", NULL
12583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12588 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 Py_INCREF(Py_None
); resultobj
= Py_None
;
12604 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
12606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12607 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
12609 return Py_BuildValue((char *)"");
12611 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12614 int arg2
= (int) 0 ;
12615 int arg3
= (int) -1 ;
12616 int arg4
= (int) -1 ;
12617 wxNotebookEvent
*result
;
12618 char *kwnames
[] = {
12619 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_NotebookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
12637 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12640 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
12642 return Py_BuildValue((char *)"");
12644 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
;
12646 wxWindow
*arg1
= (wxWindow
*) 0 ;
12648 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12649 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12650 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12651 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12652 long arg5
= (long) 0 ;
12653 wxString
const &arg6_defvalue
= wxPyEmptyString
;
12654 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12655 wxListbook
*result
;
12658 bool temp6
= False
;
12659 PyObject
* obj0
= 0 ;
12660 PyObject
* obj2
= 0 ;
12661 PyObject
* obj3
= 0 ;
12662 PyObject
* obj5
= 0 ;
12663 char *kwnames
[] = {
12664 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Listbook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12672 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12678 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12683 arg6
= wxString_in_helper(obj5
);
12684 if (arg6
== NULL
) SWIG_fail
;
12689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12690 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12695 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12710 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
;
12712 wxListbook
*result
;
12713 char *kwnames
[] = {
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 result
= (wxListbook
*)new wxListbook();
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12725 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12732 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12733 PyObject
*resultobj
;
12734 wxListbook
*arg1
= (wxListbook
*) 0 ;
12735 wxWindow
*arg2
= (wxWindow
*) 0 ;
12737 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12738 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12739 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12740 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12741 long arg6
= (long) 0 ;
12742 wxString
const &arg7_defvalue
= wxPyEmptyString
;
12743 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12747 bool temp7
= False
;
12748 PyObject
* obj0
= 0 ;
12749 PyObject
* obj1
= 0 ;
12750 PyObject
* obj3
= 0 ;
12751 PyObject
* obj4
= 0 ;
12752 PyObject
* obj6
= 0 ;
12753 char *kwnames
[] = {
12754 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Listbook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12759 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12763 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12769 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12774 arg7
= wxString_in_helper(obj6
);
12775 if (arg7
== NULL
) SWIG_fail
;
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12786 resultobj
= PyInt_FromLong((long)result
);
12801 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12802 PyObject
*resultobj
;
12803 wxListbook
*arg1
= (wxListbook
*) 0 ;
12805 PyObject
* obj0
= 0 ;
12806 char *kwnames
[] = {
12807 (char *) "self", NULL
12810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
12811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= PyInt_FromLong((long)result
);
12826 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
12828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12829 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
12831 return Py_BuildValue((char *)"");
12833 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12834 PyObject
*resultobj
;
12835 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12836 int arg2
= (int) 0 ;
12837 int arg3
= (int) -1 ;
12838 int arg4
= (int) -1 ;
12839 wxListbookEvent
*result
;
12840 char *kwnames
[] = {
12841 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ListbookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12852 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
12859 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12862 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
12864 return Py_BuildValue((char *)"");
12866 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12869 wxBookCtrlSizer
*result
;
12870 PyObject
* obj0
= 0 ;
12871 char *kwnames
[] = {
12872 (char *) "nb", NULL
12875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
12876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
12891 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12894 PyObject
* obj0
= 0 ;
12895 char *kwnames
[] = {
12896 (char *) "self", NULL
12899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 (arg1
)->RecalcSizes();
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12908 Py_INCREF(Py_None
); resultobj
= Py_None
;
12915 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
;
12917 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12919 PyObject
* obj0
= 0 ;
12920 char *kwnames
[] = {
12921 (char *) "self", NULL
12924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (arg1
)->CalcMin();
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12934 wxSize
* resultptr
;
12935 resultptr
= new wxSize((wxSize
&) result
);
12936 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12944 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
;
12946 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12947 wxBookCtrl
*result
;
12948 PyObject
* obj0
= 0 ;
12949 char *kwnames
[] = {
12950 (char *) "self", NULL
12953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
12954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 result
= (wxBookCtrl
*)(arg1
)->GetControl();
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
12969 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12972 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
12974 return Py_BuildValue((char *)"");
12976 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12977 PyObject
*resultobj
;
12978 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12979 wxNotebookSizer
*result
;
12980 PyObject
* obj0
= 0 ;
12981 char *kwnames
[] = {
12982 (char *) "nb", NULL
12985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
12986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12994 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
13001 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
;
13003 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
13004 PyObject
* obj0
= 0 ;
13005 char *kwnames
[] = {
13006 (char *) "self", NULL
13009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
13010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13013 (arg1
)->RecalcSizes();
13015 wxPyEndAllowThreads(__tstate
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13018 Py_INCREF(Py_None
); resultobj
= Py_None
;
13025 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13026 PyObject
*resultobj
;
13027 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
13029 PyObject
* obj0
= 0 ;
13030 char *kwnames
[] = {
13031 (char *) "self", NULL
13034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
13035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 result
= (arg1
)->CalcMin();
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13044 wxSize
* resultptr
;
13045 resultptr
= new wxSize((wxSize
&) result
);
13046 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13054 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
;
13056 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
13057 wxNotebook
*result
;
13058 PyObject
* obj0
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
13064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 result
= (wxNotebook
*)(arg1
)->GetNotebook();
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13073 resultobj
= wxPyMake_wxObject(result
);
13081 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
13083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13084 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
13086 return Py_BuildValue((char *)"");
13088 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
;
13090 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13092 PyObject
* obj0
= 0 ;
13093 char *kwnames
[] = {
13094 (char *) "self", NULL
13097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
13098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 result
= (int)(arg1
)->GetId();
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 resultobj
= PyInt_FromLong((long)result
);
13113 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13117 PyObject
* obj0
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "self", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
13123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 result
= (wxControl
*)(arg1
)->GetControl();
13128 wxPyEndAllowThreads(__tstate
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13132 resultobj
= wxPyMake_wxObject(result
);
13140 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
;
13142 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13143 wxToolBarBase
*result
;
13144 PyObject
* obj0
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "self", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
13150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13159 resultobj
= wxPyMake_wxObject(result
);
13167 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
;
13169 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13171 PyObject
* obj0
= 0 ;
13172 char *kwnames
[] = {
13173 (char *) "self", NULL
13176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
13177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 result
= (int)(arg1
)->IsButton();
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= PyInt_FromLong((long)result
);
13192 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13196 PyObject
* obj0
= 0 ;
13197 char *kwnames
[] = {
13198 (char *) "self", NULL
13201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
13202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 result
= (int)(arg1
)->IsControl();
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13210 resultobj
= PyInt_FromLong((long)result
);
13217 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
;
13219 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13221 PyObject
* obj0
= 0 ;
13222 char *kwnames
[] = {
13223 (char *) "self", NULL
13226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
13227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13230 result
= (int)(arg1
)->IsSeparator();
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= PyInt_FromLong((long)result
);
13242 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
;
13244 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13246 PyObject
* obj0
= 0 ;
13247 char *kwnames
[] = {
13248 (char *) "self", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
13252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 result
= (int)(arg1
)->GetStyle();
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13260 resultobj
= PyInt_FromLong((long)result
);
13267 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
;
13269 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13271 PyObject
* obj0
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
13277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 result
= (int)(arg1
)->GetKind();
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13285 resultobj
= PyInt_FromLong((long)result
);
13292 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
;
13294 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13296 PyObject
* obj0
= 0 ;
13297 char *kwnames
[] = {
13298 (char *) "self", NULL
13301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
13302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 result
= (bool)(arg1
)->IsEnabled();
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13310 resultobj
= PyInt_FromLong((long)result
);
13317 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13318 PyObject
*resultobj
;
13319 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13321 PyObject
* obj0
= 0 ;
13322 char *kwnames
[] = {
13323 (char *) "self", NULL
13326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
13327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 result
= (bool)(arg1
)->IsToggled();
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 resultobj
= PyInt_FromLong((long)result
);
13342 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
13352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 result
= (bool)(arg1
)->CanBeToggled();
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= PyInt_FromLong((long)result
);
13367 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13368 PyObject
*resultobj
;
13369 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13371 PyObject
* obj0
= 0 ;
13372 char *kwnames
[] = {
13373 (char *) "self", NULL
13376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
13377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
13382 result
= (wxBitmap
*) &_result_ref
;
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13395 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13396 PyObject
*resultobj
;
13397 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13399 PyObject
* obj0
= 0 ;
13400 char *kwnames
[] = {
13401 (char *) "self", NULL
13404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
13405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13409 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
13410 result
= (wxBitmap
*) &_result_ref
;
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13416 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13423 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13424 PyObject
*resultobj
;
13425 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13427 PyObject
* obj0
= 0 ;
13428 char *kwnames
[] = {
13429 (char *) "self", NULL
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
13433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13436 result
= (arg1
)->GetBitmap();
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13442 wxBitmap
* resultptr
;
13443 resultptr
= new wxBitmap((wxBitmap
&) result
);
13444 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13452 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
;
13454 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13456 PyObject
* obj0
= 0 ;
13457 char *kwnames
[] = {
13458 (char *) "self", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
13462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (arg1
)->GetLabel();
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13483 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13484 PyObject
*resultobj
;
13485 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13487 PyObject
* obj0
= 0 ;
13488 char *kwnames
[] = {
13489 (char *) "self", NULL
13492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
13493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13496 result
= (arg1
)->GetShortHelp();
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13514 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
;
13516 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13518 PyObject
* obj0
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "self", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
13524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 result
= (arg1
)->GetLongHelp();
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13545 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13546 PyObject
*resultobj
;
13547 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13550 PyObject
* obj0
= 0 ;
13551 PyObject
* obj1
= 0 ;
13552 char *kwnames
[] = {
13553 (char *) "self",(char *) "enable", NULL
13556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
13557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13558 arg2
= PyInt_AsLong(obj1
) ? true : false;
13559 if (PyErr_Occurred()) SWIG_fail
;
13561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13562 result
= (bool)(arg1
)->Enable(arg2
);
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 resultobj
= PyInt_FromLong((long)result
);
13574 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
;
13576 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13577 PyObject
* obj0
= 0 ;
13578 char *kwnames
[] = {
13579 (char *) "self", NULL
13582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
13583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 Py_INCREF(Py_None
); resultobj
= Py_None
;
13598 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
;
13600 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13603 PyObject
* obj0
= 0 ;
13604 PyObject
* obj1
= 0 ;
13605 char *kwnames
[] = {
13606 (char *) "self",(char *) "toggle", NULL
13609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
13610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13611 arg2
= PyInt_AsLong(obj1
) ? true : false;
13612 if (PyErr_Occurred()) SWIG_fail
;
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13615 result
= (bool)(arg1
)->SetToggle(arg2
);
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= PyInt_FromLong((long)result
);
13627 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13628 PyObject
*resultobj
;
13629 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13630 wxString
*arg2
= 0 ;
13632 bool temp2
= False
;
13633 PyObject
* obj0
= 0 ;
13634 PyObject
* obj1
= 0 ;
13635 char *kwnames
[] = {
13636 (char *) "self",(char *) "help", NULL
13639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13642 arg2
= wxString_in_helper(obj1
);
13643 if (arg2
== NULL
) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= PyInt_FromLong((long)result
);
13668 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
;
13670 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13671 wxString
*arg2
= 0 ;
13673 bool temp2
= False
;
13674 PyObject
* obj0
= 0 ;
13675 PyObject
* obj1
= 0 ;
13676 char *kwnames
[] = {
13677 (char *) "self",(char *) "help", NULL
13680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13683 arg2
= wxString_in_helper(obj1
);
13684 if (arg2
== NULL
) SWIG_fail
;
13688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13689 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13694 resultobj
= PyInt_FromLong((long)result
);
13709 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
;
13711 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13712 wxBitmap
*arg2
= 0 ;
13713 PyObject
* obj0
= 0 ;
13714 PyObject
* obj1
= 0 ;
13715 char *kwnames
[] = {
13716 (char *) "self",(char *) "bmp", NULL
13719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13721 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13722 if (arg2
== NULL
) {
13723 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13732 Py_INCREF(Py_None
); resultobj
= Py_None
;
13739 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
;
13741 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13742 wxBitmap
*arg2
= 0 ;
13743 PyObject
* obj0
= 0 ;
13744 PyObject
* obj1
= 0 ;
13745 char *kwnames
[] = {
13746 (char *) "self",(char *) "bmp", NULL
13749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13751 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13752 if (arg2
== NULL
) {
13753 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13757 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13762 Py_INCREF(Py_None
); resultobj
= Py_None
;
13769 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
*resultobj
;
13771 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13772 wxString
*arg2
= 0 ;
13773 bool temp2
= False
;
13774 PyObject
* obj0
= 0 ;
13775 PyObject
* obj1
= 0 ;
13776 char *kwnames
[] = {
13777 (char *) "self",(char *) "label", NULL
13780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13783 arg2
= wxString_in_helper(obj1
);
13784 if (arg2
== NULL
) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 (arg1
)->SetLabel((wxString
const &)*arg2
);
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13794 Py_INCREF(Py_None
); resultobj
= Py_None
;
13809 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13810 PyObject
*resultobj
;
13811 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13812 PyObject
* obj0
= 0 ;
13813 char *kwnames
[] = {
13814 (char *) "self", NULL
13817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
13818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 Py_INCREF(Py_None
); resultobj
= Py_None
;
13833 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
;
13835 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13836 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
13837 PyObject
* obj0
= 0 ;
13838 PyObject
* obj1
= 0 ;
13839 char *kwnames
[] = {
13840 (char *) "self",(char *) "tbar", NULL
13843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
13844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13845 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 (arg1
)->Attach(arg2
);
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13853 Py_INCREF(Py_None
); resultobj
= Py_None
;
13860 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13861 PyObject
*resultobj
;
13862 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13864 PyObject
* obj0
= 0 ;
13865 char *kwnames
[] = {
13866 (char *) "self", NULL
13869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
13870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
13875 wxPyEndAllowThreads(__tstate
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= result
;
13885 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
;
13887 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13888 PyObject
*arg2
= (PyObject
*) 0 ;
13889 PyObject
* obj0
= 0 ;
13890 PyObject
* obj1
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "self",(char *) "clientData", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
13896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 wxToolBarToolBase_SetClientData(arg1
,arg2
);
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13905 Py_INCREF(Py_None
); resultobj
= Py_None
;
13912 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
13914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13915 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
13917 return Py_BuildValue((char *)"");
13919 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13920 PyObject
*resultobj
;
13921 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13923 wxString
*arg3
= 0 ;
13924 wxBitmap
*arg4
= 0 ;
13925 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
13926 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
13927 int arg6
= (int) wxITEM_NORMAL
;
13928 wxString
const &arg7_defvalue
= wxPyEmptyString
;
13929 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13930 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13931 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13932 PyObject
*arg9
= (PyObject
*) NULL
;
13933 wxToolBarToolBase
*result
;
13934 bool temp3
= False
;
13935 bool temp7
= False
;
13936 bool temp8
= False
;
13937 PyObject
* obj0
= 0 ;
13938 PyObject
* obj2
= 0 ;
13939 PyObject
* obj3
= 0 ;
13940 PyObject
* obj4
= 0 ;
13941 PyObject
* obj6
= 0 ;
13942 PyObject
* obj7
= 0 ;
13943 PyObject
* obj8
= 0 ;
13944 char *kwnames
[] = {
13945 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
,&obj8
)) goto fail
;
13949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13951 arg3
= wxString_in_helper(obj2
);
13952 if (arg3
== NULL
) SWIG_fail
;
13955 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13956 if (arg4
== NULL
) {
13957 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13960 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13961 if (arg5
== NULL
) {
13962 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13967 arg7
= wxString_in_helper(obj6
);
13968 if (arg7
== NULL
) SWIG_fail
;
13974 arg8
= wxString_in_helper(obj7
);
13975 if (arg8
== NULL
) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= wxPyMake_wxObject(result
);
14022 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14023 PyObject
*resultobj
;
14024 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14027 wxString
*arg4
= 0 ;
14028 wxBitmap
*arg5
= 0 ;
14029 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
14030 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
14031 int arg7
= (int) wxITEM_NORMAL
;
14032 wxString
const &arg8_defvalue
= wxPyEmptyString
;
14033 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14034 wxString
const &arg9_defvalue
= wxPyEmptyString
;
14035 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14036 PyObject
*arg10
= (PyObject
*) NULL
;
14037 wxToolBarToolBase
*result
;
14038 bool temp4
= False
;
14039 bool temp8
= False
;
14040 bool temp9
= False
;
14041 PyObject
* obj0
= 0 ;
14042 PyObject
* obj1
= 0 ;
14043 PyObject
* obj3
= 0 ;
14044 PyObject
* obj4
= 0 ;
14045 PyObject
* obj5
= 0 ;
14046 PyObject
* obj7
= 0 ;
14047 PyObject
* obj8
= 0 ;
14048 PyObject
* obj9
= 0 ;
14049 char *kwnames
[] = {
14050 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
14054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14055 arg2
= (size_t) PyInt_AsLong(obj1
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14058 arg4
= wxString_in_helper(obj3
);
14059 if (arg4
== NULL
) SWIG_fail
;
14062 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14063 if (arg5
== NULL
) {
14064 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14067 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14068 if (arg6
== NULL
) {
14069 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14074 arg8
= wxString_in_helper(obj7
);
14075 if (arg8
== NULL
) SWIG_fail
;
14081 arg9
= wxString_in_helper(obj8
);
14082 if (arg9
== NULL
) SWIG_fail
;
14090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14091 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
);
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14097 resultobj
= wxPyMake_wxObject(result
);
14129 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14130 PyObject
*resultobj
;
14131 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14132 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
14133 wxToolBarToolBase
*result
;
14134 PyObject
* obj0
= 0 ;
14135 PyObject
* obj1
= 0 ;
14136 char *kwnames
[] = {
14137 (char *) "self",(char *) "tool", NULL
14140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
14141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14142 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14145 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
14147 wxPyEndAllowThreads(__tstate
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14151 resultobj
= wxPyMake_wxObject(result
);
14159 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14160 PyObject
*resultobj
;
14161 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14163 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
14164 wxToolBarToolBase
*result
;
14165 PyObject
* obj0
= 0 ;
14166 PyObject
* obj1
= 0 ;
14167 PyObject
* obj2
= 0 ;
14168 char *kwnames
[] = {
14169 (char *) "self",(char *) "pos",(char *) "tool", NULL
14172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14174 arg2
= (size_t) PyInt_AsLong(obj1
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14176 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
14181 wxPyEndAllowThreads(__tstate
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14185 resultobj
= wxPyMake_wxObject(result
);
14193 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14196 wxControl
*arg2
= (wxControl
*) 0 ;
14197 wxToolBarToolBase
*result
;
14198 PyObject
* obj0
= 0 ;
14199 PyObject
* obj1
= 0 ;
14200 char *kwnames
[] = {
14201 (char *) "self",(char *) "control", NULL
14204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
14205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14206 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14209 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
14211 wxPyEndAllowThreads(__tstate
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14215 resultobj
= wxPyMake_wxObject(result
);
14223 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
;
14225 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14227 wxControl
*arg3
= (wxControl
*) 0 ;
14228 wxToolBarToolBase
*result
;
14229 PyObject
* obj0
= 0 ;
14230 PyObject
* obj1
= 0 ;
14231 PyObject
* obj2
= 0 ;
14232 char *kwnames
[] = {
14233 (char *) "self",(char *) "pos",(char *) "control", NULL
14236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14238 arg2
= (size_t) PyInt_AsLong(obj1
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14240 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14243 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
14245 wxPyEndAllowThreads(__tstate
);
14246 if (PyErr_Occurred()) SWIG_fail
;
14249 resultobj
= wxPyMake_wxObject(result
);
14257 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14258 PyObject
*resultobj
;
14259 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14262 PyObject
* obj0
= 0 ;
14263 char *kwnames
[] = {
14264 (char *) "self",(char *) "id", NULL
14267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindControl",kwnames
,&obj0
,&arg2
)) goto fail
;
14268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14277 resultobj
= wxPyMake_wxObject(result
);
14285 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14288 wxToolBarToolBase
*result
;
14289 PyObject
* obj0
= 0 ;
14290 char *kwnames
[] = {
14291 (char *) "self", NULL
14294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
14295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14304 resultobj
= wxPyMake_wxObject(result
);
14312 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
;
14314 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14316 wxToolBarToolBase
*result
;
14317 PyObject
* obj0
= 0 ;
14318 PyObject
* obj1
= 0 ;
14319 char *kwnames
[] = {
14320 (char *) "self",(char *) "pos", NULL
14323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
14324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14325 arg2
= (size_t) PyInt_AsLong(obj1
);
14326 if (PyErr_Occurred()) SWIG_fail
;
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
14331 wxPyEndAllowThreads(__tstate
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14335 resultobj
= wxPyMake_wxObject(result
);
14343 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
;
14345 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14347 wxToolBarToolBase
*result
;
14348 PyObject
* obj0
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "self",(char *) "id", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_RemoveTool",kwnames
,&obj0
,&arg2
)) goto fail
;
14354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= wxPyMake_wxObject(result
);
14371 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
;
14373 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14376 PyObject
* obj0
= 0 ;
14377 PyObject
* obj1
= 0 ;
14378 char *kwnames
[] = {
14379 (char *) "self",(char *) "pos", NULL
14382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
14383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14384 arg2
= (size_t) PyInt_AsLong(obj1
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
14390 wxPyEndAllowThreads(__tstate
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14393 resultobj
= PyInt_FromLong((long)result
);
14400 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
;
14402 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14405 PyObject
* obj0
= 0 ;
14406 char *kwnames
[] = {
14407 (char *) "self",(char *) "id", NULL
14410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_DeleteTool",kwnames
,&obj0
,&arg2
)) goto fail
;
14411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 result
= (bool)(arg1
)->DeleteTool(arg2
);
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 resultobj
= PyInt_FromLong((long)result
);
14426 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14427 PyObject
*resultobj
;
14428 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14429 PyObject
* obj0
= 0 ;
14430 char *kwnames
[] = {
14431 (char *) "self", NULL
14434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
14435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 (arg1
)->ClearTools();
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 Py_INCREF(Py_None
); resultobj
= Py_None
;
14450 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14454 PyObject
* obj0
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 result
= (bool)(arg1
)->Realize();
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14468 resultobj
= PyInt_FromLong((long)result
);
14475 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14476 PyObject
*resultobj
;
14477 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14480 PyObject
* obj0
= 0 ;
14481 PyObject
* obj2
= 0 ;
14482 char *kwnames
[] = {
14483 (char *) "self",(char *) "id",(char *) "enable", NULL
14486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_EnableTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14488 arg3
= PyInt_AsLong(obj2
) ? true : false;
14489 if (PyErr_Occurred()) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 (arg1
)->EnableTool(arg2
,arg3
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14497 Py_INCREF(Py_None
); resultobj
= Py_None
;
14504 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
;
14506 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14509 PyObject
* obj0
= 0 ;
14510 PyObject
* obj2
= 0 ;
14511 char *kwnames
[] = {
14512 (char *) "self",(char *) "id",(char *) "toggle", NULL
14515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14517 arg3
= PyInt_AsLong(obj2
) ? true : false;
14518 if (PyErr_Occurred()) SWIG_fail
;
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 (arg1
)->ToggleTool(arg2
,arg3
);
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14526 Py_INCREF(Py_None
); resultobj
= Py_None
;
14533 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14534 PyObject
*resultobj
;
14535 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14538 PyObject
* obj0
= 0 ;
14539 PyObject
* obj2
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self",(char *) "id",(char *) "toggle", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToggle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14546 arg3
= PyInt_AsLong(obj2
) ? true : false;
14547 if (PyErr_Occurred()) SWIG_fail
;
14549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14550 (arg1
)->SetToggle(arg2
,arg3
);
14552 wxPyEndAllowThreads(__tstate
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14555 Py_INCREF(Py_None
); resultobj
= Py_None
;
14562 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
;
14564 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14567 PyObject
* obj0
= 0 ;
14568 char *kwnames
[] = {
14569 (char *) "self",(char *) "id", NULL
14572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
14573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14576 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
14578 wxPyEndAllowThreads(__tstate
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= result
;
14588 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
;
14590 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14592 PyObject
*arg3
= (PyObject
*) 0 ;
14593 PyObject
* obj0
= 0 ;
14594 PyObject
* obj2
= 0 ;
14595 char *kwnames
[] = {
14596 (char *) "self",(char *) "id",(char *) "clientData", NULL
14599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14609 Py_INCREF(Py_None
); resultobj
= Py_None
;
14616 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
;
14618 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14621 PyObject
* obj0
= 0 ;
14622 char *kwnames
[] = {
14623 (char *) "self",(char *) "id", NULL
14626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolPos",kwnames
,&obj0
,&arg2
)) goto fail
;
14627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
14632 wxPyEndAllowThreads(__tstate
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14635 resultobj
= PyInt_FromLong((long)result
);
14642 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14643 PyObject
*resultobj
;
14644 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14647 PyObject
* obj0
= 0 ;
14648 char *kwnames
[] = {
14649 (char *) "self",(char *) "id", NULL
14652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolState",kwnames
,&obj0
,&arg2
)) goto fail
;
14653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 result
= (bool)(arg1
)->GetToolState(arg2
);
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14661 resultobj
= PyInt_FromLong((long)result
);
14668 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
;
14670 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14673 PyObject
* obj0
= 0 ;
14674 char *kwnames
[] = {
14675 (char *) "self",(char *) "id", NULL
14678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
14679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14687 resultobj
= PyInt_FromLong((long)result
);
14694 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14695 PyObject
*resultobj
;
14696 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14698 wxString
*arg3
= 0 ;
14699 bool temp3
= False
;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj2
= 0 ;
14702 char *kwnames
[] = {
14703 (char *) "self",(char *) "id",(char *) "helpString", NULL
14706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14709 arg3
= wxString_in_helper(obj2
);
14710 if (arg3
== NULL
) SWIG_fail
;
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 Py_INCREF(Py_None
); resultobj
= Py_None
;
14735 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14736 PyObject
*resultobj
;
14737 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14740 PyObject
* obj0
= 0 ;
14741 char *kwnames
[] = {
14742 (char *) "self",(char *) "id", NULL
14745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 result
= (arg1
)->GetToolShortHelp(arg2
);
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14767 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
;
14769 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14771 wxString
*arg3
= 0 ;
14772 bool temp3
= False
;
14773 PyObject
* obj0
= 0 ;
14774 PyObject
* obj2
= 0 ;
14775 char *kwnames
[] = {
14776 (char *) "self",(char *) "id",(char *) "helpString", NULL
14779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14782 arg3
= wxString_in_helper(obj2
);
14783 if (arg3
== NULL
) SWIG_fail
;
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 Py_INCREF(Py_None
); resultobj
= Py_None
;
14808 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self",(char *) "id", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= (arg1
)->GetToolLongHelp(arg2
);
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14840 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
;
14842 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self",(char *) "x",(char *) "y", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 (arg1
)->SetMargins(arg2
,arg3
);
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 Py_INCREF(Py_None
); resultobj
= Py_None
;
14866 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
;
14868 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14871 PyObject
* obj0
= 0 ;
14872 PyObject
* obj1
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self",(char *) "size", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
14878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14881 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 (arg1
)->SetMargins((wxSize
const &)*arg2
);
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 Py_INCREF(Py_None
); resultobj
= Py_None
;
14897 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
;
14899 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14901 PyObject
* obj0
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "self",(char *) "packing", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&arg2
)) goto fail
;
14907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 (arg1
)->SetToolPacking(arg2
);
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14915 Py_INCREF(Py_None
); resultobj
= Py_None
;
14922 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14923 PyObject
*resultobj
;
14924 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14926 PyObject
* obj0
= 0 ;
14927 char *kwnames
[] = {
14928 (char *) "self",(char *) "separation", NULL
14931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&arg2
)) goto fail
;
14932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 (arg1
)->SetToolSeparation(arg2
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 Py_INCREF(Py_None
); resultobj
= Py_None
;
14947 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
;
14949 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14951 PyObject
* obj0
= 0 ;
14952 char *kwnames
[] = {
14953 (char *) "self", NULL
14956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
14957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (arg1
)->GetToolMargins();
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14966 wxSize
* resultptr
;
14967 resultptr
= new wxSize((wxSize
&) result
);
14968 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14976 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
;
14978 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14980 PyObject
* obj0
= 0 ;
14981 char *kwnames
[] = {
14982 (char *) "self", NULL
14985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
14986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 result
= (arg1
)->GetMargins();
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14995 wxSize
* resultptr
;
14996 resultptr
= new wxSize((wxSize
&) result
);
14997 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15005 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
;
15007 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15009 PyObject
* obj0
= 0 ;
15010 char *kwnames
[] = {
15011 (char *) "self", NULL
15014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
15015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 result
= (int)(arg1
)->GetToolPacking();
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= PyInt_FromLong((long)result
);
15030 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
;
15032 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15034 PyObject
* obj0
= 0 ;
15035 char *kwnames
[] = {
15036 (char *) "self", NULL
15039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
15040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 result
= (int)(arg1
)->GetToolSeparation();
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15048 resultobj
= PyInt_FromLong((long)result
);
15055 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
;
15057 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15059 PyObject
* obj0
= 0 ;
15060 char *kwnames
[] = {
15061 (char *) "self",(char *) "nRows", NULL
15064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
15065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 (arg1
)->SetRows(arg2
);
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15073 Py_INCREF(Py_None
); resultobj
= Py_None
;
15080 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
;
15082 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15085 PyObject
* obj0
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "self",(char *) "rows",(char *) "cols", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 Py_INCREF(Py_None
); resultobj
= Py_None
;
15106 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15107 PyObject
*resultobj
;
15108 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15110 PyObject
* obj0
= 0 ;
15111 char *kwnames
[] = {
15112 (char *) "self", NULL
15115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
15116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15119 result
= (int)(arg1
)->GetMaxRows();
15121 wxPyEndAllowThreads(__tstate
);
15122 if (PyErr_Occurred()) SWIG_fail
;
15124 resultobj
= PyInt_FromLong((long)result
);
15131 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15132 PyObject
*resultobj
;
15133 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15135 PyObject
* obj0
= 0 ;
15136 char *kwnames
[] = {
15137 (char *) "self", NULL
15140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
15141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 result
= (int)(arg1
)->GetMaxCols();
15146 wxPyEndAllowThreads(__tstate
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15149 resultobj
= PyInt_FromLong((long)result
);
15156 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15157 PyObject
*resultobj
;
15158 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15161 PyObject
* obj0
= 0 ;
15162 PyObject
* obj1
= 0 ;
15163 char *kwnames
[] = {
15164 (char *) "self",(char *) "size", NULL
15167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15171 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
15177 wxPyEndAllowThreads(__tstate
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15180 Py_INCREF(Py_None
); resultobj
= Py_None
;
15187 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15188 PyObject
*resultobj
;
15189 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15191 PyObject
* obj0
= 0 ;
15192 char *kwnames
[] = {
15193 (char *) "self", NULL
15196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
15197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= (arg1
)->GetToolBitmapSize();
15202 wxPyEndAllowThreads(__tstate
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15206 wxSize
* resultptr
;
15207 resultptr
= new wxSize((wxSize
&) result
);
15208 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15216 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15220 PyObject
* obj0
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "self", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
15226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 result
= (arg1
)->GetToolSize();
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15235 wxSize
* resultptr
;
15236 resultptr
= new wxSize((wxSize
&) result
);
15237 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15245 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
;
15247 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15250 wxToolBarToolBase
*result
;
15251 PyObject
* obj0
= 0 ;
15252 char *kwnames
[] = {
15253 (char *) "self",(char *) "x",(char *) "y", NULL
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15266 resultobj
= wxPyMake_wxObject(result
);
15274 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
;
15276 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15278 wxToolBarToolBase
*result
;
15279 PyObject
* obj0
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "self",(char *) "toolid", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindById",kwnames
,&obj0
,&arg2
)) goto fail
;
15285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= wxPyMake_wxObject(result
);
15302 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
15312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15315 result
= (bool)(arg1
)->IsVertical();
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15320 resultobj
= PyInt_FromLong((long)result
);
15327 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
15329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15330 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
15332 return Py_BuildValue((char *)"");
15334 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
;
15336 wxWindow
*arg1
= (wxWindow
*) 0 ;
15338 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15339 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15340 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15341 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15342 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
15343 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
15344 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15348 bool temp6
= False
;
15349 PyObject
* obj0
= 0 ;
15350 PyObject
* obj2
= 0 ;
15351 PyObject
* obj3
= 0 ;
15352 PyObject
* obj5
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_ToolBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
15358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15362 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15368 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15373 arg6
= wxString_in_helper(obj5
);
15374 if (arg6
== NULL
) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= wxPyMake_wxObject(result
);
15402 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15403 PyObject
*resultobj
;
15405 char *kwnames
[] = {
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 result
= (wxToolBar
*)new wxToolBar();
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15418 resultobj
= wxPyMake_wxObject(result
);
15426 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15427 PyObject
*resultobj
;
15428 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15429 wxWindow
*arg2
= (wxWindow
*) 0 ;
15431 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15432 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15433 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15434 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15435 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
15436 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
15437 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15441 bool temp7
= False
;
15442 PyObject
* obj0
= 0 ;
15443 PyObject
* obj1
= 0 ;
15444 PyObject
* obj3
= 0 ;
15445 PyObject
* obj4
= 0 ;
15446 PyObject
* obj6
= 0 ;
15447 char *kwnames
[] = {
15448 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
15452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15453 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15468 arg7
= wxString_in_helper(obj6
);
15469 if (arg7
== NULL
) SWIG_fail
;
15474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15475 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= PyInt_FromLong((long)result
);
15495 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15496 PyObject
*resultobj
;
15497 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15500 wxToolBarToolBase
*result
;
15501 PyObject
* obj0
= 0 ;
15502 char *kwnames
[] = {
15503 (char *) "self",(char *) "x",(char *) "y", NULL
15506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBar_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15516 resultobj
= wxPyMake_wxObject(result
);
15524 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
15526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15527 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
15529 return Py_BuildValue((char *)"");
15531 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
15532 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
15537 static PyObject
*_wrap_ListCtrlNameStr_get() {
15542 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
15544 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
15551 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15552 PyObject
*resultobj
;
15553 wxColour
const &arg1_defvalue
= wxNullColour
;
15554 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
15555 wxColour
const &arg2_defvalue
= wxNullColour
;
15556 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
15557 wxFont
const &arg3_defvalue
= wxNullFont
;
15558 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
15559 wxListItemAttr
*result
;
15562 PyObject
* obj0
= 0 ;
15563 PyObject
* obj1
= 0 ;
15564 PyObject
* obj2
= 0 ;
15565 char *kwnames
[] = {
15566 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15573 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
15579 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15583 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15584 if (arg3
== NULL
) {
15585 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
15602 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
;
15604 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15605 wxColour
*arg2
= 0 ;
15607 PyObject
* obj0
= 0 ;
15608 PyObject
* obj1
= 0 ;
15609 char *kwnames
[] = {
15610 (char *) "self",(char *) "colText", NULL
15613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15617 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 Py_INCREF(Py_None
); resultobj
= Py_None
;
15633 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15636 wxColour
*arg2
= 0 ;
15638 PyObject
* obj0
= 0 ;
15639 PyObject
* obj1
= 0 ;
15640 char *kwnames
[] = {
15641 (char *) "self",(char *) "colBack", NULL
15644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15648 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15652 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15657 Py_INCREF(Py_None
); resultobj
= Py_None
;
15664 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15665 PyObject
*resultobj
;
15666 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15668 PyObject
* obj0
= 0 ;
15669 PyObject
* obj1
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "self",(char *) "font", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15676 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15677 if (arg2
== NULL
) {
15678 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 (arg1
)->SetFont((wxFont
const &)*arg2
);
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15687 Py_INCREF(Py_None
); resultobj
= Py_None
;
15694 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15695 PyObject
*resultobj
;
15696 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15698 PyObject
* obj0
= 0 ;
15699 char *kwnames
[] = {
15700 (char *) "self", NULL
15703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
15704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 result
= (bool)(arg1
)->HasTextColour();
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15712 resultobj
= PyInt_FromLong((long)result
);
15719 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15720 PyObject
*resultobj
;
15721 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15723 PyObject
* obj0
= 0 ;
15724 char *kwnames
[] = {
15725 (char *) "self", NULL
15728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
15729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15732 result
= (bool)(arg1
)->HasBackgroundColour();
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= PyInt_FromLong((long)result
);
15744 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15745 PyObject
*resultobj
;
15746 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15748 PyObject
* obj0
= 0 ;
15749 char *kwnames
[] = {
15750 (char *) "self", NULL
15753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
15754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= (bool)(arg1
)->HasFont();
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= PyInt_FromLong((long)result
);
15769 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
;
15771 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15773 PyObject
* obj0
= 0 ;
15774 char *kwnames
[] = {
15775 (char *) "self", NULL
15778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
15779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 result
= (arg1
)->GetTextColour();
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15788 wxColour
* resultptr
;
15789 resultptr
= new wxColour((wxColour
&) result
);
15790 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15798 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15799 PyObject
*resultobj
;
15800 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15802 PyObject
* obj0
= 0 ;
15803 char *kwnames
[] = {
15804 (char *) "self", NULL
15807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
15808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 result
= (arg1
)->GetBackgroundColour();
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15817 wxColour
* resultptr
;
15818 resultptr
= new wxColour((wxColour
&) result
);
15819 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15827 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15828 PyObject
*resultobj
;
15829 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15831 PyObject
* obj0
= 0 ;
15832 char *kwnames
[] = {
15833 (char *) "self", NULL
15836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
15837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 result
= (arg1
)->GetFont();
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15846 wxFont
* resultptr
;
15847 resultptr
= new wxFont((wxFont
&) result
);
15848 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
15856 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15857 PyObject
*resultobj
;
15858 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15859 PyObject
* obj0
= 0 ;
15860 char *kwnames
[] = {
15861 (char *) "self", NULL
15864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
15865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 wxListItemAttr_Destroy(arg1
);
15870 wxPyEndAllowThreads(__tstate
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15873 Py_INCREF(Py_None
); resultobj
= Py_None
;
15880 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
15882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15883 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
15885 return Py_BuildValue((char *)"");
15887 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
;
15889 wxListItem
*result
;
15890 char *kwnames
[] = {
15894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 result
= (wxListItem
*)new wxListItem();
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15903 resultobj
= wxPyMake_wxObject(result
);
15911 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxListItem
*arg1
= (wxListItem
*) 0 ;
15914 PyObject
* obj0
= 0 ;
15915 char *kwnames
[] = {
15916 (char *) "self", NULL
15919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
15920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 Py_INCREF(Py_None
); resultobj
= Py_None
;
15935 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
;
15937 wxListItem
*arg1
= (wxListItem
*) 0 ;
15938 PyObject
* obj0
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",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();
15949 wxPyEndAllowThreads(__tstate
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15952 Py_INCREF(Py_None
); resultobj
= Py_None
;
15959 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15961 wxListItem
*arg1
= (wxListItem
*) 0 ;
15962 PyObject
* obj0
= 0 ;
15963 char *kwnames
[] = {
15964 (char *) "self", NULL
15967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
15968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15971 (arg1
)->ClearAttributes();
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15976 Py_INCREF(Py_None
); resultobj
= Py_None
;
15983 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxListItem
*arg1
= (wxListItem
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 char *kwnames
[] = {
15989 (char *) "self",(char *) "mask", NULL
15992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetMask",kwnames
,&obj0
,&arg2
)) goto fail
;
15993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 (arg1
)->SetMask(arg2
);
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16001 Py_INCREF(Py_None
); resultobj
= Py_None
;
16008 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16009 PyObject
*resultobj
;
16010 wxListItem
*arg1
= (wxListItem
*) 0 ;
16012 PyObject
* obj0
= 0 ;
16013 char *kwnames
[] = {
16014 (char *) "self",(char *) "id", NULL
16017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
16018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 (arg1
)->SetId(arg2
);
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16026 Py_INCREF(Py_None
); resultobj
= Py_None
;
16033 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxListItem
*arg1
= (wxListItem
*) 0 ;
16037 PyObject
* obj0
= 0 ;
16038 char *kwnames
[] = {
16039 (char *) "self",(char *) "col", NULL
16042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
16043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 (arg1
)->SetColumn(arg2
);
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16051 Py_INCREF(Py_None
); resultobj
= Py_None
;
16058 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
;
16060 wxListItem
*arg1
= (wxListItem
*) 0 ;
16062 PyObject
* obj0
= 0 ;
16063 char *kwnames
[] = {
16064 (char *) "self",(char *) "state", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetState",kwnames
,&obj0
,&arg2
)) goto fail
;
16068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16071 (arg1
)->SetState(arg2
);
16073 wxPyEndAllowThreads(__tstate
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16076 Py_INCREF(Py_None
); resultobj
= Py_None
;
16083 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16084 PyObject
*resultobj
;
16085 wxListItem
*arg1
= (wxListItem
*) 0 ;
16087 PyObject
* obj0
= 0 ;
16088 char *kwnames
[] = {
16089 (char *) "self",(char *) "stateMask", NULL
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetStateMask",kwnames
,&obj0
,&arg2
)) goto fail
;
16093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 (arg1
)->SetStateMask(arg2
);
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16101 Py_INCREF(Py_None
); resultobj
= Py_None
;
16108 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
;
16110 wxListItem
*arg1
= (wxListItem
*) 0 ;
16111 wxString
*arg2
= 0 ;
16112 bool temp2
= False
;
16113 PyObject
* obj0
= 0 ;
16114 PyObject
* obj1
= 0 ;
16115 char *kwnames
[] = {
16116 (char *) "self",(char *) "text", NULL
16119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
16120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16122 arg2
= wxString_in_helper(obj1
);
16123 if (arg2
== NULL
) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 (arg1
)->SetText((wxString
const &)*arg2
);
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 Py_INCREF(Py_None
); resultobj
= Py_None
;
16148 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
;
16150 wxListItem
*arg1
= (wxListItem
*) 0 ;
16152 PyObject
* obj0
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self",(char *) "image", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetImage",kwnames
,&obj0
,&arg2
)) goto fail
;
16158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16161 (arg1
)->SetImage(arg2
);
16163 wxPyEndAllowThreads(__tstate
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16166 Py_INCREF(Py_None
); resultobj
= Py_None
;
16173 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16174 PyObject
*resultobj
;
16175 wxListItem
*arg1
= (wxListItem
*) 0 ;
16177 PyObject
* obj0
= 0 ;
16178 char *kwnames
[] = {
16179 (char *) "self",(char *) "data", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetData",kwnames
,&obj0
,&arg2
)) goto fail
;
16183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 (arg1
)->SetData(arg2
);
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16191 Py_INCREF(Py_None
); resultobj
= Py_None
;
16198 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxListItem
*arg1
= (wxListItem
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "self",(char *) "width", NULL
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
16208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 (arg1
)->SetWidth(arg2
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 Py_INCREF(Py_None
); resultobj
= Py_None
;
16223 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16224 PyObject
*resultobj
;
16225 wxListItem
*arg1
= (wxListItem
*) 0 ;
16227 PyObject
* obj0
= 0 ;
16228 char *kwnames
[] = {
16229 (char *) "self",(char *) "align", NULL
16232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetAlign",kwnames
,&obj0
,&arg2
)) goto fail
;
16233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16236 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
16238 wxPyEndAllowThreads(__tstate
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16241 Py_INCREF(Py_None
); resultobj
= Py_None
;
16248 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
;
16250 wxListItem
*arg1
= (wxListItem
*) 0 ;
16251 wxColour
*arg2
= 0 ;
16253 PyObject
* obj0
= 0 ;
16254 PyObject
* obj1
= 0 ;
16255 char *kwnames
[] = {
16256 (char *) "self",(char *) "colText", NULL
16259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16263 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16267 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
16269 wxPyEndAllowThreads(__tstate
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16272 Py_INCREF(Py_None
); resultobj
= Py_None
;
16279 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16280 PyObject
*resultobj
;
16281 wxListItem
*arg1
= (wxListItem
*) 0 ;
16282 wxColour
*arg2
= 0 ;
16284 PyObject
* obj0
= 0 ;
16285 PyObject
* obj1
= 0 ;
16286 char *kwnames
[] = {
16287 (char *) "self",(char *) "colBack", NULL
16290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16294 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16303 Py_INCREF(Py_None
); resultobj
= Py_None
;
16310 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxListItem
*arg1
= (wxListItem
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self",(char *) "font", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16322 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16323 if (arg2
== NULL
) {
16324 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16328 (arg1
)->SetFont((wxFont
const &)*arg2
);
16330 wxPyEndAllowThreads(__tstate
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16333 Py_INCREF(Py_None
); resultobj
= Py_None
;
16340 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
;
16342 wxListItem
*arg1
= (wxListItem
*) 0 ;
16344 PyObject
* obj0
= 0 ;
16345 char *kwnames
[] = {
16346 (char *) "self", NULL
16349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
16350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (long)(arg1
)->GetMask();
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16358 resultobj
= PyInt_FromLong((long)result
);
16365 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
;
16367 wxListItem
*arg1
= (wxListItem
*) 0 ;
16369 PyObject
* obj0
= 0 ;
16370 char *kwnames
[] = {
16371 (char *) "self", NULL
16374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
16375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16378 result
= (long)(arg1
)->GetId();
16380 wxPyEndAllowThreads(__tstate
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16383 resultobj
= PyInt_FromLong((long)result
);
16390 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
;
16392 wxListItem
*arg1
= (wxListItem
*) 0 ;
16394 PyObject
* obj0
= 0 ;
16395 char *kwnames
[] = {
16396 (char *) "self", NULL
16399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
16400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 result
= (int)(arg1
)->GetColumn();
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16408 resultobj
= PyInt_FromLong((long)result
);
16415 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxListItem
*arg1
= (wxListItem
*) 0 ;
16419 PyObject
* obj0
= 0 ;
16420 char *kwnames
[] = {
16421 (char *) "self", NULL
16424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
16425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 result
= (long)(arg1
)->GetState();
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16433 resultobj
= PyInt_FromLong((long)result
);
16440 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
;
16442 wxListItem
*arg1
= (wxListItem
*) 0 ;
16444 PyObject
* obj0
= 0 ;
16445 char *kwnames
[] = {
16446 (char *) "self", NULL
16449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
16450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 wxString
const &_result_ref
= (arg1
)->GetText();
16455 result
= (wxString
*) &_result_ref
;
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16465 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16474 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
;
16476 wxListItem
*arg1
= (wxListItem
*) 0 ;
16478 PyObject
* obj0
= 0 ;
16479 char *kwnames
[] = {
16480 (char *) "self", NULL
16483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
16484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16487 result
= (int)(arg1
)->GetImage();
16489 wxPyEndAllowThreads(__tstate
);
16490 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= PyInt_FromLong((long)result
);
16499 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
;
16501 wxListItem
*arg1
= (wxListItem
*) 0 ;
16503 PyObject
* obj0
= 0 ;
16504 char *kwnames
[] = {
16505 (char *) "self", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
16509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16512 result
= (long)(arg1
)->GetData();
16514 wxPyEndAllowThreads(__tstate
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16517 resultobj
= PyInt_FromLong((long)result
);
16524 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxListItem
*arg1
= (wxListItem
*) 0 ;
16528 PyObject
* obj0
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "self", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
16534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16537 result
= (int)(arg1
)->GetWidth();
16539 wxPyEndAllowThreads(__tstate
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16542 resultobj
= PyInt_FromLong((long)result
);
16549 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
;
16551 wxListItem
*arg1
= (wxListItem
*) 0 ;
16553 PyObject
* obj0
= 0 ;
16554 char *kwnames
[] = {
16555 (char *) "self", NULL
16558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
16559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 result
= (int)(arg1
)->GetAlign();
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= PyInt_FromLong((long)result
);
16574 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
;
16576 wxListItem
*arg1
= (wxListItem
*) 0 ;
16577 wxListItemAttr
*result
;
16578 PyObject
* obj0
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "self", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
16584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16592 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
16599 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
;
16601 wxListItem
*arg1
= (wxListItem
*) 0 ;
16603 PyObject
* obj0
= 0 ;
16604 char *kwnames
[] = {
16605 (char *) "self", NULL
16608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
16609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 result
= (bool)(arg1
)->HasAttributes();
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16617 resultobj
= PyInt_FromLong((long)result
);
16624 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16625 PyObject
*resultobj
;
16626 wxListItem
*arg1
= (wxListItem
*) 0 ;
16628 PyObject
* obj0
= 0 ;
16629 char *kwnames
[] = {
16630 (char *) "self", NULL
16633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
16634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 result
= ((wxListItem
const *)arg1
)->GetTextColour();
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16643 wxColour
* resultptr
;
16644 resultptr
= new wxColour((wxColour
&) result
);
16645 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16653 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16654 PyObject
*resultobj
;
16655 wxListItem
*arg1
= (wxListItem
*) 0 ;
16657 PyObject
* obj0
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "self", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
16663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16672 wxColour
* resultptr
;
16673 resultptr
= new wxColour((wxColour
&) result
);
16674 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16682 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16683 PyObject
*resultobj
;
16684 wxListItem
*arg1
= (wxListItem
*) 0 ;
16686 PyObject
* obj0
= 0 ;
16687 char *kwnames
[] = {
16688 (char *) "self", NULL
16691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
16692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 result
= ((wxListItem
const *)arg1
)->GetFont();
16697 wxPyEndAllowThreads(__tstate
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16701 wxFont
* resultptr
;
16702 resultptr
= new wxFont((wxFont
&) result
);
16703 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
16711 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16712 PyObject
*resultobj
;
16713 wxListItem
*arg1
= (wxListItem
*) 0 ;
16715 PyObject
* obj0
= 0 ;
16716 char *kwnames
[] = {
16717 (char *) "self",(char *) "m_mask", NULL
16720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_mask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16722 if (arg1
) (arg1
)->m_mask
= arg2
;
16724 Py_INCREF(Py_None
); resultobj
= Py_None
;
16731 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 wxListItem
*arg1
= (wxListItem
*) 0 ;
16735 PyObject
* obj0
= 0 ;
16736 char *kwnames
[] = {
16737 (char *) "self", NULL
16740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
16741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16742 result
= (long) ((arg1
)->m_mask
);
16744 resultobj
= PyInt_FromLong((long)result
);
16751 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
;
16753 wxListItem
*arg1
= (wxListItem
*) 0 ;
16755 PyObject
* obj0
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self",(char *) "m_itemId", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_itemId_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16762 if (arg1
) (arg1
)->m_itemId
= arg2
;
16764 Py_INCREF(Py_None
); resultobj
= Py_None
;
16771 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 wxListItem
*arg1
= (wxListItem
*) 0 ;
16775 PyObject
* obj0
= 0 ;
16776 char *kwnames
[] = {
16777 (char *) "self", NULL
16780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
16781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16782 result
= (long) ((arg1
)->m_itemId
);
16784 resultobj
= PyInt_FromLong((long)result
);
16791 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16792 PyObject
*resultobj
;
16793 wxListItem
*arg1
= (wxListItem
*) 0 ;
16795 PyObject
* obj0
= 0 ;
16796 char *kwnames
[] = {
16797 (char *) "self",(char *) "m_col", NULL
16800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16802 if (arg1
) (arg1
)->m_col
= arg2
;
16804 Py_INCREF(Py_None
); resultobj
= Py_None
;
16811 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16812 PyObject
*resultobj
;
16813 wxListItem
*arg1
= (wxListItem
*) 0 ;
16815 PyObject
* obj0
= 0 ;
16816 char *kwnames
[] = {
16817 (char *) "self", NULL
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
16821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16822 result
= (int) ((arg1
)->m_col
);
16824 resultobj
= PyInt_FromLong((long)result
);
16831 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
;
16833 wxListItem
*arg1
= (wxListItem
*) 0 ;
16835 PyObject
* obj0
= 0 ;
16836 char *kwnames
[] = {
16837 (char *) "self",(char *) "m_state", NULL
16840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_state_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16842 if (arg1
) (arg1
)->m_state
= arg2
;
16844 Py_INCREF(Py_None
); resultobj
= Py_None
;
16851 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16852 PyObject
*resultobj
;
16853 wxListItem
*arg1
= (wxListItem
*) 0 ;
16855 PyObject
* obj0
= 0 ;
16856 char *kwnames
[] = {
16857 (char *) "self", NULL
16860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
16861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16862 result
= (long) ((arg1
)->m_state
);
16864 resultobj
= PyInt_FromLong((long)result
);
16871 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16872 PyObject
*resultobj
;
16873 wxListItem
*arg1
= (wxListItem
*) 0 ;
16875 PyObject
* obj0
= 0 ;
16876 char *kwnames
[] = {
16877 (char *) "self",(char *) "m_stateMask", NULL
16880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_stateMask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16882 if (arg1
) (arg1
)->m_stateMask
= arg2
;
16884 Py_INCREF(Py_None
); resultobj
= Py_None
;
16891 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16892 PyObject
*resultobj
;
16893 wxListItem
*arg1
= (wxListItem
*) 0 ;
16895 PyObject
* obj0
= 0 ;
16896 char *kwnames
[] = {
16897 (char *) "self", NULL
16900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
16901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16902 result
= (long) ((arg1
)->m_stateMask
);
16904 resultobj
= PyInt_FromLong((long)result
);
16911 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
;
16913 wxListItem
*arg1
= (wxListItem
*) 0 ;
16914 wxString
*arg2
= (wxString
*) 0 ;
16915 PyObject
* obj0
= 0 ;
16916 PyObject
* obj1
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "self",(char *) "m_text", NULL
16921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16923 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16924 if (arg1
) (arg1
)->m_text
= *arg2
;
16926 Py_INCREF(Py_None
); resultobj
= Py_None
;
16933 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16934 PyObject
*resultobj
;
16935 wxListItem
*arg1
= (wxListItem
*) 0 ;
16937 PyObject
* obj0
= 0 ;
16938 char *kwnames
[] = {
16939 (char *) "self", NULL
16942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
16943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16944 result
= (wxString
*)& ((arg1
)->m_text
);
16948 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16950 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16959 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16960 PyObject
*resultobj
;
16961 wxListItem
*arg1
= (wxListItem
*) 0 ;
16963 PyObject
* obj0
= 0 ;
16964 char *kwnames
[] = {
16965 (char *) "self",(char *) "m_image", NULL
16968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_image_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16970 if (arg1
) (arg1
)->m_image
= arg2
;
16972 Py_INCREF(Py_None
); resultobj
= Py_None
;
16979 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 wxListItem
*arg1
= (wxListItem
*) 0 ;
16983 PyObject
* obj0
= 0 ;
16984 char *kwnames
[] = {
16985 (char *) "self", NULL
16988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
16989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16990 result
= (int) ((arg1
)->m_image
);
16992 resultobj
= PyInt_FromLong((long)result
);
16999 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxListItem
*arg1
= (wxListItem
*) 0 ;
17003 PyObject
* obj0
= 0 ;
17004 char *kwnames
[] = {
17005 (char *) "self",(char *) "m_data", NULL
17008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_data_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17010 if (arg1
) (arg1
)->m_data
= arg2
;
17012 Py_INCREF(Py_None
); resultobj
= Py_None
;
17019 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17020 PyObject
*resultobj
;
17021 wxListItem
*arg1
= (wxListItem
*) 0 ;
17023 PyObject
* obj0
= 0 ;
17024 char *kwnames
[] = {
17025 (char *) "self", NULL
17028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
17029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17030 result
= (long) ((arg1
)->m_data
);
17032 resultobj
= PyInt_FromLong((long)result
);
17039 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 wxListItem
*arg1
= (wxListItem
*) 0 ;
17043 PyObject
* obj0
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "self",(char *) "m_format", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_format_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17050 if (arg1
) (arg1
)->m_format
= arg2
;
17052 Py_INCREF(Py_None
); resultobj
= Py_None
;
17059 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17060 PyObject
*resultobj
;
17061 wxListItem
*arg1
= (wxListItem
*) 0 ;
17063 PyObject
* obj0
= 0 ;
17064 char *kwnames
[] = {
17065 (char *) "self", NULL
17068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
17069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17070 result
= (int) ((arg1
)->m_format
);
17072 resultobj
= PyInt_FromLong((long)result
);
17079 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17080 PyObject
*resultobj
;
17081 wxListItem
*arg1
= (wxListItem
*) 0 ;
17083 PyObject
* obj0
= 0 ;
17084 char *kwnames
[] = {
17085 (char *) "self",(char *) "m_width", NULL
17088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17090 if (arg1
) (arg1
)->m_width
= arg2
;
17092 Py_INCREF(Py_None
); resultobj
= Py_None
;
17099 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
;
17101 wxListItem
*arg1
= (wxListItem
*) 0 ;
17103 PyObject
* obj0
= 0 ;
17104 char *kwnames
[] = {
17105 (char *) "self", NULL
17108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
17109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17110 result
= (int) ((arg1
)->m_width
);
17112 resultobj
= PyInt_FromLong((long)result
);
17119 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
17121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17122 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
17124 return Py_BuildValue((char *)"");
17126 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
;
17128 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17129 int arg2
= (int) 0 ;
17130 wxListEvent
*result
;
17131 char *kwnames
[] = {
17132 (char *) "commandType",(char *) "id", NULL
17135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_ListEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
17140 wxPyEndAllowThreads(__tstate
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17143 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
17150 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
;
17152 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17154 PyObject
* obj0
= 0 ;
17155 char *kwnames
[] = {
17156 (char *) "self",(char *) "m_code", NULL
17159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_code_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17161 if (arg1
) (arg1
)->m_code
= arg2
;
17163 Py_INCREF(Py_None
); resultobj
= Py_None
;
17170 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17171 PyObject
*resultobj
;
17172 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17174 PyObject
* obj0
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
17180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17181 result
= (int) ((arg1
)->m_code
);
17183 resultobj
= PyInt_FromLong((long)result
);
17190 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
;
17192 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17194 PyObject
* obj0
= 0 ;
17195 char *kwnames
[] = {
17196 (char *) "self",(char *) "m_oldItemIndex", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17201 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
17203 Py_INCREF(Py_None
); resultobj
= Py_None
;
17210 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
;
17212 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17214 PyObject
* obj0
= 0 ;
17215 char *kwnames
[] = {
17216 (char *) "self", NULL
17219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
17220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17221 result
= (long) ((arg1
)->m_oldItemIndex
);
17223 resultobj
= PyInt_FromLong((long)result
);
17230 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
;
17232 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17234 PyObject
* obj0
= 0 ;
17235 char *kwnames
[] = {
17236 (char *) "self",(char *) "m_itemIndex", NULL
17239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17241 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
17243 Py_INCREF(Py_None
); resultobj
= Py_None
;
17250 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17251 PyObject
*resultobj
;
17252 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17254 PyObject
* obj0
= 0 ;
17255 char *kwnames
[] = {
17256 (char *) "self", NULL
17259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
17260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17261 result
= (long) ((arg1
)->m_itemIndex
);
17263 resultobj
= PyInt_FromLong((long)result
);
17270 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
;
17272 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17274 PyObject
* obj0
= 0 ;
17275 char *kwnames
[] = {
17276 (char *) "self",(char *) "m_col", NULL
17279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17281 if (arg1
) (arg1
)->m_col
= arg2
;
17283 Py_INCREF(Py_None
); resultobj
= Py_None
;
17290 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17291 PyObject
*resultobj
;
17292 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17294 PyObject
* obj0
= 0 ;
17295 char *kwnames
[] = {
17296 (char *) "self", NULL
17299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
17300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17301 result
= (int) ((arg1
)->m_col
);
17303 resultobj
= PyInt_FromLong((long)result
);
17310 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
;
17312 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17313 wxPoint
*arg2
= (wxPoint
*) 0 ;
17314 PyObject
* obj0
= 0 ;
17315 PyObject
* obj1
= 0 ;
17316 char *kwnames
[] = {
17317 (char *) "self",(char *) "m_pointDrag", NULL
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17322 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17323 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
17325 Py_INCREF(Py_None
); resultobj
= Py_None
;
17332 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17333 PyObject
*resultobj
;
17334 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17336 PyObject
* obj0
= 0 ;
17337 char *kwnames
[] = {
17338 (char *) "self", NULL
17341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
17342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17343 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
17345 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
17352 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17353 PyObject
*resultobj
;
17354 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17355 wxListItem
*result
;
17356 PyObject
* obj0
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "self", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
17362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17363 result
= (wxListItem
*)& ((arg1
)->m_item
);
17366 resultobj
= wxPyMake_wxObject(result
);
17374 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
;
17376 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17378 PyObject
* obj0
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "self", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
17384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= (int)(arg1
)->GetKeyCode();
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 resultobj
= PyInt_FromLong((long)result
);
17399 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17403 PyObject
* obj0
= 0 ;
17404 char *kwnames
[] = {
17405 (char *) "self", NULL
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
17409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 result
= (long)(arg1
)->GetIndex();
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= PyInt_FromLong((long)result
);
17424 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17425 PyObject
*resultobj
;
17426 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17428 PyObject
* obj0
= 0 ;
17429 char *kwnames
[] = {
17430 (char *) "self", NULL
17433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
17434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 result
= (int)(arg1
)->GetColumn();
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17442 resultobj
= PyInt_FromLong((long)result
);
17449 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17450 PyObject
*resultobj
;
17451 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17453 PyObject
* obj0
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "self", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
17459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17462 result
= (arg1
)->GetPoint();
17464 wxPyEndAllowThreads(__tstate
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17468 wxPoint
* resultptr
;
17469 resultptr
= new wxPoint((wxPoint
&) result
);
17470 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17478 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
;
17480 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17482 PyObject
* obj0
= 0 ;
17483 char *kwnames
[] = {
17484 (char *) "self", NULL
17487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
17488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 wxString
const &_result_ref
= (arg1
)->GetLabel();
17493 result
= (wxString
*) &_result_ref
;
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17501 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17503 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17512 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
;
17514 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17516 PyObject
* obj0
= 0 ;
17517 char *kwnames
[] = {
17518 (char *) "self", NULL
17521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
17522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 wxString
const &_result_ref
= (arg1
)->GetText();
17527 result
= (wxString
*) &_result_ref
;
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17535 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17537 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17546 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17547 PyObject
*resultobj
;
17548 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17550 PyObject
* obj0
= 0 ;
17551 char *kwnames
[] = {
17552 (char *) "self", NULL
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
17556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17559 result
= (int)(arg1
)->GetImage();
17561 wxPyEndAllowThreads(__tstate
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17564 resultobj
= PyInt_FromLong((long)result
);
17571 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
;
17573 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17575 PyObject
* obj0
= 0 ;
17576 char *kwnames
[] = {
17577 (char *) "self", NULL
17580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
17581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 result
= (long)(arg1
)->GetData();
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= PyInt_FromLong((long)result
);
17596 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17600 PyObject
* obj0
= 0 ;
17601 char *kwnames
[] = {
17602 (char *) "self", NULL
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
17606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 result
= (long)(arg1
)->GetMask();
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= PyInt_FromLong((long)result
);
17621 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
;
17623 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17624 wxListItem
*result
;
17625 PyObject
* obj0
= 0 ;
17626 char *kwnames
[] = {
17627 (char *) "self", NULL
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
17631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 wxListItem
const &_result_ref
= (arg1
)->GetItem();
17636 result
= (wxListItem
*) &_result_ref
;
17639 wxPyEndAllowThreads(__tstate
);
17640 if (PyErr_Occurred()) SWIG_fail
;
17642 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
17649 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
;
17651 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17653 PyObject
* obj0
= 0 ;
17654 char *kwnames
[] = {
17655 (char *) "self", NULL
17658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
17659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 result
= (long)(arg1
)->GetCacheFrom();
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= PyInt_FromLong((long)result
);
17674 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
;
17676 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17678 PyObject
* obj0
= 0 ;
17679 char *kwnames
[] = {
17680 (char *) "self", NULL
17683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
17684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 result
= (long)(arg1
)->GetCacheTo();
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= PyInt_FromLong((long)result
);
17699 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
;
17701 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17703 PyObject
* obj0
= 0 ;
17704 char *kwnames
[] = {
17705 (char *) "self", NULL
17708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
17709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 resultobj
= PyInt_FromLong((long)result
);
17724 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17728 PyObject
* obj0
= 0 ;
17729 PyObject
* obj1
= 0 ;
17730 char *kwnames
[] = {
17731 (char *) "self",(char *) "editCancelled", NULL
17734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
17735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17736 arg2
= PyInt_AsLong(obj1
) ? true : false;
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 (arg1
)->SetEditCanceled(arg2
);
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 Py_INCREF(Py_None
); resultobj
= Py_None
;
17752 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17755 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
17757 return Py_BuildValue((char *)"");
17759 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxWindow
*arg1
= (wxWindow
*) 0 ;
17762 int arg2
= (int) -1 ;
17763 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17764 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17765 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17766 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17767 long arg5
= (long) wxLC_ICON
;
17768 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
17769 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
17770 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
17771 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17772 wxPyListCtrl
*result
;
17775 bool temp7
= False
;
17776 PyObject
* obj0
= 0 ;
17777 PyObject
* obj2
= 0 ;
17778 PyObject
* obj3
= 0 ;
17779 PyObject
* obj5
= 0 ;
17780 PyObject
* obj6
= 0 ;
17781 char *kwnames
[] = {
17782 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
17786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17790 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17796 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17800 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17801 if (arg6
== NULL
) {
17802 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17807 arg7
= wxString_in_helper(obj6
);
17808 if (arg7
== NULL
) SWIG_fail
;
17813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17834 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxPyListCtrl
*result
;
17837 char *kwnames
[] = {
17841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17844 result
= (wxPyListCtrl
*)new wxPyListCtrl();
17846 wxPyEndAllowThreads(__tstate
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17849 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17856 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17857 PyObject
*resultobj
;
17858 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17859 wxWindow
*arg2
= (wxWindow
*) 0 ;
17860 int arg3
= (int) -1 ;
17861 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17862 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17863 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17864 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17865 long arg6
= (long) wxLC_ICON
;
17866 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17867 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17868 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
17869 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17873 bool temp8
= False
;
17874 PyObject
* obj0
= 0 ;
17875 PyObject
* obj1
= 0 ;
17876 PyObject
* obj3
= 0 ;
17877 PyObject
* obj4
= 0 ;
17878 PyObject
* obj6
= 0 ;
17879 PyObject
* obj7
= 0 ;
17880 char *kwnames
[] = {
17881 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
17885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17886 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17890 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17896 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17900 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17901 if (arg7
== NULL
) {
17902 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17907 arg8
= wxString_in_helper(obj7
);
17908 if (arg8
== NULL
) SWIG_fail
;
17913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17916 wxPyEndAllowThreads(__tstate
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17919 resultobj
= PyInt_FromLong((long)result
);
17934 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
;
17936 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17937 PyObject
*arg2
= (PyObject
*) 0 ;
17938 PyObject
*arg3
= (PyObject
*) 0 ;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj1
= 0 ;
17941 PyObject
* obj2
= 0 ;
17942 char *kwnames
[] = {
17943 (char *) "self",(char *) "self",(char *) "_class", NULL
17946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17957 Py_INCREF(Py_None
); resultobj
= Py_None
;
17964 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
;
17966 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17967 wxColour
*arg2
= 0 ;
17970 PyObject
* obj0
= 0 ;
17971 PyObject
* obj1
= 0 ;
17972 char *kwnames
[] = {
17973 (char *) "self",(char *) "col", NULL
17976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17980 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
17986 wxPyEndAllowThreads(__tstate
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 resultobj
= PyInt_FromLong((long)result
);
17996 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
;
17998 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17999 wxColour
*arg2
= 0 ;
18002 PyObject
* obj0
= 0 ;
18003 PyObject
* obj1
= 0 ;
18004 char *kwnames
[] = {
18005 (char *) "self",(char *) "col", NULL
18008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18012 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18021 resultobj
= PyInt_FromLong((long)result
);
18028 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18029 PyObject
*resultobj
;
18030 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18032 wxListItem
*result
;
18033 PyObject
* obj0
= 0 ;
18034 char *kwnames
[] = {
18035 (char *) "self",(char *) "col", NULL
18038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
18039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18048 resultobj
= wxPyMake_wxObject(result
);
18056 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
;
18058 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18060 wxListItem
*arg3
= 0 ;
18062 PyObject
* obj0
= 0 ;
18063 PyObject
* obj2
= 0 ;
18064 char *kwnames
[] = {
18065 (char *) "self",(char *) "col",(char *) "item", NULL
18068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ListCtrl_SetColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18070 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18071 if (arg3
== NULL
) {
18072 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 resultobj
= PyInt_FromLong((long)result
);
18088 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18093 PyObject
* obj0
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self",(char *) "col", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
18099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= PyInt_FromLong((long)result
);
18114 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
;
18116 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18120 PyObject
* obj0
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "self",(char *) "col",(char *) "width", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18134 resultobj
= PyInt_FromLong((long)result
);
18141 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
;
18143 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18145 PyObject
* obj0
= 0 ;
18146 char *kwnames
[] = {
18147 (char *) "self", NULL
18150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
18151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18159 resultobj
= PyInt_FromLong((long)result
);
18166 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18167 PyObject
*resultobj
;
18168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18170 PyObject
* obj0
= 0 ;
18171 char *kwnames
[] = {
18172 (char *) "self", NULL
18175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
18176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18185 wxRect
* resultptr
;
18186 resultptr
= new wxRect((wxRect
&) result
);
18187 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18195 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18198 wxTextCtrl
*result
;
18199 PyObject
* obj0
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
18205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
18210 wxPyEndAllowThreads(__tstate
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18214 resultobj
= wxPyMake_wxObject(result
);
18222 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
;
18224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18226 int arg3
= (int) 0 ;
18227 wxListItem
*result
;
18228 PyObject
* obj0
= 0 ;
18229 char *kwnames
[] = {
18230 (char *) "self",(char *) "itemId",(char *) "col", NULL
18233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18243 resultobj
= wxPyMake_wxObject(result
);
18251 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
;
18253 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18254 wxListItem
*arg2
= 0 ;
18256 PyObject
* obj0
= 0 ;
18257 PyObject
* obj1
= 0 ;
18258 char *kwnames
[] = {
18259 (char *) "self",(char *) "info", NULL
18262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18264 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18265 if (arg2
== NULL
) {
18266 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 result
= (bool)(arg1
)->SetItem(*arg2
);
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18275 resultobj
= PyInt_FromLong((long)result
);
18282 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18283 PyObject
*resultobj
;
18284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18287 wxString
*arg4
= 0 ;
18288 int arg5
= (int) -1 ;
18290 bool temp4
= False
;
18291 PyObject
* obj0
= 0 ;
18292 PyObject
* obj3
= 0 ;
18293 char *kwnames
[] = {
18294 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
18298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18300 arg4
= wxString_in_helper(obj3
);
18301 if (arg4
== NULL
) SWIG_fail
;
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 resultobj
= PyInt_FromLong((long)result
);
18326 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
;
18328 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18332 PyObject
* obj0
= 0 ;
18333 char *kwnames
[] = {
18334 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_GetItemState",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 resultobj
= PyInt_FromLong((long)result
);
18353 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18360 PyObject
* obj0
= 0 ;
18361 char *kwnames
[] = {
18362 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olll:ListCtrl_SetItemState",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18369 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
18371 wxPyEndAllowThreads(__tstate
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18374 resultobj
= PyInt_FromLong((long)result
);
18381 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18382 PyObject
*resultobj
;
18383 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18388 PyObject
* obj0
= 0 ;
18389 char *kwnames
[] = {
18390 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olii:ListCtrl_SetItemImage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18397 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
18399 wxPyEndAllowThreads(__tstate
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18402 resultobj
= PyInt_FromLong((long)result
);
18409 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18410 PyObject
*resultobj
;
18411 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18414 PyObject
* obj0
= 0 ;
18415 char *kwnames
[] = {
18416 (char *) "self",(char *) "item", NULL
18419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemText",kwnames
,&obj0
,&arg2
)) goto fail
;
18420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18423 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
18425 wxPyEndAllowThreads(__tstate
);
18426 if (PyErr_Occurred()) SWIG_fail
;
18430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18441 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18442 PyObject
*resultobj
;
18443 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18445 wxString
*arg3
= 0 ;
18446 bool temp3
= False
;
18447 PyObject
* obj0
= 0 ;
18448 PyObject
* obj2
= 0 ;
18449 char *kwnames
[] = {
18450 (char *) "self",(char *) "item",(char *) "str", NULL
18453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemText",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18456 arg3
= wxString_in_helper(obj2
);
18457 if (arg3
== NULL
) SWIG_fail
;
18461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18462 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18467 Py_INCREF(Py_None
); resultobj
= Py_None
;
18482 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18487 PyObject
* obj0
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self",(char *) "item", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemData",kwnames
,&obj0
,&arg2
)) goto fail
;
18493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18501 resultobj
= PyInt_FromLong((long)result
);
18508 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
;
18510 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18514 PyObject
* obj0
= 0 ;
18515 char *kwnames
[] = {
18516 (char *) "self",(char *) "item",(char *) "data", NULL
18519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_SetItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18523 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
18525 wxPyEndAllowThreads(__tstate
);
18526 if (PyErr_Occurred()) SWIG_fail
;
18528 resultobj
= PyInt_FromLong((long)result
);
18535 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18536 PyObject
*resultobj
;
18537 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18540 PyObject
* obj0
= 0 ;
18541 char *kwnames
[] = {
18542 (char *) "self",(char *) "item", NULL
18545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
18546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18549 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
18551 wxPyEndAllowThreads(__tstate
);
18552 if (PyErr_Occurred()) SWIG_fail
;
18555 wxPoint
* resultptr
;
18556 resultptr
= new wxPoint((wxPoint
&) result
);
18557 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18565 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18566 PyObject
*resultobj
;
18567 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18569 int arg3
= (int) wxLIST_RECT_BOUNDS
;
18571 PyObject
* obj0
= 0 ;
18572 char *kwnames
[] = {
18573 (char *) "self",(char *) "item",(char *) "code", NULL
18576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18580 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18586 wxRect
* resultptr
;
18587 resultptr
= new wxRect((wxRect
&) result
);
18588 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18596 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
;
18598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18600 wxPoint
*arg3
= 0 ;
18603 PyObject
* obj0
= 0 ;
18604 PyObject
* obj2
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "self",(char *) "item",(char *) "pos", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18613 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18622 resultobj
= PyInt_FromLong((long)result
);
18629 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18631 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18633 PyObject
* obj0
= 0 ;
18634 char *kwnames
[] = {
18635 (char *) "self", NULL
18638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
18639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18647 resultobj
= PyInt_FromLong((long)result
);
18654 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18655 PyObject
*resultobj
;
18656 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18658 PyObject
* obj0
= 0 ;
18659 char *kwnames
[] = {
18660 (char *) "self", NULL
18663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
18664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
18669 wxPyEndAllowThreads(__tstate
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18672 resultobj
= PyInt_FromLong((long)result
);
18679 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18680 PyObject
*resultobj
;
18681 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18683 PyObject
* obj0
= 0 ;
18684 char *kwnames
[] = {
18685 (char *) "self", NULL
18688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
18689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18698 wxSize
* resultptr
;
18699 resultptr
= new wxSize((wxSize
&) result
);
18700 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
18708 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18709 PyObject
*resultobj
;
18710 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18712 PyObject
* obj0
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
18718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= PyInt_FromLong((long)result
);
18733 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18737 PyObject
* obj0
= 0 ;
18738 char *kwnames
[] = {
18739 (char *) "self", NULL
18742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
18743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18752 wxColour
* resultptr
;
18753 resultptr
= new wxColour((wxColour
&) result
);
18754 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18762 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18765 wxColour
*arg2
= 0 ;
18767 PyObject
* obj0
= 0 ;
18768 PyObject
* obj1
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "self",(char *) "col", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18777 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18786 Py_INCREF(Py_None
); resultobj
= Py_None
;
18793 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
;
18795 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18797 PyObject
* obj0
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "self", NULL
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
18803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18806 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18811 resultobj
= PyInt_FromLong((long)result
);
18818 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
;
18820 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18822 bool arg3
= (bool) True
;
18823 PyObject
* obj0
= 0 ;
18824 PyObject
* obj2
= 0 ;
18825 char *kwnames
[] = {
18826 (char *) "self",(char *) "style",(char *) "add", NULL
18829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18832 arg3
= PyInt_AsLong(obj2
) ? true : false;
18833 if (PyErr_Occurred()) SWIG_fail
;
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 (arg1
)->SetSingleStyle(arg2
,arg3
);
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 Py_INCREF(Py_None
); resultobj
= Py_None
;
18849 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
;
18851 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18853 PyObject
* obj0
= 0 ;
18854 char *kwnames
[] = {
18855 (char *) "self",(char *) "style", NULL
18858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
18859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 (arg1
)->SetWindowStyleFlag(arg2
);
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18867 Py_INCREF(Py_None
); resultobj
= Py_None
;
18874 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18878 int arg3
= (int) wxLIST_NEXT_ALL
;
18879 int arg4
= (int) wxLIST_STATE_DONTCARE
;
18881 PyObject
* obj0
= 0 ;
18882 char *kwnames
[] = {
18883 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18890 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18895 resultobj
= PyInt_FromLong((long)result
);
18902 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18903 PyObject
*resultobj
;
18904 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18906 wxImageList
*result
;
18907 PyObject
* obj0
= 0 ;
18908 char *kwnames
[] = {
18909 (char *) "self",(char *) "which", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetImageList",kwnames
,&obj0
,&arg2
)) 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
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= wxPyMake_wxObject(result
);
18930 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18933 wxImageList
*arg2
= (wxImageList
*) 0 ;
18935 PyObject
* obj0
= 0 ;
18936 PyObject
* obj1
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self",(char *) "imageList",(char *) "which", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18943 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 (arg1
)->SetImageList(arg2
,arg3
);
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 Py_INCREF(Py_None
); resultobj
= Py_None
;
18958 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18961 wxImageList
*arg2
= (wxImageList
*) 0 ;
18963 PyObject
* obj0
= 0 ;
18964 PyObject
* obj1
= 0 ;
18965 char *kwnames
[] = {
18966 (char *) "self",(char *) "imageList",(char *) "which", NULL
18969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18971 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18974 (arg1
)->AssignImageList(arg2
,arg3
);
18976 wxPyEndAllowThreads(__tstate
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18979 Py_INCREF(Py_None
); resultobj
= Py_None
;
18986 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18988 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18990 PyObject
* obj0
= 0 ;
18991 char *kwnames
[] = {
18992 (char *) "self", NULL
18995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
18996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19004 resultobj
= PyInt_FromLong((long)result
);
19011 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19012 PyObject
*resultobj
;
19013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19015 PyObject
* obj0
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self",(char *) "item", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_RefreshItem",kwnames
,&obj0
,&arg2
)) goto fail
;
19021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 (arg1
)->RefreshItem(arg2
);
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 Py_INCREF(Py_None
); resultobj
= Py_None
;
19036 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
;
19038 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19041 PyObject
* obj0
= 0 ;
19042 char *kwnames
[] = {
19043 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
19046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_RefreshItems",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19050 (arg1
)->RefreshItems(arg2
,arg3
);
19052 wxPyEndAllowThreads(__tstate
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19055 Py_INCREF(Py_None
); resultobj
= Py_None
;
19062 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19063 PyObject
*resultobj
;
19064 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19065 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
19067 PyObject
* obj0
= 0 ;
19068 char *kwnames
[] = {
19069 (char *) "self",(char *) "flag", NULL
19072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListCtrl_Arrange",kwnames
,&obj0
,&arg2
)) goto fail
;
19073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 result
= (bool)(arg1
)->Arrange(arg2
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19081 resultobj
= PyInt_FromLong((long)result
);
19088 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
;
19090 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19093 PyObject
* obj0
= 0 ;
19094 char *kwnames
[] = {
19095 (char *) "self",(char *) "item", NULL
19098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_DeleteItem",kwnames
,&obj0
,&arg2
)) goto fail
;
19099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19102 result
= (bool)(arg1
)->DeleteItem(arg2
);
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19107 resultobj
= PyInt_FromLong((long)result
);
19114 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
;
19116 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19118 PyObject
* obj0
= 0 ;
19119 char *kwnames
[] = {
19120 (char *) "self", NULL
19123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
19124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 result
= (bool)(arg1
)->DeleteAllItems();
19129 wxPyEndAllowThreads(__tstate
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19132 resultobj
= PyInt_FromLong((long)result
);
19139 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19140 PyObject
*resultobj
;
19141 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19144 PyObject
* obj0
= 0 ;
19145 char *kwnames
[] = {
19146 (char *) "self",(char *) "col", NULL
19149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_DeleteColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
19150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 result
= (bool)(arg1
)->DeleteColumn(arg2
);
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19158 resultobj
= PyInt_FromLong((long)result
);
19165 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19169 PyObject
* obj0
= 0 ;
19170 char *kwnames
[] = {
19171 (char *) "self", NULL
19174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
19175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 result
= (bool)(arg1
)->DeleteAllColumns();
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 resultobj
= PyInt_FromLong((long)result
);
19190 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19193 PyObject
* obj0
= 0 ;
19194 char *kwnames
[] = {
19195 (char *) "self", NULL
19198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
19199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 (arg1
)->ClearAll();
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 Py_INCREF(Py_None
); resultobj
= Py_None
;
19214 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19218 wxTextCtrl
*result
;
19219 PyObject
* obj0
= 0 ;
19220 char *kwnames
[] = {
19221 (char *) "self",(char *) "item", NULL
19224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EditLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
19225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
19230 wxPyEndAllowThreads(__tstate
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19234 resultobj
= wxPyMake_wxObject(result
);
19242 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
;
19244 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19247 PyObject
* obj0
= 0 ;
19248 PyObject
* obj1
= 0 ;
19249 char *kwnames
[] = {
19250 (char *) "self",(char *) "cancel", NULL
19253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19255 arg2
= PyInt_AsLong(obj1
) ? true : false;
19256 if (PyErr_Occurred()) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 result
= (bool)(arg1
)->EndEditLabel(arg2
);
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19264 resultobj
= PyInt_FromLong((long)result
);
19271 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19272 PyObject
*resultobj
;
19273 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19276 PyObject
* obj0
= 0 ;
19277 char *kwnames
[] = {
19278 (char *) "self",(char *) "item", NULL
19281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
19282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 result
= (bool)(arg1
)->EnsureVisible(arg2
);
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19290 resultobj
= PyInt_FromLong((long)result
);
19297 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19298 PyObject
*resultobj
;
19299 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19301 wxString
*arg3
= 0 ;
19302 bool arg4
= (bool) False
;
19304 bool temp3
= False
;
19305 PyObject
* obj0
= 0 ;
19306 PyObject
* obj2
= 0 ;
19307 PyObject
* obj3
= 0 ;
19308 char *kwnames
[] = {
19309 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|O:ListCtrl_FindItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
19313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19315 arg3
= wxString_in_helper(obj2
);
19316 if (arg3
== NULL
) SWIG_fail
;
19320 arg4
= PyInt_AsLong(obj3
) ? true : false;
19321 if (PyErr_Occurred()) SWIG_fail
;
19324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19325 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
19327 wxPyEndAllowThreads(__tstate
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 resultobj
= PyInt_FromLong((long)result
);
19345 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19351 PyObject
* obj0
= 0 ;
19352 char *kwnames
[] = {
19353 (char *) "self",(char *) "start",(char *) "data", NULL
19356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_FindItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19360 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19365 resultobj
= PyInt_FromLong((long)result
);
19372 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
;
19374 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19376 wxPoint
*arg3
= 0 ;
19380 PyObject
* obj0
= 0 ;
19381 PyObject
* obj2
= 0 ;
19382 char *kwnames
[] = {
19383 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19390 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19399 resultobj
= PyInt_FromLong((long)result
);
19406 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
;
19408 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19409 wxPoint
*arg2
= 0 ;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 char *kwnames
[] = {
19417 (char *) "self",(char *) "point", NULL
19421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
19422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19425 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19434 resultobj
= PyInt_FromLong((long)result
);
19436 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19437 resultobj
= t_output_helper(resultobj
,o
);
19445 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19446 PyObject
*resultobj
;
19447 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19448 wxListItem
*arg2
= 0 ;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj1
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self",(char *) "info", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19458 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19459 if (arg2
== NULL
) {
19460 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 result
= (long)(arg1
)->InsertItem(*arg2
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 resultobj
= PyInt_FromLong((long)result
);
19476 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19477 PyObject
*resultobj
;
19478 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19480 wxString
*arg3
= 0 ;
19482 bool temp3
= False
;
19483 PyObject
* obj0
= 0 ;
19484 PyObject
* obj2
= 0 ;
19485 char *kwnames
[] = {
19486 (char *) "self",(char *) "index",(char *) "label", NULL
19489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19492 arg3
= wxString_in_helper(obj2
);
19493 if (arg3
== NULL
) SWIG_fail
;
19497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19498 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
19500 wxPyEndAllowThreads(__tstate
);
19501 if (PyErr_Occurred()) SWIG_fail
;
19503 resultobj
= PyInt_FromLong((long)result
);
19518 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19519 PyObject
*resultobj
;
19520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19524 PyObject
* obj0
= 0 ;
19525 char *kwnames
[] = {
19526 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oli:ListCtrl_InsertImageItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19533 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19538 resultobj
= PyInt_FromLong((long)result
);
19545 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
;
19547 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19549 wxString
*arg3
= 0 ;
19552 bool temp3
= False
;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj2
= 0 ;
19555 char *kwnames
[] = {
19556 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19562 arg3
= wxString_in_helper(obj2
);
19563 if (arg3
== NULL
) SWIG_fail
;
19567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19568 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19573 resultobj
= PyInt_FromLong((long)result
);
19588 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
;
19590 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19592 wxListItem
*arg3
= 0 ;
19594 PyObject
* obj0
= 0 ;
19595 PyObject
* obj2
= 0 ;
19596 char *kwnames
[] = {
19597 (char *) "self",(char *) "col",(char *) "info", NULL
19600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19602 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19603 if (arg3
== NULL
) {
19604 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 resultobj
= PyInt_FromLong((long)result
);
19620 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
;
19622 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19624 wxString
*arg3
= 0 ;
19625 int arg4
= (int) wxLIST_FORMAT_LEFT
;
19626 int arg5
= (int) -1 ;
19628 bool temp3
= False
;
19629 PyObject
* obj0
= 0 ;
19630 PyObject
* obj2
= 0 ;
19631 char *kwnames
[] = {
19632 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
)) goto fail
;
19636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19638 arg3
= wxString_in_helper(obj2
);
19639 if (arg3
== NULL
) SWIG_fail
;
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19649 resultobj
= PyInt_FromLong((long)result
);
19664 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19665 PyObject
*resultobj
;
19666 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19668 PyObject
* obj0
= 0 ;
19669 char *kwnames
[] = {
19670 (char *) "self",(char *) "count", NULL
19673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetItemCount",kwnames
,&obj0
,&arg2
)) goto fail
;
19674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 (arg1
)->SetItemCount(arg2
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 Py_INCREF(Py_None
); resultobj
= Py_None
;
19689 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19695 PyObject
* obj0
= 0 ;
19696 char *kwnames
[] = {
19697 (char *) "self",(char *) "dx",(char *) "dy", NULL
19700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_ScrollList",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19709 resultobj
= PyInt_FromLong((long)result
);
19716 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19717 PyObject
*resultobj
;
19718 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19720 wxColour
*arg3
= 0 ;
19722 PyObject
* obj0
= 0 ;
19723 PyObject
* obj2
= 0 ;
19724 char *kwnames
[] = {
19725 (char *) "self",(char *) "item",(char *) "col", NULL
19728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19732 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19736 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19741 Py_INCREF(Py_None
); resultobj
= Py_None
;
19748 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
;
19750 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19753 PyObject
* obj0
= 0 ;
19754 char *kwnames
[] = {
19755 (char *) "self",(char *) "item", NULL
19758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19768 wxColour
* resultptr
;
19769 resultptr
= new wxColour((wxColour
&) result
);
19770 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19778 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
;
19780 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19782 wxColour
*arg3
= 0 ;
19784 PyObject
* obj0
= 0 ;
19785 PyObject
* obj2
= 0 ;
19786 char *kwnames
[] = {
19787 (char *) "self",(char *) "item",(char *) "col", NULL
19790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19794 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19803 Py_INCREF(Py_None
); resultobj
= Py_None
;
19810 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
;
19812 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19815 PyObject
* obj0
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "self",(char *) "item", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19830 wxColour
* resultptr
;
19831 resultptr
= new wxColour((wxColour
&) result
);
19832 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19840 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19841 PyObject
*resultobj
;
19842 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19843 PyObject
*arg2
= (PyObject
*) 0 ;
19845 PyObject
* obj0
= 0 ;
19846 PyObject
* obj1
= 0 ;
19847 char *kwnames
[] = {
19848 (char *) "self",(char *) "func", NULL
19851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
19852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
19858 wxPyEndAllowThreads(__tstate
);
19859 if (PyErr_Occurred()) SWIG_fail
;
19861 resultobj
= PyInt_FromLong((long)result
);
19868 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19869 PyObject
*resultobj
;
19870 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19872 PyObject
* obj0
= 0 ;
19873 char *kwnames
[] = {
19874 (char *) "self", NULL
19877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
19878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19881 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19887 resultobj
= wxPyMake_wxObject(result
);
19895 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
19897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19898 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
19900 return Py_BuildValue((char *)"");
19902 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxWindow
*arg1
= (wxWindow
*) 0 ;
19905 int arg2
= (int) -1 ;
19906 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19907 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19908 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19909 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19910 long arg5
= (long) wxLC_REPORT
;
19911 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19912 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19913 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19914 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19915 wxListView
*result
;
19918 bool temp7
= False
;
19919 PyObject
* obj0
= 0 ;
19920 PyObject
* obj2
= 0 ;
19921 PyObject
* obj3
= 0 ;
19922 PyObject
* obj5
= 0 ;
19923 PyObject
* obj6
= 0 ;
19924 char *kwnames
[] = {
19925 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListView",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
19929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19933 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19939 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19943 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19944 if (arg6
== NULL
) {
19945 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19950 arg7
= wxString_in_helper(obj6
);
19951 if (arg7
== NULL
) SWIG_fail
;
19956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19957 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19959 wxPyEndAllowThreads(__tstate
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19962 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19977 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19978 PyObject
*resultobj
;
19979 wxListView
*result
;
19980 char *kwnames
[] = {
19984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
19986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 result
= (wxListView
*)new wxListView();
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19999 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxListView
*arg1
= (wxListView
*) 0 ;
20002 wxWindow
*arg2
= (wxWindow
*) 0 ;
20003 int arg3
= (int) -1 ;
20004 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20005 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20006 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20007 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20008 long arg6
= (long) wxLC_REPORT
;
20009 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20010 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20011 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20012 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20016 bool temp8
= False
;
20017 PyObject
* obj0
= 0 ;
20018 PyObject
* obj1
= 0 ;
20019 PyObject
* obj3
= 0 ;
20020 PyObject
* obj4
= 0 ;
20021 PyObject
* obj6
= 0 ;
20022 PyObject
* obj7
= 0 ;
20023 char *kwnames
[] = {
20024 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListView_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
20028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20029 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20033 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20039 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20043 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20044 if (arg7
== NULL
) {
20045 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20050 arg8
= wxString_in_helper(obj7
);
20051 if (arg8
== NULL
) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20062 resultobj
= PyInt_FromLong((long)result
);
20077 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
;
20079 wxListView
*arg1
= (wxListView
*) 0 ;
20081 bool arg3
= (bool) True
;
20082 PyObject
* obj0
= 0 ;
20083 PyObject
* obj2
= 0 ;
20084 char *kwnames
[] = {
20085 (char *) "self",(char *) "n",(char *) "on", NULL
20088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListView_Select",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20091 arg3
= PyInt_AsLong(obj2
) ? true : false;
20092 if (PyErr_Occurred()) SWIG_fail
;
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 (arg1
)->Select(arg2
,arg3
);
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 Py_INCREF(Py_None
); resultobj
= Py_None
;
20108 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20110 wxListView
*arg1
= (wxListView
*) 0 ;
20112 PyObject
* obj0
= 0 ;
20113 char *kwnames
[] = {
20114 (char *) "self",(char *) "index", NULL
20117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_Focus",kwnames
,&obj0
,&arg2
)) goto fail
;
20118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 (arg1
)->Focus(arg2
);
20123 wxPyEndAllowThreads(__tstate
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20126 Py_INCREF(Py_None
); resultobj
= Py_None
;
20133 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20134 PyObject
*resultobj
;
20135 wxListView
*arg1
= (wxListView
*) 0 ;
20137 PyObject
* obj0
= 0 ;
20138 char *kwnames
[] = {
20139 (char *) "self", NULL
20142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
20143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20151 resultobj
= PyInt_FromLong((long)result
);
20158 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxListView
*arg1
= (wxListView
*) 0 ;
20163 PyObject
* obj0
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "self",(char *) "item", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_GetNextSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
20169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20177 resultobj
= PyInt_FromLong((long)result
);
20184 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
;
20186 wxListView
*arg1
= (wxListView
*) 0 ;
20188 PyObject
* obj0
= 0 ;
20189 char *kwnames
[] = {
20190 (char *) "self", NULL
20193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
20194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
20199 wxPyEndAllowThreads(__tstate
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20202 resultobj
= PyInt_FromLong((long)result
);
20209 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20210 PyObject
*resultobj
;
20211 wxListView
*arg1
= (wxListView
*) 0 ;
20214 PyObject
* obj0
= 0 ;
20215 char *kwnames
[] = {
20216 (char *) "self",(char *) "index", NULL
20219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
20220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20223 result
= (bool)(arg1
)->IsSelected(arg2
);
20225 wxPyEndAllowThreads(__tstate
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20228 resultobj
= PyInt_FromLong((long)result
);
20235 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
;
20237 wxListView
*arg1
= (wxListView
*) 0 ;
20240 PyObject
* obj0
= 0 ;
20241 char *kwnames
[] = {
20242 (char *) "self",(char *) "col",(char *) "image", NULL
20245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListView_SetColumnImage",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 (arg1
)->SetColumnImage(arg2
,arg3
);
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 Py_INCREF(Py_None
); resultobj
= Py_None
;
20261 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
;
20263 wxListView
*arg1
= (wxListView
*) 0 ;
20265 PyObject
* obj0
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self",(char *) "col", NULL
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListView_ClearColumnImage",kwnames
,&obj0
,&arg2
)) goto fail
;
20271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 (arg1
)->ClearColumnImage(arg2
);
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 Py_INCREF(Py_None
); resultobj
= Py_None
;
20286 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
20288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20289 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
20291 return Py_BuildValue((char *)"");
20293 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
20294 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
20299 static PyObject
*_wrap_TreeCtrlNameStr_get() {
20304 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
20306 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
20313 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20314 PyObject
*resultobj
;
20315 wxTreeItemId
*result
;
20316 char *kwnames
[] = {
20320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
20322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20323 result
= (wxTreeItemId
*)new wxTreeItemId();
20325 wxPyEndAllowThreads(__tstate
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20328 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
20335 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
;
20337 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20338 PyObject
* obj0
= 0 ;
20339 char *kwnames
[] = {
20340 (char *) "self", NULL
20343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
20344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 Py_INCREF(Py_None
); resultobj
= Py_None
;
20359 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 char *kwnames
[] = {
20365 (char *) "self", NULL
20368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
20369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20377 resultobj
= PyInt_FromLong((long)result
);
20384 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
;
20386 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20387 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
20389 PyObject
* obj0
= 0 ;
20390 PyObject
* obj1
= 0 ;
20391 char *kwnames
[] = {
20392 (char *) "self",(char *) "other", NULL
20395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
20396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20397 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
20402 wxPyEndAllowThreads(__tstate
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= PyInt_FromLong((long)result
);
20412 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20413 PyObject
*resultobj
;
20414 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20415 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
20417 PyObject
* obj0
= 0 ;
20418 PyObject
* obj1
= 0 ;
20419 char *kwnames
[] = {
20420 (char *) "self",(char *) "other", NULL
20423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
20424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20425 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20428 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
20430 wxPyEndAllowThreads(__tstate
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20433 resultobj
= PyInt_FromLong((long)result
);
20440 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20441 PyObject
*resultobj
;
20442 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20443 wxTreeItemIdValue arg2
= (wxTreeItemIdValue
) 0 ;
20444 PyObject
* obj0
= 0 ;
20445 PyObject
* obj1
= 0 ;
20446 char *kwnames
[] = {
20447 (char *) "self",(char *) "m_pItem", NULL
20450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20452 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20453 if (arg1
) (arg1
)->m_pItem
= arg2
;
20455 Py_INCREF(Py_None
); resultobj
= Py_None
;
20462 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20463 PyObject
*resultobj
;
20464 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20465 wxTreeItemIdValue result
;
20466 PyObject
* obj0
= 0 ;
20467 char *kwnames
[] = {
20468 (char *) "self", NULL
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
20472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20473 result
= (wxTreeItemIdValue
) ((arg1
)->m_pItem
);
20475 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_wxTreeItemIdValue
, 0);
20482 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
20484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20485 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
20487 return Py_BuildValue((char *)"");
20489 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 PyObject
*arg1
= (PyObject
*) NULL
;
20492 wxPyTreeItemData
*result
;
20493 PyObject
* obj0
= 0 ;
20494 char *kwnames
[] = {
20495 (char *) "obj", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
20503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20509 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
20516 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
;
20518 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20520 PyObject
* obj0
= 0 ;
20521 char *kwnames
[] = {
20522 (char *) "self", NULL
20525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
20526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 result
= (PyObject
*)(arg1
)->GetData();
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 resultobj
= result
;
20541 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20544 PyObject
*arg2
= (PyObject
*) 0 ;
20545 PyObject
* obj0
= 0 ;
20546 PyObject
* obj1
= 0 ;
20547 char *kwnames
[] = {
20548 (char *) "self",(char *) "obj", NULL
20551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
20552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 (arg1
)->SetData(arg2
);
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20561 Py_INCREF(Py_None
); resultobj
= Py_None
;
20568 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20569 PyObject
*resultobj
;
20570 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20571 wxTreeItemId
*result
;
20572 PyObject
* obj0
= 0 ;
20573 char *kwnames
[] = {
20574 (char *) "self", NULL
20577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
20578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
20583 result
= (wxTreeItemId
*) &_result_ref
;
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20589 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
20596 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
;
20598 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20599 wxTreeItemId
*arg2
= 0 ;
20600 PyObject
* obj0
= 0 ;
20601 PyObject
* obj1
= 0 ;
20602 char *kwnames
[] = {
20603 (char *) "self",(char *) "id", NULL
20606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
20607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20609 if (arg2
== NULL
) {
20610 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20614 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
20616 wxPyEndAllowThreads(__tstate
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20619 Py_INCREF(Py_None
); resultobj
= Py_None
;
20626 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20627 PyObject
*resultobj
;
20628 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20629 PyObject
* obj0
= 0 ;
20630 char *kwnames
[] = {
20631 (char *) "self", NULL
20634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
20635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20638 wxPyTreeItemData_Destroy(arg1
);
20640 wxPyEndAllowThreads(__tstate
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20643 Py_INCREF(Py_None
); resultobj
= Py_None
;
20650 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
20652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20653 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
20655 return Py_BuildValue((char *)"");
20657 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
;
20659 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20660 int arg2
= (int) 0 ;
20661 wxTreeEvent
*result
;
20662 char *kwnames
[] = {
20663 (char *) "commandType",(char *) "id", NULL
20666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TreeEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
20681 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20682 PyObject
*resultobj
;
20683 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20684 wxTreeItemId result
;
20685 PyObject
* obj0
= 0 ;
20686 char *kwnames
[] = {
20687 (char *) "self", NULL
20690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20694 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20700 wxTreeItemId
* resultptr
;
20701 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20702 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20710 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20711 PyObject
*resultobj
;
20712 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20713 wxTreeItemId
*arg2
= 0 ;
20714 PyObject
* obj0
= 0 ;
20715 PyObject
* obj1
= 0 ;
20716 char *kwnames
[] = {
20717 (char *) "self",(char *) "item", NULL
20720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20723 if (arg2
== NULL
) {
20724 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20728 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
20730 wxPyEndAllowThreads(__tstate
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20733 Py_INCREF(Py_None
); resultobj
= Py_None
;
20740 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20741 PyObject
*resultobj
;
20742 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20743 wxTreeItemId result
;
20744 PyObject
* obj0
= 0 ;
20745 char *kwnames
[] = {
20746 (char *) "self", NULL
20749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
20750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20753 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
20755 wxPyEndAllowThreads(__tstate
);
20756 if (PyErr_Occurred()) SWIG_fail
;
20759 wxTreeItemId
* resultptr
;
20760 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20761 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20769 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20770 PyObject
*resultobj
;
20771 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20772 wxTreeItemId
*arg2
= 0 ;
20773 PyObject
* obj0
= 0 ;
20774 PyObject
* obj1
= 0 ;
20775 char *kwnames
[] = {
20776 (char *) "self",(char *) "item", NULL
20779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20781 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20782 if (arg2
== NULL
) {
20783 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 Py_INCREF(Py_None
); resultobj
= Py_None
;
20799 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20800 PyObject
*resultobj
;
20801 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20803 PyObject
* obj0
= 0 ;
20804 char *kwnames
[] = {
20805 (char *) "self", NULL
20808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20812 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
20814 wxPyEndAllowThreads(__tstate
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20818 wxPoint
* resultptr
;
20819 resultptr
= new wxPoint((wxPoint
&) result
);
20820 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20828 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20830 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20831 wxPoint
*arg2
= 0 ;
20833 PyObject
* obj0
= 0 ;
20834 PyObject
* obj1
= 0 ;
20835 char *kwnames
[] = {
20836 (char *) "self",(char *) "pt", NULL
20839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
20840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20847 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
20849 wxPyEndAllowThreads(__tstate
);
20850 if (PyErr_Occurred()) SWIG_fail
;
20852 Py_INCREF(Py_None
); resultobj
= Py_None
;
20859 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20860 PyObject
*resultobj
;
20861 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20862 wxKeyEvent
*result
;
20863 PyObject
* obj0
= 0 ;
20864 char *kwnames
[] = {
20865 (char *) "self", NULL
20868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
20869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20873 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
20874 result
= (wxKeyEvent
*) &_result_ref
;
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20880 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
20887 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20888 PyObject
*resultobj
;
20889 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20891 PyObject
* obj0
= 0 ;
20892 char *kwnames
[] = {
20893 (char *) "self", NULL
20896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20905 resultobj
= PyInt_FromLong((long)result
);
20912 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20913 PyObject
*resultobj
;
20914 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20915 wxKeyEvent
*arg2
= 0 ;
20916 PyObject
* obj0
= 0 ;
20917 PyObject
* obj1
= 0 ;
20918 char *kwnames
[] = {
20919 (char *) "self",(char *) "evt", NULL
20922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20924 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20925 if (arg2
== NULL
) {
20926 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20935 Py_INCREF(Py_None
); resultobj
= Py_None
;
20942 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20944 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20946 PyObject
* obj0
= 0 ;
20947 char *kwnames
[] = {
20948 (char *) "self", NULL
20951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
20957 result
= (wxString
*) &_result_ref
;
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20967 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20976 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20977 PyObject
*resultobj
;
20978 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20979 wxString
*arg2
= 0 ;
20980 bool temp2
= False
;
20981 PyObject
* obj0
= 0 ;
20982 PyObject
* obj1
= 0 ;
20983 char *kwnames
[] = {
20984 (char *) "self",(char *) "label", NULL
20987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20990 arg2
= wxString_in_helper(obj1
);
20991 if (arg2
== NULL
) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 (arg1
)->SetLabel((wxString
const &)*arg2
);
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21001 Py_INCREF(Py_None
); resultobj
= Py_None
;
21016 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
;
21018 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21020 PyObject
* obj0
= 0 ;
21021 char *kwnames
[] = {
21022 (char *) "self", NULL
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21034 resultobj
= PyInt_FromLong((long)result
);
21041 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21042 PyObject
*resultobj
;
21043 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21045 PyObject
* obj0
= 0 ;
21046 PyObject
* obj1
= 0 ;
21047 char *kwnames
[] = {
21048 (char *) "self",(char *) "editCancelled", NULL
21051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21053 arg2
= PyInt_AsLong(obj1
) ? true : false;
21054 if (PyErr_Occurred()) SWIG_fail
;
21056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21057 (arg1
)->SetEditCanceled(arg2
);
21059 wxPyEndAllowThreads(__tstate
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21062 Py_INCREF(Py_None
); resultobj
= Py_None
;
21069 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21070 PyObject
*resultobj
;
21071 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21072 wxString
*arg2
= 0 ;
21073 bool temp2
= False
;
21074 PyObject
* obj0
= 0 ;
21075 PyObject
* obj1
= 0 ;
21076 char *kwnames
[] = {
21077 (char *) "self",(char *) "toolTip", NULL
21080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
21081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21083 arg2
= wxString_in_helper(obj1
);
21084 if (arg2
== NULL
) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 (arg1
)->SetToolTip((wxString
const &)*arg2
);
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21094 Py_INCREF(Py_None
); resultobj
= Py_None
;
21109 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21112 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
21114 return Py_BuildValue((char *)"");
21116 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
;
21118 wxWindow
*arg1
= (wxWindow
*) 0 ;
21119 int arg2
= (int) -1 ;
21120 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21121 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21122 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21123 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21124 long arg5
= (long) wxTR_DEFAULT_STYLE
;
21125 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21126 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21127 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
21128 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21129 wxPyTreeCtrl
*result
;
21132 bool temp7
= False
;
21133 PyObject
* obj0
= 0 ;
21134 PyObject
* obj2
= 0 ;
21135 PyObject
* obj3
= 0 ;
21136 PyObject
* obj5
= 0 ;
21137 PyObject
* obj6
= 0 ;
21138 char *kwnames
[] = {
21139 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_TreeCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
21143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21147 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21153 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21157 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21158 if (arg6
== NULL
) {
21159 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21164 arg7
= wxString_in_helper(obj6
);
21165 if (arg7
== NULL
) SWIG_fail
;
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21177 resultobj
= wxPyMake_wxObject(result
);
21193 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21194 PyObject
*resultobj
;
21195 wxPyTreeCtrl
*result
;
21196 char *kwnames
[] = {
21200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= wxPyMake_wxObject(result
);
21217 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21218 PyObject
*resultobj
;
21219 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21220 wxWindow
*arg2
= (wxWindow
*) 0 ;
21221 int arg3
= (int) -1 ;
21222 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21223 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21224 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21225 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21226 long arg6
= (long) wxTR_DEFAULT_STYLE
;
21227 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21228 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21229 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
21230 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21234 bool temp8
= False
;
21235 PyObject
* obj0
= 0 ;
21236 PyObject
* obj1
= 0 ;
21237 PyObject
* obj3
= 0 ;
21238 PyObject
* obj4
= 0 ;
21239 PyObject
* obj6
= 0 ;
21240 PyObject
* obj7
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
21246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21247 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21251 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21257 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21261 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21262 if (arg7
== NULL
) {
21263 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21268 arg8
= wxString_in_helper(obj7
);
21269 if (arg8
== NULL
) SWIG_fail
;
21274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21275 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 resultobj
= PyInt_FromLong((long)result
);
21295 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
;
21297 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21298 PyObject
*arg2
= (PyObject
*) 0 ;
21299 PyObject
*arg3
= (PyObject
*) 0 ;
21300 PyObject
* obj0
= 0 ;
21301 PyObject
* obj1
= 0 ;
21302 PyObject
* obj2
= 0 ;
21303 char *kwnames
[] = {
21304 (char *) "self",(char *) "self",(char *) "_class", NULL
21307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21313 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21315 wxPyEndAllowThreads(__tstate
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21318 Py_INCREF(Py_None
); resultobj
= Py_None
;
21325 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21326 PyObject
*resultobj
;
21327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21329 PyObject
* obj0
= 0 ;
21330 char *kwnames
[] = {
21331 (char *) "self", NULL
21334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
21335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21338 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
21340 wxPyEndAllowThreads(__tstate
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21343 resultobj
= PyInt_FromLong((long)result
);
21350 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21351 PyObject
*resultobj
;
21352 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21353 unsigned int result
;
21354 PyObject
* obj0
= 0 ;
21355 char *kwnames
[] = {
21356 (char *) "self", NULL
21359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
21360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21363 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
21365 wxPyEndAllowThreads(__tstate
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21368 resultobj
= PyInt_FromLong((long)result
);
21375 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21376 PyObject
*resultobj
;
21377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21378 unsigned int arg2
;
21379 PyObject
* obj0
= 0 ;
21380 PyObject
* obj1
= 0 ;
21381 char *kwnames
[] = {
21382 (char *) "self",(char *) "indent", NULL
21385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
21386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21387 arg2
= (unsigned int) PyInt_AsLong(obj1
);
21388 if (PyErr_Occurred()) SWIG_fail
;
21390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21391 (arg1
)->SetIndent(arg2
);
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 Py_INCREF(Py_None
); resultobj
= Py_None
;
21403 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
;
21405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21406 unsigned int result
;
21407 PyObject
* obj0
= 0 ;
21408 char *kwnames
[] = {
21409 (char *) "self", NULL
21412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
21413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21421 resultobj
= PyInt_FromLong((long)result
);
21428 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21429 PyObject
*resultobj
;
21430 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21431 unsigned int arg2
;
21432 PyObject
* obj0
= 0 ;
21433 PyObject
* obj1
= 0 ;
21434 char *kwnames
[] = {
21435 (char *) "self",(char *) "spacing", NULL
21438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
21439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21440 arg2
= (unsigned int) PyInt_AsLong(obj1
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 (arg1
)->SetSpacing(arg2
);
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21449 Py_INCREF(Py_None
); resultobj
= Py_None
;
21456 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21457 PyObject
*resultobj
;
21458 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21459 wxImageList
*result
;
21460 PyObject
* obj0
= 0 ;
21461 char *kwnames
[] = {
21462 (char *) "self", NULL
21465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
21466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21475 resultobj
= wxPyMake_wxObject(result
);
21483 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21484 PyObject
*resultobj
;
21485 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21486 wxImageList
*result
;
21487 PyObject
* obj0
= 0 ;
21488 char *kwnames
[] = {
21489 (char *) "self", NULL
21492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
21493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
21498 wxPyEndAllowThreads(__tstate
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21502 resultobj
= wxPyMake_wxObject(result
);
21510 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
;
21512 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21513 wxImageList
*arg2
= (wxImageList
*) 0 ;
21514 PyObject
* obj0
= 0 ;
21515 PyObject
* obj1
= 0 ;
21516 char *kwnames
[] = {
21517 (char *) "self",(char *) "imageList", NULL
21520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 (arg1
)->SetImageList(arg2
);
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21530 Py_INCREF(Py_None
); resultobj
= Py_None
;
21537 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
;
21539 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21540 wxImageList
*arg2
= (wxImageList
*) 0 ;
21541 PyObject
* obj0
= 0 ;
21542 PyObject
* obj1
= 0 ;
21543 char *kwnames
[] = {
21544 (char *) "self",(char *) "imageList", NULL
21547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21549 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21552 (arg1
)->SetStateImageList(arg2
);
21554 wxPyEndAllowThreads(__tstate
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21557 Py_INCREF(Py_None
); resultobj
= Py_None
;
21564 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21567 wxImageList
*arg2
= (wxImageList
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 PyObject
* obj1
= 0 ;
21570 char *kwnames
[] = {
21571 (char *) "self",(char *) "imageList", NULL
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21576 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21579 (arg1
)->AssignImageList(arg2
);
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21584 Py_INCREF(Py_None
); resultobj
= Py_None
;
21591 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
;
21593 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21594 wxImageList
*arg2
= (wxImageList
*) 0 ;
21595 PyObject
* obj0
= 0 ;
21596 PyObject
* obj1
= 0 ;
21597 char *kwnames
[] = {
21598 (char *) "self",(char *) "imageList", NULL
21601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21603 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 (arg1
)->AssignStateImageList(arg2
);
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21611 Py_INCREF(Py_None
); resultobj
= Py_None
;
21618 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
;
21620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21621 wxTreeItemId
*arg2
= 0 ;
21623 PyObject
* obj0
= 0 ;
21624 PyObject
* obj1
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self",(char *) "item", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21631 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21632 if (arg2
== NULL
) {
21633 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
21639 wxPyEndAllowThreads(__tstate
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21644 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21646 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21655 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21656 PyObject
*resultobj
;
21657 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21658 wxTreeItemId
*arg2
= 0 ;
21659 int arg3
= (int) wxTreeItemIcon_Normal
;
21661 PyObject
* obj0
= 0 ;
21662 PyObject
* obj1
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self",(char *) "item",(char *) "which", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21669 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21670 if (arg2
== NULL
) {
21671 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21675 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21680 resultobj
= PyInt_FromLong((long)result
);
21687 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21688 PyObject
*resultobj
;
21689 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21690 wxTreeItemId
*arg2
= 0 ;
21691 wxPyTreeItemData
*result
;
21692 PyObject
* obj0
= 0 ;
21693 PyObject
* obj1
= 0 ;
21694 char *kwnames
[] = {
21695 (char *) "self",(char *) "item", NULL
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21701 if (arg2
== NULL
) {
21702 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
21708 wxPyEndAllowThreads(__tstate
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21711 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
21718 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21719 PyObject
*resultobj
;
21720 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21721 wxTreeItemId
*arg2
= 0 ;
21723 PyObject
* obj0
= 0 ;
21724 PyObject
* obj1
= 0 ;
21725 char *kwnames
[] = {
21726 (char *) "self",(char *) "item", NULL
21729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
21730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21731 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21732 if (arg2
== NULL
) {
21733 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21737 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
21739 wxPyEndAllowThreads(__tstate
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21742 resultobj
= result
;
21749 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21750 PyObject
*resultobj
;
21751 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21752 wxTreeItemId
*arg2
= 0 ;
21754 PyObject
* obj0
= 0 ;
21755 PyObject
* obj1
= 0 ;
21756 char *kwnames
[] = {
21757 (char *) "self",(char *) "item", NULL
21760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21762 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21763 if (arg2
== NULL
) {
21764 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21774 wxColour
* resultptr
;
21775 resultptr
= new wxColour((wxColour
&) result
);
21776 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21784 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
;
21786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21787 wxTreeItemId
*arg2
= 0 ;
21789 PyObject
* obj0
= 0 ;
21790 PyObject
* obj1
= 0 ;
21791 char *kwnames
[] = {
21792 (char *) "self",(char *) "item", NULL
21795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21797 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21798 if (arg2
== NULL
) {
21799 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
21805 wxPyEndAllowThreads(__tstate
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21809 wxColour
* resultptr
;
21810 resultptr
= new wxColour((wxColour
&) result
);
21811 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21819 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21820 PyObject
*resultobj
;
21821 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21822 wxTreeItemId
*arg2
= 0 ;
21824 PyObject
* obj0
= 0 ;
21825 PyObject
* obj1
= 0 ;
21826 char *kwnames
[] = {
21827 (char *) "self",(char *) "item", NULL
21830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21832 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21833 if (arg2
== NULL
) {
21834 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21838 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
21840 wxPyEndAllowThreads(__tstate
);
21841 if (PyErr_Occurred()) SWIG_fail
;
21844 wxFont
* resultptr
;
21845 resultptr
= new wxFont((wxFont
&) result
);
21846 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
21854 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
;
21856 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21857 wxTreeItemId
*arg2
= 0 ;
21858 wxString
*arg3
= 0 ;
21859 bool temp3
= False
;
21860 PyObject
* obj0
= 0 ;
21861 PyObject
* obj1
= 0 ;
21862 PyObject
* obj2
= 0 ;
21863 char *kwnames
[] = {
21864 (char *) "self",(char *) "item",(char *) "text", NULL
21867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21869 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21870 if (arg2
== NULL
) {
21871 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21874 arg3
= wxString_in_helper(obj2
);
21875 if (arg3
== NULL
) SWIG_fail
;
21879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21880 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21885 Py_INCREF(Py_None
); resultobj
= Py_None
;
21900 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
;
21902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21903 wxTreeItemId
*arg2
= 0 ;
21905 int arg4
= (int) wxTreeItemIcon_Normal
;
21906 PyObject
* obj0
= 0 ;
21907 PyObject
* obj1
= 0 ;
21908 char *kwnames
[] = {
21909 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
21913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21914 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21915 if (arg2
== NULL
) {
21916 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21925 Py_INCREF(Py_None
); resultobj
= Py_None
;
21932 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21935 wxTreeItemId
*arg2
= 0 ;
21936 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
21937 PyObject
* obj0
= 0 ;
21938 PyObject
* obj1
= 0 ;
21939 PyObject
* obj2
= 0 ;
21940 char *kwnames
[] = {
21941 (char *) "self",(char *) "item",(char *) "data", NULL
21944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21946 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21947 if (arg2
== NULL
) {
21948 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21950 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21953 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21955 wxPyEndAllowThreads(__tstate
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21958 Py_INCREF(Py_None
); resultobj
= Py_None
;
21965 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21966 PyObject
*resultobj
;
21967 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21968 wxTreeItemId
*arg2
= 0 ;
21969 PyObject
*arg3
= (PyObject
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 PyObject
* obj2
= 0 ;
21973 char *kwnames
[] = {
21974 (char *) "self",(char *) "item",(char *) "obj", NULL
21977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21979 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21980 if (arg2
== NULL
) {
21981 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21986 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21988 wxPyEndAllowThreads(__tstate
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 Py_INCREF(Py_None
); resultobj
= Py_None
;
21998 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
;
22000 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22001 wxTreeItemId
*arg2
= 0 ;
22002 bool arg3
= (bool) True
;
22003 PyObject
* obj0
= 0 ;
22004 PyObject
* obj1
= 0 ;
22005 PyObject
* obj2
= 0 ;
22006 char *kwnames
[] = {
22007 (char *) "self",(char *) "item",(char *) "has", NULL
22010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22012 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22013 if (arg2
== NULL
) {
22014 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22017 arg3
= PyInt_AsLong(obj2
) ? true : false;
22018 if (PyErr_Occurred()) SWIG_fail
;
22021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22027 Py_INCREF(Py_None
); resultobj
= Py_None
;
22034 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22035 PyObject
*resultobj
;
22036 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22037 wxTreeItemId
*arg2
= 0 ;
22038 bool arg3
= (bool) True
;
22039 PyObject
* obj0
= 0 ;
22040 PyObject
* obj1
= 0 ;
22041 PyObject
* obj2
= 0 ;
22042 char *kwnames
[] = {
22043 (char *) "self",(char *) "item",(char *) "bold", NULL
22046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22048 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22049 if (arg2
== NULL
) {
22050 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22053 arg3
= PyInt_AsLong(obj2
) ? true : false;
22054 if (PyErr_Occurred()) SWIG_fail
;
22057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22058 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22063 Py_INCREF(Py_None
); resultobj
= Py_None
;
22070 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22071 PyObject
*resultobj
;
22072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22073 wxTreeItemId
*arg2
= 0 ;
22074 bool arg3
= (bool) True
;
22075 PyObject
* obj0
= 0 ;
22076 PyObject
* obj1
= 0 ;
22077 PyObject
* obj2
= 0 ;
22078 char *kwnames
[] = {
22079 (char *) "self",(char *) "item",(char *) "highlight", NULL
22082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22084 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22085 if (arg2
== NULL
) {
22086 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22089 arg3
= PyInt_AsLong(obj2
) ? true : false;
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
22096 wxPyEndAllowThreads(__tstate
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22099 Py_INCREF(Py_None
); resultobj
= Py_None
;
22106 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22107 PyObject
*resultobj
;
22108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22109 wxTreeItemId
*arg2
= 0 ;
22110 wxColour
*arg3
= 0 ;
22112 PyObject
* obj0
= 0 ;
22113 PyObject
* obj1
= 0 ;
22114 PyObject
* obj2
= 0 ;
22115 char *kwnames
[] = {
22116 (char *) "self",(char *) "item",(char *) "col", NULL
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22121 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22122 if (arg2
== NULL
) {
22123 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22127 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22136 Py_INCREF(Py_None
); resultobj
= Py_None
;
22143 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
;
22145 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22146 wxTreeItemId
*arg2
= 0 ;
22147 wxColour
*arg3
= 0 ;
22149 PyObject
* obj0
= 0 ;
22150 PyObject
* obj1
= 0 ;
22151 PyObject
* obj2
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "self",(char *) "item",(char *) "col", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22158 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22159 if (arg2
== NULL
) {
22160 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22164 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22173 Py_INCREF(Py_None
); resultobj
= Py_None
;
22180 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22181 PyObject
*resultobj
;
22182 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22183 wxTreeItemId
*arg2
= 0 ;
22185 PyObject
* obj0
= 0 ;
22186 PyObject
* obj1
= 0 ;
22187 PyObject
* obj2
= 0 ;
22188 char *kwnames
[] = {
22189 (char *) "self",(char *) "item",(char *) "font", NULL
22192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22194 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22195 if (arg2
== NULL
) {
22196 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22198 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22199 if (arg3
== NULL
) {
22200 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22204 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 Py_INCREF(Py_None
); resultobj
= Py_None
;
22216 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
;
22218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22219 wxTreeItemId
*arg2
= 0 ;
22221 PyObject
* obj0
= 0 ;
22222 PyObject
* obj1
= 0 ;
22223 char *kwnames
[] = {
22224 (char *) "self",(char *) "item", NULL
22227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22229 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22230 if (arg2
== NULL
) {
22231 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22240 resultobj
= PyInt_FromLong((long)result
);
22247 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22248 PyObject
*resultobj
;
22249 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22250 wxTreeItemId
*arg2
= 0 ;
22252 PyObject
* obj0
= 0 ;
22253 PyObject
* obj1
= 0 ;
22254 char *kwnames
[] = {
22255 (char *) "self",(char *) "item", NULL
22258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22261 if (arg2
== NULL
) {
22262 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22266 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22271 resultobj
= PyInt_FromLong((long)result
);
22278 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22279 PyObject
*resultobj
;
22280 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22281 wxTreeItemId
*arg2
= 0 ;
22283 PyObject
* obj0
= 0 ;
22284 PyObject
* obj1
= 0 ;
22285 char *kwnames
[] = {
22286 (char *) "self",(char *) "item", NULL
22289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
22290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22291 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22292 if (arg2
== NULL
) {
22293 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
22299 wxPyEndAllowThreads(__tstate
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22302 resultobj
= PyInt_FromLong((long)result
);
22309 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22310 PyObject
*resultobj
;
22311 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22312 wxTreeItemId
*arg2
= 0 ;
22314 PyObject
* obj0
= 0 ;
22315 PyObject
* obj1
= 0 ;
22316 char *kwnames
[] = {
22317 (char *) "self",(char *) "item", NULL
22320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22322 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22323 if (arg2
== NULL
) {
22324 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22328 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
22330 wxPyEndAllowThreads(__tstate
);
22331 if (PyErr_Occurred()) SWIG_fail
;
22333 resultobj
= PyInt_FromLong((long)result
);
22340 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
;
22342 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22343 wxTreeItemId
*arg2
= 0 ;
22345 PyObject
* obj0
= 0 ;
22346 PyObject
* obj1
= 0 ;
22347 char *kwnames
[] = {
22348 (char *) "self",(char *) "item", NULL
22351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
22352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22353 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22354 if (arg2
== NULL
) {
22355 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22359 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
22361 wxPyEndAllowThreads(__tstate
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22364 resultobj
= PyInt_FromLong((long)result
);
22371 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22372 PyObject
*resultobj
;
22373 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22374 wxTreeItemId
*arg2
= 0 ;
22375 bool arg3
= (bool) True
;
22377 PyObject
* obj0
= 0 ;
22378 PyObject
* obj1
= 0 ;
22379 PyObject
* obj2
= 0 ;
22380 char *kwnames
[] = {
22381 (char *) "self",(char *) "item",(char *) "recursively", NULL
22384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22386 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22387 if (arg2
== NULL
) {
22388 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22391 arg3
= PyInt_AsLong(obj2
) ? true : false;
22392 if (PyErr_Occurred()) SWIG_fail
;
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22401 resultobj
= PyInt_FromLong((long)result
);
22408 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
;
22410 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22411 wxTreeItemId result
;
22412 PyObject
* obj0
= 0 ;
22413 char *kwnames
[] = {
22414 (char *) "self", NULL
22417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
22418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
22423 wxPyEndAllowThreads(__tstate
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22427 wxTreeItemId
* resultptr
;
22428 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22429 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22437 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22438 PyObject
*resultobj
;
22439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22440 wxTreeItemId result
;
22441 PyObject
* obj0
= 0 ;
22442 char *kwnames
[] = {
22443 (char *) "self", NULL
22446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
22447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22456 wxTreeItemId
* resultptr
;
22457 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22458 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22466 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22467 PyObject
*resultobj
;
22468 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22470 PyObject
* obj0
= 0 ;
22471 char *kwnames
[] = {
22472 (char *) "self", NULL
22475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
22476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
22481 wxPyEndAllowThreads(__tstate
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22484 resultobj
= result
;
22491 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22492 PyObject
*resultobj
;
22493 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22494 wxTreeItemId
*arg2
= 0 ;
22495 wxTreeItemId result
;
22496 PyObject
* obj0
= 0 ;
22497 PyObject
* obj1
= 0 ;
22498 char *kwnames
[] = {
22499 (char *) "self",(char *) "item", NULL
22502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22504 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22505 if (arg2
== NULL
) {
22506 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22510 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
22512 wxPyEndAllowThreads(__tstate
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22516 wxTreeItemId
* resultptr
;
22517 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22518 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22526 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22527 PyObject
*resultobj
;
22528 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22529 wxTreeItemId
*arg2
= 0 ;
22531 PyObject
* obj0
= 0 ;
22532 PyObject
* obj1
= 0 ;
22533 char *kwnames
[] = {
22534 (char *) "self",(char *) "item", NULL
22537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22539 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22540 if (arg2
== NULL
) {
22541 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22550 resultobj
= result
;
22557 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22558 PyObject
*resultobj
;
22559 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22560 wxTreeItemId
*arg2
= 0 ;
22561 wxTreeItemIdValue
*arg3
= 0 ;
22563 PyObject
* obj0
= 0 ;
22564 PyObject
* obj1
= 0 ;
22565 PyObject
* obj2
= 0 ;
22566 char *kwnames
[] = {
22567 (char *) "self",(char *) "item",(char *) "cookie", NULL
22570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22572 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22573 if (arg2
== NULL
) {
22574 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22576 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemIdValue
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22577 if (arg3
== NULL
) {
22578 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,*arg3
);
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22587 resultobj
= result
;
22594 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22596 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22597 wxTreeItemId
*arg2
= 0 ;
22598 wxTreeItemId result
;
22599 PyObject
* obj0
= 0 ;
22600 PyObject
* obj1
= 0 ;
22601 char *kwnames
[] = {
22602 (char *) "self",(char *) "item", NULL
22605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22608 if (arg2
== NULL
) {
22609 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22613 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
22615 wxPyEndAllowThreads(__tstate
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22619 wxTreeItemId
* resultptr
;
22620 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22621 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22629 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22630 PyObject
*resultobj
;
22631 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22632 wxTreeItemId
*arg2
= 0 ;
22633 wxTreeItemId result
;
22634 PyObject
* obj0
= 0 ;
22635 PyObject
* obj1
= 0 ;
22636 char *kwnames
[] = {
22637 (char *) "self",(char *) "item", NULL
22640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22642 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22643 if (arg2
== NULL
) {
22644 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22654 wxTreeItemId
* resultptr
;
22655 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22656 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22664 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22667 wxTreeItemId
*arg2
= 0 ;
22668 wxTreeItemId result
;
22669 PyObject
* obj0
= 0 ;
22670 PyObject
* obj1
= 0 ;
22671 char *kwnames
[] = {
22672 (char *) "self",(char *) "item", NULL
22675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22677 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22678 if (arg2
== NULL
) {
22679 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22689 wxTreeItemId
* resultptr
;
22690 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22691 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22699 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22700 PyObject
*resultobj
;
22701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22702 wxTreeItemId result
;
22703 PyObject
* obj0
= 0 ;
22704 char *kwnames
[] = {
22705 (char *) "self", NULL
22708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
22709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
22714 wxPyEndAllowThreads(__tstate
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22718 wxTreeItemId
* resultptr
;
22719 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22720 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22728 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22729 PyObject
*resultobj
;
22730 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22731 wxTreeItemId
*arg2
= 0 ;
22732 wxTreeItemId result
;
22733 PyObject
* obj0
= 0 ;
22734 PyObject
* obj1
= 0 ;
22735 char *kwnames
[] = {
22736 (char *) "self",(char *) "item", NULL
22739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22741 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22742 if (arg2
== NULL
) {
22743 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
22749 wxPyEndAllowThreads(__tstate
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22753 wxTreeItemId
* resultptr
;
22754 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22755 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22763 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22764 PyObject
*resultobj
;
22765 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22766 wxTreeItemId
*arg2
= 0 ;
22767 wxTreeItemId result
;
22768 PyObject
* obj0
= 0 ;
22769 PyObject
* obj1
= 0 ;
22770 char *kwnames
[] = {
22771 (char *) "self",(char *) "item", NULL
22774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22776 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22777 if (arg2
== NULL
) {
22778 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22788 wxTreeItemId
* resultptr
;
22789 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22790 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22798 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
;
22800 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22801 wxString
*arg2
= 0 ;
22802 int arg3
= (int) -1 ;
22803 int arg4
= (int) -1 ;
22804 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
22805 wxTreeItemId result
;
22806 bool temp2
= False
;
22807 PyObject
* obj0
= 0 ;
22808 PyObject
* obj1
= 0 ;
22809 PyObject
* obj4
= 0 ;
22810 char *kwnames
[] = {
22811 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
22815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22817 arg2
= wxString_in_helper(obj1
);
22818 if (arg2
== NULL
) SWIG_fail
;
22822 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22826 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
22828 wxPyEndAllowThreads(__tstate
);
22829 if (PyErr_Occurred()) SWIG_fail
;
22832 wxTreeItemId
* resultptr
;
22833 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22834 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22850 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22851 PyObject
*resultobj
;
22852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22853 wxTreeItemId
*arg2
= 0 ;
22854 wxString
*arg3
= 0 ;
22855 int arg4
= (int) -1 ;
22856 int arg5
= (int) -1 ;
22857 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22858 wxTreeItemId result
;
22859 bool temp3
= False
;
22860 PyObject
* obj0
= 0 ;
22861 PyObject
* obj1
= 0 ;
22862 PyObject
* obj2
= 0 ;
22863 PyObject
* obj5
= 0 ;
22864 char *kwnames
[] = {
22865 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22870 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22871 if (arg2
== NULL
) {
22872 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22875 arg3
= wxString_in_helper(obj2
);
22876 if (arg3
== NULL
) SWIG_fail
;
22880 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22890 wxTreeItemId
* resultptr
;
22891 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22892 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22908 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22909 PyObject
*resultobj
;
22910 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22911 wxTreeItemId
*arg2
= 0 ;
22912 wxTreeItemId
*arg3
= 0 ;
22913 wxString
*arg4
= 0 ;
22914 int arg5
= (int) -1 ;
22915 int arg6
= (int) -1 ;
22916 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22917 wxTreeItemId result
;
22918 bool temp4
= False
;
22919 PyObject
* obj0
= 0 ;
22920 PyObject
* obj1
= 0 ;
22921 PyObject
* obj2
= 0 ;
22922 PyObject
* obj3
= 0 ;
22923 PyObject
* obj6
= 0 ;
22924 char *kwnames
[] = {
22925 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22930 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22931 if (arg2
== NULL
) {
22932 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22934 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22935 if (arg3
== NULL
) {
22936 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22939 arg4
= wxString_in_helper(obj3
);
22940 if (arg4
== NULL
) SWIG_fail
;
22944 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22954 wxTreeItemId
* resultptr
;
22955 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22956 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22972 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
;
22974 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22975 wxTreeItemId
*arg2
= 0 ;
22977 wxString
*arg4
= 0 ;
22978 int arg5
= (int) -1 ;
22979 int arg6
= (int) -1 ;
22980 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22981 wxTreeItemId result
;
22982 bool temp4
= False
;
22983 PyObject
* obj0
= 0 ;
22984 PyObject
* obj1
= 0 ;
22985 PyObject
* obj2
= 0 ;
22986 PyObject
* obj3
= 0 ;
22987 PyObject
* obj6
= 0 ;
22988 char *kwnames
[] = {
22989 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22994 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22995 if (arg2
== NULL
) {
22996 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22998 arg3
= (size_t) PyInt_AsLong(obj2
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23001 arg4
= wxString_in_helper(obj3
);
23002 if (arg4
== NULL
) SWIG_fail
;
23006 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23010 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
23012 wxPyEndAllowThreads(__tstate
);
23013 if (PyErr_Occurred()) SWIG_fail
;
23016 wxTreeItemId
* resultptr
;
23017 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23018 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23034 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23035 PyObject
*resultobj
;
23036 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23037 wxTreeItemId
*arg2
= 0 ;
23038 wxString
*arg3
= 0 ;
23039 int arg4
= (int) -1 ;
23040 int arg5
= (int) -1 ;
23041 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
23042 wxTreeItemId result
;
23043 bool temp3
= False
;
23044 PyObject
* obj0
= 0 ;
23045 PyObject
* obj1
= 0 ;
23046 PyObject
* obj2
= 0 ;
23047 PyObject
* obj5
= 0 ;
23048 char *kwnames
[] = {
23049 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
23053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23054 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23055 if (arg2
== NULL
) {
23056 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23059 arg3
= wxString_in_helper(obj2
);
23060 if (arg3
== NULL
) SWIG_fail
;
23064 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23074 wxTreeItemId
* resultptr
;
23075 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23076 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23092 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
;
23094 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23095 wxTreeItemId
*arg2
= 0 ;
23096 PyObject
* obj0
= 0 ;
23097 PyObject
* obj1
= 0 ;
23098 char *kwnames
[] = {
23099 (char *) "self",(char *) "item", NULL
23102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
23103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23104 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23105 if (arg2
== NULL
) {
23106 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 Py_INCREF(Py_None
); resultobj
= Py_None
;
23122 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
;
23124 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23125 wxTreeItemId
*arg2
= 0 ;
23126 PyObject
* obj0
= 0 ;
23127 PyObject
* obj1
= 0 ;
23128 char *kwnames
[] = {
23129 (char *) "self",(char *) "item", NULL
23132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
23133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23134 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23135 if (arg2
== NULL
) {
23136 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 Py_INCREF(Py_None
); resultobj
= Py_None
;
23152 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
;
23154 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23155 PyObject
* obj0
= 0 ;
23156 char *kwnames
[] = {
23157 (char *) "self", NULL
23160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
23161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 (arg1
)->DeleteAllItems();
23166 wxPyEndAllowThreads(__tstate
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23169 Py_INCREF(Py_None
); resultobj
= Py_None
;
23176 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23177 PyObject
*resultobj
;
23178 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23179 wxTreeItemId
*arg2
= 0 ;
23180 PyObject
* obj0
= 0 ;
23181 PyObject
* obj1
= 0 ;
23182 char *kwnames
[] = {
23183 (char *) "self",(char *) "item", NULL
23186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
23187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23188 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23189 if (arg2
== NULL
) {
23190 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23194 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
23196 wxPyEndAllowThreads(__tstate
);
23197 if (PyErr_Occurred()) SWIG_fail
;
23199 Py_INCREF(Py_None
); resultobj
= Py_None
;
23206 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23207 PyObject
*resultobj
;
23208 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23209 wxTreeItemId
*arg2
= 0 ;
23210 PyObject
* obj0
= 0 ;
23211 PyObject
* obj1
= 0 ;
23212 char *kwnames
[] = {
23213 (char *) "self",(char *) "item", NULL
23216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
23217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23218 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23219 if (arg2
== NULL
) {
23220 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
23226 wxPyEndAllowThreads(__tstate
);
23227 if (PyErr_Occurred()) SWIG_fail
;
23229 Py_INCREF(Py_None
); resultobj
= Py_None
;
23236 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23237 PyObject
*resultobj
;
23238 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23239 wxTreeItemId
*arg2
= 0 ;
23240 PyObject
* obj0
= 0 ;
23241 PyObject
* obj1
= 0 ;
23242 char *kwnames
[] = {
23243 (char *) "self",(char *) "item", NULL
23246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
23247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23248 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23249 if (arg2
== NULL
) {
23250 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23259 Py_INCREF(Py_None
); resultobj
= Py_None
;
23266 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23267 PyObject
*resultobj
;
23268 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23269 wxTreeItemId
*arg2
= 0 ;
23270 PyObject
* obj0
= 0 ;
23271 PyObject
* obj1
= 0 ;
23272 char *kwnames
[] = {
23273 (char *) "self",(char *) "item", NULL
23276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
23277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23278 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23279 if (arg2
== NULL
) {
23280 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 Py_INCREF(Py_None
); resultobj
= Py_None
;
23296 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23298 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23299 PyObject
* obj0
= 0 ;
23300 char *kwnames
[] = {
23301 (char *) "self", NULL
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
23305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23308 (arg1
)->Unselect();
23310 wxPyEndAllowThreads(__tstate
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23313 Py_INCREF(Py_None
); resultobj
= Py_None
;
23320 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23321 PyObject
*resultobj
;
23322 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23323 PyObject
* obj0
= 0 ;
23324 char *kwnames
[] = {
23325 (char *) "self", NULL
23328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
23329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 (arg1
)->UnselectAll();
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 Py_INCREF(Py_None
); resultobj
= Py_None
;
23344 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23345 PyObject
*resultobj
;
23346 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23347 wxTreeItemId
*arg2
= 0 ;
23348 PyObject
* obj0
= 0 ;
23349 PyObject
* obj1
= 0 ;
23350 char *kwnames
[] = {
23351 (char *) "self",(char *) "item", NULL
23354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23356 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23357 if (arg2
== NULL
) {
23358 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23362 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
23364 wxPyEndAllowThreads(__tstate
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23367 Py_INCREF(Py_None
); resultobj
= Py_None
;
23374 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23375 PyObject
*resultobj
;
23376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23377 wxTreeItemId
*arg2
= 0 ;
23378 PyObject
* obj0
= 0 ;
23379 PyObject
* obj1
= 0 ;
23380 char *kwnames
[] = {
23381 (char *) "self",(char *) "item", NULL
23384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23386 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23387 if (arg2
== NULL
) {
23388 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23397 Py_INCREF(Py_None
); resultobj
= Py_None
;
23404 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
;
23406 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23407 wxTreeItemId
*arg2
= 0 ;
23408 PyObject
* obj0
= 0 ;
23409 PyObject
* obj1
= 0 ;
23410 char *kwnames
[] = {
23411 (char *) "self",(char *) "item", NULL
23414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23416 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23417 if (arg2
== NULL
) {
23418 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23422 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23427 Py_INCREF(Py_None
); resultobj
= Py_None
;
23434 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23435 PyObject
*resultobj
;
23436 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23437 wxTreeItemId
*arg2
= 0 ;
23438 PyObject
* obj0
= 0 ;
23439 PyObject
* obj1
= 0 ;
23440 char *kwnames
[] = {
23441 (char *) "self",(char *) "item", NULL
23444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23446 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23447 if (arg2
== NULL
) {
23448 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23457 Py_INCREF(Py_None
); resultobj
= Py_None
;
23464 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23465 PyObject
*resultobj
;
23466 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23467 wxTextCtrl
*result
;
23468 PyObject
* obj0
= 0 ;
23469 char *kwnames
[] = {
23470 (char *) "self", NULL
23473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
23474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23477 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
23479 wxPyEndAllowThreads(__tstate
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23483 resultobj
= wxPyMake_wxObject(result
);
23491 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23492 PyObject
*resultobj
;
23493 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23494 wxTreeItemId
*arg2
= 0 ;
23495 bool arg3
= (bool) False
;
23496 PyObject
* obj0
= 0 ;
23497 PyObject
* obj1
= 0 ;
23498 PyObject
* obj2
= 0 ;
23499 char *kwnames
[] = {
23500 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
23503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23505 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23506 if (arg2
== NULL
) {
23507 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23510 arg3
= PyInt_AsLong(obj2
) ? true : false;
23511 if (PyErr_Occurred()) SWIG_fail
;
23514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23515 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
23517 wxPyEndAllowThreads(__tstate
);
23518 if (PyErr_Occurred()) SWIG_fail
;
23520 Py_INCREF(Py_None
); resultobj
= Py_None
;
23527 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23528 PyObject
*resultobj
;
23529 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23530 wxTreeItemId
*arg2
= 0 ;
23531 PyObject
* obj0
= 0 ;
23532 PyObject
* obj1
= 0 ;
23533 char *kwnames
[] = {
23534 (char *) "self",(char *) "item", NULL
23537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
23538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23539 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23540 if (arg2
== NULL
) {
23541 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23545 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23550 Py_INCREF(Py_None
); resultobj
= Py_None
;
23557 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
;
23559 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23560 wxPoint
*arg2
= 0 ;
23562 wxTreeItemId result
;
23565 PyObject
* obj0
= 0 ;
23566 PyObject
* obj1
= 0 ;
23567 char *kwnames
[] = {
23568 (char *) "self",(char *) "point", NULL
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23576 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23586 wxTreeItemId
* resultptr
;
23587 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23588 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23591 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23592 resultobj
= t_output_helper(resultobj
,o
);
23600 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23601 PyObject
*resultobj
;
23602 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23603 wxTreeItemId
*arg2
= 0 ;
23604 bool arg3
= (bool) False
;
23606 PyObject
* obj0
= 0 ;
23607 PyObject
* obj1
= 0 ;
23608 PyObject
* obj2
= 0 ;
23609 char *kwnames
[] = {
23610 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23615 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23616 if (arg2
== NULL
) {
23617 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23620 arg3
= PyInt_AsLong(obj2
) ? true : false;
23621 if (PyErr_Occurred()) SWIG_fail
;
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23630 resultobj
= result
;
23637 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23640 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
23642 return Py_BuildValue((char *)"");
23644 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
23645 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
23650 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
23655 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
23657 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
23664 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23665 PyObject
*resultobj
;
23666 wxWindow
*arg1
= (wxWindow
*) 0 ;
23667 int arg2
= (int) (int)-1 ;
23668 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
23669 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23670 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23671 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23672 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23673 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23674 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23675 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23676 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23677 int arg8
= (int) 0 ;
23678 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
23679 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23680 wxGenericDirCtrl
*result
;
23681 bool temp3
= False
;
23684 bool temp7
= False
;
23685 bool temp9
= False
;
23686 PyObject
* obj0
= 0 ;
23687 PyObject
* obj2
= 0 ;
23688 PyObject
* obj3
= 0 ;
23689 PyObject
* obj4
= 0 ;
23690 PyObject
* obj6
= 0 ;
23691 PyObject
* obj8
= 0 ;
23692 char *kwnames
[] = {
23693 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&obj8
)) goto fail
;
23697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23700 arg3
= wxString_in_helper(obj2
);
23701 if (arg3
== NULL
) SWIG_fail
;
23708 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23714 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23719 arg7
= wxString_in_helper(obj6
);
23720 if (arg7
== NULL
) SWIG_fail
;
23726 arg9
= wxString_in_helper(obj8
);
23727 if (arg9
== NULL
) SWIG_fail
;
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23769 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23770 PyObject
*resultobj
;
23771 wxGenericDirCtrl
*result
;
23772 char *kwnames
[] = {
23776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
23778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23779 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23791 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23792 PyObject
*resultobj
;
23793 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23794 wxWindow
*arg2
= (wxWindow
*) 0 ;
23795 int arg3
= (int) (int)-1 ;
23796 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
23797 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23798 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23799 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23800 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23801 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23802 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23803 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23804 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23805 int arg9
= (int) 0 ;
23806 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
23807 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
23809 bool temp4
= False
;
23812 bool temp8
= False
;
23813 bool temp10
= False
;
23814 PyObject
* obj0
= 0 ;
23815 PyObject
* obj1
= 0 ;
23816 PyObject
* obj3
= 0 ;
23817 PyObject
* obj4
= 0 ;
23818 PyObject
* obj5
= 0 ;
23819 PyObject
* obj7
= 0 ;
23820 PyObject
* obj9
= 0 ;
23821 char *kwnames
[] = {
23822 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&arg9
,&obj9
)) goto fail
;
23826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23827 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23830 arg4
= wxString_in_helper(obj3
);
23831 if (arg4
== NULL
) SWIG_fail
;
23838 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23844 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23849 arg8
= wxString_in_helper(obj7
);
23850 if (arg8
== NULL
) SWIG_fail
;
23856 arg10
= wxString_in_helper(obj9
);
23857 if (arg10
== NULL
) SWIG_fail
;
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 resultobj
= PyInt_FromLong((long)result
);
23899 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23900 PyObject
*resultobj
;
23901 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23902 wxString
*arg2
= 0 ;
23904 bool temp2
= False
;
23905 PyObject
* obj0
= 0 ;
23906 PyObject
* obj1
= 0 ;
23907 char *kwnames
[] = {
23908 (char *) "self",(char *) "path", NULL
23911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23914 arg2
= wxString_in_helper(obj1
);
23915 if (arg2
== NULL
) SWIG_fail
;
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23925 resultobj
= PyInt_FromLong((long)result
);
23940 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23941 PyObject
*resultobj
;
23942 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23944 PyObject
* obj0
= 0 ;
23945 char *kwnames
[] = {
23946 (char *) "self", NULL
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
23950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23971 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23972 PyObject
*resultobj
;
23973 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23974 wxString
*arg2
= 0 ;
23975 bool temp2
= False
;
23976 PyObject
* obj0
= 0 ;
23977 PyObject
* obj1
= 0 ;
23978 char *kwnames
[] = {
23979 (char *) "self",(char *) "path", NULL
23982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23985 arg2
= wxString_in_helper(obj1
);
23986 if (arg2
== NULL
) SWIG_fail
;
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23996 Py_INCREF(Py_None
); resultobj
= Py_None
;
24011 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
;
24013 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24015 PyObject
* obj0
= 0 ;
24016 char *kwnames
[] = {
24017 (char *) "self", NULL
24020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
24021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24042 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24043 PyObject
*resultobj
;
24044 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24046 PyObject
* obj0
= 0 ;
24047 char *kwnames
[] = {
24048 (char *) "self", NULL
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
24052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24055 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24062 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24064 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24073 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24074 PyObject
*resultobj
;
24075 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24076 wxString
*arg2
= 0 ;
24077 bool temp2
= False
;
24078 PyObject
* obj0
= 0 ;
24079 PyObject
* obj1
= 0 ;
24080 char *kwnames
[] = {
24081 (char *) "self",(char *) "path", NULL
24084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
24085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24087 arg2
= wxString_in_helper(obj1
);
24088 if (arg2
== NULL
) SWIG_fail
;
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 (arg1
)->SetPath((wxString
const &)*arg2
);
24095 wxPyEndAllowThreads(__tstate
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24098 Py_INCREF(Py_None
); resultobj
= Py_None
;
24113 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
;
24115 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24117 PyObject
* obj0
= 0 ;
24118 PyObject
* obj1
= 0 ;
24119 char *kwnames
[] = {
24120 (char *) "self",(char *) "show", NULL
24123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
24124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24125 arg2
= PyInt_AsLong(obj1
) ? true : false;
24126 if (PyErr_Occurred()) SWIG_fail
;
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 (arg1
)->ShowHidden(arg2
);
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24134 Py_INCREF(Py_None
); resultobj
= Py_None
;
24141 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
;
24143 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24145 PyObject
* obj0
= 0 ;
24146 char *kwnames
[] = {
24147 (char *) "self", NULL
24150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
24151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24154 result
= (bool)(arg1
)->GetShowHidden();
24156 wxPyEndAllowThreads(__tstate
);
24157 if (PyErr_Occurred()) SWIG_fail
;
24159 resultobj
= PyInt_FromLong((long)result
);
24166 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
;
24168 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24170 PyObject
* obj0
= 0 ;
24171 char *kwnames
[] = {
24172 (char *) "self", NULL
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
24176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24179 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
24181 wxPyEndAllowThreads(__tstate
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24197 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24198 PyObject
*resultobj
;
24199 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24200 wxString
*arg2
= 0 ;
24201 bool temp2
= False
;
24202 PyObject
* obj0
= 0 ;
24203 PyObject
* obj1
= 0 ;
24204 char *kwnames
[] = {
24205 (char *) "self",(char *) "filter", NULL
24208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
24209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24211 arg2
= wxString_in_helper(obj1
);
24212 if (arg2
== NULL
) SWIG_fail
;
24216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 (arg1
)->SetFilter((wxString
const &)*arg2
);
24219 wxPyEndAllowThreads(__tstate
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24222 Py_INCREF(Py_None
); resultobj
= Py_None
;
24237 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24238 PyObject
*resultobj
;
24239 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24241 PyObject
* obj0
= 0 ;
24242 char *kwnames
[] = {
24243 (char *) "self", NULL
24246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
24247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24255 resultobj
= PyInt_FromLong((long)result
);
24262 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24263 PyObject
*resultobj
;
24264 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24266 PyObject
* obj0
= 0 ;
24267 char *kwnames
[] = {
24268 (char *) "self",(char *) "n", NULL
24271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
24272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 (arg1
)->SetFilterIndex(arg2
);
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24280 Py_INCREF(Py_None
); resultobj
= Py_None
;
24287 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24288 PyObject
*resultobj
;
24289 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24290 wxTreeItemId result
;
24291 PyObject
* obj0
= 0 ;
24292 char *kwnames
[] = {
24293 (char *) "self", NULL
24296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
24297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 result
= (arg1
)->GetRootId();
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24306 wxTreeItemId
* resultptr
;
24307 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24308 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24316 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24317 PyObject
*resultobj
;
24318 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24319 wxPyTreeCtrl
*result
;
24320 PyObject
* obj0
= 0 ;
24321 char *kwnames
[] = {
24322 (char *) "self", NULL
24325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
24326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= wxPyMake_wxObject(result
);
24343 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
;
24345 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24346 wxDirFilterListCtrl
*result
;
24347 PyObject
* obj0
= 0 ;
24348 char *kwnames
[] = {
24349 (char *) "self", NULL
24352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
24353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
24358 wxPyEndAllowThreads(__tstate
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24361 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
24368 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24369 PyObject
*resultobj
;
24370 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24371 wxTreeItemId arg2
;
24372 wxString
*arg3
= 0 ;
24374 wxTreeItemId result
;
24375 wxTreeItemId
*argp2
;
24376 bool temp3
= False
;
24378 PyObject
* obj0
= 0 ;
24379 PyObject
* obj1
= 0 ;
24380 PyObject
* obj2
= 0 ;
24381 char *kwnames
[] = {
24382 (char *) "self",(char *) "parentId",(char *) "path", NULL
24386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24388 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
24391 arg3
= wxString_in_helper(obj2
);
24392 if (arg3
== NULL
) SWIG_fail
;
24396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24397 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
24399 wxPyEndAllowThreads(__tstate
);
24400 if (PyErr_Occurred()) SWIG_fail
;
24403 wxTreeItemId
* resultptr
;
24404 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24405 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24408 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24409 resultobj
= t_output_helper(resultobj
,o
);
24425 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24426 PyObject
*resultobj
;
24427 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24428 PyObject
* obj0
= 0 ;
24429 char *kwnames
[] = {
24430 (char *) "self", NULL
24433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
24434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24437 (arg1
)->DoResize();
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24442 Py_INCREF(Py_None
); resultobj
= Py_None
;
24449 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24450 PyObject
*resultobj
;
24451 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24452 PyObject
* obj0
= 0 ;
24453 char *kwnames
[] = {
24454 (char *) "self", NULL
24457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
24458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 (arg1
)->ReCreateTree();
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24466 Py_INCREF(Py_None
); resultobj
= Py_None
;
24473 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24476 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
24478 return Py_BuildValue((char *)"");
24480 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
;
24482 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24483 int arg2
= (int) (int)-1 ;
24484 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24485 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24486 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24487 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24488 long arg5
= (long) 0 ;
24489 wxDirFilterListCtrl
*result
;
24492 PyObject
* obj0
= 0 ;
24493 PyObject
* obj2
= 0 ;
24494 PyObject
* obj3
= 0 ;
24495 char *kwnames
[] = {
24496 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24504 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24510 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24520 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24527 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
;
24529 wxDirFilterListCtrl
*result
;
24530 char *kwnames
[] = {
24534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24542 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24549 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
;
24551 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24552 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
24553 int arg3
= (int) (int)-1 ;
24554 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24555 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24556 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24557 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24558 long arg6
= (long) 0 ;
24562 PyObject
* obj0
= 0 ;
24563 PyObject
* obj1
= 0 ;
24564 PyObject
* obj3
= 0 ;
24565 PyObject
* obj4
= 0 ;
24566 char *kwnames
[] = {
24567 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
24571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24572 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24576 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24582 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24587 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
24589 wxPyEndAllowThreads(__tstate
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24592 resultobj
= PyInt_FromLong((long)result
);
24599 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
;
24601 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24602 wxString
*arg2
= 0 ;
24604 bool temp2
= False
;
24605 PyObject
* obj0
= 0 ;
24606 PyObject
* obj1
= 0 ;
24607 char *kwnames
[] = {
24608 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
24612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24614 arg2
= wxString_in_helper(obj1
);
24615 if (arg2
== NULL
) SWIG_fail
;
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24625 Py_INCREF(Py_None
); resultobj
= Py_None
;
24640 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24643 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
24645 return Py_BuildValue((char *)"");
24647 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxWindow
*arg1
= (wxWindow
*) 0 ;
24651 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24652 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24653 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24654 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24655 long arg5
= (long) 0 ;
24656 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24657 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24658 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
24659 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24660 wxPyControl
*result
;
24663 bool temp7
= False
;
24664 PyObject
* obj0
= 0 ;
24665 PyObject
* obj2
= 0 ;
24666 PyObject
* obj3
= 0 ;
24667 PyObject
* obj5
= 0 ;
24668 PyObject
* obj6
= 0 ;
24669 char *kwnames
[] = {
24670 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_PyControl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
24674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24678 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24684 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24688 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24689 if (arg6
== NULL
) {
24690 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24695 arg7
= wxString_in_helper(obj6
);
24696 if (arg7
== NULL
) SWIG_fail
;
24701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24702 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24707 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
24722 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
;
24724 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24725 PyObject
*arg2
= (PyObject
*) 0 ;
24726 PyObject
*arg3
= (PyObject
*) 0 ;
24727 PyObject
* obj0
= 0 ;
24728 PyObject
* obj1
= 0 ;
24729 PyObject
* obj2
= 0 ;
24730 char *kwnames
[] = {
24731 (char *) "self",(char *) "self",(char *) "_class", NULL
24734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24742 wxPyEndAllowThreads(__tstate
);
24743 if (PyErr_Occurred()) SWIG_fail
;
24745 Py_INCREF(Py_None
); resultobj
= Py_None
;
24752 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24753 PyObject
*resultobj
;
24754 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24759 PyObject
* obj0
= 0 ;
24760 char *kwnames
[] = {
24761 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24768 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24770 wxPyEndAllowThreads(__tstate
);
24771 if (PyErr_Occurred()) SWIG_fail
;
24773 Py_INCREF(Py_None
); resultobj
= Py_None
;
24780 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24781 PyObject
*resultobj
;
24782 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24787 int arg6
= (int) wxSIZE_AUTO
;
24788 PyObject
* obj0
= 0 ;
24789 char *kwnames
[] = {
24790 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24802 Py_INCREF(Py_None
); resultobj
= Py_None
;
24809 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24810 PyObject
*resultobj
;
24811 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24814 PyObject
* obj0
= 0 ;
24815 char *kwnames
[] = {
24816 (char *) "self",(char *) "width",(char *) "height", NULL
24819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24823 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
24825 wxPyEndAllowThreads(__tstate
);
24826 if (PyErr_Occurred()) SWIG_fail
;
24828 Py_INCREF(Py_None
); resultobj
= Py_None
;
24835 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24836 PyObject
*resultobj
;
24837 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24840 PyObject
* obj0
= 0 ;
24841 char *kwnames
[] = {
24842 (char *) "self",(char *) "x",(char *) "y", NULL
24845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24849 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24854 Py_INCREF(Py_None
); resultobj
= Py_None
;
24861 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24864 int *arg2
= (int *) 0 ;
24865 int *arg3
= (int *) 0 ;
24868 PyObject
* obj0
= 0 ;
24869 char *kwnames
[] = {
24870 (char *) "self", NULL
24875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
24876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 Py_INCREF(Py_None
); resultobj
= Py_None
;
24886 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24887 resultobj
= t_output_helper(resultobj
,o
);
24890 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24891 resultobj
= t_output_helper(resultobj
,o
);
24899 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
;
24901 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24902 int *arg2
= (int *) 0 ;
24903 int *arg3
= (int *) 0 ;
24906 PyObject
* obj0
= 0 ;
24907 char *kwnames
[] = {
24908 (char *) "self", NULL
24913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
24914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24922 Py_INCREF(Py_None
); resultobj
= Py_None
;
24924 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24925 resultobj
= t_output_helper(resultobj
,o
);
24928 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24929 resultobj
= t_output_helper(resultobj
,o
);
24937 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24938 PyObject
*resultobj
;
24939 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24940 int *arg2
= (int *) 0 ;
24941 int *arg3
= (int *) 0 ;
24944 PyObject
* obj0
= 0 ;
24945 char *kwnames
[] = {
24946 (char *) "self", NULL
24951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
24952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24960 Py_INCREF(Py_None
); resultobj
= Py_None
;
24962 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24963 resultobj
= t_output_helper(resultobj
,o
);
24966 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24967 resultobj
= t_output_helper(resultobj
,o
);
24975 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24976 PyObject
*resultobj
;
24977 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24979 PyObject
* obj0
= 0 ;
24980 char *kwnames
[] = {
24981 (char *) "self", NULL
24984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
24985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24988 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
24990 wxPyEndAllowThreads(__tstate
);
24991 if (PyErr_Occurred()) SWIG_fail
;
24994 wxSize
* resultptr
;
24995 resultptr
= new wxSize((wxSize
&) result
);
24996 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25004 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25005 PyObject
*resultobj
;
25006 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25008 PyObject
* obj0
= 0 ;
25009 char *kwnames
[] = {
25010 (char *) "self", NULL
25013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
25014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25023 wxSize
* resultptr
;
25024 resultptr
= new wxSize((wxSize
&) result
);
25025 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25033 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25034 PyObject
*resultobj
;
25035 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25036 PyObject
* obj0
= 0 ;
25037 char *kwnames
[] = {
25038 (char *) "self", NULL
25041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
25042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25045 (arg1
)->base_InitDialog();
25047 wxPyEndAllowThreads(__tstate
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25050 Py_INCREF(Py_None
); resultobj
= Py_None
;
25057 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
;
25059 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25061 PyObject
* obj0
= 0 ;
25062 char *kwnames
[] = {
25063 (char *) "self", NULL
25066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 result
= (bool)(arg1
)->base_TransferDataToWindow();
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25075 resultobj
= PyInt_FromLong((long)result
);
25082 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25083 PyObject
*resultobj
;
25084 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25086 PyObject
* obj0
= 0 ;
25087 char *kwnames
[] = {
25088 (char *) "self", NULL
25091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25095 result
= (bool)(arg1
)->base_TransferDataFromWindow();
25097 wxPyEndAllowThreads(__tstate
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25100 resultobj
= PyInt_FromLong((long)result
);
25107 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25108 PyObject
*resultobj
;
25109 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25111 PyObject
* obj0
= 0 ;
25112 char *kwnames
[] = {
25113 (char *) "self", NULL
25116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
25117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 result
= (bool)(arg1
)->base_Validate();
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25125 resultobj
= PyInt_FromLong((long)result
);
25132 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25133 PyObject
*resultobj
;
25134 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25136 PyObject
* obj0
= 0 ;
25137 char *kwnames
[] = {
25138 (char *) "self", NULL
25141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
25142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25145 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 resultobj
= PyInt_FromLong((long)result
);
25157 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25158 PyObject
*resultobj
;
25159 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25161 PyObject
* obj0
= 0 ;
25162 char *kwnames
[] = {
25163 (char *) "self", NULL
25166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
25167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25170 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
25172 wxPyEndAllowThreads(__tstate
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25175 resultobj
= PyInt_FromLong((long)result
);
25182 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25183 PyObject
*resultobj
;
25184 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25186 PyObject
* obj0
= 0 ;
25187 char *kwnames
[] = {
25188 (char *) "self", NULL
25191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
25192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25195 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
25197 wxPyEndAllowThreads(__tstate
);
25198 if (PyErr_Occurred()) SWIG_fail
;
25201 wxSize
* resultptr
;
25202 resultptr
= new wxSize((wxSize
&) result
);
25203 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25211 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25212 PyObject
*resultobj
;
25213 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25214 wxWindow
*arg2
= (wxWindow
*) 0 ;
25215 PyObject
* obj0
= 0 ;
25216 PyObject
* obj1
= 0 ;
25217 char *kwnames
[] = {
25218 (char *) "self",(char *) "child", NULL
25221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25223 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 (arg1
)->base_AddChild(arg2
);
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25231 Py_INCREF(Py_None
); resultobj
= Py_None
;
25238 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
;
25240 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25241 wxWindow
*arg2
= (wxWindow
*) 0 ;
25242 PyObject
* obj0
= 0 ;
25243 PyObject
* obj1
= 0 ;
25244 char *kwnames
[] = {
25245 (char *) "self",(char *) "child", NULL
25248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25250 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25253 (arg1
)->base_RemoveChild(arg2
);
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25258 Py_INCREF(Py_None
); resultobj
= Py_None
;
25265 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
25267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25268 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
25270 return Py_BuildValue((char *)"");
25272 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
;
25274 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
25275 int arg2
= (int) 0 ;
25276 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25277 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25278 wxHelpEvent
*result
;
25280 PyObject
* obj2
= 0 ;
25281 char *kwnames
[] = {
25282 (char *) "type",(char *) "winid",(char *) "pt", NULL
25285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_HelpEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
25289 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
25296 wxPyEndAllowThreads(__tstate
);
25297 if (PyErr_Occurred()) SWIG_fail
;
25299 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
25306 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25307 PyObject
*resultobj
;
25308 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25310 PyObject
* obj0
= 0 ;
25311 char *kwnames
[] = {
25312 (char *) "self", NULL
25315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
25316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25320 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
25321 result
= (wxPoint
*) &_result_ref
;
25324 wxPyEndAllowThreads(__tstate
);
25325 if (PyErr_Occurred()) SWIG_fail
;
25327 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
25334 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25335 PyObject
*resultobj
;
25336 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25337 wxPoint
*arg2
= 0 ;
25339 PyObject
* obj0
= 0 ;
25340 PyObject
* obj1
= 0 ;
25341 char *kwnames
[] = {
25342 (char *) "self",(char *) "pos", NULL
25345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25349 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 Py_INCREF(Py_None
); resultobj
= Py_None
;
25365 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25366 PyObject
*resultobj
;
25367 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25369 PyObject
* obj0
= 0 ;
25370 char *kwnames
[] = {
25371 (char *) "self", NULL
25374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
25375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25379 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
25380 result
= (wxString
*) &_result_ref
;
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25388 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25390 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25399 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
;
25401 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25402 wxString
*arg2
= 0 ;
25403 bool temp2
= False
;
25404 PyObject
* obj0
= 0 ;
25405 PyObject
* obj1
= 0 ;
25406 char *kwnames
[] = {
25407 (char *) "self",(char *) "link", NULL
25410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
25411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25413 arg2
= wxString_in_helper(obj1
);
25414 if (arg2
== NULL
) SWIG_fail
;
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 (arg1
)->SetLink((wxString
const &)*arg2
);
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25424 Py_INCREF(Py_None
); resultobj
= Py_None
;
25439 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25440 PyObject
*resultobj
;
25441 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25443 PyObject
* obj0
= 0 ;
25444 char *kwnames
[] = {
25445 (char *) "self", NULL
25448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
25449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
25454 result
= (wxString
*) &_result_ref
;
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25462 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25464 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25473 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25474 PyObject
*resultobj
;
25475 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25476 wxString
*arg2
= 0 ;
25477 bool temp2
= False
;
25478 PyObject
* obj0
= 0 ;
25479 PyObject
* obj1
= 0 ;
25480 char *kwnames
[] = {
25481 (char *) "self",(char *) "target", NULL
25484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
25485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25487 arg2
= wxString_in_helper(obj1
);
25488 if (arg2
== NULL
) SWIG_fail
;
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 (arg1
)->SetTarget((wxString
const &)*arg2
);
25495 wxPyEndAllowThreads(__tstate
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25498 Py_INCREF(Py_None
); resultobj
= Py_None
;
25513 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
25515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25516 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
25518 return Py_BuildValue((char *)"");
25520 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
;
25522 wxWindow
*arg1
= (wxWindow
*) NULL
;
25523 bool arg2
= (bool) True
;
25524 wxContextHelp
*result
;
25525 PyObject
* obj0
= 0 ;
25526 PyObject
* obj1
= 0 ;
25527 char *kwnames
[] = {
25528 (char *) "window",(char *) "doNow", NULL
25531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25536 arg2
= PyInt_AsLong(obj1
) ? true : false;
25537 if (PyErr_Occurred()) SWIG_fail
;
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25546 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
25553 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25554 PyObject
*resultobj
;
25555 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25556 PyObject
* obj0
= 0 ;
25557 char *kwnames
[] = {
25558 (char *) "self", NULL
25561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
25562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25567 wxPyEndAllowThreads(__tstate
);
25568 if (PyErr_Occurred()) SWIG_fail
;
25570 Py_INCREF(Py_None
); resultobj
= Py_None
;
25577 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25578 PyObject
*resultobj
;
25579 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25580 wxWindow
*arg2
= (wxWindow
*) NULL
;
25582 PyObject
* obj0
= 0 ;
25583 PyObject
* obj1
= 0 ;
25584 char *kwnames
[] = {
25585 (char *) "self",(char *) "window", NULL
25588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25595 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
25597 wxPyEndAllowThreads(__tstate
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25600 resultobj
= PyInt_FromLong((long)result
);
25607 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25608 PyObject
*resultobj
;
25609 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25611 PyObject
* obj0
= 0 ;
25612 char *kwnames
[] = {
25613 (char *) "self", NULL
25616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
25617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 result
= (bool)(arg1
)->EndContextHelp();
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25625 resultobj
= PyInt_FromLong((long)result
);
25632 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
25634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25635 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
25637 return Py_BuildValue((char *)"");
25639 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25640 PyObject
*resultobj
;
25641 wxWindow
*arg1
= (wxWindow
*) 0 ;
25642 int arg2
= (int) wxID_CONTEXT_HELP
;
25643 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25644 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25645 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25646 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25647 long arg5
= (long) wxBU_AUTODRAW
;
25648 wxContextHelpButton
*result
;
25651 PyObject
* obj0
= 0 ;
25652 PyObject
* obj2
= 0 ;
25653 PyObject
* obj3
= 0 ;
25654 char *kwnames
[] = {
25655 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_ContextHelpButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25663 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25669 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25674 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
25676 wxPyEndAllowThreads(__tstate
);
25677 if (PyErr_Occurred()) SWIG_fail
;
25679 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
25686 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
25688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25689 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
25691 return Py_BuildValue((char *)"");
25693 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
;
25695 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25696 wxHelpProvider
*result
;
25697 PyObject
* obj0
= 0 ;
25698 char *kwnames
[] = {
25699 (char *) "helpProvider", NULL
25702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
25703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25706 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
25708 wxPyEndAllowThreads(__tstate
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25711 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25718 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25719 PyObject
*resultobj
;
25720 wxHelpProvider
*result
;
25721 char *kwnames
[] = {
25725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
25727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25728 result
= (wxHelpProvider
*)wxHelpProvider::Get();
25730 wxPyEndAllowThreads(__tstate
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25733 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25740 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25741 PyObject
*resultobj
;
25742 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25743 wxWindow
*arg2
= (wxWindow
*) 0 ;
25745 PyObject
* obj0
= 0 ;
25746 PyObject
* obj1
= 0 ;
25747 char *kwnames
[] = {
25748 (char *) "self",(char *) "window", NULL
25751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25753 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25756 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
25758 wxPyEndAllowThreads(__tstate
);
25759 if (PyErr_Occurred()) SWIG_fail
;
25763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25774 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25775 PyObject
*resultobj
;
25776 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25777 wxWindow
*arg2
= (wxWindow
*) 0 ;
25779 PyObject
* obj0
= 0 ;
25780 PyObject
* obj1
= 0 ;
25781 char *kwnames
[] = {
25782 (char *) "self",(char *) "window", NULL
25785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25787 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25790 result
= (bool)(arg1
)->ShowHelp(arg2
);
25792 wxPyEndAllowThreads(__tstate
);
25793 if (PyErr_Occurred()) SWIG_fail
;
25795 resultobj
= PyInt_FromLong((long)result
);
25802 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25803 PyObject
*resultobj
;
25804 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25805 wxWindow
*arg2
= (wxWindow
*) 0 ;
25806 wxString
*arg3
= 0 ;
25807 bool temp3
= False
;
25808 PyObject
* obj0
= 0 ;
25809 PyObject
* obj1
= 0 ;
25810 PyObject
* obj2
= 0 ;
25811 char *kwnames
[] = {
25812 (char *) "self",(char *) "window",(char *) "text", NULL
25815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25817 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25819 arg3
= wxString_in_helper(obj2
);
25820 if (arg3
== NULL
) SWIG_fail
;
25824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25825 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25827 wxPyEndAllowThreads(__tstate
);
25828 if (PyErr_Occurred()) SWIG_fail
;
25830 Py_INCREF(Py_None
); resultobj
= Py_None
;
25845 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25846 PyObject
*resultobj
;
25847 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25849 wxString
*arg3
= 0 ;
25850 bool temp3
= False
;
25851 PyObject
* obj0
= 0 ;
25852 PyObject
* obj2
= 0 ;
25853 char *kwnames
[] = {
25854 (char *) "self",(char *) "id",(char *) "text", NULL
25857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:HelpProvider_AddHelpById",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25860 arg3
= wxString_in_helper(obj2
);
25861 if (arg3
== NULL
) SWIG_fail
;
25865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25866 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25868 wxPyEndAllowThreads(__tstate
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25871 Py_INCREF(Py_None
); resultobj
= Py_None
;
25886 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25887 PyObject
*resultobj
;
25888 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25889 PyObject
* obj0
= 0 ;
25890 char *kwnames
[] = {
25891 (char *) "self", NULL
25894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
25895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25898 wxHelpProvider_Destroy(arg1
);
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25903 Py_INCREF(Py_None
); resultobj
= Py_None
;
25910 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25913 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
25915 return Py_BuildValue((char *)"");
25917 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25918 PyObject
*resultobj
;
25919 wxSimpleHelpProvider
*result
;
25920 char *kwnames
[] = {
25924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
25926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25927 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
25929 wxPyEndAllowThreads(__tstate
);
25930 if (PyErr_Occurred()) SWIG_fail
;
25932 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
25939 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25942 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
25944 return Py_BuildValue((char *)"");
25946 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25947 PyObject
*resultobj
;
25948 wxBitmap
*arg1
= 0 ;
25949 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25950 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25951 wxGenericDragImage
*result
;
25952 PyObject
* obj0
= 0 ;
25953 PyObject
* obj1
= 0 ;
25954 char *kwnames
[] = {
25955 (char *) "image",(char *) "cursor", NULL
25958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
25959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25960 if (arg1
== NULL
) {
25961 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25964 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25965 if (arg2
== NULL
) {
25966 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25971 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
25973 wxPyEndAllowThreads(__tstate
);
25974 if (PyErr_Occurred()) SWIG_fail
;
25976 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25983 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25984 PyObject
*resultobj
;
25986 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25987 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25988 wxGenericDragImage
*result
;
25989 PyObject
* obj0
= 0 ;
25990 PyObject
* obj1
= 0 ;
25991 char *kwnames
[] = {
25992 (char *) "image",(char *) "cursor", NULL
25995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
25996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25997 if (arg1
== NULL
) {
25998 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26001 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26002 if (arg2
== NULL
) {
26003 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26008 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26013 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26020 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26021 PyObject
*resultobj
;
26022 wxString
*arg1
= 0 ;
26023 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26024 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26025 wxGenericDragImage
*result
;
26026 bool temp1
= False
;
26027 PyObject
* obj0
= 0 ;
26028 PyObject
* obj1
= 0 ;
26029 char *kwnames
[] = {
26030 (char *) "str",(char *) "cursor", NULL
26033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
26035 arg1
= wxString_in_helper(obj0
);
26036 if (arg1
== NULL
) SWIG_fail
;
26040 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26041 if (arg2
== NULL
) {
26042 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26047 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
26049 wxPyEndAllowThreads(__tstate
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26052 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26067 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26068 PyObject
*resultobj
;
26069 wxPyTreeCtrl
*arg1
= 0 ;
26070 wxTreeItemId
*arg2
= 0 ;
26071 wxGenericDragImage
*result
;
26072 PyObject
* obj0
= 0 ;
26073 PyObject
* obj1
= 0 ;
26074 char *kwnames
[] = {
26075 (char *) "treeCtrl",(char *) "id", NULL
26078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26080 if (arg1
== NULL
) {
26081 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26083 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26084 if (arg2
== NULL
) {
26085 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26089 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
26091 wxPyEndAllowThreads(__tstate
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26094 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26101 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26102 PyObject
*resultobj
;
26103 wxPyListCtrl
*arg1
= 0 ;
26105 wxGenericDragImage
*result
;
26106 PyObject
* obj0
= 0 ;
26107 char *kwnames
[] = {
26108 (char *) "listCtrl",(char *) "id", NULL
26111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_DragListItem",kwnames
,&obj0
,&arg2
)) goto fail
;
26112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26113 if (arg1
== NULL
) {
26114 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
26120 wxPyEndAllowThreads(__tstate
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26123 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26130 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26131 PyObject
*resultobj
;
26132 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26133 PyObject
* obj0
= 0 ;
26134 char *kwnames
[] = {
26135 (char *) "self", NULL
26138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
26139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26147 Py_INCREF(Py_None
); resultobj
= Py_None
;
26154 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
;
26156 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26157 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
26158 PyObject
* obj0
= 0 ;
26159 PyObject
* obj1
= 0 ;
26160 char *kwnames
[] = {
26161 (char *) "self",(char *) "bitmap", NULL
26164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
26165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26166 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26169 (arg1
)->SetBackingBitmap(arg2
);
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 Py_INCREF(Py_None
); resultobj
= Py_None
;
26181 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
;
26183 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26184 wxPoint
*arg2
= 0 ;
26185 wxWindow
*arg3
= (wxWindow
*) 0 ;
26186 bool arg4
= (bool) False
;
26187 wxRect
*arg5
= (wxRect
*) NULL
;
26190 PyObject
* obj0
= 0 ;
26191 PyObject
* obj1
= 0 ;
26192 PyObject
* obj2
= 0 ;
26193 PyObject
* obj3
= 0 ;
26194 PyObject
* obj4
= 0 ;
26195 char *kwnames
[] = {
26196 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
26199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26203 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26205 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26207 arg4
= PyInt_AsLong(obj3
) ? true : false;
26208 if (PyErr_Occurred()) SWIG_fail
;
26211 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
26217 wxPyEndAllowThreads(__tstate
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26220 resultobj
= PyInt_FromLong((long)result
);
26227 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26228 PyObject
*resultobj
;
26229 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26230 wxPoint
*arg2
= 0 ;
26231 wxWindow
*arg3
= (wxWindow
*) 0 ;
26232 wxWindow
*arg4
= (wxWindow
*) 0 ;
26235 PyObject
* obj0
= 0 ;
26236 PyObject
* obj1
= 0 ;
26237 PyObject
* obj2
= 0 ;
26238 PyObject
* obj3
= 0 ;
26239 char *kwnames
[] = {
26240 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26247 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26249 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26250 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
26255 wxPyEndAllowThreads(__tstate
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26258 resultobj
= PyInt_FromLong((long)result
);
26265 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26266 PyObject
*resultobj
;
26267 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26269 PyObject
* obj0
= 0 ;
26270 char *kwnames
[] = {
26271 (char *) "self", NULL
26274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
26275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 result
= (bool)(arg1
)->EndDrag();
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 resultobj
= PyInt_FromLong((long)result
);
26290 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
;
26292 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26293 wxPoint
*arg2
= 0 ;
26296 PyObject
* obj0
= 0 ;
26297 PyObject
* obj1
= 0 ;
26298 char *kwnames
[] = {
26299 (char *) "self",(char *) "pt", NULL
26302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
26303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26306 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26310 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
26312 wxPyEndAllowThreads(__tstate
);
26313 if (PyErr_Occurred()) SWIG_fail
;
26315 resultobj
= PyInt_FromLong((long)result
);
26322 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26323 PyObject
*resultobj
;
26324 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26326 PyObject
* obj0
= 0 ;
26327 char *kwnames
[] = {
26328 (char *) "self", NULL
26331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
26332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26335 result
= (bool)(arg1
)->Show();
26337 wxPyEndAllowThreads(__tstate
);
26338 if (PyErr_Occurred()) SWIG_fail
;
26340 resultobj
= PyInt_FromLong((long)result
);
26347 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26348 PyObject
*resultobj
;
26349 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26351 PyObject
* obj0
= 0 ;
26352 char *kwnames
[] = {
26353 (char *) "self", NULL
26356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
26357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 result
= (bool)(arg1
)->Hide();
26362 wxPyEndAllowThreads(__tstate
);
26363 if (PyErr_Occurred()) SWIG_fail
;
26365 resultobj
= PyInt_FromLong((long)result
);
26372 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26373 PyObject
*resultobj
;
26374 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26375 wxPoint
*arg2
= 0 ;
26378 PyObject
* obj0
= 0 ;
26379 PyObject
* obj1
= 0 ;
26380 char *kwnames
[] = {
26381 (char *) "self",(char *) "pos", NULL
26384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26388 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26398 wxRect
* resultptr
;
26399 resultptr
= new wxRect((wxRect
&) result
);
26400 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
26408 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
;
26410 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26412 wxPoint
*arg3
= 0 ;
26415 PyObject
* obj0
= 0 ;
26416 PyObject
* obj1
= 0 ;
26417 PyObject
* obj2
= 0 ;
26418 char *kwnames
[] = {
26419 (char *) "self",(char *) "dc",(char *) "pos", NULL
26422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26424 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26425 if (arg2
== NULL
) {
26426 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26430 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26434 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
26436 wxPyEndAllowThreads(__tstate
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26439 resultobj
= PyInt_FromLong((long)result
);
26446 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26447 PyObject
*resultobj
;
26448 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26450 wxMemoryDC
*arg3
= 0 ;
26456 PyObject
* obj0
= 0 ;
26457 PyObject
* obj1
= 0 ;
26458 PyObject
* obj2
= 0 ;
26459 PyObject
* obj3
= 0 ;
26460 PyObject
* obj4
= 0 ;
26461 char *kwnames
[] = {
26462 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26467 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26468 if (arg2
== NULL
) {
26469 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26471 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26472 if (arg3
== NULL
) {
26473 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26477 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26481 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
26484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26485 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
26487 wxPyEndAllowThreads(__tstate
);
26488 if (PyErr_Occurred()) SWIG_fail
;
26490 resultobj
= PyInt_FromLong((long)result
);
26497 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26498 PyObject
*resultobj
;
26499 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26500 wxPoint
*arg2
= 0 ;
26501 wxPoint
*arg3
= 0 ;
26507 PyObject
* obj0
= 0 ;
26508 PyObject
* obj1
= 0 ;
26509 PyObject
* obj2
= 0 ;
26510 PyObject
* obj3
= 0 ;
26511 PyObject
* obj4
= 0 ;
26512 char *kwnames
[] = {
26513 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26520 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26524 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26526 arg4
= PyInt_AsLong(obj3
) ? true : false;
26527 if (PyErr_Occurred()) SWIG_fail
;
26528 arg5
= PyInt_AsLong(obj4
) ? true : false;
26529 if (PyErr_Occurred()) SWIG_fail
;
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
26534 wxPyEndAllowThreads(__tstate
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26537 resultobj
= PyInt_FromLong((long)result
);
26544 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
26546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26547 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
26549 return Py_BuildValue((char *)"");
26551 static PyMethodDef SwigMethods
[] = {
26552 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
26553 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
26554 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
26555 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
26556 { (char *)"Button_SetImageLabel", (PyCFunction
) _wrap_Button_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
26557 { (char *)"Button_SetImageMargins", (PyCFunction
) _wrap_Button_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
26558 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26559 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
26560 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26561 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26562 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26563 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26564 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26565 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26566 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26567 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26568 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26569 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26570 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26571 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26572 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
26573 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
26574 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
26575 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26576 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26577 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26578 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26579 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26580 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26581 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26582 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26583 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
26584 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
26585 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
26586 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
26587 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
26588 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
26589 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26590 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26591 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26592 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26593 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26594 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
26595 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26596 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26597 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26598 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26599 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26600 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26601 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26602 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26603 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26604 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26605 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26606 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26607 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26608 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
26609 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26610 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26611 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26612 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
26613 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
26614 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
26615 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
26616 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26617 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26618 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26619 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26620 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26621 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26622 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26623 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26624 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26625 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
26626 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26627 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26628 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26629 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
26630 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26631 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26632 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
26633 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26634 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26635 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
26636 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
26637 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
26638 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
26639 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
26640 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26641 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26642 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
26643 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26644 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26645 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
26646 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
26647 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
26648 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
26649 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26650 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
26651 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
26652 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
26653 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26654 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26655 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
26656 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
26657 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
26658 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26659 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
26660 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
26661 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
26662 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26663 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26664 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
26665 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
26666 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26667 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26668 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26669 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26670 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26673 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
26674 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
26675 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
26676 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
26677 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26678 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26679 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26680 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26681 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26682 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26683 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26684 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26685 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26686 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26687 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26688 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26689 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
26690 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26691 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26692 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
26693 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26694 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26695 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26696 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26697 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26698 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26699 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26700 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26701 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
26702 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
26703 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
26704 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26705 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26706 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26707 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26708 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26709 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26710 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
26711 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
26712 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
26713 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
26714 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
26715 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
26716 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
26717 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26718 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26719 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26720 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26721 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26722 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
26723 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
26724 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
26725 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
26726 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
26727 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
26728 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
26729 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
26730 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26731 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26732 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26733 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26734 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
26735 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
26736 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
26737 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26738 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26739 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26740 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
26741 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
26742 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
26743 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
26744 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
26745 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
26746 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
26747 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26748 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26749 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26750 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26751 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26752 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
26753 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26754 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
26755 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
26756 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
26757 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26758 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
26759 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26760 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
26761 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
26762 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
26763 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
26764 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26765 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26766 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26767 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26768 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
26769 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26770 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26771 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26772 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26773 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
26774 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
26775 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26776 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26777 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26778 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26779 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26780 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26781 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26782 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26783 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26784 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26785 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26786 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
26787 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26788 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26789 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26790 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26791 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26792 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
26793 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26794 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26795 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26796 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26797 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
26798 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26799 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26800 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26801 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26802 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26803 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26804 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26805 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26806 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
26807 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26808 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26809 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
26810 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
26811 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26812 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26813 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26814 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
26815 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26816 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26817 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26818 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26819 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26820 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
26821 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
26822 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
26823 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
26824 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26825 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26826 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26827 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26828 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26829 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26830 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26831 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26832 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26833 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26834 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26835 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26836 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26837 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26838 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26839 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
26840 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
26841 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
26842 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
26843 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
26844 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26845 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
26846 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26847 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26848 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26849 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26850 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26851 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26852 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
26853 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
26854 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
26855 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26856 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26857 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26858 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26859 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26860 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26861 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26862 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26863 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26864 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26865 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
26866 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
26867 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
26868 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
26869 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
26870 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26871 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
26872 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
26873 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26874 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26875 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26876 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26877 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26878 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
26879 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
26880 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26881 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26882 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26883 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
26884 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
26885 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26886 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26887 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
26888 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
26889 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26890 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
26891 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
26892 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
26893 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26894 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26895 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
26896 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26897 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
26898 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
26899 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26900 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26901 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26902 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
26903 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
26904 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26905 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26906 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26907 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
26908 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26909 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26910 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26911 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
26912 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
26913 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26914 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26915 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
26916 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26917 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
26918 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
26919 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26920 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26921 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26922 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26924 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
26926 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
26927 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26929 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26930 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26932 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
26938 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
26941 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
26943 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
26945 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26946 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26947 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
26949 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
26951 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
26952 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
26954 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26955 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26956 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26957 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26961 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26962 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26963 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26964 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
26965 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26968 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
26969 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26970 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26971 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26972 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
26973 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
26974 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
26975 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
26976 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26977 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26978 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
26979 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
26981 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
26983 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26984 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26986 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26987 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
26988 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26990 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26992 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26993 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26995 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26996 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26997 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26999 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
27000 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
27001 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
27002 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27003 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27004 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
27005 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27006 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27007 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
27009 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
27010 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
27011 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27012 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
27013 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
27014 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
27017 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27019 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27020 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27024 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
27025 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27027 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27029 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27030 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27031 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
27032 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
27033 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
27034 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
27035 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
27036 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
27037 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
27039 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
27040 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
27041 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
27042 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
27043 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
27044 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
27045 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
27046 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
27047 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
27050 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
27051 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
27052 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
27053 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
27054 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
27055 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
27056 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
27059 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
27062 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
27063 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
27065 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27068 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27069 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27070 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
27071 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
27073 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27074 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
27077 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
27078 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
27079 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27080 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27081 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27082 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27083 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27085 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27087 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
27088 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
27090 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
27092 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
27094 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
27096 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
27097 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27098 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27099 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27100 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27101 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27102 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
27103 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
27104 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
27105 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27106 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
27107 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27108 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27109 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27110 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27111 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
27112 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
27113 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
27114 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
27115 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27116 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27117 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
27118 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
27119 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
27120 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
27121 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
27122 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
27123 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
27124 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
27125 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
27126 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
27127 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27128 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27129 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27130 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
27131 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
27132 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
27133 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27134 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
27135 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27136 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
27137 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27138 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
27139 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
27140 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27141 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
27142 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27143 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27144 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27145 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27146 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
27147 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
27148 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
27149 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
27150 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
27151 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
27152 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
27153 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
27154 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
27155 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
27156 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
27157 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
27158 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
27159 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
27160 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
27161 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
27162 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
27163 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
27164 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27165 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27166 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
27167 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
27168 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
27169 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
27170 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27171 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27172 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27173 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27174 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27175 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
27176 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
27177 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27178 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
27179 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
27180 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
27181 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27182 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27183 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
27184 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
27185 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
27186 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27187 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27188 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
27189 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
27190 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
27191 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
27192 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27193 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27194 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27195 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27196 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
27197 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
27198 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
27199 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27200 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27201 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27202 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27203 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27204 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27205 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
27206 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27207 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27208 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27209 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27210 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
27211 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27212 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27213 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
27214 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27215 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27216 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27217 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
27218 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
27219 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
27220 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27221 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27222 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27223 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
27224 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
27225 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
27226 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
27227 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
27228 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
27229 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
27230 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
27231 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27232 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
27233 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
27234 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
27235 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
27236 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
27237 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
27238 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
27239 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
27240 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
27241 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
27242 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
27243 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
27244 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
27245 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
27246 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
27247 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
27248 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
27249 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
27250 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
27251 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
27252 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
27253 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
27254 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
27255 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
27256 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
27257 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27258 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
27259 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27260 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
27261 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27262 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
27263 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27264 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
27265 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
27266 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27267 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27268 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27269 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
27270 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
27271 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
27272 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
27273 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
27274 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
27275 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
27276 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
27277 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
27278 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
27279 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
27280 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
27281 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
27282 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27283 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27284 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
27285 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
27286 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
27287 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
27288 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27289 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27290 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27291 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
27292 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
27293 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
27294 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27295 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
27296 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
27297 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
27298 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
27299 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
27300 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
27301 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27302 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
27303 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
27304 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
27305 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
27306 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
27307 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
27308 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
27309 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
27310 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
27311 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
27312 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
27313 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
27314 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
27315 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27316 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27317 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
27318 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
27319 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
27320 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
27321 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
27322 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27323 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27324 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27325 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27326 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
27327 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
27328 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
27329 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
27330 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
27331 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
27332 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
27333 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
27334 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
27335 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27336 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
27337 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
27338 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
27339 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
27340 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
27341 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
27342 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
27343 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
27344 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
27345 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27346 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
27347 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
27348 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
27349 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
27350 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
27351 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
27352 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
27353 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
27354 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
27355 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
27356 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
27361 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27363 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
27364 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27366 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
27367 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27369 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
27370 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
27372 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
27373 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27375 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
27376 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27378 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
27379 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
27381 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
27382 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27384 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
27385 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
27387 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
27388 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
27390 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
27391 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
27393 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
27394 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27396 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
27397 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
27399 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
27400 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
27402 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
27403 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
27405 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
27406 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
27408 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
27409 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27411 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
27412 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
27414 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
27415 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
27417 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
27418 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
27420 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
27421 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27423 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
27424 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27426 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
27427 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
27429 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
27430 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27432 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
27433 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
27435 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
27436 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27438 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
27439 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27441 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
27442 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
27444 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
27445 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
27447 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
27448 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27450 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
27451 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27453 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
27454 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
27456 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
27457 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
27459 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
27460 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
27462 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
27463 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
27465 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
27466 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
27468 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
27469 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
27471 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
27472 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
27474 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
27475 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27477 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
27478 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27480 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27481 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27483 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27484 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27486 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27487 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27489 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27490 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27492 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27493 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27495 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27496 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27498 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27499 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27501 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27502 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27504 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27505 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27507 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27508 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27510 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27511 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27513 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27514 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27516 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27517 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27519 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
27520 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27522 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
27523 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27525 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
27526 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27528 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
27529 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
27531 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
27532 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27534 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
27535 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27537 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
27538 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
27540 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
27541 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27543 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
27544 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27546 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
27547 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27549 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
27550 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
27552 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
27553 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
27555 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
27556 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27558 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
27559 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
27561 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
27562 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
27564 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
27565 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
27567 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
27568 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
27570 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
27571 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27573 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
27574 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
27576 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
27577 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
27579 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
27580 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
27582 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
27583 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
27585 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
27586 return (void *)((wxControl
*) ((wxGauge
*) x
));
27588 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
27589 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
27591 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
27592 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
27594 static void *_p_wxButtonTo_p_wxControl(void *x
) {
27595 return (void *)((wxControl
*) ((wxButton
*) x
));
27597 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
27598 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
27600 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
27601 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27603 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
27604 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
27606 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
27607 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
27609 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
27610 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
27612 static void *_p_wxListbookTo_p_wxControl(void *x
) {
27613 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
27615 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
27616 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
27618 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
27619 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
27621 static void *_p_wxListViewTo_p_wxControl(void *x
) {
27622 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
27624 static void *_p_wxSliderTo_p_wxControl(void *x
) {
27625 return (void *)((wxControl
*) ((wxSlider
*) x
));
27627 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
27628 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
27630 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
27631 return (void *)((wxControl
*) ((wxPyControl
*) x
));
27633 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
27634 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
27636 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
27637 return (void *)((wxControl
*) ((wxStaticText
*) x
));
27639 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
27640 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
27642 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
27643 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
27645 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
27646 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27648 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
27649 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27651 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
27652 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27654 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
27655 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
27657 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
27658 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27660 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
27661 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27663 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
27664 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27666 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27667 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27669 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27670 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27672 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27673 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27675 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
27676 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27678 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27679 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27681 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
27682 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27684 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
27685 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27687 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27688 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27690 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27691 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27693 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
27694 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27696 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
27697 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27699 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
27700 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27702 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
27703 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27705 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
27706 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27708 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27709 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27711 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
27712 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27714 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
27715 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27717 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27718 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27720 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
27721 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27723 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
27724 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27726 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
27727 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27729 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
27730 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27732 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
27733 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27735 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
27736 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27738 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
27739 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27741 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
27742 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27744 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
27745 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27747 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
27748 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27750 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
27751 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27753 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
27754 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27756 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
27757 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27759 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
27760 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
27762 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
27763 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27765 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
27766 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27768 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
27769 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27771 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
27772 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27774 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
27775 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27777 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
27778 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27780 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
27781 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27783 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
27784 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
27786 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
27787 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
27789 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
27790 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
27792 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
27793 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
27795 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
27796 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27798 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
27799 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27801 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
27802 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
27804 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27805 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27807 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27808 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27810 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27811 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27813 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27814 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27816 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27817 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27819 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
27820 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27822 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
27823 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27825 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27826 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27828 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27829 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27831 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27832 return (void *)((wxObject
*) ((wxSizer
*) x
));
27834 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27835 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27837 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
27838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27840 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
27841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27843 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27846 static void *_p_wxEventTo_p_wxObject(void *x
) {
27847 return (void *)((wxObject
*) ((wxEvent
*) x
));
27849 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27850 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27852 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27853 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27855 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27856 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27858 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
27859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27861 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
27862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27864 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
27865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27867 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27868 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27870 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27871 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27873 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27874 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27876 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27877 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27879 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27880 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27882 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27883 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27885 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
27886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27888 static void *_p_wxControlTo_p_wxObject(void *x
) {
27889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27891 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
27892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27894 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
27895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27897 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
27898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27900 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
27901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27903 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
27904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27906 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27907 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27909 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
27910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27912 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27913 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27915 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27916 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27918 static void *_p_wxListViewTo_p_wxObject(void *x
) {
27919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27921 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
27922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27924 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
27925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27927 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27928 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27930 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27931 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27933 static void *_p_wxListbookTo_p_wxObject(void *x
) {
27934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27936 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27937 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27939 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
27940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27942 static void *_p_wxSliderTo_p_wxObject(void *x
) {
27943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27945 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27946 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27948 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27949 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27951 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27952 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27954 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27955 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27957 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27958 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27960 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27961 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27963 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27964 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27966 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27967 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27969 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27970 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27972 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
27973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27975 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
27976 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
27978 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27979 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27981 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27982 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27984 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27985 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27987 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27988 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27990 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27991 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27993 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27994 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27996 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27997 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27999 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28000 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28002 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28003 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28005 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28006 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28008 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28009 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28011 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28012 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28014 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28015 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28017 static void *_p_wxListEventTo_p_wxObject(void *x
) {
28018 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
28020 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
28021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
28023 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
28024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
28026 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
28027 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
28029 static void *_p_wxButtonTo_p_wxObject(void *x
) {
28030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
28032 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
28033 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
28035 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
28036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
28038 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
28039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28041 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28042 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28044 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
28045 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
28047 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
28048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
28050 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
28051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
28053 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
28054 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
28056 static void *_p_wxListItemTo_p_wxObject(void *x
) {
28057 return (void *)((wxObject
*) ((wxListItem
*) x
));
28059 static void *_p_wxImageTo_p_wxObject(void *x
) {
28060 return (void *)((wxObject
*) ((wxImage
*) x
));
28062 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
28063 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
28065 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28066 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28068 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
28069 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
28071 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
28072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
28074 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
28075 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
28077 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
28078 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
28080 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28081 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28083 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28084 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28086 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28087 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28089 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28090 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28092 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28093 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28095 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28098 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28099 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28101 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28102 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28104 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28105 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28107 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28108 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28110 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28111 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28113 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28114 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28116 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28117 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28119 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
28120 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
28122 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28123 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28125 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28126 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28128 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
28129 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
28131 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28132 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28134 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28135 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28137 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28138 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28140 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28141 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28143 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
28144 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
28146 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
28147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
28149 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28152 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28153 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28155 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
28156 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
28158 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
28159 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
28161 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28162 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
28164 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
28165 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
28167 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
28168 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
28170 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
28171 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
28173 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
28174 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
28176 static void *_p_wxControlTo_p_wxWindow(void *x
) {
28177 return (void *)((wxWindow
*) ((wxControl
*) x
));
28179 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
28180 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
28182 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
28183 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28185 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
28186 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
28188 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
28189 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
28191 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
28192 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
28194 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
28195 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
28197 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
28198 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
28200 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
28201 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
28203 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
28204 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
28206 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
28207 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
28209 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
28210 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
28212 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
28213 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
28215 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
28216 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
28218 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
28219 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
28221 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
28222 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
28224 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
28225 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
28227 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
28228 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
28230 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
28231 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
28233 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
28234 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
28236 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
28237 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
28239 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
28240 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
28242 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
28243 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
28245 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
28246 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
28248 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
28249 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
28251 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
28252 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
28254 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
28255 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
28257 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
28258 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28260 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
28261 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
28263 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
28264 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28266 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
28267 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
28269 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
28270 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
28272 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
28273 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
28275 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
28276 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28278 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
28279 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28281 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
28282 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28284 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
28285 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
28287 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
28288 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
28290 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
28291 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
28293 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
28294 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28296 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
28297 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
28299 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
28300 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
28302 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
28303 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28305 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
28306 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28308 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
28309 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
28311 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
28312 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28314 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
28315 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
28317 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
28318 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
28320 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
28321 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
28323 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
28324 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
28326 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28327 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}};
28328 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}};
28329 static swig_type_info _swigt__p_wxTreeItemIdValue
[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
28330 static swig_type_info _swigt__wxTreeItemIdValue
[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
28331 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28332 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28333 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}};
28334 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28335 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28336 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28337 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}};
28338 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28339 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
28340 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28341 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}};
28342 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28343 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28344 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
28345 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28346 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28347 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28348 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}};
28349 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28350 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28351 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28352 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28353 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28354 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28355 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28356 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28357 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28358 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}};
28359 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28360 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28361 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28362 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28363 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28364 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28365 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28366 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28367 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}};
28368 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28369 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
28370 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28371 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}};
28372 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28373 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}};
28374 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
28375 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28376 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28377 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28378 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28379 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28380 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28381 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28382 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28383 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28384 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28385 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28386 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28387 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
28388 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28389 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28390 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28391 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28392 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28393 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject
},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxListView", _p_wxListViewTo_p_wxObject
},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject
},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
},{"_p_wxButton", _p_wxButtonTo_p_wxObject
},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{0}};
28394 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28395 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28396 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}};
28397 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28398 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28399 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28400 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28401 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}};
28402 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28403 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}};
28404 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28405 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28406 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28407 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28408 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
28410 static swig_type_info
*swig_types_initial
[] = {
28411 _swigt__p_wxTextUrlEvent
,
28412 _swigt__p_wxBookCtrlEvent
,
28414 _swigt__p_wxTreeItemIdValue
,
28415 _swigt__wxTreeItemIdValue
,
28416 _swigt__p_wxCheckBox
,
28417 _swigt__p_wxPyTreeCtrl
,
28419 _swigt__p_wxGenericDirCtrl
,
28421 _swigt__p_wxPyTreeItemData
,
28422 _swigt__p_wxItemContainer
,
28423 _swigt__p_wxDirFilterListCtrl
,
28424 _swigt__p_wxPyListCtrl
,
28425 _swigt__p_wxStaticLine
,
28426 _swigt__p_wxControl
,
28427 _swigt__p_wxPyControl
,
28429 _swigt__p_wxToolBarBase
,
28431 _swigt__p_wxToggleButton
,
28432 _swigt__p_wxRadioButton
,
28433 _swigt__p_wxChoice
,
28434 _swigt__p_wxMemoryDC
,
28435 _swigt__p_wxListItemAttr
,
28439 _swigt__p_wxListView
,
28441 _swigt__p_wxTextCtrl
,
28442 _swigt__p_wxNotebook
,
28443 _swigt__p_wxNotifyEvent
,
28444 _swigt__p_wxArrayString
,
28445 _swigt__p_wxListbook
,
28446 _swigt__p_wxStaticBitmap
,
28447 _swigt__p_wxSlider
,
28448 _swigt__p_wxStaticBox
,
28449 _swigt__p_wxArrayInt
,
28450 _swigt__p_wxContextHelp
,
28452 _swigt__p_wxEvtHandler
,
28453 _swigt__p_wxListEvent
,
28454 _swigt__p_wxListBox
,
28455 _swigt__p_wxCheckListBox
,
28456 _swigt__p_wxBookCtrl
,
28457 _swigt__p_wxSpinButton
,
28458 _swigt__p_wxButton
,
28459 _swigt__p_wxBitmapButton
,
28461 _swigt__p_wxContextHelpButton
,
28462 _swigt__p_wxRadioBox
,
28463 _swigt__p_wxScrollBar
,
28464 _swigt__p_wxTreeItemId
,
28465 _swigt__p_wxComboBox
,
28466 _swigt__p_wxHelpEvent
,
28467 _swigt__p_wxListItem
,
28468 _swigt__p_wxNotebookSizer
,
28469 _swigt__p_wxGenericDragImage
,
28470 _swigt__p_wxSpinCtrl
,
28471 _swigt__p_wxImageList
,
28472 _swigt__p_wxHelpProvider
,
28473 _swigt__p_wxTextAttr
,
28474 _swigt__p_wxSimpleHelpProvider
,
28476 _swigt__p_wxListbookEvent
,
28477 _swigt__p_wxNotebookEvent
,
28478 _swigt__p_wxObject
,
28479 _swigt__p_wxCursor
,
28480 _swigt__p_wxKeyEvent
,
28481 _swigt__p_wxWindow
,
28482 _swigt__p_wxString
,
28483 _swigt__p_wxBitmap
,
28484 _swigt__p_wxTreeEvent
,
28485 _swigt__p_wxMouseEvent
,
28486 _swigt__p_wxCommandEvent
,
28487 _swigt__p_wxStaticText
,
28488 _swigt__p_wxControlWithItems
,
28489 _swigt__p_wxToolBarToolBase
,
28490 _swigt__p_wxColour
,
28491 _swigt__p_wxToolBar
,
28492 _swigt__p_wxBookCtrlSizer
,
28493 _swigt__p_wxValidator
,
28498 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28500 static swig_const_info swig_const_table
[] = {
28501 { SWIG_PY_INT
, (char *)"BU_LEFT", (long) wxBU_LEFT
, 0, 0, 0},
28502 { SWIG_PY_INT
, (char *)"BU_TOP", (long) wxBU_TOP
, 0, 0, 0},
28503 { SWIG_PY_INT
, (char *)"BU_RIGHT", (long) wxBU_RIGHT
, 0, 0, 0},
28504 { SWIG_PY_INT
, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM
, 0, 0, 0},
28505 { SWIG_PY_INT
, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT
, 0, 0, 0},
28506 { SWIG_PY_INT
, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW
, 0, 0, 0},
28507 { SWIG_PY_INT
, (char *)"CHK_2STATE", (long) wxCHK_2STATE
, 0, 0, 0},
28508 { SWIG_PY_INT
, (char *)"CHK_3STATE", (long) wxCHK_3STATE
, 0, 0, 0},
28509 { SWIG_PY_INT
, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER
, 0, 0, 0},
28510 { SWIG_PY_INT
, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED
, 0, 0, 0},
28511 { SWIG_PY_INT
, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED
, 0, 0, 0},
28512 { SWIG_PY_INT
, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED
, 0, 0, 0},
28513 { SWIG_PY_INT
, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL
, 0, 0, 0},
28514 { SWIG_PY_INT
, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL
, 0, 0, 0},
28515 { SWIG_PY_INT
, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH
, 0, 0, 0},
28516 { SWIG_PY_INT
, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR
, 0, 0, 0},
28517 { SWIG_PY_INT
, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL
, 0, 0, 0},
28518 { SWIG_PY_INT
, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL
, 0, 0, 0},
28519 { SWIG_PY_INT
, (char *)"TE_READONLY", (long) wxTE_READONLY
, 0, 0, 0},
28520 { SWIG_PY_INT
, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE
, 0, 0, 0},
28521 { SWIG_PY_INT
, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB
, 0, 0, 0},
28522 { SWIG_PY_INT
, (char *)"TE_LEFT", (long) wxTE_LEFT
, 0, 0, 0},
28523 { SWIG_PY_INT
, (char *)"TE_CENTER", (long) wxTE_CENTER
, 0, 0, 0},
28524 { SWIG_PY_INT
, (char *)"TE_RIGHT", (long) wxTE_RIGHT
, 0, 0, 0},
28525 { SWIG_PY_INT
, (char *)"TE_CENTRE", (long) wxTE_CENTRE
, 0, 0, 0},
28526 { SWIG_PY_INT
, (char *)"TE_RICH", (long) wxTE_RICH
, 0, 0, 0},
28527 { SWIG_PY_INT
, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER
, 0, 0, 0},
28528 { SWIG_PY_INT
, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD
, 0, 0, 0},
28529 { SWIG_PY_INT
, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL
, 0, 0, 0},
28530 { SWIG_PY_INT
, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL
, 0, 0, 0},
28531 { SWIG_PY_INT
, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP
, 0, 0, 0},
28532 { SWIG_PY_INT
, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP
, 0, 0, 0},
28533 { SWIG_PY_INT
, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP
, 0, 0, 0},
28534 { SWIG_PY_INT
, (char *)"TE_RICH2", (long) wxTE_RICH2
, 0, 0, 0},
28535 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT
, 0, 0, 0},
28536 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT
, 0, 0, 0},
28537 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE
, 0, 0, 0},
28538 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER
, 0, 0, 0},
28539 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT
, 0, 0, 0},
28540 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED
, 0, 0, 0},
28541 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR
, 0, 0, 0},
28542 { SWIG_PY_INT
, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR
, 0, 0, 0},
28543 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE
, 0, 0, 0},
28544 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE
, 0, 0, 0},
28545 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT
, 0, 0, 0},
28546 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC
, 0, 0, 0},
28547 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE
, 0, 0, 0},
28548 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT
, 0, 0, 0},
28549 { SWIG_PY_INT
, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT
, 0, 0, 0},
28550 { SWIG_PY_INT
, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT
, 0, 0, 0},
28551 { SWIG_PY_INT
, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT
, 0, 0, 0},
28552 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS
, 0, 0, 0},
28553 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED
, 0, 0, 0},
28554 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER
, 0, 0, 0},
28555 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL
, 0, 0, 0},
28556 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN
, 0, 0, 0},
28557 { SWIG_PY_INT
, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL
, 0, 0, 0},
28558 { SWIG_PY_INT
, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL
, 0, 0, 0},
28559 { SWIG_PY_INT
, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS
, 0, 0, 0},
28560 { SWIG_PY_INT
, (char *)"SP_WRAP", (long) wxSP_WRAP
, 0, 0, 0},
28561 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED
, 0, 0, 0},
28562 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, 0, 0, 0},
28563 { SWIG_PY_INT
, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH
, 0, 0, 0},
28564 { SWIG_PY_INT
, (char *)"NB_TOP", (long) wxNB_TOP
, 0, 0, 0},
28565 { SWIG_PY_INT
, (char *)"NB_LEFT", (long) wxNB_LEFT
, 0, 0, 0},
28566 { SWIG_PY_INT
, (char *)"NB_RIGHT", (long) wxNB_RIGHT
, 0, 0, 0},
28567 { SWIG_PY_INT
, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM
, 0, 0, 0},
28568 { SWIG_PY_INT
, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE
, 0, 0, 0},
28569 { SWIG_PY_INT
, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE
, 0, 0, 0},
28570 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON
, 0, 0, 0},
28571 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL
, 0, 0, 0},
28572 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM
, 0, 0, 0},
28573 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, 0, 0, 0},
28574 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, 0, 0, 0},
28575 { SWIG_PY_INT
, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT
, 0, 0, 0},
28576 { SWIG_PY_INT
, (char *)"LB_TOP", (long) wxLB_TOP
, 0, 0, 0},
28577 { SWIG_PY_INT
, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM
, 0, 0, 0},
28578 { SWIG_PY_INT
, (char *)"LB_LEFT", (long) wxLB_LEFT
, 0, 0, 0},
28579 { SWIG_PY_INT
, (char *)"LB_RIGHT", (long) wxLB_RIGHT
, 0, 0, 0},
28580 { SWIG_PY_INT
, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK
, 0, 0, 0},
28581 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
, 0, 0, 0},
28582 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
, 0, 0, 0},
28583 { SWIG_PY_INT
, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON
, 0, 0, 0},
28584 { SWIG_PY_INT
, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR
, 0, 0, 0},
28585 { SWIG_PY_INT
, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL
, 0, 0, 0},
28586 { SWIG_PY_INT
, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL
, 0, 0, 0},
28587 { SWIG_PY_INT
, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL
, 0, 0, 0},
28588 { SWIG_PY_INT
, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS
, 0, 0, 0},
28589 { SWIG_PY_INT
, (char *)"TB_FLAT", (long) wxTB_FLAT
, 0, 0, 0},
28590 { SWIG_PY_INT
, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE
, 0, 0, 0},
28591 { SWIG_PY_INT
, (char *)"TB_NOICONS", (long) wxTB_NOICONS
, 0, 0, 0},
28592 { SWIG_PY_INT
, (char *)"TB_TEXT", (long) wxTB_TEXT
, 0, 0, 0},
28593 { SWIG_PY_INT
, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER
, 0, 0, 0},
28594 { SWIG_PY_INT
, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN
, 0, 0, 0},
28595 { SWIG_PY_INT
, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT
, 0, 0, 0},
28596 { SWIG_PY_INT
, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT
, 0, 0, 0},
28597 { SWIG_PY_INT
, (char *)"LC_VRULES", (long) wxLC_VRULES
, 0, 0, 0},
28598 { SWIG_PY_INT
, (char *)"LC_HRULES", (long) wxLC_HRULES
, 0, 0, 0},
28599 { SWIG_PY_INT
, (char *)"LC_ICON", (long) wxLC_ICON
, 0, 0, 0},
28600 { SWIG_PY_INT
, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON
, 0, 0, 0},
28601 { SWIG_PY_INT
, (char *)"LC_LIST", (long) wxLC_LIST
, 0, 0, 0},
28602 { SWIG_PY_INT
, (char *)"LC_REPORT", (long) wxLC_REPORT
, 0, 0, 0},
28603 { SWIG_PY_INT
, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP
, 0, 0, 0},
28604 { SWIG_PY_INT
, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT
, 0, 0, 0},
28605 { SWIG_PY_INT
, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE
, 0, 0, 0},
28606 { SWIG_PY_INT
, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL
, 0, 0, 0},
28607 { SWIG_PY_INT
, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS
, 0, 0, 0},
28608 { SWIG_PY_INT
, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER
, 0, 0, 0},
28609 { SWIG_PY_INT
, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER
, 0, 0, 0},
28610 { SWIG_PY_INT
, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL
, 0, 0, 0},
28611 { SWIG_PY_INT
, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING
, 0, 0, 0},
28612 { SWIG_PY_INT
, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING
, 0, 0, 0},
28613 { SWIG_PY_INT
, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE
, 0, 0, 0},
28614 { SWIG_PY_INT
, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN
, 0, 0, 0},
28615 { SWIG_PY_INT
, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT
, 0, 0, 0},
28616 { SWIG_PY_INT
, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE
, 0, 0, 0},
28617 { SWIG_PY_INT
, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT
, 0, 0, 0},
28618 { SWIG_PY_INT
, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE
, 0, 0, 0},
28619 { SWIG_PY_INT
, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA
, 0, 0, 0},
28620 { SWIG_PY_INT
, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM
, 0, 0, 0},
28621 { SWIG_PY_INT
, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH
, 0, 0, 0},
28622 { SWIG_PY_INT
, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT
, 0, 0, 0},
28623 { SWIG_PY_INT
, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE
, 0, 0, 0},
28624 { SWIG_PY_INT
, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED
, 0, 0, 0},
28625 { SWIG_PY_INT
, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED
, 0, 0, 0},
28626 { SWIG_PY_INT
, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED
, 0, 0, 0},
28627 { SWIG_PY_INT
, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT
, 0, 0, 0},
28628 { SWIG_PY_INT
, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED
, 0, 0, 0},
28629 { SWIG_PY_INT
, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED
, 0, 0, 0},
28630 { SWIG_PY_INT
, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE
, 0, 0, 0},
28631 { SWIG_PY_INT
, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED
, 0, 0, 0},
28632 { SWIG_PY_INT
, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE
, 0, 0, 0},
28633 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE
, 0, 0, 0},
28634 { SWIG_PY_INT
, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW
, 0, 0, 0},
28635 { SWIG_PY_INT
, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE
, 0, 0, 0},
28636 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON
, 0, 0, 0},
28637 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL
, 0, 0, 0},
28638 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28639 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28640 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT
, 0, 0, 0},
28641 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT
, 0, 0, 0},
28642 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM
, 0, 0, 0},
28643 { SWIG_PY_INT
, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE
, 0, 0, 0},
28644 { SWIG_PY_INT
, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL
, 0, 0, 0},
28645 { SWIG_PY_INT
, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW
, 0, 0, 0},
28646 { SWIG_PY_INT
, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT
, 0, 0, 0},
28647 { SWIG_PY_INT
, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT
, 0, 0, 0},
28648 { SWIG_PY_INT
, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT
, 0, 0, 0},
28649 { SWIG_PY_INT
, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT
, 0, 0, 0},
28650 { SWIG_PY_INT
, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP
, 0, 0, 0},
28651 { SWIG_PY_INT
, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID
, 0, 0, 0},
28652 { SWIG_PY_INT
, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT
, 0, 0, 0},
28653 { SWIG_PY_INT
, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT
, 0, 0, 0},
28654 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE
, 0, 0, 0},
28655 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER
, 0, 0, 0},
28656 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE
, 0, 0, 0},
28657 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER
, 0, 0, 0},
28658 { SWIG_PY_INT
, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS
, 0, 0, 0},
28659 { SWIG_PY_INT
, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON
, 0, 0, 0},
28660 { SWIG_PY_INT
, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL
, 0, 0, 0},
28661 { SWIG_PY_INT
, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP
, 0, 0, 0},
28662 { SWIG_PY_INT
, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN
, 0, 0, 0},
28663 { SWIG_PY_INT
, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT
, 0, 0, 0},
28664 { SWIG_PY_INT
, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT
, 0, 0, 0},
28665 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG
, 0, 0, 0},
28666 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
, 0, 0, 0},
28667 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, 0, 0, 0},
28668 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
, 0, 0, 0},
28669 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM
, 0, 0, 0},
28670 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, 0, 0, 0},
28671 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO
, 0, 0, 0},
28672 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO
, 0, 0, 0},
28673 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED
, 0, 0, 0},
28674 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
, 0, 0, 0},
28675 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN
, 0, 0, 0},
28676 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM
, 0, 0, 0},
28677 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK
, 0, 0, 0},
28678 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
, 0, 0, 0},
28679 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28680 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, 0, 0, 0},
28681 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT
, 0, 0, 0},
28682 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
, 0, 0, 0},
28683 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
, 0, 0, 0},
28684 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING
, 0, 0, 0},
28685 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG
, 0, 0, 0},
28686 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
, 0, 0, 0},
28687 { SWIG_PY_INT
, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS
, 0, 0, 0},
28688 { SWIG_PY_INT
, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS
, 0, 0, 0},
28689 { SWIG_PY_INT
, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES
, 0, 0, 0},
28690 { SWIG_PY_INT
, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT
, 0, 0, 0},
28691 { SWIG_PY_INT
, (char *)"TR_SINGLE", (long) wxTR_SINGLE
, 0, 0, 0},
28692 { SWIG_PY_INT
, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE
, 0, 0, 0},
28693 { SWIG_PY_INT
, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED
, 0, 0, 0},
28694 { SWIG_PY_INT
, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT
, 0, 0, 0},
28695 { SWIG_PY_INT
, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS
, 0, 0, 0},
28696 { SWIG_PY_INT
, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT
, 0, 0, 0},
28697 { SWIG_PY_INT
, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES
, 0, 0, 0},
28698 { SWIG_PY_INT
, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT
, 0, 0, 0},
28699 { SWIG_PY_INT
, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE
, 0, 0, 0},
28700 { SWIG_PY_INT
, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS
, 0, 0, 0},
28701 { SWIG_PY_INT
, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS
, 0, 0, 0},
28702 { SWIG_PY_INT
, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS
, 0, 0, 0},
28703 { SWIG_PY_INT
, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal
, 0, 0, 0},
28704 { SWIG_PY_INT
, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected
, 0, 0, 0},
28705 { SWIG_PY_INT
, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded
, 0, 0, 0},
28706 { SWIG_PY_INT
, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded
, 0, 0, 0},
28707 { SWIG_PY_INT
, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max
, 0, 0, 0},
28708 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE
, 0, 0, 0},
28709 { SWIG_PY_INT
, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW
, 0, 0, 0},
28710 { SWIG_PY_INT
, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE
, 0, 0, 0},
28711 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON
, 0, 0, 0},
28712 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON
, 0, 0, 0},
28713 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT
, 0, 0, 0},
28714 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL
, 0, 0, 0},
28715 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28716 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28717 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT
, 0, 0, 0},
28718 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT
, 0, 0, 0},
28719 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART
, 0, 0, 0},
28720 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART
, 0, 0, 0},
28721 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM
, 0, 0, 0},
28722 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG
, 0, 0, 0},
28723 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
, 0, 0, 0},
28724 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, 0, 0, 0},
28725 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
, 0, 0, 0},
28726 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM
, 0, 0, 0},
28727 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO
, 0, 0, 0},
28728 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO
, 0, 0, 0},
28729 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
, 0, 0, 0},
28730 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
, 0, 0, 0},
28731 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, 0, 0, 0},
28732 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, 0, 0, 0},
28733 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED
, 0, 0, 0},
28734 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING
, 0, 0, 0},
28735 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN
, 0, 0, 0},
28736 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
, 0, 0, 0},
28737 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
, 0, 0, 0},
28738 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28739 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG
, 0, 0, 0},
28740 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
, 0, 0, 0},
28741 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
, 0, 0, 0},
28742 { SWIG_PY_INT
, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY
, 0, 0, 0},
28743 { SWIG_PY_INT
, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST
, 0, 0, 0},
28744 { SWIG_PY_INT
, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS
, 0, 0, 0},
28745 { SWIG_PY_INT
, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL
, 0, 0, 0},
28746 { SWIG_PY_INT
, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS
, 0, 0, 0},
28747 { SWIG_PY_INT
, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP
, 0, 0, 0},
28748 { SWIG_PY_INT
, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP
, 0, 0, 0},
28749 { SWIG_PY_INT
, (char *)"wxEVT_HELP", (long) wxEVT_HELP
, 0, 0, 0},
28750 { SWIG_PY_INT
, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP
, 0, 0, 0},
28760 SWIGEXPORT(void) SWIG_init(void) {
28761 static PyObject
*SWIG_globals
= 0;
28762 static int typeinit
= 0;
28765 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28766 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28767 d
= PyModule_GetDict(m
);
28770 for (i
= 0; swig_types_initial
[i
]; i
++) {
28771 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28775 SWIG_InstallConstants(d
,swig_const_table
);
28777 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
28778 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
28779 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
28780 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
28781 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
28782 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
28783 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
28784 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
28785 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
28786 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
28787 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
28788 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
28789 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
28790 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
28791 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
28792 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
28793 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
28794 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
28795 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
28796 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
28797 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
28798 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
28799 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
28800 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
28801 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
28802 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
28803 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
28804 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
28805 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
28806 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
28807 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
28808 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
28809 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
28810 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
28811 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
28812 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
28813 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
28814 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
28815 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
28816 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
28817 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
28818 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
28819 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
28820 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
28821 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
28822 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
28823 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
28824 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
28825 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
28826 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
28827 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
28828 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
28830 // Map renamed classes back to their common name for OOR
28831 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28833 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
28834 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
28835 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
28836 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
28837 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
28838 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
28839 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
28840 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
28841 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
28842 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
28843 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
28844 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
28845 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
28846 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
28847 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
28848 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
28849 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
28850 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
28851 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
28852 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
28853 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
28855 // Map renamed classes back to their common name for OOR
28856 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28857 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28859 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
28860 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
28861 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
28863 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");