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 bool temp2
= False
;
16916 PyObject
* obj0
= 0 ;
16917 PyObject
* obj1
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "self",(char *) "m_text", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16925 arg2
= wxString_in_helper(obj1
);
16926 if (arg2
== NULL
) SWIG_fail
;
16929 if (arg1
) (arg1
)->m_text
= *arg2
;
16931 Py_INCREF(Py_None
); resultobj
= Py_None
;
16946 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
;
16948 wxListItem
*arg1
= (wxListItem
*) 0 ;
16950 PyObject
* obj0
= 0 ;
16951 char *kwnames
[] = {
16952 (char *) "self", NULL
16955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
16956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16957 result
= (wxString
*)& ((arg1
)->m_text
);
16961 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16963 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16972 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16973 PyObject
*resultobj
;
16974 wxListItem
*arg1
= (wxListItem
*) 0 ;
16976 PyObject
* obj0
= 0 ;
16977 char *kwnames
[] = {
16978 (char *) "self",(char *) "m_image", NULL
16981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_image_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16983 if (arg1
) (arg1
)->m_image
= arg2
;
16985 Py_INCREF(Py_None
); resultobj
= Py_None
;
16992 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
;
16994 wxListItem
*arg1
= (wxListItem
*) 0 ;
16996 PyObject
* obj0
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "self", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
17002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17003 result
= (int) ((arg1
)->m_image
);
17005 resultobj
= PyInt_FromLong((long)result
);
17012 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 wxListItem
*arg1
= (wxListItem
*) 0 ;
17016 PyObject
* obj0
= 0 ;
17017 char *kwnames
[] = {
17018 (char *) "self",(char *) "m_data", NULL
17021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_data_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17023 if (arg1
) (arg1
)->m_data
= arg2
;
17025 Py_INCREF(Py_None
); resultobj
= Py_None
;
17032 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 wxListItem
*arg1
= (wxListItem
*) 0 ;
17036 PyObject
* obj0
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "self", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
17042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17043 result
= (long) ((arg1
)->m_data
);
17045 resultobj
= PyInt_FromLong((long)result
);
17052 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
;
17054 wxListItem
*arg1
= (wxListItem
*) 0 ;
17056 PyObject
* obj0
= 0 ;
17057 char *kwnames
[] = {
17058 (char *) "self",(char *) "m_format", NULL
17061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_format_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17063 if (arg1
) (arg1
)->m_format
= arg2
;
17065 Py_INCREF(Py_None
); resultobj
= Py_None
;
17072 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17073 PyObject
*resultobj
;
17074 wxListItem
*arg1
= (wxListItem
*) 0 ;
17076 PyObject
* obj0
= 0 ;
17077 char *kwnames
[] = {
17078 (char *) "self", NULL
17081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
17082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17083 result
= (int) ((arg1
)->m_format
);
17085 resultobj
= PyInt_FromLong((long)result
);
17092 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
;
17094 wxListItem
*arg1
= (wxListItem
*) 0 ;
17096 PyObject
* obj0
= 0 ;
17097 char *kwnames
[] = {
17098 (char *) "self",(char *) "m_width", NULL
17101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17103 if (arg1
) (arg1
)->m_width
= arg2
;
17105 Py_INCREF(Py_None
); resultobj
= Py_None
;
17112 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17113 PyObject
*resultobj
;
17114 wxListItem
*arg1
= (wxListItem
*) 0 ;
17116 PyObject
* obj0
= 0 ;
17117 char *kwnames
[] = {
17118 (char *) "self", NULL
17121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
17122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17123 result
= (int) ((arg1
)->m_width
);
17125 resultobj
= PyInt_FromLong((long)result
);
17132 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
17134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17135 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
17137 return Py_BuildValue((char *)"");
17139 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17142 int arg2
= (int) 0 ;
17143 wxListEvent
*result
;
17144 char *kwnames
[] = {
17145 (char *) "commandType",(char *) "id", NULL
17148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_ListEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17156 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
17163 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
;
17165 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17167 PyObject
* obj0
= 0 ;
17168 char *kwnames
[] = {
17169 (char *) "self",(char *) "m_code", NULL
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_code_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17174 if (arg1
) (arg1
)->m_code
= arg2
;
17176 Py_INCREF(Py_None
); resultobj
= Py_None
;
17183 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
;
17185 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17187 PyObject
* obj0
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "self", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
17193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17194 result
= (int) ((arg1
)->m_code
);
17196 resultobj
= PyInt_FromLong((long)result
);
17203 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
;
17205 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17207 PyObject
* obj0
= 0 ;
17208 char *kwnames
[] = {
17209 (char *) "self",(char *) "m_oldItemIndex", NULL
17212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17214 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
17216 Py_INCREF(Py_None
); resultobj
= Py_None
;
17223 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17224 PyObject
*resultobj
;
17225 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17227 PyObject
* obj0
= 0 ;
17228 char *kwnames
[] = {
17229 (char *) "self", NULL
17232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
17233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17234 result
= (long) ((arg1
)->m_oldItemIndex
);
17236 resultobj
= PyInt_FromLong((long)result
);
17243 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17244 PyObject
*resultobj
;
17245 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17247 PyObject
* obj0
= 0 ;
17248 char *kwnames
[] = {
17249 (char *) "self",(char *) "m_itemIndex", NULL
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17254 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
17256 Py_INCREF(Py_None
); resultobj
= Py_None
;
17263 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
;
17265 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17267 PyObject
* obj0
= 0 ;
17268 char *kwnames
[] = {
17269 (char *) "self", NULL
17272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
17273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17274 result
= (long) ((arg1
)->m_itemIndex
);
17276 resultobj
= PyInt_FromLong((long)result
);
17283 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17287 PyObject
* obj0
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self",(char *) "m_col", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17294 if (arg1
) (arg1
)->m_col
= arg2
;
17296 Py_INCREF(Py_None
); resultobj
= Py_None
;
17303 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
;
17305 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17307 PyObject
* obj0
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "self", NULL
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
17313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17314 result
= (int) ((arg1
)->m_col
);
17316 resultobj
= PyInt_FromLong((long)result
);
17323 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17324 PyObject
*resultobj
;
17325 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17326 wxPoint
*arg2
= (wxPoint
*) 0 ;
17327 PyObject
* obj0
= 0 ;
17328 PyObject
* obj1
= 0 ;
17329 char *kwnames
[] = {
17330 (char *) "self",(char *) "m_pointDrag", NULL
17333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17335 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17336 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
17338 Py_INCREF(Py_None
); resultobj
= Py_None
;
17345 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17349 PyObject
* obj0
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "self", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
17355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17356 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
17358 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
17365 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17366 PyObject
*resultobj
;
17367 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17368 wxListItem
*result
;
17369 PyObject
* obj0
= 0 ;
17370 char *kwnames
[] = {
17371 (char *) "self", NULL
17374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
17375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17376 result
= (wxListItem
*)& ((arg1
)->m_item
);
17379 resultobj
= wxPyMake_wxObject(result
);
17387 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17388 PyObject
*resultobj
;
17389 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17391 PyObject
* obj0
= 0 ;
17392 char *kwnames
[] = {
17393 (char *) "self", NULL
17396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
17397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 result
= (int)(arg1
)->GetKeyCode();
17402 wxPyEndAllowThreads(__tstate
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17405 resultobj
= PyInt_FromLong((long)result
);
17412 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17416 PyObject
* obj0
= 0 ;
17417 char *kwnames
[] = {
17418 (char *) "self", NULL
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
17422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 result
= (long)(arg1
)->GetIndex();
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 resultobj
= PyInt_FromLong((long)result
);
17437 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
;
17439 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17441 PyObject
* obj0
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "self", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
17447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 result
= (int)(arg1
)->GetColumn();
17452 wxPyEndAllowThreads(__tstate
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17455 resultobj
= PyInt_FromLong((long)result
);
17462 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17463 PyObject
*resultobj
;
17464 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17466 PyObject
* obj0
= 0 ;
17467 char *kwnames
[] = {
17468 (char *) "self", NULL
17471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
17472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 result
= (arg1
)->GetPoint();
17477 wxPyEndAllowThreads(__tstate
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17481 wxPoint
* resultptr
;
17482 resultptr
= new wxPoint((wxPoint
&) result
);
17483 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17491 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
;
17493 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17495 PyObject
* obj0
= 0 ;
17496 char *kwnames
[] = {
17497 (char *) "self", NULL
17500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
17501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17505 wxString
const &_result_ref
= (arg1
)->GetLabel();
17506 result
= (wxString
*) &_result_ref
;
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17514 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17516 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17525 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17526 PyObject
*resultobj
;
17527 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17529 PyObject
* obj0
= 0 ;
17530 char *kwnames
[] = {
17531 (char *) "self", NULL
17534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
17535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17539 wxString
const &_result_ref
= (arg1
)->GetText();
17540 result
= (wxString
*) &_result_ref
;
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17548 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17550 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17559 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17563 PyObject
* obj0
= 0 ;
17564 char *kwnames
[] = {
17565 (char *) "self", NULL
17568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
17569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 result
= (int)(arg1
)->GetImage();
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 resultobj
= PyInt_FromLong((long)result
);
17584 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
;
17586 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17588 PyObject
* obj0
= 0 ;
17589 char *kwnames
[] = {
17590 (char *) "self", NULL
17593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
17594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 result
= (long)(arg1
)->GetData();
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= PyInt_FromLong((long)result
);
17609 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17610 PyObject
*resultobj
;
17611 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17613 PyObject
* obj0
= 0 ;
17614 char *kwnames
[] = {
17615 (char *) "self", NULL
17618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
17619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 result
= (long)(arg1
)->GetMask();
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17627 resultobj
= PyInt_FromLong((long)result
);
17634 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17635 PyObject
*resultobj
;
17636 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17637 wxListItem
*result
;
17638 PyObject
* obj0
= 0 ;
17639 char *kwnames
[] = {
17640 (char *) "self", NULL
17643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
17644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 wxListItem
const &_result_ref
= (arg1
)->GetItem();
17649 result
= (wxListItem
*) &_result_ref
;
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
17662 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
;
17664 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17666 PyObject
* obj0
= 0 ;
17667 char *kwnames
[] = {
17668 (char *) "self", NULL
17671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
17672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 result
= (long)(arg1
)->GetCacheFrom();
17677 wxPyEndAllowThreads(__tstate
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17680 resultobj
= PyInt_FromLong((long)result
);
17687 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17689 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17691 PyObject
* obj0
= 0 ;
17692 char *kwnames
[] = {
17693 (char *) "self", NULL
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
17697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 result
= (long)(arg1
)->GetCacheTo();
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17705 resultobj
= PyInt_FromLong((long)result
);
17712 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17713 PyObject
*resultobj
;
17714 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17716 PyObject
* obj0
= 0 ;
17717 char *kwnames
[] = {
17718 (char *) "self", NULL
17721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
17722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17730 resultobj
= PyInt_FromLong((long)result
);
17737 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
;
17739 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17741 PyObject
* obj0
= 0 ;
17742 PyObject
* obj1
= 0 ;
17743 char *kwnames
[] = {
17744 (char *) "self",(char *) "editCancelled", NULL
17747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
17748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17749 arg2
= PyInt_AsLong(obj1
) ? true : false;
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 (arg1
)->SetEditCanceled(arg2
);
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 Py_INCREF(Py_None
); resultobj
= Py_None
;
17765 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17768 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
17770 return Py_BuildValue((char *)"");
17772 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
;
17774 wxWindow
*arg1
= (wxWindow
*) 0 ;
17775 int arg2
= (int) -1 ;
17776 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17777 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17778 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17779 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17780 long arg5
= (long) wxLC_ICON
;
17781 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
17782 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
17783 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
17784 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17785 wxPyListCtrl
*result
;
17788 bool temp7
= False
;
17789 PyObject
* obj0
= 0 ;
17790 PyObject
* obj2
= 0 ;
17791 PyObject
* obj3
= 0 ;
17792 PyObject
* obj5
= 0 ;
17793 PyObject
* obj6
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
17799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17803 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17809 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17813 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17814 if (arg6
== NULL
) {
17815 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17820 arg7
= wxString_in_helper(obj6
);
17821 if (arg7
== NULL
) SWIG_fail
;
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17832 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17847 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 wxPyListCtrl
*result
;
17850 char *kwnames
[] = {
17854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 result
= (wxPyListCtrl
*)new wxPyListCtrl();
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17869 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17872 wxWindow
*arg2
= (wxWindow
*) 0 ;
17873 int arg3
= (int) -1 ;
17874 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17875 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17876 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17877 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17878 long arg6
= (long) wxLC_ICON
;
17879 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17880 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17881 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
17882 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17886 bool temp8
= False
;
17887 PyObject
* obj0
= 0 ;
17888 PyObject
* obj1
= 0 ;
17889 PyObject
* obj3
= 0 ;
17890 PyObject
* obj4
= 0 ;
17891 PyObject
* obj6
= 0 ;
17892 PyObject
* obj7
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
17898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17899 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17903 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17909 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17913 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17914 if (arg7
== NULL
) {
17915 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17920 arg8
= wxString_in_helper(obj7
);
17921 if (arg8
== NULL
) SWIG_fail
;
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17929 wxPyEndAllowThreads(__tstate
);
17930 if (PyErr_Occurred()) SWIG_fail
;
17932 resultobj
= PyInt_FromLong((long)result
);
17947 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17950 PyObject
*arg2
= (PyObject
*) 0 ;
17951 PyObject
*arg3
= (PyObject
*) 0 ;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 PyObject
* obj2
= 0 ;
17955 char *kwnames
[] = {
17956 (char *) "self",(char *) "self",(char *) "_class", NULL
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 Py_INCREF(Py_None
); resultobj
= Py_None
;
17977 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
;
17979 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17980 wxColour
*arg2
= 0 ;
17983 PyObject
* obj0
= 0 ;
17984 PyObject
* obj1
= 0 ;
17985 char *kwnames
[] = {
17986 (char *) "self",(char *) "col", NULL
17989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17993 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 resultobj
= PyInt_FromLong((long)result
);
18009 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18012 wxColour
*arg2
= 0 ;
18015 PyObject
* obj0
= 0 ;
18016 PyObject
* obj1
= 0 ;
18017 char *kwnames
[] = {
18018 (char *) "self",(char *) "col", NULL
18021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18025 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18029 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18031 wxPyEndAllowThreads(__tstate
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18034 resultobj
= PyInt_FromLong((long)result
);
18041 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18042 PyObject
*resultobj
;
18043 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18045 wxListItem
*result
;
18046 PyObject
* obj0
= 0 ;
18047 char *kwnames
[] = {
18048 (char *) "self",(char *) "col", NULL
18051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
18052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
18057 wxPyEndAllowThreads(__tstate
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18061 resultobj
= wxPyMake_wxObject(result
);
18069 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18070 PyObject
*resultobj
;
18071 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18073 wxListItem
*arg3
= 0 ;
18075 PyObject
* obj0
= 0 ;
18076 PyObject
* obj2
= 0 ;
18077 char *kwnames
[] = {
18078 (char *) "self",(char *) "col",(char *) "item", NULL
18081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ListCtrl_SetColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18083 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18084 if (arg3
== NULL
) {
18085 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= PyInt_FromLong((long)result
);
18101 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18102 PyObject
*resultobj
;
18103 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18106 PyObject
* obj0
= 0 ;
18107 char *kwnames
[] = {
18108 (char *) "self",(char *) "col", NULL
18111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
18112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 resultobj
= PyInt_FromLong((long)result
);
18127 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18133 PyObject
* obj0
= 0 ;
18134 char *kwnames
[] = {
18135 (char *) "self",(char *) "col",(char *) "width", NULL
18138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18147 resultobj
= PyInt_FromLong((long)result
);
18154 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18155 PyObject
*resultobj
;
18156 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18158 PyObject
* obj0
= 0 ;
18159 char *kwnames
[] = {
18160 (char *) "self", NULL
18163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
18164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18167 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
18169 wxPyEndAllowThreads(__tstate
);
18170 if (PyErr_Occurred()) SWIG_fail
;
18172 resultobj
= PyInt_FromLong((long)result
);
18179 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18180 PyObject
*resultobj
;
18181 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18183 PyObject
* obj0
= 0 ;
18184 char *kwnames
[] = {
18185 (char *) "self", NULL
18188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
18189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18198 wxRect
* resultptr
;
18199 resultptr
= new wxRect((wxRect
&) result
);
18200 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18208 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
;
18210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18211 wxTextCtrl
*result
;
18212 PyObject
* obj0
= 0 ;
18213 char *kwnames
[] = {
18214 (char *) "self", NULL
18217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
18218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18227 resultobj
= wxPyMake_wxObject(result
);
18235 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
;
18237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18239 int arg3
= (int) 0 ;
18240 wxListItem
*result
;
18241 PyObject
* obj0
= 0 ;
18242 char *kwnames
[] = {
18243 (char *) "self",(char *) "itemId",(char *) "col", NULL
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18256 resultobj
= wxPyMake_wxObject(result
);
18264 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18265 PyObject
*resultobj
;
18266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18267 wxListItem
*arg2
= 0 ;
18269 PyObject
* obj0
= 0 ;
18270 PyObject
* obj1
= 0 ;
18271 char *kwnames
[] = {
18272 (char *) "self",(char *) "info", NULL
18275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18277 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18278 if (arg2
== NULL
) {
18279 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 result
= (bool)(arg1
)->SetItem(*arg2
);
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 resultobj
= PyInt_FromLong((long)result
);
18295 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18296 PyObject
*resultobj
;
18297 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18300 wxString
*arg4
= 0 ;
18301 int arg5
= (int) -1 ;
18303 bool temp4
= False
;
18304 PyObject
* obj0
= 0 ;
18305 PyObject
* obj3
= 0 ;
18306 char *kwnames
[] = {
18307 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
18311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18313 arg4
= wxString_in_helper(obj3
);
18314 if (arg4
== NULL
) SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= PyInt_FromLong((long)result
);
18339 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18340 PyObject
*resultobj
;
18341 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18345 PyObject
* obj0
= 0 ;
18346 char *kwnames
[] = {
18347 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_GetItemState",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18354 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
18356 wxPyEndAllowThreads(__tstate
);
18357 if (PyErr_Occurred()) SWIG_fail
;
18359 resultobj
= PyInt_FromLong((long)result
);
18366 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18367 PyObject
*resultobj
;
18368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18373 PyObject
* obj0
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olll:ListCtrl_SetItemState",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18382 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
18384 wxPyEndAllowThreads(__tstate
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18387 resultobj
= PyInt_FromLong((long)result
);
18394 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18395 PyObject
*resultobj
;
18396 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18401 PyObject
* obj0
= 0 ;
18402 char *kwnames
[] = {
18403 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olii:ListCtrl_SetItemImage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 resultobj
= PyInt_FromLong((long)result
);
18422 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
;
18424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18427 PyObject
* obj0
= 0 ;
18428 char *kwnames
[] = {
18429 (char *) "self",(char *) "item", NULL
18432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemText",kwnames
,&obj0
,&arg2
)) goto fail
;
18433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18436 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
18438 wxPyEndAllowThreads(__tstate
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18454 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18458 wxString
*arg3
= 0 ;
18459 bool temp3
= False
;
18460 PyObject
* obj0
= 0 ;
18461 PyObject
* obj2
= 0 ;
18462 char *kwnames
[] = {
18463 (char *) "self",(char *) "item",(char *) "str", NULL
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemText",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18469 arg3
= wxString_in_helper(obj2
);
18470 if (arg3
== NULL
) SWIG_fail
;
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 Py_INCREF(Py_None
); resultobj
= Py_None
;
18495 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18496 PyObject
*resultobj
;
18497 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18500 PyObject
* obj0
= 0 ;
18501 char *kwnames
[] = {
18502 (char *) "self",(char *) "item", NULL
18505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemData",kwnames
,&obj0
,&arg2
)) goto fail
;
18506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18514 resultobj
= PyInt_FromLong((long)result
);
18521 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18522 PyObject
*resultobj
;
18523 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18527 PyObject
* obj0
= 0 ;
18528 char *kwnames
[] = {
18529 (char *) "self",(char *) "item",(char *) "data", NULL
18532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_SetItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18541 resultobj
= PyInt_FromLong((long)result
);
18548 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
;
18550 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18553 PyObject
* obj0
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "self",(char *) "item", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
18559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18568 wxPoint
* resultptr
;
18569 resultptr
= new wxPoint((wxPoint
&) result
);
18570 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18578 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18579 PyObject
*resultobj
;
18580 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18582 int arg3
= (int) wxLIST_RECT_BOUNDS
;
18584 PyObject
* obj0
= 0 ;
18585 char *kwnames
[] = {
18586 (char *) "self",(char *) "item",(char *) "code", NULL
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18599 wxRect
* resultptr
;
18600 resultptr
= new wxRect((wxRect
&) result
);
18601 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18609 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18613 wxPoint
*arg3
= 0 ;
18616 PyObject
* obj0
= 0 ;
18617 PyObject
* obj2
= 0 ;
18618 char *kwnames
[] = {
18619 (char *) "self",(char *) "item",(char *) "pos", NULL
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18626 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18630 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18635 resultobj
= PyInt_FromLong((long)result
);
18642 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18643 PyObject
*resultobj
;
18644 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18646 PyObject
* obj0
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
18652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18660 resultobj
= PyInt_FromLong((long)result
);
18667 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18668 PyObject
*resultobj
;
18669 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18671 PyObject
* obj0
= 0 ;
18672 char *kwnames
[] = {
18673 (char *) "self", NULL
18676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
18677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= PyInt_FromLong((long)result
);
18692 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18696 PyObject
* obj0
= 0 ;
18697 char *kwnames
[] = {
18698 (char *) "self", NULL
18701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
18702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18711 wxSize
* resultptr
;
18712 resultptr
= new wxSize((wxSize
&) result
);
18713 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
18721 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18722 PyObject
*resultobj
;
18723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18725 PyObject
* obj0
= 0 ;
18726 char *kwnames
[] = {
18727 (char *) "self", NULL
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
18731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18739 resultobj
= PyInt_FromLong((long)result
);
18746 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18747 PyObject
*resultobj
;
18748 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18750 PyObject
* obj0
= 0 ;
18751 char *kwnames
[] = {
18752 (char *) "self", NULL
18755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
18756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18759 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
18761 wxPyEndAllowThreads(__tstate
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18765 wxColour
* resultptr
;
18766 resultptr
= new wxColour((wxColour
&) result
);
18767 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18775 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
;
18777 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18778 wxColour
*arg2
= 0 ;
18780 PyObject
* obj0
= 0 ;
18781 PyObject
* obj1
= 0 ;
18782 char *kwnames
[] = {
18783 (char *) "self",(char *) "col", NULL
18786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18790 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 Py_INCREF(Py_None
); resultobj
= Py_None
;
18806 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18810 PyObject
* obj0
= 0 ;
18811 char *kwnames
[] = {
18812 (char *) "self", NULL
18815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
18816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= PyInt_FromLong((long)result
);
18831 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18833 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18835 bool arg3
= (bool) True
;
18836 PyObject
* obj0
= 0 ;
18837 PyObject
* obj2
= 0 ;
18838 char *kwnames
[] = {
18839 (char *) "self",(char *) "style",(char *) "add", NULL
18842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18845 arg3
= PyInt_AsLong(obj2
) ? true : false;
18846 if (PyErr_Occurred()) SWIG_fail
;
18849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18850 (arg1
)->SetSingleStyle(arg2
,arg3
);
18852 wxPyEndAllowThreads(__tstate
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18855 Py_INCREF(Py_None
); resultobj
= Py_None
;
18862 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18863 PyObject
*resultobj
;
18864 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18866 PyObject
* obj0
= 0 ;
18867 char *kwnames
[] = {
18868 (char *) "self",(char *) "style", NULL
18871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
18872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18875 (arg1
)->SetWindowStyleFlag(arg2
);
18877 wxPyEndAllowThreads(__tstate
);
18878 if (PyErr_Occurred()) SWIG_fail
;
18880 Py_INCREF(Py_None
); resultobj
= Py_None
;
18887 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18888 PyObject
*resultobj
;
18889 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18891 int arg3
= (int) wxLIST_NEXT_ALL
;
18892 int arg4
= (int) wxLIST_STATE_DONTCARE
;
18894 PyObject
* obj0
= 0 ;
18895 char *kwnames
[] = {
18896 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
18905 wxPyEndAllowThreads(__tstate
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18908 resultobj
= PyInt_FromLong((long)result
);
18915 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18916 PyObject
*resultobj
;
18917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18919 wxImageList
*result
;
18920 PyObject
* obj0
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self",(char *) "which", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetImageList",kwnames
,&obj0
,&arg2
)) goto fail
;
18926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18929 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
18931 wxPyEndAllowThreads(__tstate
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18935 resultobj
= wxPyMake_wxObject(result
);
18943 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
;
18945 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18946 wxImageList
*arg2
= (wxImageList
*) 0 ;
18948 PyObject
* obj0
= 0 ;
18949 PyObject
* obj1
= 0 ;
18950 char *kwnames
[] = {
18951 (char *) "self",(char *) "imageList",(char *) "which", NULL
18954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18956 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18959 (arg1
)->SetImageList(arg2
,arg3
);
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 Py_INCREF(Py_None
); resultobj
= Py_None
;
18971 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
;
18973 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18974 wxImageList
*arg2
= (wxImageList
*) 0 ;
18976 PyObject
* obj0
= 0 ;
18977 PyObject
* obj1
= 0 ;
18978 char *kwnames
[] = {
18979 (char *) "self",(char *) "imageList",(char *) "which", NULL
18982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 (arg1
)->AssignImageList(arg2
,arg3
);
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18992 Py_INCREF(Py_None
); resultobj
= Py_None
;
18999 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
;
19001 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19003 PyObject
* obj0
= 0 ;
19004 char *kwnames
[] = {
19005 (char *) "self", NULL
19008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
19009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19012 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
19014 wxPyEndAllowThreads(__tstate
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19017 resultobj
= PyInt_FromLong((long)result
);
19024 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
;
19026 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19028 PyObject
* obj0
= 0 ;
19029 char *kwnames
[] = {
19030 (char *) "self",(char *) "item", NULL
19033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_RefreshItem",kwnames
,&obj0
,&arg2
)) goto fail
;
19034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19037 (arg1
)->RefreshItem(arg2
);
19039 wxPyEndAllowThreads(__tstate
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19042 Py_INCREF(Py_None
); resultobj
= Py_None
;
19049 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19050 PyObject
*resultobj
;
19051 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19054 PyObject
* obj0
= 0 ;
19055 char *kwnames
[] = {
19056 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
19059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_RefreshItems",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19063 (arg1
)->RefreshItems(arg2
,arg3
);
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19068 Py_INCREF(Py_None
); resultobj
= Py_None
;
19075 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
;
19077 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19078 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
19080 PyObject
* obj0
= 0 ;
19081 char *kwnames
[] = {
19082 (char *) "self",(char *) "flag", NULL
19085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListCtrl_Arrange",kwnames
,&obj0
,&arg2
)) goto fail
;
19086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 result
= (bool)(arg1
)->Arrange(arg2
);
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 resultobj
= PyInt_FromLong((long)result
);
19101 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19106 PyObject
* obj0
= 0 ;
19107 char *kwnames
[] = {
19108 (char *) "self",(char *) "item", NULL
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_DeleteItem",kwnames
,&obj0
,&arg2
)) goto fail
;
19112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 result
= (bool)(arg1
)->DeleteItem(arg2
);
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 resultobj
= PyInt_FromLong((long)result
);
19127 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
;
19129 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19131 PyObject
* obj0
= 0 ;
19132 char *kwnames
[] = {
19133 (char *) "self", NULL
19136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
19137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19140 result
= (bool)(arg1
)->DeleteAllItems();
19142 wxPyEndAllowThreads(__tstate
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19145 resultobj
= PyInt_FromLong((long)result
);
19152 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
;
19154 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19157 PyObject
* obj0
= 0 ;
19158 char *kwnames
[] = {
19159 (char *) "self",(char *) "col", NULL
19162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_DeleteColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
19163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19166 result
= (bool)(arg1
)->DeleteColumn(arg2
);
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19171 resultobj
= PyInt_FromLong((long)result
);
19178 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
;
19180 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19182 PyObject
* obj0
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "self", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
19188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 result
= (bool)(arg1
)->DeleteAllColumns();
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19196 resultobj
= PyInt_FromLong((long)result
);
19203 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19205 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19206 PyObject
* obj0
= 0 ;
19207 char *kwnames
[] = {
19208 (char *) "self", NULL
19211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
19212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 (arg1
)->ClearAll();
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19220 Py_INCREF(Py_None
); resultobj
= Py_None
;
19227 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19228 PyObject
*resultobj
;
19229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19231 wxTextCtrl
*result
;
19232 PyObject
* obj0
= 0 ;
19233 char *kwnames
[] = {
19234 (char *) "self",(char *) "item", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EditLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
19238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
19243 wxPyEndAllowThreads(__tstate
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19247 resultobj
= wxPyMake_wxObject(result
);
19255 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
;
19257 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19260 PyObject
* obj0
= 0 ;
19261 PyObject
* obj1
= 0 ;
19262 char *kwnames
[] = {
19263 (char *) "self",(char *) "cancel", NULL
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19268 arg2
= PyInt_AsLong(obj1
) ? true : false;
19269 if (PyErr_Occurred()) SWIG_fail
;
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 result
= (bool)(arg1
)->EndEditLabel(arg2
);
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19277 resultobj
= PyInt_FromLong((long)result
);
19284 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19285 PyObject
*resultobj
;
19286 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19289 PyObject
* obj0
= 0 ;
19290 char *kwnames
[] = {
19291 (char *) "self",(char *) "item", NULL
19294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
19295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 result
= (bool)(arg1
)->EnsureVisible(arg2
);
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 resultobj
= PyInt_FromLong((long)result
);
19310 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
;
19312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19314 wxString
*arg3
= 0 ;
19315 bool arg4
= (bool) False
;
19317 bool temp3
= False
;
19318 PyObject
* obj0
= 0 ;
19319 PyObject
* obj2
= 0 ;
19320 PyObject
* obj3
= 0 ;
19321 char *kwnames
[] = {
19322 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|O:ListCtrl_FindItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
19326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19328 arg3
= wxString_in_helper(obj2
);
19329 if (arg3
== NULL
) SWIG_fail
;
19333 arg4
= PyInt_AsLong(obj3
) ? true : false;
19334 if (PyErr_Occurred()) SWIG_fail
;
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 resultobj
= PyInt_FromLong((long)result
);
19358 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19360 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19364 PyObject
* obj0
= 0 ;
19365 char *kwnames
[] = {
19366 (char *) "self",(char *) "start",(char *) "data", NULL
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_FindItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19378 resultobj
= PyInt_FromLong((long)result
);
19385 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
;
19387 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19389 wxPoint
*arg3
= 0 ;
19393 PyObject
* obj0
= 0 ;
19394 PyObject
* obj2
= 0 ;
19395 char *kwnames
[] = {
19396 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19403 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19412 resultobj
= PyInt_FromLong((long)result
);
19419 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
;
19421 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19422 wxPoint
*arg2
= 0 ;
19427 PyObject
* obj0
= 0 ;
19428 PyObject
* obj1
= 0 ;
19429 char *kwnames
[] = {
19430 (char *) "self",(char *) "point", NULL
19434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
19435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19438 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
19444 wxPyEndAllowThreads(__tstate
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19447 resultobj
= PyInt_FromLong((long)result
);
19449 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19450 resultobj
= t_output_helper(resultobj
,o
);
19458 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19460 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19461 wxListItem
*arg2
= 0 ;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 char *kwnames
[] = {
19466 (char *) "self",(char *) "info", NULL
19469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19471 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19472 if (arg2
== NULL
) {
19473 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19477 result
= (long)(arg1
)->InsertItem(*arg2
);
19479 wxPyEndAllowThreads(__tstate
);
19480 if (PyErr_Occurred()) SWIG_fail
;
19482 resultobj
= PyInt_FromLong((long)result
);
19489 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
;
19491 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19493 wxString
*arg3
= 0 ;
19495 bool temp3
= False
;
19496 PyObject
* obj0
= 0 ;
19497 PyObject
* obj2
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self",(char *) "index",(char *) "label", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19505 arg3
= wxString_in_helper(obj2
);
19506 if (arg3
== NULL
) SWIG_fail
;
19510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19516 resultobj
= PyInt_FromLong((long)result
);
19531 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19537 PyObject
* obj0
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oli:ListCtrl_InsertImageItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19546 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
19548 wxPyEndAllowThreads(__tstate
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= PyInt_FromLong((long)result
);
19558 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
;
19560 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19562 wxString
*arg3
= 0 ;
19565 bool temp3
= False
;
19566 PyObject
* obj0
= 0 ;
19567 PyObject
* obj2
= 0 ;
19568 char *kwnames
[] = {
19569 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19575 arg3
= wxString_in_helper(obj2
);
19576 if (arg3
== NULL
) SWIG_fail
;
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19586 resultobj
= PyInt_FromLong((long)result
);
19601 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19602 PyObject
*resultobj
;
19603 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19605 wxListItem
*arg3
= 0 ;
19607 PyObject
* obj0
= 0 ;
19608 PyObject
* obj2
= 0 ;
19609 char *kwnames
[] = {
19610 (char *) "self",(char *) "col",(char *) "info", NULL
19613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19615 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19616 if (arg3
== NULL
) {
19617 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 resultobj
= PyInt_FromLong((long)result
);
19633 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19637 wxString
*arg3
= 0 ;
19638 int arg4
= (int) wxLIST_FORMAT_LEFT
;
19639 int arg5
= (int) -1 ;
19641 bool temp3
= False
;
19642 PyObject
* obj0
= 0 ;
19643 PyObject
* obj2
= 0 ;
19644 char *kwnames
[] = {
19645 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
)) goto fail
;
19649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19651 arg3
= wxString_in_helper(obj2
);
19652 if (arg3
== NULL
) SWIG_fail
;
19656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19657 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19662 resultobj
= PyInt_FromLong((long)result
);
19677 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
;
19679 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19681 PyObject
* obj0
= 0 ;
19682 char *kwnames
[] = {
19683 (char *) "self",(char *) "count", NULL
19686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetItemCount",kwnames
,&obj0
,&arg2
)) goto fail
;
19687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 (arg1
)->SetItemCount(arg2
);
19692 wxPyEndAllowThreads(__tstate
);
19693 if (PyErr_Occurred()) SWIG_fail
;
19695 Py_INCREF(Py_None
); resultobj
= Py_None
;
19702 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19703 PyObject
*resultobj
;
19704 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19708 PyObject
* obj0
= 0 ;
19709 char *kwnames
[] = {
19710 (char *) "self",(char *) "dx",(char *) "dy", NULL
19713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_ScrollList",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19717 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 resultobj
= PyInt_FromLong((long)result
);
19729 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19733 wxColour
*arg3
= 0 ;
19735 PyObject
* obj0
= 0 ;
19736 PyObject
* obj2
= 0 ;
19737 char *kwnames
[] = {
19738 (char *) "self",(char *) "item",(char *) "col", NULL
19741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19745 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19749 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
19751 wxPyEndAllowThreads(__tstate
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19754 Py_INCREF(Py_None
); resultobj
= Py_None
;
19761 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
;
19763 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19766 PyObject
* obj0
= 0 ;
19767 char *kwnames
[] = {
19768 (char *) "self",(char *) "item", NULL
19771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19775 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
19777 wxPyEndAllowThreads(__tstate
);
19778 if (PyErr_Occurred()) SWIG_fail
;
19781 wxColour
* resultptr
;
19782 resultptr
= new wxColour((wxColour
&) result
);
19783 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19791 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19792 PyObject
*resultobj
;
19793 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19795 wxColour
*arg3
= 0 ;
19797 PyObject
* obj0
= 0 ;
19798 PyObject
* obj2
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self",(char *) "item",(char *) "col", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19807 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 Py_INCREF(Py_None
); resultobj
= Py_None
;
19823 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
;
19825 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19828 PyObject
* obj0
= 0 ;
19829 char *kwnames
[] = {
19830 (char *) "self",(char *) "item", NULL
19833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19843 wxColour
* resultptr
;
19844 resultptr
= new wxColour((wxColour
&) result
);
19845 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19853 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
;
19855 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19856 PyObject
*arg2
= (PyObject
*) 0 ;
19858 PyObject
* obj0
= 0 ;
19859 PyObject
* obj1
= 0 ;
19860 char *kwnames
[] = {
19861 (char *) "self",(char *) "func", NULL
19864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
19865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19874 resultobj
= PyInt_FromLong((long)result
);
19881 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19882 PyObject
*resultobj
;
19883 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19885 PyObject
* obj0
= 0 ;
19886 char *kwnames
[] = {
19887 (char *) "self", NULL
19890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
19891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
19896 wxPyEndAllowThreads(__tstate
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19900 resultobj
= wxPyMake_wxObject(result
);
19908 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
19910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19911 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
19913 return Py_BuildValue((char *)"");
19915 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19917 wxWindow
*arg1
= (wxWindow
*) 0 ;
19918 int arg2
= (int) -1 ;
19919 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19920 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19921 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19922 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19923 long arg5
= (long) wxLC_REPORT
;
19924 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19925 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19926 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19927 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19928 wxListView
*result
;
19931 bool temp7
= False
;
19932 PyObject
* obj0
= 0 ;
19933 PyObject
* obj2
= 0 ;
19934 PyObject
* obj3
= 0 ;
19935 PyObject
* obj5
= 0 ;
19936 PyObject
* obj6
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListView",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19946 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19952 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19956 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19957 if (arg6
== NULL
) {
19958 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19963 arg7
= wxString_in_helper(obj6
);
19964 if (arg7
== NULL
) SWIG_fail
;
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19990 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 wxListView
*result
;
19993 char *kwnames
[] = {
19997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 result
= (wxListView
*)new wxListView();
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
20012 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
;
20014 wxListView
*arg1
= (wxListView
*) 0 ;
20015 wxWindow
*arg2
= (wxWindow
*) 0 ;
20016 int arg3
= (int) -1 ;
20017 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20018 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20019 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20020 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20021 long arg6
= (long) wxLC_REPORT
;
20022 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20023 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20024 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20025 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20029 bool temp8
= False
;
20030 PyObject
* obj0
= 0 ;
20031 PyObject
* obj1
= 0 ;
20032 PyObject
* obj3
= 0 ;
20033 PyObject
* obj4
= 0 ;
20034 PyObject
* obj6
= 0 ;
20035 PyObject
* obj7
= 0 ;
20036 char *kwnames
[] = {
20037 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListView_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
20041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20042 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20046 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20052 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20056 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20057 if (arg7
== NULL
) {
20058 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20063 arg8
= wxString_in_helper(obj7
);
20064 if (arg8
== NULL
) SWIG_fail
;
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20075 resultobj
= PyInt_FromLong((long)result
);
20090 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20091 PyObject
*resultobj
;
20092 wxListView
*arg1
= (wxListView
*) 0 ;
20094 bool arg3
= (bool) True
;
20095 PyObject
* obj0
= 0 ;
20096 PyObject
* obj2
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "self",(char *) "n",(char *) "on", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListView_Select",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20104 arg3
= PyInt_AsLong(obj2
) ? true : false;
20105 if (PyErr_Occurred()) SWIG_fail
;
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 (arg1
)->Select(arg2
,arg3
);
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 Py_INCREF(Py_None
); resultobj
= Py_None
;
20121 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
;
20123 wxListView
*arg1
= (wxListView
*) 0 ;
20125 PyObject
* obj0
= 0 ;
20126 char *kwnames
[] = {
20127 (char *) "self",(char *) "index", NULL
20130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_Focus",kwnames
,&obj0
,&arg2
)) goto fail
;
20131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 (arg1
)->Focus(arg2
);
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20139 Py_INCREF(Py_None
); resultobj
= Py_None
;
20146 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20147 PyObject
*resultobj
;
20148 wxListView
*arg1
= (wxListView
*) 0 ;
20150 PyObject
* obj0
= 0 ;
20151 char *kwnames
[] = {
20152 (char *) "self", NULL
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
20156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
20161 wxPyEndAllowThreads(__tstate
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20164 resultobj
= PyInt_FromLong((long)result
);
20171 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
;
20173 wxListView
*arg1
= (wxListView
*) 0 ;
20176 PyObject
* obj0
= 0 ;
20177 char *kwnames
[] = {
20178 (char *) "self",(char *) "item", NULL
20181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_GetNextSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
20182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 resultobj
= PyInt_FromLong((long)result
);
20197 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 wxListView
*arg1
= (wxListView
*) 0 ;
20201 PyObject
* obj0
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
20207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
20212 wxPyEndAllowThreads(__tstate
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20215 resultobj
= PyInt_FromLong((long)result
);
20222 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20223 PyObject
*resultobj
;
20224 wxListView
*arg1
= (wxListView
*) 0 ;
20227 PyObject
* obj0
= 0 ;
20228 char *kwnames
[] = {
20229 (char *) "self",(char *) "index", NULL
20232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
20233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 result
= (bool)(arg1
)->IsSelected(arg2
);
20238 wxPyEndAllowThreads(__tstate
);
20239 if (PyErr_Occurred()) SWIG_fail
;
20241 resultobj
= PyInt_FromLong((long)result
);
20248 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20249 PyObject
*resultobj
;
20250 wxListView
*arg1
= (wxListView
*) 0 ;
20253 PyObject
* obj0
= 0 ;
20254 char *kwnames
[] = {
20255 (char *) "self",(char *) "col",(char *) "image", NULL
20258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListView_SetColumnImage",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 (arg1
)->SetColumnImage(arg2
,arg3
);
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20267 Py_INCREF(Py_None
); resultobj
= Py_None
;
20274 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
;
20276 wxListView
*arg1
= (wxListView
*) 0 ;
20278 PyObject
* obj0
= 0 ;
20279 char *kwnames
[] = {
20280 (char *) "self",(char *) "col", NULL
20283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListView_ClearColumnImage",kwnames
,&obj0
,&arg2
)) goto fail
;
20284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20287 (arg1
)->ClearColumnImage(arg2
);
20289 wxPyEndAllowThreads(__tstate
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20292 Py_INCREF(Py_None
); resultobj
= Py_None
;
20299 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
20301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20302 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
20304 return Py_BuildValue((char *)"");
20306 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
20307 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
20312 static PyObject
*_wrap_TreeCtrlNameStr_get() {
20317 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
20319 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
20326 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20327 PyObject
*resultobj
;
20328 wxTreeItemId
*result
;
20329 char *kwnames
[] = {
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 result
= (wxTreeItemId
*)new wxTreeItemId();
20338 wxPyEndAllowThreads(__tstate
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20341 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
20348 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
;
20350 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20351 PyObject
* obj0
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
20357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20365 Py_INCREF(Py_None
); resultobj
= Py_None
;
20372 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20376 PyObject
* obj0
= 0 ;
20377 char *kwnames
[] = {
20378 (char *) "self", NULL
20381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
20382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= PyInt_FromLong((long)result
);
20397 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
;
20399 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20400 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
20402 PyObject
* obj0
= 0 ;
20403 PyObject
* obj1
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "self",(char *) "other", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
20409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20410 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20413 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20418 resultobj
= PyInt_FromLong((long)result
);
20425 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20427 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20428 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
20430 PyObject
* obj0
= 0 ;
20431 PyObject
* obj1
= 0 ;
20432 char *kwnames
[] = {
20433 (char *) "self",(char *) "other", NULL
20436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
20437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20438 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20441 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
20443 wxPyEndAllowThreads(__tstate
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20446 resultobj
= PyInt_FromLong((long)result
);
20453 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20454 PyObject
*resultobj
;
20455 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20456 wxTreeItemIdValue arg2
= (wxTreeItemIdValue
) 0 ;
20457 PyObject
* obj0
= 0 ;
20458 PyObject
* obj1
= 0 ;
20459 char *kwnames
[] = {
20460 (char *) "self",(char *) "m_pItem", NULL
20463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20465 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20466 if (arg1
) (arg1
)->m_pItem
= arg2
;
20468 Py_INCREF(Py_None
); resultobj
= Py_None
;
20475 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
;
20477 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20478 wxTreeItemIdValue result
;
20479 PyObject
* obj0
= 0 ;
20480 char *kwnames
[] = {
20481 (char *) "self", NULL
20484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
20485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20486 result
= (wxTreeItemIdValue
) ((arg1
)->m_pItem
);
20488 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_wxTreeItemIdValue
, 0);
20495 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
20497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20498 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
20500 return Py_BuildValue((char *)"");
20502 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20503 PyObject
*resultobj
;
20504 PyObject
*arg1
= (PyObject
*) NULL
;
20505 wxPyTreeItemData
*result
;
20506 PyObject
* obj0
= 0 ;
20507 char *kwnames
[] = {
20508 (char *) "obj", NULL
20511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
20516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20517 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20522 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
20529 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
;
20531 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20533 PyObject
* obj0
= 0 ;
20534 char *kwnames
[] = {
20535 (char *) "self", NULL
20538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
20539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 result
= (PyObject
*)(arg1
)->GetData();
20544 wxPyEndAllowThreads(__tstate
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20547 resultobj
= result
;
20554 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
;
20556 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20557 PyObject
*arg2
= (PyObject
*) 0 ;
20558 PyObject
* obj0
= 0 ;
20559 PyObject
* obj1
= 0 ;
20560 char *kwnames
[] = {
20561 (char *) "self",(char *) "obj", NULL
20564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
20565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 (arg1
)->SetData(arg2
);
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20574 Py_INCREF(Py_None
); resultobj
= Py_None
;
20581 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20582 PyObject
*resultobj
;
20583 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20584 wxTreeItemId
*result
;
20585 PyObject
* obj0
= 0 ;
20586 char *kwnames
[] = {
20587 (char *) "self", NULL
20590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
20591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
20596 result
= (wxTreeItemId
*) &_result_ref
;
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
20609 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
;
20611 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20612 wxTreeItemId
*arg2
= 0 ;
20613 PyObject
* obj0
= 0 ;
20614 PyObject
* obj1
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "self",(char *) "id", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
20620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20621 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20622 if (arg2
== NULL
) {
20623 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20632 Py_INCREF(Py_None
); resultobj
= Py_None
;
20639 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20642 PyObject
* obj0
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
20648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 wxPyTreeItemData_Destroy(arg1
);
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 Py_INCREF(Py_None
); resultobj
= Py_None
;
20663 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
20665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20666 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
20668 return Py_BuildValue((char *)"");
20670 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
;
20672 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20673 int arg2
= (int) 0 ;
20674 wxTreeEvent
*result
;
20675 char *kwnames
[] = {
20676 (char *) "commandType",(char *) "id", NULL
20679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TreeEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20687 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
20694 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20695 PyObject
*resultobj
;
20696 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20697 wxTreeItemId result
;
20698 PyObject
* obj0
= 0 ;
20699 char *kwnames
[] = {
20700 (char *) "self", NULL
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20707 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20713 wxTreeItemId
* resultptr
;
20714 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20715 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20723 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
;
20725 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20726 wxTreeItemId
*arg2
= 0 ;
20727 PyObject
* obj0
= 0 ;
20728 PyObject
* obj1
= 0 ;
20729 char *kwnames
[] = {
20730 (char *) "self",(char *) "item", NULL
20733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20735 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20736 if (arg2
== NULL
) {
20737 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20741 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 Py_INCREF(Py_None
); resultobj
= Py_None
;
20753 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
;
20755 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20756 wxTreeItemId result
;
20757 PyObject
* obj0
= 0 ;
20758 char *kwnames
[] = {
20759 (char *) "self", NULL
20762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
20763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20772 wxTreeItemId
* resultptr
;
20773 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20774 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20782 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20783 PyObject
*resultobj
;
20784 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20785 wxTreeItemId
*arg2
= 0 ;
20786 PyObject
* obj0
= 0 ;
20787 PyObject
* obj1
= 0 ;
20788 char *kwnames
[] = {
20789 (char *) "self",(char *) "item", NULL
20792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20794 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20795 if (arg2
== NULL
) {
20796 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 Py_INCREF(Py_None
); resultobj
= Py_None
;
20812 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20813 PyObject
*resultobj
;
20814 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20816 PyObject
* obj0
= 0 ;
20817 char *kwnames
[] = {
20818 (char *) "self", NULL
20821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20831 wxPoint
* resultptr
;
20832 resultptr
= new wxPoint((wxPoint
&) result
);
20833 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20841 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20842 PyObject
*resultobj
;
20843 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20844 wxPoint
*arg2
= 0 ;
20846 PyObject
* obj0
= 0 ;
20847 PyObject
* obj1
= 0 ;
20848 char *kwnames
[] = {
20849 (char *) "self",(char *) "pt", NULL
20852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
20853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20856 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20865 Py_INCREF(Py_None
); resultobj
= Py_None
;
20872 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
;
20874 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20875 wxKeyEvent
*result
;
20876 PyObject
* obj0
= 0 ;
20877 char *kwnames
[] = {
20878 (char *) "self", NULL
20881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
20882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20886 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
20887 result
= (wxKeyEvent
*) &_result_ref
;
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
20900 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20901 PyObject
*resultobj
;
20902 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20904 PyObject
* obj0
= 0 ;
20905 char *kwnames
[] = {
20906 (char *) "self", NULL
20909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20913 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 resultobj
= PyInt_FromLong((long)result
);
20925 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
;
20927 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20928 wxKeyEvent
*arg2
= 0 ;
20929 PyObject
* obj0
= 0 ;
20930 PyObject
* obj1
= 0 ;
20931 char *kwnames
[] = {
20932 (char *) "self",(char *) "evt", NULL
20935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20938 if (arg2
== NULL
) {
20939 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 Py_INCREF(Py_None
); resultobj
= Py_None
;
20955 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
;
20957 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20959 PyObject
* obj0
= 0 ;
20960 char *kwnames
[] = {
20961 (char *) "self", NULL
20964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
20970 result
= (wxString
*) &_result_ref
;
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20978 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20980 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20989 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20990 PyObject
*resultobj
;
20991 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20992 wxString
*arg2
= 0 ;
20993 bool temp2
= False
;
20994 PyObject
* obj0
= 0 ;
20995 PyObject
* obj1
= 0 ;
20996 char *kwnames
[] = {
20997 (char *) "self",(char *) "label", NULL
21000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21003 arg2
= wxString_in_helper(obj1
);
21004 if (arg2
== NULL
) SWIG_fail
;
21008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 (arg1
)->SetLabel((wxString
const &)*arg2
);
21011 wxPyEndAllowThreads(__tstate
);
21012 if (PyErr_Occurred()) SWIG_fail
;
21014 Py_INCREF(Py_None
); resultobj
= Py_None
;
21029 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
;
21031 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21033 PyObject
* obj0
= 0 ;
21034 char *kwnames
[] = {
21035 (char *) "self", NULL
21038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= PyInt_FromLong((long)result
);
21054 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
;
21056 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21058 PyObject
* obj0
= 0 ;
21059 PyObject
* obj1
= 0 ;
21060 char *kwnames
[] = {
21061 (char *) "self",(char *) "editCancelled", NULL
21064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21066 arg2
= PyInt_AsLong(obj1
) ? true : false;
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 (arg1
)->SetEditCanceled(arg2
);
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 Py_INCREF(Py_None
); resultobj
= Py_None
;
21082 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21084 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21085 wxString
*arg2
= 0 ;
21086 bool temp2
= False
;
21087 PyObject
* obj0
= 0 ;
21088 PyObject
* obj1
= 0 ;
21089 char *kwnames
[] = {
21090 (char *) "self",(char *) "toolTip", NULL
21093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
21094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21096 arg2
= wxString_in_helper(obj1
);
21097 if (arg2
== NULL
) SWIG_fail
;
21101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21102 (arg1
)->SetToolTip((wxString
const &)*arg2
);
21104 wxPyEndAllowThreads(__tstate
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21107 Py_INCREF(Py_None
); resultobj
= Py_None
;
21122 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21125 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
21127 return Py_BuildValue((char *)"");
21129 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
;
21131 wxWindow
*arg1
= (wxWindow
*) 0 ;
21132 int arg2
= (int) -1 ;
21133 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21134 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21135 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21136 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21137 long arg5
= (long) wxTR_DEFAULT_STYLE
;
21138 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21139 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21140 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
21141 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21142 wxPyTreeCtrl
*result
;
21145 bool temp7
= False
;
21146 PyObject
* obj0
= 0 ;
21147 PyObject
* obj2
= 0 ;
21148 PyObject
* obj3
= 0 ;
21149 PyObject
* obj5
= 0 ;
21150 PyObject
* obj6
= 0 ;
21151 char *kwnames
[] = {
21152 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_TreeCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
21156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21160 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21166 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21170 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21171 if (arg6
== NULL
) {
21172 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21177 arg7
= wxString_in_helper(obj6
);
21178 if (arg7
== NULL
) SWIG_fail
;
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21190 resultobj
= wxPyMake_wxObject(result
);
21206 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxPyTreeCtrl
*result
;
21209 char *kwnames
[] = {
21213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
21215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21216 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
21218 wxPyEndAllowThreads(__tstate
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21222 resultobj
= wxPyMake_wxObject(result
);
21230 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21231 PyObject
*resultobj
;
21232 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21233 wxWindow
*arg2
= (wxWindow
*) 0 ;
21234 int arg3
= (int) -1 ;
21235 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21236 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21237 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21238 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21239 long arg6
= (long) wxTR_DEFAULT_STYLE
;
21240 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21241 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21242 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
21243 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21247 bool temp8
= False
;
21248 PyObject
* obj0
= 0 ;
21249 PyObject
* obj1
= 0 ;
21250 PyObject
* obj3
= 0 ;
21251 PyObject
* obj4
= 0 ;
21252 PyObject
* obj6
= 0 ;
21253 PyObject
* obj7
= 0 ;
21254 char *kwnames
[] = {
21255 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
21259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21264 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21270 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21274 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21275 if (arg7
== NULL
) {
21276 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21281 arg8
= wxString_in_helper(obj7
);
21282 if (arg8
== NULL
) SWIG_fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 resultobj
= PyInt_FromLong((long)result
);
21308 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
;
21310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21311 PyObject
*arg2
= (PyObject
*) 0 ;
21312 PyObject
*arg3
= (PyObject
*) 0 ;
21313 PyObject
* obj0
= 0 ;
21314 PyObject
* obj1
= 0 ;
21315 PyObject
* obj2
= 0 ;
21316 char *kwnames
[] = {
21317 (char *) "self",(char *) "self",(char *) "_class", NULL
21320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 Py_INCREF(Py_None
); resultobj
= Py_None
;
21338 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21342 PyObject
* obj0
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
21348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 resultobj
= PyInt_FromLong((long)result
);
21363 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
;
21365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21366 unsigned int result
;
21367 PyObject
* obj0
= 0 ;
21368 char *kwnames
[] = {
21369 (char *) "self", NULL
21372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
21373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21381 resultobj
= PyInt_FromLong((long)result
);
21388 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21389 PyObject
*resultobj
;
21390 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21391 unsigned int arg2
;
21392 PyObject
* obj0
= 0 ;
21393 PyObject
* obj1
= 0 ;
21394 char *kwnames
[] = {
21395 (char *) "self",(char *) "indent", NULL
21398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
21399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21400 arg2
= (unsigned int) PyInt_AsLong(obj1
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 (arg1
)->SetIndent(arg2
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 Py_INCREF(Py_None
); resultobj
= Py_None
;
21416 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
;
21418 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21419 unsigned int result
;
21420 PyObject
* obj0
= 0 ;
21421 char *kwnames
[] = {
21422 (char *) "self", NULL
21425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
21426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
21431 wxPyEndAllowThreads(__tstate
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21434 resultobj
= PyInt_FromLong((long)result
);
21441 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21442 PyObject
*resultobj
;
21443 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21444 unsigned int arg2
;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self",(char *) "spacing", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
21452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21453 arg2
= (unsigned int) PyInt_AsLong(obj1
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21457 (arg1
)->SetSpacing(arg2
);
21459 wxPyEndAllowThreads(__tstate
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21462 Py_INCREF(Py_None
); resultobj
= Py_None
;
21469 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
;
21471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21472 wxImageList
*result
;
21473 PyObject
* obj0
= 0 ;
21474 char *kwnames
[] = {
21475 (char *) "self", NULL
21478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
21479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21482 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21488 resultobj
= wxPyMake_wxObject(result
);
21496 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21497 PyObject
*resultobj
;
21498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21499 wxImageList
*result
;
21500 PyObject
* obj0
= 0 ;
21501 char *kwnames
[] = {
21502 (char *) "self", NULL
21505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
21506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21509 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
21511 wxPyEndAllowThreads(__tstate
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21515 resultobj
= wxPyMake_wxObject(result
);
21523 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21524 PyObject
*resultobj
;
21525 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21526 wxImageList
*arg2
= (wxImageList
*) 0 ;
21527 PyObject
* obj0
= 0 ;
21528 PyObject
* obj1
= 0 ;
21529 char *kwnames
[] = {
21530 (char *) "self",(char *) "imageList", NULL
21533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21535 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 (arg1
)->SetImageList(arg2
);
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 Py_INCREF(Py_None
); resultobj
= Py_None
;
21550 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
;
21552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21553 wxImageList
*arg2
= (wxImageList
*) 0 ;
21554 PyObject
* obj0
= 0 ;
21555 PyObject
* obj1
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "self",(char *) "imageList", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 (arg1
)->SetStateImageList(arg2
);
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21570 Py_INCREF(Py_None
); resultobj
= Py_None
;
21577 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21578 PyObject
*resultobj
;
21579 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21580 wxImageList
*arg2
= (wxImageList
*) 0 ;
21581 PyObject
* obj0
= 0 ;
21582 PyObject
* obj1
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "self",(char *) "imageList", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21589 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 (arg1
)->AssignImageList(arg2
);
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 Py_INCREF(Py_None
); resultobj
= Py_None
;
21604 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21605 PyObject
*resultobj
;
21606 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21607 wxImageList
*arg2
= (wxImageList
*) 0 ;
21608 PyObject
* obj0
= 0 ;
21609 PyObject
* obj1
= 0 ;
21610 char *kwnames
[] = {
21611 (char *) "self",(char *) "imageList", NULL
21614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21616 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21619 (arg1
)->AssignStateImageList(arg2
);
21621 wxPyEndAllowThreads(__tstate
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21624 Py_INCREF(Py_None
); resultobj
= Py_None
;
21631 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21632 PyObject
*resultobj
;
21633 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21634 wxTreeItemId
*arg2
= 0 ;
21636 PyObject
* obj0
= 0 ;
21637 PyObject
* obj1
= 0 ;
21638 char *kwnames
[] = {
21639 (char *) "self",(char *) "item", NULL
21642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21645 if (arg2
== NULL
) {
21646 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21668 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21669 PyObject
*resultobj
;
21670 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21671 wxTreeItemId
*arg2
= 0 ;
21672 int arg3
= (int) wxTreeItemIcon_Normal
;
21674 PyObject
* obj0
= 0 ;
21675 PyObject
* obj1
= 0 ;
21676 char *kwnames
[] = {
21677 (char *) "self",(char *) "item",(char *) "which", NULL
21680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21682 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21683 if (arg2
== NULL
) {
21684 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= PyInt_FromLong((long)result
);
21700 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21702 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21703 wxTreeItemId
*arg2
= 0 ;
21704 wxPyTreeItemData
*result
;
21705 PyObject
* obj0
= 0 ;
21706 PyObject
* obj1
= 0 ;
21707 char *kwnames
[] = {
21708 (char *) "self",(char *) "item", NULL
21711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21713 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21714 if (arg2
== NULL
) {
21715 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21719 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
21721 wxPyEndAllowThreads(__tstate
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21724 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
21731 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
;
21733 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21734 wxTreeItemId
*arg2
= 0 ;
21736 PyObject
* obj0
= 0 ;
21737 PyObject
* obj1
= 0 ;
21738 char *kwnames
[] = {
21739 (char *) "self",(char *) "item", NULL
21742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
21743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21744 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21745 if (arg2
== NULL
) {
21746 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21750 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
21752 wxPyEndAllowThreads(__tstate
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21755 resultobj
= result
;
21762 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21763 PyObject
*resultobj
;
21764 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21765 wxTreeItemId
*arg2
= 0 ;
21767 PyObject
* obj0
= 0 ;
21768 PyObject
* obj1
= 0 ;
21769 char *kwnames
[] = {
21770 (char *) "self",(char *) "item", NULL
21773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21775 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21776 if (arg2
== NULL
) {
21777 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21787 wxColour
* resultptr
;
21788 resultptr
= new wxColour((wxColour
&) result
);
21789 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21797 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21798 PyObject
*resultobj
;
21799 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21800 wxTreeItemId
*arg2
= 0 ;
21802 PyObject
* obj0
= 0 ;
21803 PyObject
* obj1
= 0 ;
21804 char *kwnames
[] = {
21805 (char *) "self",(char *) "item", NULL
21808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21810 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21811 if (arg2
== NULL
) {
21812 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21822 wxColour
* resultptr
;
21823 resultptr
= new wxColour((wxColour
&) result
);
21824 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21832 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21833 PyObject
*resultobj
;
21834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21835 wxTreeItemId
*arg2
= 0 ;
21837 PyObject
* obj0
= 0 ;
21838 PyObject
* obj1
= 0 ;
21839 char *kwnames
[] = {
21840 (char *) "self",(char *) "item", NULL
21843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21845 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21846 if (arg2
== NULL
) {
21847 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21851 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21857 wxFont
* resultptr
;
21858 resultptr
= new wxFont((wxFont
&) result
);
21859 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
21867 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
;
21869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21870 wxTreeItemId
*arg2
= 0 ;
21871 wxString
*arg3
= 0 ;
21872 bool temp3
= False
;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 PyObject
* obj2
= 0 ;
21876 char *kwnames
[] = {
21877 (char *) "self",(char *) "item",(char *) "text", NULL
21880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21882 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21883 if (arg2
== NULL
) {
21884 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21887 arg3
= wxString_in_helper(obj2
);
21888 if (arg3
== NULL
) SWIG_fail
;
21892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21893 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
21895 wxPyEndAllowThreads(__tstate
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21898 Py_INCREF(Py_None
); resultobj
= Py_None
;
21913 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
;
21915 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21916 wxTreeItemId
*arg2
= 0 ;
21918 int arg4
= (int) wxTreeItemIcon_Normal
;
21919 PyObject
* obj0
= 0 ;
21920 PyObject
* obj1
= 0 ;
21921 char *kwnames
[] = {
21922 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
21926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21927 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21928 if (arg2
== NULL
) {
21929 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21933 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
21935 wxPyEndAllowThreads(__tstate
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21938 Py_INCREF(Py_None
); resultobj
= Py_None
;
21945 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21946 PyObject
*resultobj
;
21947 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21948 wxTreeItemId
*arg2
= 0 ;
21949 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
21950 PyObject
* obj0
= 0 ;
21951 PyObject
* obj1
= 0 ;
21952 PyObject
* obj2
= 0 ;
21953 char *kwnames
[] = {
21954 (char *) "self",(char *) "item",(char *) "data", NULL
21957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21959 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21960 if (arg2
== NULL
) {
21961 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21963 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21971 Py_INCREF(Py_None
); resultobj
= Py_None
;
21978 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
;
21980 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21981 wxTreeItemId
*arg2
= 0 ;
21982 PyObject
*arg3
= (PyObject
*) 0 ;
21983 PyObject
* obj0
= 0 ;
21984 PyObject
* obj1
= 0 ;
21985 PyObject
* obj2
= 0 ;
21986 char *kwnames
[] = {
21987 (char *) "self",(char *) "item",(char *) "obj", NULL
21990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21992 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21993 if (arg2
== NULL
) {
21994 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 Py_INCREF(Py_None
); resultobj
= Py_None
;
22011 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
;
22013 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22014 wxTreeItemId
*arg2
= 0 ;
22015 bool arg3
= (bool) True
;
22016 PyObject
* obj0
= 0 ;
22017 PyObject
* obj1
= 0 ;
22018 PyObject
* obj2
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self",(char *) "item",(char *) "has", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22025 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22026 if (arg2
== NULL
) {
22027 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22030 arg3
= PyInt_AsLong(obj2
) ? true : false;
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 Py_INCREF(Py_None
); resultobj
= Py_None
;
22047 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
;
22049 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22050 wxTreeItemId
*arg2
= 0 ;
22051 bool arg3
= (bool) True
;
22052 PyObject
* obj0
= 0 ;
22053 PyObject
* obj1
= 0 ;
22054 PyObject
* obj2
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self",(char *) "item",(char *) "bold", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22062 if (arg2
== NULL
) {
22063 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22066 arg3
= PyInt_AsLong(obj2
) ? true : false;
22067 if (PyErr_Occurred()) SWIG_fail
;
22070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22071 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
22073 wxPyEndAllowThreads(__tstate
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22076 Py_INCREF(Py_None
); resultobj
= Py_None
;
22083 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22084 PyObject
*resultobj
;
22085 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22086 wxTreeItemId
*arg2
= 0 ;
22087 bool arg3
= (bool) True
;
22088 PyObject
* obj0
= 0 ;
22089 PyObject
* obj1
= 0 ;
22090 PyObject
* obj2
= 0 ;
22091 char *kwnames
[] = {
22092 (char *) "self",(char *) "item",(char *) "highlight", NULL
22095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22097 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22098 if (arg2
== NULL
) {
22099 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22102 arg3
= PyInt_AsLong(obj2
) ? true : false;
22103 if (PyErr_Occurred()) SWIG_fail
;
22106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22107 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22112 Py_INCREF(Py_None
); resultobj
= Py_None
;
22119 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22120 PyObject
*resultobj
;
22121 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22122 wxTreeItemId
*arg2
= 0 ;
22123 wxColour
*arg3
= 0 ;
22125 PyObject
* obj0
= 0 ;
22126 PyObject
* obj1
= 0 ;
22127 PyObject
* obj2
= 0 ;
22128 char *kwnames
[] = {
22129 (char *) "self",(char *) "item",(char *) "col", NULL
22132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22134 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22135 if (arg2
== NULL
) {
22136 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22140 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22149 Py_INCREF(Py_None
); resultobj
= Py_None
;
22156 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22157 PyObject
*resultobj
;
22158 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22159 wxTreeItemId
*arg2
= 0 ;
22160 wxColour
*arg3
= 0 ;
22162 PyObject
* obj0
= 0 ;
22163 PyObject
* obj1
= 0 ;
22164 PyObject
* obj2
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self",(char *) "item",(char *) "col", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22172 if (arg2
== NULL
) {
22173 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22177 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22186 Py_INCREF(Py_None
); resultobj
= Py_None
;
22193 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
;
22195 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22196 wxTreeItemId
*arg2
= 0 ;
22198 PyObject
* obj0
= 0 ;
22199 PyObject
* obj1
= 0 ;
22200 PyObject
* obj2
= 0 ;
22201 char *kwnames
[] = {
22202 (char *) "self",(char *) "item",(char *) "font", NULL
22205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22207 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22208 if (arg2
== NULL
) {
22209 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22211 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22212 if (arg3
== NULL
) {
22213 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22217 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
22219 wxPyEndAllowThreads(__tstate
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22222 Py_INCREF(Py_None
); resultobj
= Py_None
;
22229 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
;
22231 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22232 wxTreeItemId
*arg2
= 0 ;
22234 PyObject
* obj0
= 0 ;
22235 PyObject
* obj1
= 0 ;
22236 char *kwnames
[] = {
22237 (char *) "self",(char *) "item", NULL
22240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22242 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22243 if (arg2
== NULL
) {
22244 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
22250 wxPyEndAllowThreads(__tstate
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22253 resultobj
= PyInt_FromLong((long)result
);
22260 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22261 PyObject
*resultobj
;
22262 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22263 wxTreeItemId
*arg2
= 0 ;
22265 PyObject
* obj0
= 0 ;
22266 PyObject
* obj1
= 0 ;
22267 char *kwnames
[] = {
22268 (char *) "self",(char *) "item", NULL
22271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22273 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22274 if (arg2
== NULL
) {
22275 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22284 resultobj
= PyInt_FromLong((long)result
);
22291 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
;
22293 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22294 wxTreeItemId
*arg2
= 0 ;
22296 PyObject
* obj0
= 0 ;
22297 PyObject
* obj1
= 0 ;
22298 char *kwnames
[] = {
22299 (char *) "self",(char *) "item", NULL
22302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
22303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22304 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22305 if (arg2
== NULL
) {
22306 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22315 resultobj
= PyInt_FromLong((long)result
);
22322 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
;
22324 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22325 wxTreeItemId
*arg2
= 0 ;
22327 PyObject
* obj0
= 0 ;
22328 PyObject
* obj1
= 0 ;
22329 char *kwnames
[] = {
22330 (char *) "self",(char *) "item", NULL
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22335 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22336 if (arg2
== NULL
) {
22337 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22341 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
22343 wxPyEndAllowThreads(__tstate
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22346 resultobj
= PyInt_FromLong((long)result
);
22353 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22354 PyObject
*resultobj
;
22355 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22356 wxTreeItemId
*arg2
= 0 ;
22358 PyObject
* obj0
= 0 ;
22359 PyObject
* obj1
= 0 ;
22360 char *kwnames
[] = {
22361 (char *) "self",(char *) "item", NULL
22364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
22365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22366 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22367 if (arg2
== NULL
) {
22368 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22372 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
22374 wxPyEndAllowThreads(__tstate
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22377 resultobj
= PyInt_FromLong((long)result
);
22384 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22385 PyObject
*resultobj
;
22386 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22387 wxTreeItemId
*arg2
= 0 ;
22388 bool arg3
= (bool) True
;
22390 PyObject
* obj0
= 0 ;
22391 PyObject
* obj1
= 0 ;
22392 PyObject
* obj2
= 0 ;
22393 char *kwnames
[] = {
22394 (char *) "self",(char *) "item",(char *) "recursively", NULL
22397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22399 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22400 if (arg2
== NULL
) {
22401 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22404 arg3
= PyInt_AsLong(obj2
) ? true : false;
22405 if (PyErr_Occurred()) SWIG_fail
;
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
22411 wxPyEndAllowThreads(__tstate
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22414 resultobj
= PyInt_FromLong((long)result
);
22421 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22422 PyObject
*resultobj
;
22423 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22424 wxTreeItemId result
;
22425 PyObject
* obj0
= 0 ;
22426 char *kwnames
[] = {
22427 (char *) "self", NULL
22430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
22431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22440 wxTreeItemId
* resultptr
;
22441 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22442 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22450 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22451 PyObject
*resultobj
;
22452 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22453 wxTreeItemId result
;
22454 PyObject
* obj0
= 0 ;
22455 char *kwnames
[] = {
22456 (char *) "self", NULL
22459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
22460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22469 wxTreeItemId
* resultptr
;
22470 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22471 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22479 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22480 PyObject
*resultobj
;
22481 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22483 PyObject
* obj0
= 0 ;
22484 char *kwnames
[] = {
22485 (char *) "self", NULL
22488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
22489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
22494 wxPyEndAllowThreads(__tstate
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22497 resultobj
= result
;
22504 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22505 PyObject
*resultobj
;
22506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22507 wxTreeItemId
*arg2
= 0 ;
22508 wxTreeItemId result
;
22509 PyObject
* obj0
= 0 ;
22510 PyObject
* obj1
= 0 ;
22511 char *kwnames
[] = {
22512 (char *) "self",(char *) "item", NULL
22515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22517 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22518 if (arg2
== NULL
) {
22519 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22523 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
22525 wxPyEndAllowThreads(__tstate
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22529 wxTreeItemId
* resultptr
;
22530 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22531 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22539 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22540 PyObject
*resultobj
;
22541 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22542 wxTreeItemId
*arg2
= 0 ;
22544 PyObject
* obj0
= 0 ;
22545 PyObject
* obj1
= 0 ;
22546 char *kwnames
[] = {
22547 (char *) "self",(char *) "item", NULL
22550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22552 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22553 if (arg2
== NULL
) {
22554 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22558 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
22560 wxPyEndAllowThreads(__tstate
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22563 resultobj
= result
;
22570 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22571 PyObject
*resultobj
;
22572 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22573 wxTreeItemId
*arg2
= 0 ;
22574 wxTreeItemIdValue
*arg3
= 0 ;
22576 PyObject
* obj0
= 0 ;
22577 PyObject
* obj1
= 0 ;
22578 PyObject
* obj2
= 0 ;
22579 char *kwnames
[] = {
22580 (char *) "self",(char *) "item",(char *) "cookie", NULL
22583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22586 if (arg2
== NULL
) {
22587 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22589 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemIdValue
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22590 if (arg3
== NULL
) {
22591 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22595 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,*arg3
);
22597 wxPyEndAllowThreads(__tstate
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22600 resultobj
= result
;
22607 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22608 PyObject
*resultobj
;
22609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22610 wxTreeItemId
*arg2
= 0 ;
22611 wxTreeItemId result
;
22612 PyObject
* obj0
= 0 ;
22613 PyObject
* obj1
= 0 ;
22614 char *kwnames
[] = {
22615 (char *) "self",(char *) "item", NULL
22618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22620 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22621 if (arg2
== NULL
) {
22622 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22626 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
22628 wxPyEndAllowThreads(__tstate
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22632 wxTreeItemId
* resultptr
;
22633 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22634 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22642 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
;
22644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22645 wxTreeItemId
*arg2
= 0 ;
22646 wxTreeItemId result
;
22647 PyObject
* obj0
= 0 ;
22648 PyObject
* obj1
= 0 ;
22649 char *kwnames
[] = {
22650 (char *) "self",(char *) "item", NULL
22653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22655 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22656 if (arg2
== NULL
) {
22657 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22661 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22667 wxTreeItemId
* resultptr
;
22668 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22669 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22677 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22678 PyObject
*resultobj
;
22679 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22680 wxTreeItemId
*arg2
= 0 ;
22681 wxTreeItemId result
;
22682 PyObject
* obj0
= 0 ;
22683 PyObject
* obj1
= 0 ;
22684 char *kwnames
[] = {
22685 (char *) "self",(char *) "item", NULL
22688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22690 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22691 if (arg2
== NULL
) {
22692 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22696 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22702 wxTreeItemId
* resultptr
;
22703 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22704 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22712 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22713 PyObject
*resultobj
;
22714 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22715 wxTreeItemId result
;
22716 PyObject
* obj0
= 0 ;
22717 char *kwnames
[] = {
22718 (char *) "self", NULL
22721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
22722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22731 wxTreeItemId
* resultptr
;
22732 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22733 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22741 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22742 PyObject
*resultobj
;
22743 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22744 wxTreeItemId
*arg2
= 0 ;
22745 wxTreeItemId result
;
22746 PyObject
* obj0
= 0 ;
22747 PyObject
* obj1
= 0 ;
22748 char *kwnames
[] = {
22749 (char *) "self",(char *) "item", NULL
22752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22754 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22755 if (arg2
== NULL
) {
22756 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22766 wxTreeItemId
* resultptr
;
22767 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22768 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22776 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22777 PyObject
*resultobj
;
22778 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22779 wxTreeItemId
*arg2
= 0 ;
22780 wxTreeItemId result
;
22781 PyObject
* obj0
= 0 ;
22782 PyObject
* obj1
= 0 ;
22783 char *kwnames
[] = {
22784 (char *) "self",(char *) "item", NULL
22787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22789 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22790 if (arg2
== NULL
) {
22791 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22795 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
22797 wxPyEndAllowThreads(__tstate
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22801 wxTreeItemId
* resultptr
;
22802 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22803 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22811 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22812 PyObject
*resultobj
;
22813 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22814 wxString
*arg2
= 0 ;
22815 int arg3
= (int) -1 ;
22816 int arg4
= (int) -1 ;
22817 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
22818 wxTreeItemId result
;
22819 bool temp2
= False
;
22820 PyObject
* obj0
= 0 ;
22821 PyObject
* obj1
= 0 ;
22822 PyObject
* obj4
= 0 ;
22823 char *kwnames
[] = {
22824 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
22828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22830 arg2
= wxString_in_helper(obj1
);
22831 if (arg2
== NULL
) SWIG_fail
;
22835 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22845 wxTreeItemId
* resultptr
;
22846 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22847 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22863 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
;
22865 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22866 wxTreeItemId
*arg2
= 0 ;
22867 wxString
*arg3
= 0 ;
22868 int arg4
= (int) -1 ;
22869 int arg5
= (int) -1 ;
22870 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22871 wxTreeItemId result
;
22872 bool temp3
= False
;
22873 PyObject
* obj0
= 0 ;
22874 PyObject
* obj1
= 0 ;
22875 PyObject
* obj2
= 0 ;
22876 PyObject
* obj5
= 0 ;
22877 char *kwnames
[] = {
22878 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22883 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22884 if (arg2
== NULL
) {
22885 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22888 arg3
= wxString_in_helper(obj2
);
22889 if (arg3
== NULL
) SWIG_fail
;
22893 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22903 wxTreeItemId
* resultptr
;
22904 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22905 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22921 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22924 wxTreeItemId
*arg2
= 0 ;
22925 wxTreeItemId
*arg3
= 0 ;
22926 wxString
*arg4
= 0 ;
22927 int arg5
= (int) -1 ;
22928 int arg6
= (int) -1 ;
22929 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22930 wxTreeItemId result
;
22931 bool temp4
= False
;
22932 PyObject
* obj0
= 0 ;
22933 PyObject
* obj1
= 0 ;
22934 PyObject
* obj2
= 0 ;
22935 PyObject
* obj3
= 0 ;
22936 PyObject
* obj6
= 0 ;
22937 char *kwnames
[] = {
22938 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22943 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22944 if (arg2
== NULL
) {
22945 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22947 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22948 if (arg3
== NULL
) {
22949 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22952 arg4
= wxString_in_helper(obj3
);
22953 if (arg4
== NULL
) SWIG_fail
;
22957 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22961 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22967 wxTreeItemId
* resultptr
;
22968 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22969 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22985 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22986 PyObject
*resultobj
;
22987 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22988 wxTreeItemId
*arg2
= 0 ;
22990 wxString
*arg4
= 0 ;
22991 int arg5
= (int) -1 ;
22992 int arg6
= (int) -1 ;
22993 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22994 wxTreeItemId result
;
22995 bool temp4
= False
;
22996 PyObject
* obj0
= 0 ;
22997 PyObject
* obj1
= 0 ;
22998 PyObject
* obj2
= 0 ;
22999 PyObject
* obj3
= 0 ;
23000 PyObject
* obj6
= 0 ;
23001 char *kwnames
[] = {
23002 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
23006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23007 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23008 if (arg2
== NULL
) {
23009 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23011 arg3
= (size_t) PyInt_AsLong(obj2
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23014 arg4
= wxString_in_helper(obj3
);
23015 if (arg4
== NULL
) SWIG_fail
;
23019 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23029 wxTreeItemId
* resultptr
;
23030 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23031 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23047 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23048 PyObject
*resultobj
;
23049 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23050 wxTreeItemId
*arg2
= 0 ;
23051 wxString
*arg3
= 0 ;
23052 int arg4
= (int) -1 ;
23053 int arg5
= (int) -1 ;
23054 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
23055 wxTreeItemId result
;
23056 bool temp3
= False
;
23057 PyObject
* obj0
= 0 ;
23058 PyObject
* obj1
= 0 ;
23059 PyObject
* obj2
= 0 ;
23060 PyObject
* obj5
= 0 ;
23061 char *kwnames
[] = {
23062 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
23066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23067 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23068 if (arg2
== NULL
) {
23069 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23072 arg3
= wxString_in_helper(obj2
);
23073 if (arg3
== NULL
) SWIG_fail
;
23077 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
23083 wxPyEndAllowThreads(__tstate
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23087 wxTreeItemId
* resultptr
;
23088 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23089 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23105 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23106 PyObject
*resultobj
;
23107 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23108 wxTreeItemId
*arg2
= 0 ;
23109 PyObject
* obj0
= 0 ;
23110 PyObject
* obj1
= 0 ;
23111 char *kwnames
[] = {
23112 (char *) "self",(char *) "item", NULL
23115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
23116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23118 if (arg2
== NULL
) {
23119 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23123 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
23125 wxPyEndAllowThreads(__tstate
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23128 Py_INCREF(Py_None
); resultobj
= Py_None
;
23135 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23136 PyObject
*resultobj
;
23137 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23138 wxTreeItemId
*arg2
= 0 ;
23139 PyObject
* obj0
= 0 ;
23140 PyObject
* obj1
= 0 ;
23141 char *kwnames
[] = {
23142 (char *) "self",(char *) "item", NULL
23145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
23146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23147 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23148 if (arg2
== NULL
) {
23149 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 Py_INCREF(Py_None
); resultobj
= Py_None
;
23165 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
;
23167 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23168 PyObject
* obj0
= 0 ;
23169 char *kwnames
[] = {
23170 (char *) "self", NULL
23173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
23174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23177 (arg1
)->DeleteAllItems();
23179 wxPyEndAllowThreads(__tstate
);
23180 if (PyErr_Occurred()) SWIG_fail
;
23182 Py_INCREF(Py_None
); resultobj
= Py_None
;
23189 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23190 PyObject
*resultobj
;
23191 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23192 wxTreeItemId
*arg2
= 0 ;
23193 PyObject
* obj0
= 0 ;
23194 PyObject
* obj1
= 0 ;
23195 char *kwnames
[] = {
23196 (char *) "self",(char *) "item", NULL
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
23200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23201 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23202 if (arg2
== NULL
) {
23203 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
23209 wxPyEndAllowThreads(__tstate
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23212 Py_INCREF(Py_None
); resultobj
= Py_None
;
23219 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23220 PyObject
*resultobj
;
23221 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23222 wxTreeItemId
*arg2
= 0 ;
23223 PyObject
* obj0
= 0 ;
23224 PyObject
* obj1
= 0 ;
23225 char *kwnames
[] = {
23226 (char *) "self",(char *) "item", NULL
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
23230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23231 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23232 if (arg2
== NULL
) {
23233 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23242 Py_INCREF(Py_None
); resultobj
= Py_None
;
23249 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23250 PyObject
*resultobj
;
23251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23252 wxTreeItemId
*arg2
= 0 ;
23253 PyObject
* obj0
= 0 ;
23254 PyObject
* obj1
= 0 ;
23255 char *kwnames
[] = {
23256 (char *) "self",(char *) "item", NULL
23259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
23260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23261 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23262 if (arg2
== NULL
) {
23263 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 Py_INCREF(Py_None
); resultobj
= Py_None
;
23279 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23282 wxTreeItemId
*arg2
= 0 ;
23283 PyObject
* obj0
= 0 ;
23284 PyObject
* obj1
= 0 ;
23285 char *kwnames
[] = {
23286 (char *) "self",(char *) "item", NULL
23289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
23290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23291 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23292 if (arg2
== NULL
) {
23293 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23302 Py_INCREF(Py_None
); resultobj
= Py_None
;
23309 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
;
23311 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23312 PyObject
* obj0
= 0 ;
23313 char *kwnames
[] = {
23314 (char *) "self", NULL
23317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
23318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 (arg1
)->Unselect();
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23326 Py_INCREF(Py_None
); resultobj
= Py_None
;
23333 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23334 PyObject
*resultobj
;
23335 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23336 PyObject
* obj0
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
23342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23345 (arg1
)->UnselectAll();
23347 wxPyEndAllowThreads(__tstate
);
23348 if (PyErr_Occurred()) SWIG_fail
;
23350 Py_INCREF(Py_None
); resultobj
= Py_None
;
23357 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23358 PyObject
*resultobj
;
23359 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23360 wxTreeItemId
*arg2
= 0 ;
23361 PyObject
* obj0
= 0 ;
23362 PyObject
* obj1
= 0 ;
23363 char *kwnames
[] = {
23364 (char *) "self",(char *) "item", NULL
23367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23369 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23370 if (arg2
== NULL
) {
23371 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 Py_INCREF(Py_None
); resultobj
= Py_None
;
23387 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23388 PyObject
*resultobj
;
23389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23390 wxTreeItemId
*arg2
= 0 ;
23391 PyObject
* obj0
= 0 ;
23392 PyObject
* obj1
= 0 ;
23393 char *kwnames
[] = {
23394 (char *) "self",(char *) "item", NULL
23397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23399 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23400 if (arg2
== NULL
) {
23401 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 Py_INCREF(Py_None
); resultobj
= Py_None
;
23417 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
;
23419 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23420 wxTreeItemId
*arg2
= 0 ;
23421 PyObject
* obj0
= 0 ;
23422 PyObject
* obj1
= 0 ;
23423 char *kwnames
[] = {
23424 (char *) "self",(char *) "item", NULL
23427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23429 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23430 if (arg2
== NULL
) {
23431 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23435 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
23437 wxPyEndAllowThreads(__tstate
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23440 Py_INCREF(Py_None
); resultobj
= Py_None
;
23447 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
;
23449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23450 wxTreeItemId
*arg2
= 0 ;
23451 PyObject
* obj0
= 0 ;
23452 PyObject
* obj1
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self",(char *) "item", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23459 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23460 if (arg2
== NULL
) {
23461 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23465 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23470 Py_INCREF(Py_None
); resultobj
= Py_None
;
23477 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23478 PyObject
*resultobj
;
23479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23480 wxTextCtrl
*result
;
23481 PyObject
* obj0
= 0 ;
23482 char *kwnames
[] = {
23483 (char *) "self", NULL
23486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
23487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23496 resultobj
= wxPyMake_wxObject(result
);
23504 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
;
23506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23507 wxTreeItemId
*arg2
= 0 ;
23508 bool arg3
= (bool) False
;
23509 PyObject
* obj0
= 0 ;
23510 PyObject
* obj1
= 0 ;
23511 PyObject
* obj2
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23518 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23519 if (arg2
== NULL
) {
23520 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23523 arg3
= PyInt_AsLong(obj2
) ? true : false;
23524 if (PyErr_Occurred()) SWIG_fail
;
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23533 Py_INCREF(Py_None
); resultobj
= Py_None
;
23540 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
;
23542 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23543 wxTreeItemId
*arg2
= 0 ;
23544 PyObject
* obj0
= 0 ;
23545 PyObject
* obj1
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "self",(char *) "item", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
23551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23552 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23553 if (arg2
== NULL
) {
23554 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23558 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23563 Py_INCREF(Py_None
); resultobj
= Py_None
;
23570 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
;
23572 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23573 wxPoint
*arg2
= 0 ;
23575 wxTreeItemId result
;
23578 PyObject
* obj0
= 0 ;
23579 PyObject
* obj1
= 0 ;
23580 char *kwnames
[] = {
23581 (char *) "self",(char *) "point", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23589 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 wxTreeItemId
* resultptr
;
23600 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23601 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23604 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23605 resultobj
= t_output_helper(resultobj
,o
);
23613 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23614 PyObject
*resultobj
;
23615 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23616 wxTreeItemId
*arg2
= 0 ;
23617 bool arg3
= (bool) False
;
23619 PyObject
* obj0
= 0 ;
23620 PyObject
* obj1
= 0 ;
23621 PyObject
* obj2
= 0 ;
23622 char *kwnames
[] = {
23623 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23628 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23629 if (arg2
== NULL
) {
23630 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23633 arg3
= PyInt_AsLong(obj2
) ? true : false;
23634 if (PyErr_Occurred()) SWIG_fail
;
23637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23643 resultobj
= result
;
23650 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23653 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
23655 return Py_BuildValue((char *)"");
23657 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
23658 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
23663 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
23668 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
23670 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
23677 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23678 PyObject
*resultobj
;
23679 wxWindow
*arg1
= (wxWindow
*) 0 ;
23680 int arg2
= (int) (int)-1 ;
23681 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
23682 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23683 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23684 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23685 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23686 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23687 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23688 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23689 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23690 int arg8
= (int) 0 ;
23691 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
23692 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23693 wxGenericDirCtrl
*result
;
23694 bool temp3
= False
;
23697 bool temp7
= False
;
23698 bool temp9
= False
;
23699 PyObject
* obj0
= 0 ;
23700 PyObject
* obj2
= 0 ;
23701 PyObject
* obj3
= 0 ;
23702 PyObject
* obj4
= 0 ;
23703 PyObject
* obj6
= 0 ;
23704 PyObject
* obj8
= 0 ;
23705 char *kwnames
[] = {
23706 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&obj8
)) goto fail
;
23710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23713 arg3
= wxString_in_helper(obj2
);
23714 if (arg3
== NULL
) SWIG_fail
;
23721 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23727 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23732 arg7
= wxString_in_helper(obj6
);
23733 if (arg7
== NULL
) SWIG_fail
;
23739 arg9
= wxString_in_helper(obj8
);
23740 if (arg9
== NULL
) SWIG_fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23782 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23783 PyObject
*resultobj
;
23784 wxGenericDirCtrl
*result
;
23785 char *kwnames
[] = {
23789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
23794 wxPyEndAllowThreads(__tstate
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23797 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23804 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23805 PyObject
*resultobj
;
23806 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23807 wxWindow
*arg2
= (wxWindow
*) 0 ;
23808 int arg3
= (int) (int)-1 ;
23809 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
23810 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23811 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23812 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23813 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23814 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23815 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23816 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23817 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23818 int arg9
= (int) 0 ;
23819 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
23820 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
23822 bool temp4
= False
;
23825 bool temp8
= False
;
23826 bool temp10
= False
;
23827 PyObject
* obj0
= 0 ;
23828 PyObject
* obj1
= 0 ;
23829 PyObject
* obj3
= 0 ;
23830 PyObject
* obj4
= 0 ;
23831 PyObject
* obj5
= 0 ;
23832 PyObject
* obj7
= 0 ;
23833 PyObject
* obj9
= 0 ;
23834 char *kwnames
[] = {
23835 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&arg9
,&obj9
)) goto fail
;
23839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23840 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23843 arg4
= wxString_in_helper(obj3
);
23844 if (arg4
== NULL
) SWIG_fail
;
23851 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23857 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23862 arg8
= wxString_in_helper(obj7
);
23863 if (arg8
== NULL
) SWIG_fail
;
23869 arg10
= wxString_in_helper(obj9
);
23870 if (arg10
== NULL
) SWIG_fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= PyInt_FromLong((long)result
);
23912 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23913 PyObject
*resultobj
;
23914 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23915 wxString
*arg2
= 0 ;
23917 bool temp2
= False
;
23918 PyObject
* obj0
= 0 ;
23919 PyObject
* obj1
= 0 ;
23920 char *kwnames
[] = {
23921 (char *) "self",(char *) "path", NULL
23924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23927 arg2
= wxString_in_helper(obj1
);
23928 if (arg2
== NULL
) SWIG_fail
;
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 resultobj
= PyInt_FromLong((long)result
);
23953 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
;
23955 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23957 PyObject
* obj0
= 0 ;
23958 char *kwnames
[] = {
23959 (char *) "self", NULL
23962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
23963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23966 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23984 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
;
23986 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23987 wxString
*arg2
= 0 ;
23988 bool temp2
= False
;
23989 PyObject
* obj0
= 0 ;
23990 PyObject
* obj1
= 0 ;
23991 char *kwnames
[] = {
23992 (char *) "self",(char *) "path", NULL
23995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23998 arg2
= wxString_in_helper(obj1
);
23999 if (arg2
== NULL
) SWIG_fail
;
24003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24004 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
24006 wxPyEndAllowThreads(__tstate
);
24007 if (PyErr_Occurred()) SWIG_fail
;
24009 Py_INCREF(Py_None
); resultobj
= Py_None
;
24024 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
;
24026 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24028 PyObject
* obj0
= 0 ;
24029 char *kwnames
[] = {
24030 (char *) "self", NULL
24033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
24034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24055 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24057 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24059 PyObject
* obj0
= 0 ;
24060 char *kwnames
[] = {
24061 (char *) "self", NULL
24064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
24065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
24070 wxPyEndAllowThreads(__tstate
);
24071 if (PyErr_Occurred()) SWIG_fail
;
24075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24086 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24087 PyObject
*resultobj
;
24088 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24089 wxString
*arg2
= 0 ;
24090 bool temp2
= False
;
24091 PyObject
* obj0
= 0 ;
24092 PyObject
* obj1
= 0 ;
24093 char *kwnames
[] = {
24094 (char *) "self",(char *) "path", NULL
24097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
24098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24100 arg2
= wxString_in_helper(obj1
);
24101 if (arg2
== NULL
) SWIG_fail
;
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 (arg1
)->SetPath((wxString
const &)*arg2
);
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 Py_INCREF(Py_None
); resultobj
= Py_None
;
24126 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
;
24128 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24130 PyObject
* obj0
= 0 ;
24131 PyObject
* obj1
= 0 ;
24132 char *kwnames
[] = {
24133 (char *) "self",(char *) "show", NULL
24136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
24137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24138 arg2
= PyInt_AsLong(obj1
) ? true : false;
24139 if (PyErr_Occurred()) SWIG_fail
;
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 (arg1
)->ShowHidden(arg2
);
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24147 Py_INCREF(Py_None
); resultobj
= Py_None
;
24154 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
;
24156 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24158 PyObject
* obj0
= 0 ;
24159 char *kwnames
[] = {
24160 (char *) "self", NULL
24163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
24164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 result
= (bool)(arg1
)->GetShowHidden();
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= PyInt_FromLong((long)result
);
24179 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24180 PyObject
*resultobj
;
24181 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24183 PyObject
* obj0
= 0 ;
24184 char *kwnames
[] = {
24185 (char *) "self", NULL
24188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
24189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24210 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24211 PyObject
*resultobj
;
24212 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24213 wxString
*arg2
= 0 ;
24214 bool temp2
= False
;
24215 PyObject
* obj0
= 0 ;
24216 PyObject
* obj1
= 0 ;
24217 char *kwnames
[] = {
24218 (char *) "self",(char *) "filter", NULL
24221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
24222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24224 arg2
= wxString_in_helper(obj1
);
24225 if (arg2
== NULL
) SWIG_fail
;
24229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24230 (arg1
)->SetFilter((wxString
const &)*arg2
);
24232 wxPyEndAllowThreads(__tstate
);
24233 if (PyErr_Occurred()) SWIG_fail
;
24235 Py_INCREF(Py_None
); resultobj
= Py_None
;
24250 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24251 PyObject
*resultobj
;
24252 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24254 PyObject
* obj0
= 0 ;
24255 char *kwnames
[] = {
24256 (char *) "self", NULL
24259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
24260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= PyInt_FromLong((long)result
);
24275 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
;
24277 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24279 PyObject
* obj0
= 0 ;
24280 char *kwnames
[] = {
24281 (char *) "self",(char *) "n", NULL
24284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
24285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24288 (arg1
)->SetFilterIndex(arg2
);
24290 wxPyEndAllowThreads(__tstate
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24293 Py_INCREF(Py_None
); resultobj
= Py_None
;
24300 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24301 PyObject
*resultobj
;
24302 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24303 wxTreeItemId result
;
24304 PyObject
* obj0
= 0 ;
24305 char *kwnames
[] = {
24306 (char *) "self", NULL
24309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
24310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 result
= (arg1
)->GetRootId();
24315 wxPyEndAllowThreads(__tstate
);
24316 if (PyErr_Occurred()) SWIG_fail
;
24319 wxTreeItemId
* resultptr
;
24320 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24321 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24329 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24330 PyObject
*resultobj
;
24331 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24332 wxPyTreeCtrl
*result
;
24333 PyObject
* obj0
= 0 ;
24334 char *kwnames
[] = {
24335 (char *) "self", NULL
24338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
24339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= wxPyMake_wxObject(result
);
24356 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24359 wxDirFilterListCtrl
*result
;
24360 PyObject
* obj0
= 0 ;
24361 char *kwnames
[] = {
24362 (char *) "self", NULL
24365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
24366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
24381 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
;
24383 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24384 wxTreeItemId arg2
;
24385 wxString
*arg3
= 0 ;
24387 wxTreeItemId result
;
24388 wxTreeItemId
*argp2
;
24389 bool temp3
= False
;
24391 PyObject
* obj0
= 0 ;
24392 PyObject
* obj1
= 0 ;
24393 PyObject
* obj2
= 0 ;
24394 char *kwnames
[] = {
24395 (char *) "self",(char *) "parentId",(char *) "path", NULL
24399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24401 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
24404 arg3
= wxString_in_helper(obj2
);
24405 if (arg3
== NULL
) SWIG_fail
;
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
24412 wxPyEndAllowThreads(__tstate
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24416 wxTreeItemId
* resultptr
;
24417 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24418 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24421 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24422 resultobj
= t_output_helper(resultobj
,o
);
24438 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24439 PyObject
*resultobj
;
24440 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24441 PyObject
* obj0
= 0 ;
24442 char *kwnames
[] = {
24443 (char *) "self", NULL
24446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
24447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 (arg1
)->DoResize();
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 Py_INCREF(Py_None
); resultobj
= Py_None
;
24462 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
;
24464 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24465 PyObject
* obj0
= 0 ;
24466 char *kwnames
[] = {
24467 (char *) "self", NULL
24470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
24471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 (arg1
)->ReCreateTree();
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24479 Py_INCREF(Py_None
); resultobj
= Py_None
;
24486 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24489 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
24491 return Py_BuildValue((char *)"");
24493 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24494 PyObject
*resultobj
;
24495 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24496 int arg2
= (int) (int)-1 ;
24497 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24498 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24499 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24500 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24501 long arg5
= (long) 0 ;
24502 wxDirFilterListCtrl
*result
;
24505 PyObject
* obj0
= 0 ;
24506 PyObject
* obj2
= 0 ;
24507 PyObject
* obj3
= 0 ;
24508 char *kwnames
[] = {
24509 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24517 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24523 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24540 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxDirFilterListCtrl
*result
;
24543 char *kwnames
[] = {
24547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
24549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24550 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24562 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
;
24564 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24565 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
24566 int arg3
= (int) (int)-1 ;
24567 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24568 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24569 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24570 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24571 long arg6
= (long) 0 ;
24575 PyObject
* obj0
= 0 ;
24576 PyObject
* obj1
= 0 ;
24577 PyObject
* obj3
= 0 ;
24578 PyObject
* obj4
= 0 ;
24579 char *kwnames
[] = {
24580 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
24584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24589 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24595 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24605 resultobj
= PyInt_FromLong((long)result
);
24612 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
;
24614 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24615 wxString
*arg2
= 0 ;
24617 bool temp2
= False
;
24618 PyObject
* obj0
= 0 ;
24619 PyObject
* obj1
= 0 ;
24620 char *kwnames
[] = {
24621 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
24625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24627 arg2
= wxString_in_helper(obj1
);
24628 if (arg2
== NULL
) SWIG_fail
;
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24638 Py_INCREF(Py_None
); resultobj
= Py_None
;
24653 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24656 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
24658 return Py_BuildValue((char *)"");
24660 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24661 PyObject
*resultobj
;
24662 wxWindow
*arg1
= (wxWindow
*) 0 ;
24664 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24665 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24666 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24667 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24668 long arg5
= (long) 0 ;
24669 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24670 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24671 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
24672 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24673 wxPyControl
*result
;
24676 bool temp7
= False
;
24677 PyObject
* obj0
= 0 ;
24678 PyObject
* obj2
= 0 ;
24679 PyObject
* obj3
= 0 ;
24680 PyObject
* obj5
= 0 ;
24681 PyObject
* obj6
= 0 ;
24682 char *kwnames
[] = {
24683 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_PyControl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
24687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24691 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24697 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24701 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24702 if (arg6
== NULL
) {
24703 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24708 arg7
= wxString_in_helper(obj6
);
24709 if (arg7
== NULL
) SWIG_fail
;
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
24735 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24736 PyObject
*resultobj
;
24737 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24738 PyObject
*arg2
= (PyObject
*) 0 ;
24739 PyObject
*arg3
= (PyObject
*) 0 ;
24740 PyObject
* obj0
= 0 ;
24741 PyObject
* obj1
= 0 ;
24742 PyObject
* obj2
= 0 ;
24743 char *kwnames
[] = {
24744 (char *) "self",(char *) "self",(char *) "_class", NULL
24747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24758 Py_INCREF(Py_None
); resultobj
= Py_None
;
24765 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24766 PyObject
*resultobj
;
24767 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24772 PyObject
* obj0
= 0 ;
24773 char *kwnames
[] = {
24774 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24786 Py_INCREF(Py_None
); resultobj
= Py_None
;
24793 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24794 PyObject
*resultobj
;
24795 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24800 int arg6
= (int) wxSIZE_AUTO
;
24801 PyObject
* obj0
= 0 ;
24802 char *kwnames
[] = {
24803 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24815 Py_INCREF(Py_None
); resultobj
= Py_None
;
24822 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24823 PyObject
*resultobj
;
24824 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24827 PyObject
* obj0
= 0 ;
24828 char *kwnames
[] = {
24829 (char *) "self",(char *) "width",(char *) "height", NULL
24832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24836 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
24838 wxPyEndAllowThreads(__tstate
);
24839 if (PyErr_Occurred()) SWIG_fail
;
24841 Py_INCREF(Py_None
); resultobj
= Py_None
;
24848 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24849 PyObject
*resultobj
;
24850 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24853 PyObject
* obj0
= 0 ;
24854 char *kwnames
[] = {
24855 (char *) "self",(char *) "x",(char *) "y", NULL
24858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24862 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
24864 wxPyEndAllowThreads(__tstate
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24867 Py_INCREF(Py_None
); resultobj
= Py_None
;
24874 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24875 PyObject
*resultobj
;
24876 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24877 int *arg2
= (int *) 0 ;
24878 int *arg3
= (int *) 0 ;
24881 PyObject
* obj0
= 0 ;
24882 char *kwnames
[] = {
24883 (char *) "self", NULL
24888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
24889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24892 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
24894 wxPyEndAllowThreads(__tstate
);
24895 if (PyErr_Occurred()) SWIG_fail
;
24897 Py_INCREF(Py_None
); resultobj
= Py_None
;
24899 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24900 resultobj
= t_output_helper(resultobj
,o
);
24903 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24904 resultobj
= t_output_helper(resultobj
,o
);
24912 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24913 PyObject
*resultobj
;
24914 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24915 int *arg2
= (int *) 0 ;
24916 int *arg3
= (int *) 0 ;
24919 PyObject
* obj0
= 0 ;
24920 char *kwnames
[] = {
24921 (char *) "self", NULL
24926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
24927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24935 Py_INCREF(Py_None
); resultobj
= Py_None
;
24937 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24938 resultobj
= t_output_helper(resultobj
,o
);
24941 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24942 resultobj
= t_output_helper(resultobj
,o
);
24950 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24951 PyObject
*resultobj
;
24952 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24953 int *arg2
= (int *) 0 ;
24954 int *arg3
= (int *) 0 ;
24957 PyObject
* obj0
= 0 ;
24958 char *kwnames
[] = {
24959 (char *) "self", NULL
24964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
24965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
24970 wxPyEndAllowThreads(__tstate
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24973 Py_INCREF(Py_None
); resultobj
= Py_None
;
24975 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24976 resultobj
= t_output_helper(resultobj
,o
);
24979 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24980 resultobj
= t_output_helper(resultobj
,o
);
24988 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24989 PyObject
*resultobj
;
24990 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24992 PyObject
* obj0
= 0 ;
24993 char *kwnames
[] = {
24994 (char *) "self", NULL
24997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
24998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
25003 wxPyEndAllowThreads(__tstate
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25007 wxSize
* resultptr
;
25008 resultptr
= new wxSize((wxSize
&) result
);
25009 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25017 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25018 PyObject
*resultobj
;
25019 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25021 PyObject
* obj0
= 0 ;
25022 char *kwnames
[] = {
25023 (char *) "self", NULL
25026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
25027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25030 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
25032 wxPyEndAllowThreads(__tstate
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25036 wxSize
* resultptr
;
25037 resultptr
= new wxSize((wxSize
&) result
);
25038 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25046 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25047 PyObject
*resultobj
;
25048 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25049 PyObject
* obj0
= 0 ;
25050 char *kwnames
[] = {
25051 (char *) "self", NULL
25054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
25055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 (arg1
)->base_InitDialog();
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25063 Py_INCREF(Py_None
); resultobj
= Py_None
;
25070 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
;
25072 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25074 PyObject
* obj0
= 0 ;
25075 char *kwnames
[] = {
25076 (char *) "self", NULL
25079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25083 result
= (bool)(arg1
)->base_TransferDataToWindow();
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25088 resultobj
= PyInt_FromLong((long)result
);
25095 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
;
25097 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25099 PyObject
* obj0
= 0 ;
25100 char *kwnames
[] = {
25101 (char *) "self", NULL
25104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25108 result
= (bool)(arg1
)->base_TransferDataFromWindow();
25110 wxPyEndAllowThreads(__tstate
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25113 resultobj
= PyInt_FromLong((long)result
);
25120 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25121 PyObject
*resultobj
;
25122 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25124 PyObject
* obj0
= 0 ;
25125 char *kwnames
[] = {
25126 (char *) "self", NULL
25129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
25130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 result
= (bool)(arg1
)->base_Validate();
25135 wxPyEndAllowThreads(__tstate
);
25136 if (PyErr_Occurred()) SWIG_fail
;
25138 resultobj
= PyInt_FromLong((long)result
);
25145 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25146 PyObject
*resultobj
;
25147 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25149 PyObject
* obj0
= 0 ;
25150 char *kwnames
[] = {
25151 (char *) "self", NULL
25154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
25155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= PyInt_FromLong((long)result
);
25170 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25171 PyObject
*resultobj
;
25172 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25174 PyObject
* obj0
= 0 ;
25175 char *kwnames
[] = {
25176 (char *) "self", NULL
25179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
25180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= PyInt_FromLong((long)result
);
25195 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
;
25197 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25199 PyObject
* obj0
= 0 ;
25200 char *kwnames
[] = {
25201 (char *) "self", NULL
25204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
25205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25208 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
25210 wxPyEndAllowThreads(__tstate
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25214 wxSize
* resultptr
;
25215 resultptr
= new wxSize((wxSize
&) result
);
25216 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25224 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25225 PyObject
*resultobj
;
25226 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25227 wxWindow
*arg2
= (wxWindow
*) 0 ;
25228 PyObject
* obj0
= 0 ;
25229 PyObject
* obj1
= 0 ;
25230 char *kwnames
[] = {
25231 (char *) "self",(char *) "child", NULL
25234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25236 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25239 (arg1
)->base_AddChild(arg2
);
25241 wxPyEndAllowThreads(__tstate
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25244 Py_INCREF(Py_None
); resultobj
= Py_None
;
25251 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25252 PyObject
*resultobj
;
25253 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25254 wxWindow
*arg2
= (wxWindow
*) 0 ;
25255 PyObject
* obj0
= 0 ;
25256 PyObject
* obj1
= 0 ;
25257 char *kwnames
[] = {
25258 (char *) "self",(char *) "child", NULL
25261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25263 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 (arg1
)->base_RemoveChild(arg2
);
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25271 Py_INCREF(Py_None
); resultobj
= Py_None
;
25278 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
25280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25281 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
25283 return Py_BuildValue((char *)"");
25285 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25286 PyObject
*resultobj
;
25287 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
25288 int arg2
= (int) 0 ;
25289 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25290 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25291 wxHelpEvent
*result
;
25293 PyObject
* obj2
= 0 ;
25294 char *kwnames
[] = {
25295 (char *) "type",(char *) "winid",(char *) "pt", NULL
25298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_HelpEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
25302 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25307 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
25309 wxPyEndAllowThreads(__tstate
);
25310 if (PyErr_Occurred()) SWIG_fail
;
25312 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
25319 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25320 PyObject
*resultobj
;
25321 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25323 PyObject
* obj0
= 0 ;
25324 char *kwnames
[] = {
25325 (char *) "self", NULL
25328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
25329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25333 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
25334 result
= (wxPoint
*) &_result_ref
;
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
25347 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
;
25349 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25350 wxPoint
*arg2
= 0 ;
25352 PyObject
* obj0
= 0 ;
25353 PyObject
* obj1
= 0 ;
25354 char *kwnames
[] = {
25355 (char *) "self",(char *) "pos", NULL
25358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25362 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25371 Py_INCREF(Py_None
); resultobj
= Py_None
;
25378 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
;
25380 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25382 PyObject
* obj0
= 0 ;
25383 char *kwnames
[] = {
25384 (char *) "self", NULL
25387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
25388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25392 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
25393 result
= (wxString
*) &_result_ref
;
25396 wxPyEndAllowThreads(__tstate
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25401 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25403 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25412 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25413 PyObject
*resultobj
;
25414 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25415 wxString
*arg2
= 0 ;
25416 bool temp2
= False
;
25417 PyObject
* obj0
= 0 ;
25418 PyObject
* obj1
= 0 ;
25419 char *kwnames
[] = {
25420 (char *) "self",(char *) "link", NULL
25423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
25424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25426 arg2
= wxString_in_helper(obj1
);
25427 if (arg2
== NULL
) SWIG_fail
;
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 (arg1
)->SetLink((wxString
const &)*arg2
);
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25437 Py_INCREF(Py_None
); resultobj
= Py_None
;
25452 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
;
25454 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25456 PyObject
* obj0
= 0 ;
25457 char *kwnames
[] = {
25458 (char *) "self", NULL
25461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
25462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25466 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
25467 result
= (wxString
*) &_result_ref
;
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25475 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25477 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25486 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25487 PyObject
*resultobj
;
25488 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25489 wxString
*arg2
= 0 ;
25490 bool temp2
= False
;
25491 PyObject
* obj0
= 0 ;
25492 PyObject
* obj1
= 0 ;
25493 char *kwnames
[] = {
25494 (char *) "self",(char *) "target", NULL
25497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
25498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25500 arg2
= wxString_in_helper(obj1
);
25501 if (arg2
== NULL
) SWIG_fail
;
25505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 (arg1
)->SetTarget((wxString
const &)*arg2
);
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 Py_INCREF(Py_None
); resultobj
= Py_None
;
25526 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
25528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25529 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
25531 return Py_BuildValue((char *)"");
25533 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25534 PyObject
*resultobj
;
25535 wxWindow
*arg1
= (wxWindow
*) NULL
;
25536 bool arg2
= (bool) True
;
25537 wxContextHelp
*result
;
25538 PyObject
* obj0
= 0 ;
25539 PyObject
* obj1
= 0 ;
25540 char *kwnames
[] = {
25541 (char *) "window",(char *) "doNow", NULL
25544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25549 arg2
= PyInt_AsLong(obj1
) ? true : false;
25550 if (PyErr_Occurred()) SWIG_fail
;
25553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25554 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
25556 wxPyEndAllowThreads(__tstate
);
25557 if (PyErr_Occurred()) SWIG_fail
;
25559 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
25566 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25567 PyObject
*resultobj
;
25568 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25569 PyObject
* obj0
= 0 ;
25570 char *kwnames
[] = {
25571 (char *) "self", NULL
25574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
25575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 Py_INCREF(Py_None
); resultobj
= Py_None
;
25590 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
;
25592 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25593 wxWindow
*arg2
= (wxWindow
*) NULL
;
25595 PyObject
* obj0
= 0 ;
25596 PyObject
* obj1
= 0 ;
25597 char *kwnames
[] = {
25598 (char *) "self",(char *) "window", NULL
25601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25604 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25608 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
25610 wxPyEndAllowThreads(__tstate
);
25611 if (PyErr_Occurred()) SWIG_fail
;
25613 resultobj
= PyInt_FromLong((long)result
);
25620 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25621 PyObject
*resultobj
;
25622 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25624 PyObject
* obj0
= 0 ;
25625 char *kwnames
[] = {
25626 (char *) "self", NULL
25629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
25630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25633 result
= (bool)(arg1
)->EndContextHelp();
25635 wxPyEndAllowThreads(__tstate
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25638 resultobj
= PyInt_FromLong((long)result
);
25645 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
25647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25648 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
25650 return Py_BuildValue((char *)"");
25652 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25653 PyObject
*resultobj
;
25654 wxWindow
*arg1
= (wxWindow
*) 0 ;
25655 int arg2
= (int) wxID_CONTEXT_HELP
;
25656 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25657 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25658 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25659 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25660 long arg5
= (long) wxBU_AUTODRAW
;
25661 wxContextHelpButton
*result
;
25664 PyObject
* obj0
= 0 ;
25665 PyObject
* obj2
= 0 ;
25666 PyObject
* obj3
= 0 ;
25667 char *kwnames
[] = {
25668 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_ContextHelpButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25676 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25682 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25687 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
25689 wxPyEndAllowThreads(__tstate
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25692 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
25699 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
25701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25702 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
25704 return Py_BuildValue((char *)"");
25706 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25707 PyObject
*resultobj
;
25708 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25709 wxHelpProvider
*result
;
25710 PyObject
* obj0
= 0 ;
25711 char *kwnames
[] = {
25712 (char *) "helpProvider", NULL
25715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
25716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25724 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25731 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25732 PyObject
*resultobj
;
25733 wxHelpProvider
*result
;
25734 char *kwnames
[] = {
25738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
25740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25741 result
= (wxHelpProvider
*)wxHelpProvider::Get();
25743 wxPyEndAllowThreads(__tstate
);
25744 if (PyErr_Occurred()) SWIG_fail
;
25746 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25753 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25754 PyObject
*resultobj
;
25755 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25756 wxWindow
*arg2
= (wxWindow
*) 0 ;
25758 PyObject
* obj0
= 0 ;
25759 PyObject
* obj1
= 0 ;
25760 char *kwnames
[] = {
25761 (char *) "self",(char *) "window", NULL
25764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25766 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25769 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
25771 wxPyEndAllowThreads(__tstate
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25776 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25778 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25787 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25788 PyObject
*resultobj
;
25789 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25790 wxWindow
*arg2
= (wxWindow
*) 0 ;
25792 PyObject
* obj0
= 0 ;
25793 PyObject
* obj1
= 0 ;
25794 char *kwnames
[] = {
25795 (char *) "self",(char *) "window", NULL
25798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25800 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25803 result
= (bool)(arg1
)->ShowHelp(arg2
);
25805 wxPyEndAllowThreads(__tstate
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25808 resultobj
= PyInt_FromLong((long)result
);
25815 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25816 PyObject
*resultobj
;
25817 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25818 wxWindow
*arg2
= (wxWindow
*) 0 ;
25819 wxString
*arg3
= 0 ;
25820 bool temp3
= False
;
25821 PyObject
* obj0
= 0 ;
25822 PyObject
* obj1
= 0 ;
25823 PyObject
* obj2
= 0 ;
25824 char *kwnames
[] = {
25825 (char *) "self",(char *) "window",(char *) "text", NULL
25828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25830 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25832 arg3
= wxString_in_helper(obj2
);
25833 if (arg3
== NULL
) SWIG_fail
;
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25840 wxPyEndAllowThreads(__tstate
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25843 Py_INCREF(Py_None
); resultobj
= Py_None
;
25858 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25859 PyObject
*resultobj
;
25860 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25862 wxString
*arg3
= 0 ;
25863 bool temp3
= False
;
25864 PyObject
* obj0
= 0 ;
25865 PyObject
* obj2
= 0 ;
25866 char *kwnames
[] = {
25867 (char *) "self",(char *) "id",(char *) "text", NULL
25870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:HelpProvider_AddHelpById",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25873 arg3
= wxString_in_helper(obj2
);
25874 if (arg3
== NULL
) SWIG_fail
;
25878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25879 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25881 wxPyEndAllowThreads(__tstate
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25884 Py_INCREF(Py_None
); resultobj
= Py_None
;
25899 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25900 PyObject
*resultobj
;
25901 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25902 PyObject
* obj0
= 0 ;
25903 char *kwnames
[] = {
25904 (char *) "self", NULL
25907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
25908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 wxHelpProvider_Destroy(arg1
);
25913 wxPyEndAllowThreads(__tstate
);
25914 if (PyErr_Occurred()) SWIG_fail
;
25916 Py_INCREF(Py_None
); resultobj
= Py_None
;
25923 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25926 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
25928 return Py_BuildValue((char *)"");
25930 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25931 PyObject
*resultobj
;
25932 wxSimpleHelpProvider
*result
;
25933 char *kwnames
[] = {
25937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
25939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25940 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
25942 wxPyEndAllowThreads(__tstate
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25945 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
25952 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25955 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
25957 return Py_BuildValue((char *)"");
25959 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25960 PyObject
*resultobj
;
25961 wxBitmap
*arg1
= 0 ;
25962 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25963 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25964 wxGenericDragImage
*result
;
25965 PyObject
* obj0
= 0 ;
25966 PyObject
* obj1
= 0 ;
25967 char *kwnames
[] = {
25968 (char *) "image",(char *) "cursor", NULL
25971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
25972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25973 if (arg1
== NULL
) {
25974 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25977 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25978 if (arg2
== NULL
) {
25979 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25989 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25996 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25997 PyObject
*resultobj
;
25999 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26000 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26001 wxGenericDragImage
*result
;
26002 PyObject
* obj0
= 0 ;
26003 PyObject
* obj1
= 0 ;
26004 char *kwnames
[] = {
26005 (char *) "image",(char *) "cursor", NULL
26008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
26009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26010 if (arg1
== NULL
) {
26011 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26015 if (arg2
== NULL
) {
26016 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26021 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
26023 wxPyEndAllowThreads(__tstate
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26026 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26033 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26034 PyObject
*resultobj
;
26035 wxString
*arg1
= 0 ;
26036 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26037 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26038 wxGenericDragImage
*result
;
26039 bool temp1
= False
;
26040 PyObject
* obj0
= 0 ;
26041 PyObject
* obj1
= 0 ;
26042 char *kwnames
[] = {
26043 (char *) "str",(char *) "cursor", NULL
26046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
26048 arg1
= wxString_in_helper(obj0
);
26049 if (arg1
== NULL
) SWIG_fail
;
26053 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26054 if (arg2
== NULL
) {
26055 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
26062 wxPyEndAllowThreads(__tstate
);
26063 if (PyErr_Occurred()) SWIG_fail
;
26065 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26080 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26081 PyObject
*resultobj
;
26082 wxPyTreeCtrl
*arg1
= 0 ;
26083 wxTreeItemId
*arg2
= 0 ;
26084 wxGenericDragImage
*result
;
26085 PyObject
* obj0
= 0 ;
26086 PyObject
* obj1
= 0 ;
26087 char *kwnames
[] = {
26088 (char *) "treeCtrl",(char *) "id", NULL
26091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26093 if (arg1
== NULL
) {
26094 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26096 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26097 if (arg2
== NULL
) {
26098 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26102 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
26104 wxPyEndAllowThreads(__tstate
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26107 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26114 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26115 PyObject
*resultobj
;
26116 wxPyListCtrl
*arg1
= 0 ;
26118 wxGenericDragImage
*result
;
26119 PyObject
* obj0
= 0 ;
26120 char *kwnames
[] = {
26121 (char *) "listCtrl",(char *) "id", NULL
26124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_DragListItem",kwnames
,&obj0
,&arg2
)) goto fail
;
26125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26126 if (arg1
== NULL
) {
26127 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26131 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
26133 wxPyEndAllowThreads(__tstate
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26136 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26143 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26144 PyObject
*resultobj
;
26145 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26146 PyObject
* obj0
= 0 ;
26147 char *kwnames
[] = {
26148 (char *) "self", NULL
26151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
26152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 Py_INCREF(Py_None
); resultobj
= Py_None
;
26167 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26170 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
26171 PyObject
* obj0
= 0 ;
26172 PyObject
* obj1
= 0 ;
26173 char *kwnames
[] = {
26174 (char *) "self",(char *) "bitmap", NULL
26177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
26178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26179 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26182 (arg1
)->SetBackingBitmap(arg2
);
26184 wxPyEndAllowThreads(__tstate
);
26185 if (PyErr_Occurred()) SWIG_fail
;
26187 Py_INCREF(Py_None
); resultobj
= Py_None
;
26194 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26195 PyObject
*resultobj
;
26196 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26197 wxPoint
*arg2
= 0 ;
26198 wxWindow
*arg3
= (wxWindow
*) 0 ;
26199 bool arg4
= (bool) False
;
26200 wxRect
*arg5
= (wxRect
*) NULL
;
26203 PyObject
* obj0
= 0 ;
26204 PyObject
* obj1
= 0 ;
26205 PyObject
* obj2
= 0 ;
26206 PyObject
* obj3
= 0 ;
26207 PyObject
* obj4
= 0 ;
26208 char *kwnames
[] = {
26209 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
26212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26216 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26218 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26220 arg4
= PyInt_AsLong(obj3
) ? true : false;
26221 if (PyErr_Occurred()) SWIG_fail
;
26224 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26233 resultobj
= PyInt_FromLong((long)result
);
26240 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26241 PyObject
*resultobj
;
26242 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26243 wxPoint
*arg2
= 0 ;
26244 wxWindow
*arg3
= (wxWindow
*) 0 ;
26245 wxWindow
*arg4
= (wxWindow
*) 0 ;
26248 PyObject
* obj0
= 0 ;
26249 PyObject
* obj1
= 0 ;
26250 PyObject
* obj2
= 0 ;
26251 PyObject
* obj3
= 0 ;
26252 char *kwnames
[] = {
26253 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26260 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26262 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26263 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= PyInt_FromLong((long)result
);
26278 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26279 PyObject
*resultobj
;
26280 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26282 PyObject
* obj0
= 0 ;
26283 char *kwnames
[] = {
26284 (char *) "self", NULL
26287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
26288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26291 result
= (bool)(arg1
)->EndDrag();
26293 wxPyEndAllowThreads(__tstate
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26296 resultobj
= PyInt_FromLong((long)result
);
26303 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26304 PyObject
*resultobj
;
26305 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26306 wxPoint
*arg2
= 0 ;
26309 PyObject
* obj0
= 0 ;
26310 PyObject
* obj1
= 0 ;
26311 char *kwnames
[] = {
26312 (char *) "self",(char *) "pt", NULL
26315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
26316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26319 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26323 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
26325 wxPyEndAllowThreads(__tstate
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26328 resultobj
= PyInt_FromLong((long)result
);
26335 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26336 PyObject
*resultobj
;
26337 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26339 PyObject
* obj0
= 0 ;
26340 char *kwnames
[] = {
26341 (char *) "self", NULL
26344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
26345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26348 result
= (bool)(arg1
)->Show();
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= PyInt_FromLong((long)result
);
26360 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26361 PyObject
*resultobj
;
26362 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26364 PyObject
* obj0
= 0 ;
26365 char *kwnames
[] = {
26366 (char *) "self", NULL
26369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
26370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26373 result
= (bool)(arg1
)->Hide();
26375 wxPyEndAllowThreads(__tstate
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 resultobj
= PyInt_FromLong((long)result
);
26385 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26386 PyObject
*resultobj
;
26387 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26388 wxPoint
*arg2
= 0 ;
26391 PyObject
* obj0
= 0 ;
26392 PyObject
* obj1
= 0 ;
26393 char *kwnames
[] = {
26394 (char *) "self",(char *) "pos", NULL
26397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26401 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
26407 wxPyEndAllowThreads(__tstate
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26411 wxRect
* resultptr
;
26412 resultptr
= new wxRect((wxRect
&) result
);
26413 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
26421 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26422 PyObject
*resultobj
;
26423 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26425 wxPoint
*arg3
= 0 ;
26428 PyObject
* obj0
= 0 ;
26429 PyObject
* obj1
= 0 ;
26430 PyObject
* obj2
= 0 ;
26431 char *kwnames
[] = {
26432 (char *) "self",(char *) "dc",(char *) "pos", NULL
26435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26437 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26438 if (arg2
== NULL
) {
26439 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26443 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26452 resultobj
= PyInt_FromLong((long)result
);
26459 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26460 PyObject
*resultobj
;
26461 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26463 wxMemoryDC
*arg3
= 0 ;
26469 PyObject
* obj0
= 0 ;
26470 PyObject
* obj1
= 0 ;
26471 PyObject
* obj2
= 0 ;
26472 PyObject
* obj3
= 0 ;
26473 PyObject
* obj4
= 0 ;
26474 char *kwnames
[] = {
26475 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26480 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26481 if (arg2
== NULL
) {
26482 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26484 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26485 if (arg3
== NULL
) {
26486 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26490 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26494 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
26500 wxPyEndAllowThreads(__tstate
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26503 resultobj
= PyInt_FromLong((long)result
);
26510 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
;
26512 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26513 wxPoint
*arg2
= 0 ;
26514 wxPoint
*arg3
= 0 ;
26520 PyObject
* obj0
= 0 ;
26521 PyObject
* obj1
= 0 ;
26522 PyObject
* obj2
= 0 ;
26523 PyObject
* obj3
= 0 ;
26524 PyObject
* obj4
= 0 ;
26525 char *kwnames
[] = {
26526 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26533 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26537 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26539 arg4
= PyInt_AsLong(obj3
) ? true : false;
26540 if (PyErr_Occurred()) SWIG_fail
;
26541 arg5
= PyInt_AsLong(obj4
) ? true : false;
26542 if (PyErr_Occurred()) SWIG_fail
;
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26545 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26550 resultobj
= PyInt_FromLong((long)result
);
26557 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
26559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26560 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
26562 return Py_BuildValue((char *)"");
26564 static PyMethodDef SwigMethods
[] = {
26565 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
26566 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
26567 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
26568 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
26569 { (char *)"Button_SetImageLabel", (PyCFunction
) _wrap_Button_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
26570 { (char *)"Button_SetImageMargins", (PyCFunction
) _wrap_Button_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
26571 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26572 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
26573 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26574 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26575 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26576 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26577 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26578 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26579 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26580 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26581 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26582 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26583 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26584 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26585 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
26586 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
26587 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
26588 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26589 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26590 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26591 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26592 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26593 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26594 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26595 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26596 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
26597 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
26598 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
26599 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
26600 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
26601 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
26602 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26603 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26604 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26605 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26606 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26607 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
26608 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26609 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26610 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26611 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26612 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26613 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26614 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26615 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26616 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26617 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26618 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26619 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26620 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26621 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
26622 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26623 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26624 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26625 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
26626 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
26627 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
26628 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
26629 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26630 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26631 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26632 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26633 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26634 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26635 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26636 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26637 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26638 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
26639 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26640 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26641 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26642 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
26643 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26644 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26645 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
26646 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26647 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26648 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
26649 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
26650 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
26651 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
26652 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
26653 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26654 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26655 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
26656 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26657 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26658 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
26659 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
26660 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
26661 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
26662 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26663 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
26664 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
26665 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
26666 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26667 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26668 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
26669 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
26670 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
26673 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
26674 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
26675 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26676 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26677 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
26678 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
26679 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26680 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26681 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26682 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26683 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
26684 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
26685 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26686 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
26687 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
26688 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
26689 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
26690 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26691 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26692 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26693 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26694 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26695 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26696 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26697 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26698 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26699 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26700 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26701 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26702 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
26703 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26704 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26705 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
26706 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26707 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26708 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26709 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26710 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26711 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26712 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26713 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26714 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
26715 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
26716 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
26717 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26718 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26719 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26720 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26721 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26722 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26723 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
26724 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
26725 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
26726 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
26727 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
26728 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
26729 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
26730 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26731 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26732 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26733 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26734 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26735 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
26736 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
26737 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
26738 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
26739 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
26740 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
26741 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
26742 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
26743 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26744 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26745 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26746 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26747 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
26748 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
26749 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
26750 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26751 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26752 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26753 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
26754 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
26755 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
26756 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
26757 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
26758 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
26759 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
26760 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26761 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26762 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26763 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26764 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26765 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
26766 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26767 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
26768 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
26769 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
26770 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26771 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
26772 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26773 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
26774 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
26775 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
26776 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
26777 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26778 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26779 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26780 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26781 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
26782 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26783 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26784 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26785 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26786 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
26787 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
26788 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26789 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26790 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26791 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26792 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26793 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26794 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26795 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26796 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26797 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26798 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26799 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
26800 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26801 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26802 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26803 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26804 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26805 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
26806 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26807 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26808 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26809 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26810 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
26811 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26812 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26813 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26814 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26815 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26816 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26817 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26818 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26819 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
26820 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26821 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26822 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
26823 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
26824 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26825 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26826 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26827 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
26828 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26829 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26830 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26831 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26832 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26833 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
26834 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
26835 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
26836 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
26837 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26838 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26839 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26840 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26841 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26842 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26843 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26844 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26845 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26846 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26847 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26848 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26849 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26850 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26851 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26852 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
26853 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
26854 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
26855 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
26856 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
26857 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26858 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
26859 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26860 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26861 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26862 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26863 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26864 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26865 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
26866 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
26867 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
26868 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26869 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26870 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26871 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26872 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26873 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26874 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26875 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26876 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26877 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26878 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
26879 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
26880 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
26881 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
26882 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
26883 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26884 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
26885 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
26886 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26887 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26888 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26889 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26890 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26891 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
26892 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
26893 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26894 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26895 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26896 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
26897 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
26898 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26899 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26900 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
26901 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
26902 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26903 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
26904 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
26905 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
26906 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26907 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26908 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
26909 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26910 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
26911 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
26912 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26913 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26914 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26915 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
26916 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
26917 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26918 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26919 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26920 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
26921 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26922 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26924 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
26926 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26927 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
26929 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26930 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
26932 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26938 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26941 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26943 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26945 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26946 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
26947 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26949 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
26951 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
26952 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
26954 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
26955 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
26956 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
26957 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
26961 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
26962 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
26963 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
26964 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
26965 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26968 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26969 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26970 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
26971 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
26972 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26973 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26974 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26975 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26976 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26977 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
26978 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26979 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26981 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26983 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26984 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
26986 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
26987 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
26988 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26990 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
26992 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26993 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26995 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
26996 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26997 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26999 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
27000 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
27001 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
27002 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27003 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27004 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
27005 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27006 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27007 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27009 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27010 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27011 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27012 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
27013 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
27014 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27017 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27019 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27020 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
27024 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27025 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
27027 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27029 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
27030 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
27031 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27032 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27033 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
27034 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27035 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
27036 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27037 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
27039 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27040 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27041 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27042 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27043 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27044 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
27045 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
27046 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
27047 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
27050 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
27051 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
27052 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
27053 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
27054 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
27055 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
27056 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
27059 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
27062 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
27063 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
27065 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
27068 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
27069 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
27070 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
27071 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
27073 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
27074 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
27077 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
27078 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
27079 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27080 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27081 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27082 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27083 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27085 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27087 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
27088 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
27090 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
27092 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27094 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27096 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27097 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27098 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27099 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27100 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
27101 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
27102 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
27103 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
27104 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
27105 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27106 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
27107 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27108 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
27109 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
27110 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27111 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27112 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27113 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27114 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27115 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
27116 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
27117 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
27118 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27119 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
27120 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27121 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27122 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27123 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27124 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
27125 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
27126 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
27127 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
27128 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27129 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27130 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
27131 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
27132 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
27133 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
27134 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
27135 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
27136 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
27137 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
27138 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
27139 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
27140 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27141 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27142 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27143 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
27144 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
27145 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
27146 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27147 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
27148 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27149 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
27150 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27151 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
27152 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
27153 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27154 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
27155 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27156 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27157 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27158 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27159 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
27160 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
27161 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
27162 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
27163 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
27164 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
27165 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
27166 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
27167 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
27168 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
27169 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
27170 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
27171 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
27172 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
27173 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
27174 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
27175 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
27176 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
27177 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27178 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27179 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
27180 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
27181 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
27182 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
27183 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27184 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27185 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27186 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27187 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27188 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
27189 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
27190 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27191 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
27192 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
27193 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
27194 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27195 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27196 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
27197 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
27198 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
27199 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27200 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27201 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
27202 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
27203 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
27204 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
27205 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27206 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27207 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27208 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27209 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
27210 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
27211 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
27212 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27213 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27214 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27215 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27216 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27217 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27218 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
27219 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27220 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27221 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27222 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27223 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
27224 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27225 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27226 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
27227 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27228 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27229 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27230 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
27231 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
27232 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
27233 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27234 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27235 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27236 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
27237 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
27238 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
27239 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
27240 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
27241 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
27242 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
27243 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
27244 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27245 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
27246 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
27247 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
27248 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
27249 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
27250 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
27251 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
27252 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
27253 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
27254 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
27255 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
27256 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
27257 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
27258 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
27259 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
27260 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
27261 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
27262 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
27263 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
27264 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
27265 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
27266 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
27267 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
27268 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
27269 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
27270 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27271 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
27272 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27273 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
27274 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27275 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
27276 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27277 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
27278 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
27279 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27280 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27281 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27282 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
27283 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
27284 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
27285 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
27286 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
27287 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
27288 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
27289 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
27290 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
27291 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
27292 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
27293 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
27294 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
27295 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27296 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27297 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
27298 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
27299 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
27300 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
27301 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27302 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27303 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27304 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
27305 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
27306 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
27307 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27308 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
27309 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
27310 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
27311 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
27312 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
27313 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
27314 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27315 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
27316 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
27317 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
27318 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
27319 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
27320 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
27321 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
27322 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
27323 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
27324 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
27325 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
27326 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
27327 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
27328 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27329 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27330 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
27331 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
27332 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
27333 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
27334 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
27335 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27336 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27337 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27338 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27339 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
27340 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
27341 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
27342 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
27343 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
27344 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
27345 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
27346 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
27347 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
27348 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27349 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
27350 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
27351 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
27352 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
27353 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
27354 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
27355 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
27356 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
27357 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
27358 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27359 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
27360 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
27361 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
27362 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
27363 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
27364 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
27365 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
27366 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
27367 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
27368 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
27369 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
27374 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27376 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
27377 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27379 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
27380 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27382 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
27383 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
27385 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
27386 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27388 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
27389 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27391 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
27392 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
27394 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
27395 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27397 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
27398 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
27400 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
27401 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
27403 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
27404 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
27406 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
27407 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27409 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
27410 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
27412 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
27413 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
27415 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
27416 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
27418 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
27419 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
27421 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
27422 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27424 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
27425 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
27427 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
27428 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
27430 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
27431 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
27433 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
27434 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27436 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
27437 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27439 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
27440 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
27442 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
27443 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27445 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
27446 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
27448 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
27449 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27451 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
27452 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27454 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
27455 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
27457 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
27458 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
27460 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
27461 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27463 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
27464 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27466 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
27467 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
27469 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
27470 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
27472 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
27473 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
27475 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
27476 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
27478 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
27479 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
27481 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
27482 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
27484 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
27485 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
27487 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
27488 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27490 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
27491 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27493 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27494 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27496 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27497 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27499 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27500 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27502 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27503 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27505 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27506 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27508 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27509 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27511 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27512 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27514 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27515 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27517 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27518 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27520 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27521 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27523 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27524 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27526 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27527 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27529 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27530 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27532 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
27533 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27535 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
27536 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27538 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
27539 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27541 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
27542 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
27544 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
27545 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27547 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
27548 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27550 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
27551 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
27553 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
27554 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27556 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
27557 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27559 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
27560 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27562 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
27563 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
27565 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
27566 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
27568 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
27569 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27571 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
27572 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
27574 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
27575 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
27577 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
27578 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
27580 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
27581 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
27583 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
27584 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27586 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
27587 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
27589 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
27590 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
27592 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
27593 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
27595 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
27596 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
27598 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
27599 return (void *)((wxControl
*) ((wxGauge
*) x
));
27601 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
27602 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
27604 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
27605 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
27607 static void *_p_wxButtonTo_p_wxControl(void *x
) {
27608 return (void *)((wxControl
*) ((wxButton
*) x
));
27610 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
27611 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
27613 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
27614 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27616 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
27617 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
27619 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
27620 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
27622 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
27623 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
27625 static void *_p_wxListbookTo_p_wxControl(void *x
) {
27626 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
27628 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
27629 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
27631 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
27632 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
27634 static void *_p_wxListViewTo_p_wxControl(void *x
) {
27635 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
27637 static void *_p_wxSliderTo_p_wxControl(void *x
) {
27638 return (void *)((wxControl
*) ((wxSlider
*) x
));
27640 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
27641 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
27643 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
27644 return (void *)((wxControl
*) ((wxPyControl
*) x
));
27646 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
27647 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
27649 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
27650 return (void *)((wxControl
*) ((wxStaticText
*) x
));
27652 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
27653 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
27655 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
27656 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
27658 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
27659 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27661 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
27662 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27664 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
27665 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27667 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
27668 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
27670 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
27671 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27673 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
27674 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27676 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
27677 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27679 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27680 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27682 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27683 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27685 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27686 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27688 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
27689 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27691 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27692 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27694 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
27695 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27697 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
27698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27700 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27701 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27703 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27704 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27706 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
27707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27709 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
27710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27712 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
27713 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27715 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
27716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27718 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
27719 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27721 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27722 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27724 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
27725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27727 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
27728 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27730 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27733 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
27734 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27736 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
27737 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27739 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
27740 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27742 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
27743 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27745 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
27746 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27748 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
27749 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27751 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
27752 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27754 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
27755 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27757 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
27758 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27760 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
27761 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27763 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
27764 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27766 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
27767 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27769 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
27770 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27772 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
27773 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
27775 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
27776 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27778 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
27779 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27781 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
27782 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27784 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
27785 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27787 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
27788 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27790 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
27791 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27793 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
27794 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27796 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
27797 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
27799 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
27800 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
27802 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
27803 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
27805 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
27806 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
27808 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
27809 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27811 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
27812 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27814 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
27815 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
27817 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27818 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27820 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27821 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27823 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27824 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27826 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27827 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27829 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27830 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27832 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
27833 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27835 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
27836 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27838 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27839 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27841 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27842 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27844 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27845 return (void *)((wxObject
*) ((wxSizer
*) x
));
27847 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27848 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27850 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
27851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27853 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
27854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27856 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27857 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27859 static void *_p_wxEventTo_p_wxObject(void *x
) {
27860 return (void *)((wxObject
*) ((wxEvent
*) x
));
27862 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27863 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27865 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27866 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27868 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27869 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27871 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
27872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27874 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
27875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27877 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
27878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27880 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27881 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27883 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27884 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27886 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27887 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27889 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27890 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27892 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27893 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27895 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27896 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27898 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
27899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27901 static void *_p_wxControlTo_p_wxObject(void *x
) {
27902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27904 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
27905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27907 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
27908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27910 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
27911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27913 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
27914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27916 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
27917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27919 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27920 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27922 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
27923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27925 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27926 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27928 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27929 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27931 static void *_p_wxListViewTo_p_wxObject(void *x
) {
27932 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27934 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
27935 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27937 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
27938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27940 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27941 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27943 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27944 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27946 static void *_p_wxListbookTo_p_wxObject(void *x
) {
27947 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27949 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27950 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27952 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
27953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27955 static void *_p_wxSliderTo_p_wxObject(void *x
) {
27956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27958 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27959 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27961 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27962 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27964 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27965 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27967 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27968 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27970 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27971 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27973 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27974 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27976 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27977 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27979 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27980 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27982 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27983 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27985 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
27986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27988 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
27989 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
27991 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27992 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27994 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27995 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27997 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27998 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28000 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28001 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28003 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28004 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28006 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28007 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28009 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28010 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28012 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28013 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28015 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28016 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28018 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28019 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28021 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28022 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28024 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28025 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28027 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28028 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28030 static void *_p_wxListEventTo_p_wxObject(void *x
) {
28031 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
28033 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
28034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
28036 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
28037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
28039 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
28040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
28042 static void *_p_wxButtonTo_p_wxObject(void *x
) {
28043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
28045 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
28046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
28048 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
28049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
28051 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
28052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28054 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28055 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28057 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
28058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
28060 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
28061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
28063 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
28064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
28066 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
28067 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
28069 static void *_p_wxListItemTo_p_wxObject(void *x
) {
28070 return (void *)((wxObject
*) ((wxListItem
*) x
));
28072 static void *_p_wxImageTo_p_wxObject(void *x
) {
28073 return (void *)((wxObject
*) ((wxImage
*) x
));
28075 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
28076 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
28078 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28079 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28081 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
28082 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
28084 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
28085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
28087 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
28088 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
28090 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
28091 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
28093 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28094 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28096 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28097 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28099 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28100 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28102 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28103 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28105 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28106 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28108 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28109 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28111 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28112 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28114 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28115 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28117 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28118 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28120 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28121 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28123 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28124 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28126 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28127 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28129 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28130 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28132 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
28133 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
28135 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28136 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28138 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28139 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28141 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
28142 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
28144 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28145 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28147 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28148 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28150 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28151 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28153 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28154 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28156 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
28157 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
28159 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
28160 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
28162 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28163 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28165 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28166 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28168 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
28169 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
28171 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
28172 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
28174 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28175 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
28177 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
28178 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
28180 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
28181 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
28183 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
28184 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
28186 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
28187 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
28189 static void *_p_wxControlTo_p_wxWindow(void *x
) {
28190 return (void *)((wxWindow
*) ((wxControl
*) x
));
28192 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
28193 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
28195 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
28196 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28198 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
28199 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
28201 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
28202 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
28204 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
28205 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
28207 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
28208 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
28210 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
28211 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
28213 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
28214 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
28216 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
28217 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
28219 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
28220 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
28222 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
28223 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
28225 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
28226 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
28228 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
28229 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
28231 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
28232 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
28234 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
28235 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
28237 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
28238 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
28240 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
28241 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
28243 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
28244 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
28246 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
28247 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
28249 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
28250 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
28252 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
28253 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
28255 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
28256 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
28258 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
28259 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
28261 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
28262 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
28264 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
28265 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
28267 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
28268 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
28270 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
28271 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28273 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
28274 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
28276 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
28277 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28279 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
28280 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
28282 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
28283 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
28285 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
28286 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
28288 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
28289 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28291 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
28292 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28294 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
28295 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28297 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
28298 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
28300 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
28301 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
28303 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
28304 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
28306 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
28307 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28309 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
28310 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
28312 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
28313 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
28315 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
28316 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28318 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
28319 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28321 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
28322 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
28324 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
28325 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28327 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
28328 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
28330 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
28331 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
28333 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
28334 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
28336 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
28337 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
28339 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28340 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}};
28341 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}};
28342 static swig_type_info _swigt__p_wxTreeItemIdValue
[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
28343 static swig_type_info _swigt__wxTreeItemIdValue
[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
28344 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28345 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28346 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}};
28347 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28348 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28349 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28350 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}};
28351 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28352 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
28353 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28354 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}};
28355 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28356 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28357 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
28358 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28359 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28360 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28361 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}};
28362 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28363 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28364 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28365 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28366 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28367 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28368 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28369 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28370 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28371 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}};
28372 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28373 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28374 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28375 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28376 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28377 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28378 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28379 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28380 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}};
28381 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28382 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
28383 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28384 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}};
28385 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28386 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}};
28387 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
28388 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28389 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28390 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28391 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28392 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28393 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28394 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28395 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28396 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28397 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28398 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28399 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28400 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
28401 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28402 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28403 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28404 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28405 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28406 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}};
28407 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28408 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28409 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}};
28410 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28411 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28412 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28413 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28414 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}};
28415 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28416 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}};
28417 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28418 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28419 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28420 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28421 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
28423 static swig_type_info
*swig_types_initial
[] = {
28424 _swigt__p_wxTextUrlEvent
,
28425 _swigt__p_wxBookCtrlEvent
,
28427 _swigt__p_wxTreeItemIdValue
,
28428 _swigt__wxTreeItemIdValue
,
28429 _swigt__p_wxCheckBox
,
28430 _swigt__p_wxPyTreeCtrl
,
28432 _swigt__p_wxGenericDirCtrl
,
28434 _swigt__p_wxPyTreeItemData
,
28435 _swigt__p_wxItemContainer
,
28436 _swigt__p_wxDirFilterListCtrl
,
28437 _swigt__p_wxPyListCtrl
,
28438 _swigt__p_wxStaticLine
,
28439 _swigt__p_wxControl
,
28440 _swigt__p_wxPyControl
,
28442 _swigt__p_wxToolBarBase
,
28444 _swigt__p_wxToggleButton
,
28445 _swigt__p_wxRadioButton
,
28446 _swigt__p_wxChoice
,
28447 _swigt__p_wxMemoryDC
,
28448 _swigt__p_wxListItemAttr
,
28452 _swigt__p_wxListView
,
28454 _swigt__p_wxTextCtrl
,
28455 _swigt__p_wxNotebook
,
28456 _swigt__p_wxNotifyEvent
,
28457 _swigt__p_wxArrayString
,
28458 _swigt__p_wxListbook
,
28459 _swigt__p_wxStaticBitmap
,
28460 _swigt__p_wxSlider
,
28461 _swigt__p_wxStaticBox
,
28462 _swigt__p_wxArrayInt
,
28463 _swigt__p_wxContextHelp
,
28465 _swigt__p_wxEvtHandler
,
28466 _swigt__p_wxListEvent
,
28467 _swigt__p_wxListBox
,
28468 _swigt__p_wxCheckListBox
,
28469 _swigt__p_wxBookCtrl
,
28470 _swigt__p_wxSpinButton
,
28471 _swigt__p_wxButton
,
28472 _swigt__p_wxBitmapButton
,
28474 _swigt__p_wxContextHelpButton
,
28475 _swigt__p_wxRadioBox
,
28476 _swigt__p_wxScrollBar
,
28477 _swigt__p_wxTreeItemId
,
28478 _swigt__p_wxComboBox
,
28479 _swigt__p_wxHelpEvent
,
28480 _swigt__p_wxListItem
,
28481 _swigt__p_wxNotebookSizer
,
28482 _swigt__p_wxGenericDragImage
,
28483 _swigt__p_wxSpinCtrl
,
28484 _swigt__p_wxImageList
,
28485 _swigt__p_wxHelpProvider
,
28486 _swigt__p_wxTextAttr
,
28487 _swigt__p_wxSimpleHelpProvider
,
28489 _swigt__p_wxListbookEvent
,
28490 _swigt__p_wxNotebookEvent
,
28491 _swigt__p_wxObject
,
28492 _swigt__p_wxCursor
,
28493 _swigt__p_wxKeyEvent
,
28494 _swigt__p_wxWindow
,
28495 _swigt__p_wxString
,
28496 _swigt__p_wxBitmap
,
28497 _swigt__p_wxTreeEvent
,
28498 _swigt__p_wxMouseEvent
,
28499 _swigt__p_wxCommandEvent
,
28500 _swigt__p_wxStaticText
,
28501 _swigt__p_wxControlWithItems
,
28502 _swigt__p_wxToolBarToolBase
,
28503 _swigt__p_wxColour
,
28504 _swigt__p_wxToolBar
,
28505 _swigt__p_wxBookCtrlSizer
,
28506 _swigt__p_wxValidator
,
28511 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28513 static swig_const_info swig_const_table
[] = {
28514 { SWIG_PY_INT
, (char *)"BU_LEFT", (long) wxBU_LEFT
, 0, 0, 0},
28515 { SWIG_PY_INT
, (char *)"BU_TOP", (long) wxBU_TOP
, 0, 0, 0},
28516 { SWIG_PY_INT
, (char *)"BU_RIGHT", (long) wxBU_RIGHT
, 0, 0, 0},
28517 { SWIG_PY_INT
, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM
, 0, 0, 0},
28518 { SWIG_PY_INT
, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT
, 0, 0, 0},
28519 { SWIG_PY_INT
, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW
, 0, 0, 0},
28520 { SWIG_PY_INT
, (char *)"CHK_2STATE", (long) wxCHK_2STATE
, 0, 0, 0},
28521 { SWIG_PY_INT
, (char *)"CHK_3STATE", (long) wxCHK_3STATE
, 0, 0, 0},
28522 { SWIG_PY_INT
, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER
, 0, 0, 0},
28523 { SWIG_PY_INT
, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED
, 0, 0, 0},
28524 { SWIG_PY_INT
, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED
, 0, 0, 0},
28525 { SWIG_PY_INT
, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED
, 0, 0, 0},
28526 { SWIG_PY_INT
, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL
, 0, 0, 0},
28527 { SWIG_PY_INT
, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL
, 0, 0, 0},
28528 { SWIG_PY_INT
, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH
, 0, 0, 0},
28529 { SWIG_PY_INT
, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR
, 0, 0, 0},
28530 { SWIG_PY_INT
, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL
, 0, 0, 0},
28531 { SWIG_PY_INT
, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL
, 0, 0, 0},
28532 { SWIG_PY_INT
, (char *)"TE_READONLY", (long) wxTE_READONLY
, 0, 0, 0},
28533 { SWIG_PY_INT
, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE
, 0, 0, 0},
28534 { SWIG_PY_INT
, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB
, 0, 0, 0},
28535 { SWIG_PY_INT
, (char *)"TE_LEFT", (long) wxTE_LEFT
, 0, 0, 0},
28536 { SWIG_PY_INT
, (char *)"TE_CENTER", (long) wxTE_CENTER
, 0, 0, 0},
28537 { SWIG_PY_INT
, (char *)"TE_RIGHT", (long) wxTE_RIGHT
, 0, 0, 0},
28538 { SWIG_PY_INT
, (char *)"TE_CENTRE", (long) wxTE_CENTRE
, 0, 0, 0},
28539 { SWIG_PY_INT
, (char *)"TE_RICH", (long) wxTE_RICH
, 0, 0, 0},
28540 { SWIG_PY_INT
, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER
, 0, 0, 0},
28541 { SWIG_PY_INT
, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD
, 0, 0, 0},
28542 { SWIG_PY_INT
, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL
, 0, 0, 0},
28543 { SWIG_PY_INT
, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL
, 0, 0, 0},
28544 { SWIG_PY_INT
, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP
, 0, 0, 0},
28545 { SWIG_PY_INT
, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP
, 0, 0, 0},
28546 { SWIG_PY_INT
, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP
, 0, 0, 0},
28547 { SWIG_PY_INT
, (char *)"TE_RICH2", (long) wxTE_RICH2
, 0, 0, 0},
28548 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT
, 0, 0, 0},
28549 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT
, 0, 0, 0},
28550 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE
, 0, 0, 0},
28551 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER
, 0, 0, 0},
28552 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT
, 0, 0, 0},
28553 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED
, 0, 0, 0},
28554 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR
, 0, 0, 0},
28555 { SWIG_PY_INT
, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR
, 0, 0, 0},
28556 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE
, 0, 0, 0},
28557 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE
, 0, 0, 0},
28558 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT
, 0, 0, 0},
28559 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC
, 0, 0, 0},
28560 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE
, 0, 0, 0},
28561 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT
, 0, 0, 0},
28562 { SWIG_PY_INT
, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT
, 0, 0, 0},
28563 { SWIG_PY_INT
, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT
, 0, 0, 0},
28564 { SWIG_PY_INT
, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT
, 0, 0, 0},
28565 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS
, 0, 0, 0},
28566 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED
, 0, 0, 0},
28567 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER
, 0, 0, 0},
28568 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL
, 0, 0, 0},
28569 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN
, 0, 0, 0},
28570 { SWIG_PY_INT
, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL
, 0, 0, 0},
28571 { SWIG_PY_INT
, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL
, 0, 0, 0},
28572 { SWIG_PY_INT
, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS
, 0, 0, 0},
28573 { SWIG_PY_INT
, (char *)"SP_WRAP", (long) wxSP_WRAP
, 0, 0, 0},
28574 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED
, 0, 0, 0},
28575 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, 0, 0, 0},
28576 { SWIG_PY_INT
, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH
, 0, 0, 0},
28577 { SWIG_PY_INT
, (char *)"NB_TOP", (long) wxNB_TOP
, 0, 0, 0},
28578 { SWIG_PY_INT
, (char *)"NB_LEFT", (long) wxNB_LEFT
, 0, 0, 0},
28579 { SWIG_PY_INT
, (char *)"NB_RIGHT", (long) wxNB_RIGHT
, 0, 0, 0},
28580 { SWIG_PY_INT
, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM
, 0, 0, 0},
28581 { SWIG_PY_INT
, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE
, 0, 0, 0},
28582 { SWIG_PY_INT
, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE
, 0, 0, 0},
28583 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON
, 0, 0, 0},
28584 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL
, 0, 0, 0},
28585 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM
, 0, 0, 0},
28586 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, 0, 0, 0},
28587 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, 0, 0, 0},
28588 { SWIG_PY_INT
, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT
, 0, 0, 0},
28589 { SWIG_PY_INT
, (char *)"LB_TOP", (long) wxLB_TOP
, 0, 0, 0},
28590 { SWIG_PY_INT
, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM
, 0, 0, 0},
28591 { SWIG_PY_INT
, (char *)"LB_LEFT", (long) wxLB_LEFT
, 0, 0, 0},
28592 { SWIG_PY_INT
, (char *)"LB_RIGHT", (long) wxLB_RIGHT
, 0, 0, 0},
28593 { SWIG_PY_INT
, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK
, 0, 0, 0},
28594 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
, 0, 0, 0},
28595 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
, 0, 0, 0},
28596 { SWIG_PY_INT
, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON
, 0, 0, 0},
28597 { SWIG_PY_INT
, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR
, 0, 0, 0},
28598 { SWIG_PY_INT
, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL
, 0, 0, 0},
28599 { SWIG_PY_INT
, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL
, 0, 0, 0},
28600 { SWIG_PY_INT
, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL
, 0, 0, 0},
28601 { SWIG_PY_INT
, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS
, 0, 0, 0},
28602 { SWIG_PY_INT
, (char *)"TB_FLAT", (long) wxTB_FLAT
, 0, 0, 0},
28603 { SWIG_PY_INT
, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE
, 0, 0, 0},
28604 { SWIG_PY_INT
, (char *)"TB_NOICONS", (long) wxTB_NOICONS
, 0, 0, 0},
28605 { SWIG_PY_INT
, (char *)"TB_TEXT", (long) wxTB_TEXT
, 0, 0, 0},
28606 { SWIG_PY_INT
, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER
, 0, 0, 0},
28607 { SWIG_PY_INT
, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN
, 0, 0, 0},
28608 { SWIG_PY_INT
, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT
, 0, 0, 0},
28609 { SWIG_PY_INT
, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT
, 0, 0, 0},
28610 { SWIG_PY_INT
, (char *)"LC_VRULES", (long) wxLC_VRULES
, 0, 0, 0},
28611 { SWIG_PY_INT
, (char *)"LC_HRULES", (long) wxLC_HRULES
, 0, 0, 0},
28612 { SWIG_PY_INT
, (char *)"LC_ICON", (long) wxLC_ICON
, 0, 0, 0},
28613 { SWIG_PY_INT
, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON
, 0, 0, 0},
28614 { SWIG_PY_INT
, (char *)"LC_LIST", (long) wxLC_LIST
, 0, 0, 0},
28615 { SWIG_PY_INT
, (char *)"LC_REPORT", (long) wxLC_REPORT
, 0, 0, 0},
28616 { SWIG_PY_INT
, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP
, 0, 0, 0},
28617 { SWIG_PY_INT
, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT
, 0, 0, 0},
28618 { SWIG_PY_INT
, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE
, 0, 0, 0},
28619 { SWIG_PY_INT
, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL
, 0, 0, 0},
28620 { SWIG_PY_INT
, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS
, 0, 0, 0},
28621 { SWIG_PY_INT
, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER
, 0, 0, 0},
28622 { SWIG_PY_INT
, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER
, 0, 0, 0},
28623 { SWIG_PY_INT
, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL
, 0, 0, 0},
28624 { SWIG_PY_INT
, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING
, 0, 0, 0},
28625 { SWIG_PY_INT
, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING
, 0, 0, 0},
28626 { SWIG_PY_INT
, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE
, 0, 0, 0},
28627 { SWIG_PY_INT
, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN
, 0, 0, 0},
28628 { SWIG_PY_INT
, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT
, 0, 0, 0},
28629 { SWIG_PY_INT
, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE
, 0, 0, 0},
28630 { SWIG_PY_INT
, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT
, 0, 0, 0},
28631 { SWIG_PY_INT
, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE
, 0, 0, 0},
28632 { SWIG_PY_INT
, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA
, 0, 0, 0},
28633 { SWIG_PY_INT
, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM
, 0, 0, 0},
28634 { SWIG_PY_INT
, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH
, 0, 0, 0},
28635 { SWIG_PY_INT
, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT
, 0, 0, 0},
28636 { SWIG_PY_INT
, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE
, 0, 0, 0},
28637 { SWIG_PY_INT
, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED
, 0, 0, 0},
28638 { SWIG_PY_INT
, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED
, 0, 0, 0},
28639 { SWIG_PY_INT
, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED
, 0, 0, 0},
28640 { SWIG_PY_INT
, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT
, 0, 0, 0},
28641 { SWIG_PY_INT
, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED
, 0, 0, 0},
28642 { SWIG_PY_INT
, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED
, 0, 0, 0},
28643 { SWIG_PY_INT
, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE
, 0, 0, 0},
28644 { SWIG_PY_INT
, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED
, 0, 0, 0},
28645 { SWIG_PY_INT
, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE
, 0, 0, 0},
28646 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE
, 0, 0, 0},
28647 { SWIG_PY_INT
, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW
, 0, 0, 0},
28648 { SWIG_PY_INT
, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE
, 0, 0, 0},
28649 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON
, 0, 0, 0},
28650 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL
, 0, 0, 0},
28651 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28652 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28653 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT
, 0, 0, 0},
28654 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT
, 0, 0, 0},
28655 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM
, 0, 0, 0},
28656 { SWIG_PY_INT
, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE
, 0, 0, 0},
28657 { SWIG_PY_INT
, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL
, 0, 0, 0},
28658 { SWIG_PY_INT
, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW
, 0, 0, 0},
28659 { SWIG_PY_INT
, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT
, 0, 0, 0},
28660 { SWIG_PY_INT
, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT
, 0, 0, 0},
28661 { SWIG_PY_INT
, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT
, 0, 0, 0},
28662 { SWIG_PY_INT
, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT
, 0, 0, 0},
28663 { SWIG_PY_INT
, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP
, 0, 0, 0},
28664 { SWIG_PY_INT
, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID
, 0, 0, 0},
28665 { SWIG_PY_INT
, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT
, 0, 0, 0},
28666 { SWIG_PY_INT
, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT
, 0, 0, 0},
28667 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE
, 0, 0, 0},
28668 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER
, 0, 0, 0},
28669 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE
, 0, 0, 0},
28670 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER
, 0, 0, 0},
28671 { SWIG_PY_INT
, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS
, 0, 0, 0},
28672 { SWIG_PY_INT
, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON
, 0, 0, 0},
28673 { SWIG_PY_INT
, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL
, 0, 0, 0},
28674 { SWIG_PY_INT
, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP
, 0, 0, 0},
28675 { SWIG_PY_INT
, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN
, 0, 0, 0},
28676 { SWIG_PY_INT
, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT
, 0, 0, 0},
28677 { SWIG_PY_INT
, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT
, 0, 0, 0},
28678 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG
, 0, 0, 0},
28679 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
, 0, 0, 0},
28680 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, 0, 0, 0},
28681 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
, 0, 0, 0},
28682 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM
, 0, 0, 0},
28683 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, 0, 0, 0},
28684 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO
, 0, 0, 0},
28685 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO
, 0, 0, 0},
28686 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED
, 0, 0, 0},
28687 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
, 0, 0, 0},
28688 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN
, 0, 0, 0},
28689 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM
, 0, 0, 0},
28690 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK
, 0, 0, 0},
28691 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
, 0, 0, 0},
28692 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28693 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, 0, 0, 0},
28694 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT
, 0, 0, 0},
28695 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
, 0, 0, 0},
28696 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
, 0, 0, 0},
28697 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING
, 0, 0, 0},
28698 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG
, 0, 0, 0},
28699 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
, 0, 0, 0},
28700 { SWIG_PY_INT
, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS
, 0, 0, 0},
28701 { SWIG_PY_INT
, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS
, 0, 0, 0},
28702 { SWIG_PY_INT
, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES
, 0, 0, 0},
28703 { SWIG_PY_INT
, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT
, 0, 0, 0},
28704 { SWIG_PY_INT
, (char *)"TR_SINGLE", (long) wxTR_SINGLE
, 0, 0, 0},
28705 { SWIG_PY_INT
, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE
, 0, 0, 0},
28706 { SWIG_PY_INT
, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED
, 0, 0, 0},
28707 { SWIG_PY_INT
, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT
, 0, 0, 0},
28708 { SWIG_PY_INT
, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS
, 0, 0, 0},
28709 { SWIG_PY_INT
, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT
, 0, 0, 0},
28710 { SWIG_PY_INT
, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES
, 0, 0, 0},
28711 { SWIG_PY_INT
, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT
, 0, 0, 0},
28712 { SWIG_PY_INT
, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE
, 0, 0, 0},
28713 { SWIG_PY_INT
, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS
, 0, 0, 0},
28714 { SWIG_PY_INT
, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS
, 0, 0, 0},
28715 { SWIG_PY_INT
, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS
, 0, 0, 0},
28716 { SWIG_PY_INT
, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal
, 0, 0, 0},
28717 { SWIG_PY_INT
, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected
, 0, 0, 0},
28718 { SWIG_PY_INT
, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded
, 0, 0, 0},
28719 { SWIG_PY_INT
, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded
, 0, 0, 0},
28720 { SWIG_PY_INT
, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max
, 0, 0, 0},
28721 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE
, 0, 0, 0},
28722 { SWIG_PY_INT
, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW
, 0, 0, 0},
28723 { SWIG_PY_INT
, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE
, 0, 0, 0},
28724 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON
, 0, 0, 0},
28725 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON
, 0, 0, 0},
28726 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT
, 0, 0, 0},
28727 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL
, 0, 0, 0},
28728 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28729 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28730 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT
, 0, 0, 0},
28731 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT
, 0, 0, 0},
28732 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART
, 0, 0, 0},
28733 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART
, 0, 0, 0},
28734 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM
, 0, 0, 0},
28735 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG
, 0, 0, 0},
28736 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
, 0, 0, 0},
28737 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, 0, 0, 0},
28738 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
, 0, 0, 0},
28739 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM
, 0, 0, 0},
28740 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO
, 0, 0, 0},
28741 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO
, 0, 0, 0},
28742 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
, 0, 0, 0},
28743 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
, 0, 0, 0},
28744 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, 0, 0, 0},
28745 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, 0, 0, 0},
28746 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED
, 0, 0, 0},
28747 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING
, 0, 0, 0},
28748 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN
, 0, 0, 0},
28749 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
, 0, 0, 0},
28750 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
, 0, 0, 0},
28751 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28752 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG
, 0, 0, 0},
28753 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
, 0, 0, 0},
28754 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
, 0, 0, 0},
28755 { SWIG_PY_INT
, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY
, 0, 0, 0},
28756 { SWIG_PY_INT
, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST
, 0, 0, 0},
28757 { SWIG_PY_INT
, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS
, 0, 0, 0},
28758 { SWIG_PY_INT
, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL
, 0, 0, 0},
28759 { SWIG_PY_INT
, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS
, 0, 0, 0},
28760 { SWIG_PY_INT
, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP
, 0, 0, 0},
28761 { SWIG_PY_INT
, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP
, 0, 0, 0},
28762 { SWIG_PY_INT
, (char *)"wxEVT_HELP", (long) wxEVT_HELP
, 0, 0, 0},
28763 { SWIG_PY_INT
, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP
, 0, 0, 0},
28773 SWIGEXPORT(void) SWIG_init(void) {
28774 static PyObject
*SWIG_globals
= 0;
28775 static int typeinit
= 0;
28778 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28779 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28780 d
= PyModule_GetDict(m
);
28783 for (i
= 0; swig_types_initial
[i
]; i
++) {
28784 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28788 SWIG_InstallConstants(d
,swig_const_table
);
28790 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
28791 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
28792 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
28793 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
28794 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
28795 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
28796 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
28797 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
28798 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
28799 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
28800 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
28801 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
28802 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
28803 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
28804 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
28805 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
28806 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
28807 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
28808 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
28809 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
28810 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
28811 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
28812 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
28813 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
28814 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
28815 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
28816 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
28817 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
28818 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
28819 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
28820 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
28821 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
28822 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
28823 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
28824 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
28825 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
28826 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
28827 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
28828 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
28829 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
28830 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
28831 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
28832 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
28833 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
28834 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
28835 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
28836 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
28837 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
28838 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
28839 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
28840 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
28841 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
28843 // Map renamed classes back to their common name for OOR
28844 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28846 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
28847 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
28848 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
28849 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
28850 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
28851 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
28852 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
28853 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
28854 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
28855 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
28856 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
28857 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
28858 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
28859 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
28860 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
28861 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
28862 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
28863 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
28864 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
28865 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
28866 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
28868 // Map renamed classes back to their common name for OOR
28869 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28870 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28872 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
28873 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
28874 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
28876 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");